Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { provider.ValidateBase // contains filtered or unexported fields }
Client wrapper around AzureAD enabling authentication and retrieval of assertions
func (*Client) Authenticate ¶
func (ac *Client) Authenticate(loginDetails *creds.LoginDetails) (string, error)
Authenticate to AzureAD and return the data from the body of the SAML assertion.
type ConvergedResponse ¶ added in v2.36.6
type ConvergedResponse struct { URLGetCredentialType string `json:"urlGetCredentialType"` ArrUserProofs []userProof `json:"arrUserProofs"` URLSkipMfaRegistration string `json:"urlSkipMfaRegistration"` OPerAuthPollingInterval map[string]float64 `json:"oPerAuthPollingInterval"` URLBeginAuth string `json:"urlBeginAuth"` URLEndAuth string `json:"urlEndAuth"` URLPost string `json:"urlPost"` SErrorCode string `json:"sErrorCode"` SErrTxt string `json:"sErrTxt"` SPOSTUsername string `json:"sPOST_Username"` SFT string `json:"sFT"` SFTName string `json:"sFTName"` SCtx string `json:"sCtx"` Hpgact int `json:"hpgact"` Hpgid int `json:"hpgid"` Pgid string `json:"pgid"` APICanary string `json:"apiCanary"` Canary string `json:"canary"` CorrelationID string `json:"correlationId"` SessionID string `json:"sessionId"` }
Autogenrated Converged Response struct for some cases, some fields may not exist
type GetCredentialTypeRequest ¶ added in v2.36.6
type GetCredentialTypeRequest struct { Username string `json:"username"` IsOtherIdpSupported bool `json:"isOtherIdpSupported"` CheckPhones bool `json:"checkPhones"` IsRemoteNGCSupported bool `json:"isRemoteNGCSupported"` IsCookieBannerShown bool `json:"isCookieBannerShown"` IsFidoSupported bool `json:"isFidoSupported"` OriginalRequest string `json:"originalRequest"` Country string `json:"country"` Forceotclogin bool `json:"forceotclogin"` IsExternalFederationDisallowed bool `json:"isExternalFederationDisallowed"` IsRemoteConnectSupported bool `json:"isRemoteConnectSupported"` FederationFlags int `json:"federationFlags"` IsSignup bool `json:"isSignup"` FlowToken string `json:"flowToken"` IsAccessPassSupported bool `json:"isAccessPassSupported"` }
Autogenerated GetCredentialType Request struct for some cases, some fields may not exist
type GetCredentialTypeResponse ¶ added in v2.36.6
type GetCredentialTypeResponse struct { Username string `json:"Username"` Display string `json:"Display"` IfExistsResult int `json:"IfExistsResult"` IsUnmanaged bool `json:"IsUnmanaged"` ThrottleStatus int `json:"ThrottleStatus"` Credentials struct { PrefCredential int `json:"PrefCredential"` HasPassword bool `json:"HasPassword"` RemoteNgcParams interface{} `json:"RemoteNgcParams"` FidoParams interface{} `json:"FidoParams"` SasParams interface{} `json:"SasParams"` CertAuthParams interface{} `json:"CertAuthParams"` GoogleParams interface{} `json:"GoogleParams"` FacebookParams interface{} `json:"FacebookParams"` FederationRedirectURL string `json:"FederationRedirectUrl"` } `json:"Credentials"` FlowToken string `json:"FlowToken"` IsSignupDisallowed bool `json:"IsSignupDisallowed"` APICanary string `json:"apiCanary"` }
Autogenerated GetCredentialType Response struct for some cases, some fields may not exist
Click to show internal directories.
Click to hide internal directories.