We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8afc976 commit 6b8a56eCopy full SHA for 6b8a56e
2 files changed
vaultifier/src/interfaces.ts
@@ -122,6 +122,7 @@ export interface OAuthExternalProvider {
122
export interface VaultSupport {
123
repos: boolean,
124
authentication: boolean,
125
+ authenticationMode: 'optional' | undefined,
126
scopes?: string[],
127
oAuth?: (OAuthSupport | OAuthIdentityProvider | OAuthExternalProvider)[],
128
}
vaultifier/src/vaulitfier.ts
@@ -121,6 +121,7 @@ export class Vaultifier {
121
return this.supports = {
repos: !!data.repos,
authentication: !!data.auth,
+ authenticationMode: data.authentication_mode || undefined,
scopes: data.scopes,
oAuth,
};
0 commit comments