| 1 |
#ifndef OIDCGEN_PROMPTANDSET_H |
| 2 |
#define OIDCGEN_PROMPTANDSET_H |
| 3 |
|
| 4 |
#include "account/account.h" |
| 5 |
#include "oidc-gen/oidc-gen_options.h" |
| 6 |
|
| 7 |
int readClientId(struct oidc_account*, const struct arguments*); |
| 8 |
void askClientId(struct oidc_account*, const struct arguments*); |
| 9 |
void needClientId(struct oidc_account*, const struct arguments*); |
| 10 |
void askOrNeedClientId(struct oidc_account*, const struct arguments*, int); |
| 11 |
|
| 12 |
int readClientSecret(struct oidc_account*, const struct arguments*); |
| 13 |
void askClientSecret(struct oidc_account*, const struct arguments*); |
| 14 |
void needClientSecret(struct oidc_account*, const struct arguments*); |
| 15 |
void askOrNeedClientSecret(struct oidc_account*, const struct arguments*, int); |
| 16 |
|
| 17 |
int readIssuer(struct oidc_account*, const struct arguments*); |
| 18 |
void askIssuer(struct oidc_account*, const struct arguments*); |
| 19 |
void needIssuer(struct oidc_account*, const struct arguments*); |
| 20 |
|
| 21 |
int readRefreshToken(struct oidc_account*, const struct arguments*); |
| 22 |
void askRefreshToken(struct oidc_account*, const struct arguments*); |
| 23 |
void needRefreshToken(struct oidc_account*, const struct arguments*); |
| 24 |
void askOrNeedRefreshToken(struct oidc_account*, const struct arguments*, int); |
| 25 |
|
| 26 |
int readAudience(struct oidc_account*, const struct arguments*); |
| 27 |
void askAudience(struct oidc_account*, const struct arguments*); |
| 28 |
void needAudience(struct oidc_account*, const struct arguments*); |
| 29 |
void askOrNeedAudience(struct oidc_account*, const struct arguments*, int); |
| 30 |
|
| 31 |
int readUsername(struct oidc_account*, const struct arguments*); |
| 32 |
void askUsername(struct oidc_account*, const struct arguments*); |
| 33 |
void needUsername(struct oidc_account*, const struct arguments*); |
| 34 |
void askOrNeedUsername(struct oidc_account*, const struct arguments*, int); |
| 35 |
|
| 36 |
int readPassword(struct oidc_account*, const struct arguments*); |
| 37 |
void askPassword(struct oidc_account*, const struct arguments*); |
| 38 |
void needPassword(struct oidc_account*, const struct arguments*); |
| 39 |
void askOrNeedPassword(struct oidc_account*, const struct arguments*, int); |
| 40 |
|
| 41 |
int readCertPath(struct oidc_account*, const struct arguments*); |
| 42 |
void askCertPath(struct oidc_account*, const struct arguments*); |
| 43 |
void needCertPath(struct oidc_account*, const struct arguments*); |
| 44 |
void askOrNeedCertPath(struct oidc_account*, const struct arguments*, int); |
| 45 |
|
| 46 |
int readName(struct oidc_account*, const struct arguments*); |
| 47 |
void askName(struct oidc_account*, const struct arguments*); |
| 48 |
void needName(struct oidc_account*, const struct arguments*); |
| 49 |
void askOrNeedName(struct oidc_account*, const struct arguments*, int); |
| 50 |
|
| 51 |
int readScope(struct oidc_account*, const struct arguments*); |
| 52 |
void askScope(struct oidc_account*, const struct arguments*); |
| 53 |
void needScope(struct oidc_account*, const struct arguments*); |
| 54 |
void askOrNeedScope(struct oidc_account*, const struct arguments*, int); |
| 55 |
|
| 56 |
int readRedirectUris(struct oidc_account*, const struct arguments*); |
| 57 |
void askRedirectUris(struct oidc_account*, const struct arguments*); |
| 58 |
void needRedirectUris(struct oidc_account*, const struct arguments*); |
| 59 |
void askOrNeedRedirectUris(struct oidc_account*, const struct arguments*, int); |
| 60 |
|
| 61 |
int readDeviceAuthEndpoint(struct oidc_account*, const struct arguments*); |
| 62 |
void askDeviceAuthEndpoint(struct oidc_account*, const struct arguments*); |
| 63 |
void needDeviceAuthEndpoint(struct oidc_account*, const struct arguments*); |
| 64 |
void askOrNeedDeviceAuthEndpoint(struct oidc_account*, const struct arguments*, |
| 65 |
int); |
| 66 |
|
| 67 |
#endif // OIDCGEN_PROMPTANDSET_H |