Skip to content

Commit 6b8a56e

Browse files
committed
Added support for authentication mode
1 parent 8afc976 commit 6b8a56e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

vaultifier/src/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export interface OAuthExternalProvider {
122122
export interface VaultSupport {
123123
repos: boolean,
124124
authentication: boolean,
125+
authenticationMode: 'optional' | undefined,
125126
scopes?: string[],
126127
oAuth?: (OAuthSupport | OAuthIdentityProvider | OAuthExternalProvider)[],
127128
}

vaultifier/src/vaulitfier.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export class Vaultifier {
121121
return this.supports = {
122122
repos: !!data.repos,
123123
authentication: !!data.auth,
124+
authenticationMode: data.authentication_mode || undefined,
124125
scopes: data.scopes,
125126
oAuth,
126127
};

0 commit comments

Comments
 (0)