Documentation ¶
Index ¶
- Variables
- type OktaErrorCause
- type OktaErrorResponse
- type OktaStateToken
- type OktaUserAuthn
- type OktaUserAuthnEmbedded
- type OktaUserAuthnFactor
- type OktaUserAuthnFactorEmbedded
- type OktaUserAuthnFactorEmbeddedChallenge
- type OktaUserAuthnFactorEmbeddedVerification
- type OktaUserAuthnFactorEmbeddedVerificationLinks
- type OktaUserAuthnFactorEmbeddedVerificationLinksComplete
- type OktaUserAuthnFactorProfile
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidCredentials = errors.New("okta credentials are not valid") ErrInvalidSession = errors.New("okta session is not valid") ErrUnexpectedResponse = errors.New("we got an unexpected response") ErrNotImplemented = errors.New("not implemented") ErrNotSupported = errors.New("not supported") ErrPasswordExpired = errors.New("okta credentials are not valid: your user password is expired") )
Functions ¶
This section is empty.
Types ¶
type OktaErrorCause ¶
type OktaErrorCause struct {
ErrorSummary string `json:"errorSummary"`
}
type OktaErrorResponse ¶
type OktaErrorResponse struct { ErrorCode string `json:"errorCode"` ErrorSummary string `json:"errorSummary"` ErrorId string `json:"errorId"` ErrorCauses []OktaErrorCause }
type OktaStateToken ¶
type OktaUserAuthn ¶
type OktaUserAuthnEmbedded ¶
type OktaUserAuthnEmbedded struct { Factors []OktaUserAuthnFactor `json:"factors"` Factor OktaUserAuthnFactor `json:"factor"` }
type OktaUserAuthnFactor ¶
type OktaUserAuthnFactor struct { Id string `json:"id"` FactorType string `json:"factorType"` Provider string `json:"provider"` Embedded OktaUserAuthnFactorEmbedded `json:"_embedded"` Profile OktaUserAuthnFactorProfile `json:"profile"` }
type OktaUserAuthnFactorEmbedded ¶
type OktaUserAuthnFactorEmbedded struct { Verification OktaUserAuthnFactorEmbeddedVerification `json:"verification"` Challenge OktaUserAuthnFactorEmbeddedChallenge `json:"challenge"` }
type OktaUserAuthnFactorEmbeddedVerification ¶
type OktaUserAuthnFactorEmbeddedVerification struct { Host string `json:"host"` Signature string `json:"signature"` FactorResult string `json:"factorResult"` Links OktaUserAuthnFactorEmbeddedVerificationLinks `json:"_links"` }
type OktaUserAuthnFactorEmbeddedVerificationLinks ¶
type OktaUserAuthnFactorEmbeddedVerificationLinks struct {
Complete OktaUserAuthnFactorEmbeddedVerificationLinksComplete `json:"complete"`
}
type OktaUserAuthnFactorEmbeddedVerificationLinksComplete ¶
type OktaUserAuthnFactorEmbeddedVerificationLinksComplete struct {
Href string `json:"href"`
}
Click to show internal directories.
Click to hide internal directories.