1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-11 06:10:05 +00:00

feat(login): add redirected login mechanism

This commit is contained in:
Krishna Acondy
2021-08-21 21:36:50 +01:00
parent 4f62cd0148
commit 830a907bd1
6 changed files with 71 additions and 8 deletions

View File

@@ -59,4 +59,13 @@ export class SASjsConfig {
* Changing this setting is not recommended.
*/
allowInsecureRequests = false
/**
* Supported login mechanisms are - Redirected and Default
*/
loginMechanism: LoginMechanism = LoginMechanism.Default
}
export enum LoginMechanism {
Default = 'Default',
Redirected = 'Redirected'
}