Documentation ¶
Index ¶
- Constants
- func Include(prompts string, target string) bool
- func IncludeAll(prompts string, targetPrompts []string) (bool, string)
- func IncludeConsent(prompts string) bool
- func IncludeLogin(prompts string) bool
- func IncludeNone(prompts string) bool
- func IncludeSelectAccount(prompts string) bool
- func Split(prompts string) []string
- func Validate(prompts string) bool
- type NoConsentPromptPolicy
- type NonePromptPolicy
Constants ¶
View Source
const ( None = "none" Login = "login" Consent = "consent" SelectAccount = "select_account" )
Variables ¶
This section is empty.
Functions ¶
func IncludeConsent ¶
func IncludeLogin ¶
func IncludeNone ¶
func IncludeSelectAccount ¶
Types ¶
type NoConsentPromptPolicy ¶
type NoConsentPromptPolicy int
const ( NoConsentPromptPolicyForceConsent NoConsentPromptPolicy = iota NoConsentPromptPolicyOmitConsentIfCan )
type NonePromptPolicy ¶
type NonePromptPolicy int
const ( NonePromptPolicyForbidden NonePromptPolicy = iota NonePromptPolicyAllowWithLoginSession NonePromptPolicyAllowIfLoginHintMatched NonePromptPolicyAllowIfIdTokenHintMatched )
Click to show internal directories.
Click to hide internal directories.