Function
getConfigFromOptions
getConfigFromOptions( authDataService: AuthDataService, options: LoginConfigOptions, ): Promise<{ flags: string[]; rules: AuthDescriptorRules | null }>Returns auth flags and rules provided as option to the
loginfunction, or if they are not provided, the function uses config name to load login config from chain. If configName is null or undefined too, then default login config will be loaded from chain.Parameters
- authDataService: AuthDataService
the auth data service to use
- options: LoginConfigOptions
the options to use
Returns Promise<{ flags: string[]; rules: AuthDescriptorRules | null }>
- authDataService: AuthDataService