Documentation
¶
Overview ¶
types and constants for (un)marshalling Okta API
Index ¶
- Constants
- type ErrorCause
- type ErrorResponse
- type StateToken
- type UserAuthn
- type UserAuthnEmbedded
- type UserAuthnFactor
- type UserAuthnFactorEmbedded
- type UserAuthnFactorEmbeddedChallenge
- type UserAuthnFactorEmbeddedVerification
- type UserAuthnFactorEmbeddedVerificationLinks
- type UserAuthnFactorEmbeddedVerificationLinksComplete
- type UserAuthnFactorProfile
Constants ¶
View Source
const ( UserAuthnStatusMFARequired = "MFA_REQUIRED" UserAuthnStatusPasswordExpired = "PASSWORD_EXPIRED" UserAuthnStatusMFAChallenge = "MFA_CHALLENGE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorCause ¶
type ErrorCause struct {
ErrorSummary string `json:"errorSummary"`
}
type ErrorResponse ¶
type ErrorResponse struct { ErrorCode string `json:"errorCode"` ErrorSummary string `json:"errorSummary"` ErrorId string `json:"errorId"` ErrorCauses []ErrorCause }
type StateToken ¶
type UserAuthnEmbedded ¶
type UserAuthnEmbedded struct { Factors []UserAuthnFactor `json:"factors"` Factor UserAuthnFactor `json:"factor"` }
type UserAuthnFactor ¶
type UserAuthnFactor struct { Id string `json:"id"` FactorType string `json:"factorType"` Provider string `json:"provider"` Embedded UserAuthnFactorEmbedded `json:"_embedded"` Profile UserAuthnFactorProfile `json:"profile"` }
type UserAuthnFactorEmbedded ¶
type UserAuthnFactorEmbedded struct { Verification UserAuthnFactorEmbeddedVerification `json:"verification"` Challenge UserAuthnFactorEmbeddedChallenge `json:"challenge"` }
type UserAuthnFactorEmbeddedVerification ¶
type UserAuthnFactorEmbeddedVerification struct { Host string `json:"host"` Signature string `json:"signature"` FactorResult string `json:"factorResult"` Links UserAuthnFactorEmbeddedVerificationLinks `json:"_links"` }
type UserAuthnFactorEmbeddedVerificationLinks ¶
type UserAuthnFactorEmbeddedVerificationLinks struct {
Complete UserAuthnFactorEmbeddedVerificationLinksComplete `json:"complete"`
}
type UserAuthnFactorEmbeddedVerificationLinksComplete ¶
type UserAuthnFactorEmbeddedVerificationLinksComplete struct {
Href string `json:"href"`
}
type UserAuthnFactorProfile ¶
Click to show internal directories.
Click to hide internal directories.