Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APILoginFlow
- func (o *APILoginFlow) GetSession() Session
- func (o *APILoginFlow) GetSessionOk() (*Session, bool)
- func (o *APILoginFlow) GetSessionToken() string
- func (o *APILoginFlow) GetSessionTokenOk() (*string, bool)
- func (o *APILoginFlow) HasSessionToken() bool
- func (o APILoginFlow) MarshalJSON() ([]byte, error)
- func (o *APILoginFlow) SetSession(v Session)
- func (o *APILoginFlow) SetSessionToken(v string)
- type APIRegistrationFlow
- func (o *APIRegistrationFlow) GetIdentity() Identity
- func (o *APIRegistrationFlow) GetIdentityOk() (*Identity, bool)
- func (o *APIRegistrationFlow) GetSession() Session
- func (o *APIRegistrationFlow) GetSessionOk() (*Session, bool)
- func (o *APIRegistrationFlow) GetSessionToken() string
- func (o *APIRegistrationFlow) GetSessionTokenOk() (*string, bool)
- func (o *APIRegistrationFlow) HasSession() bool
- func (o *APIRegistrationFlow) HasSessionToken() bool
- func (o APIRegistrationFlow) MarshalJSON() ([]byte, error)
- func (o *APIRegistrationFlow) SetIdentity(v Identity)
- func (o *APIRegistrationFlow) SetSession(v Session)
- func (o *APIRegistrationFlow) SetSessionToken(v string)
- type APIResponse
- type AuthenticatorAssuranceLevel
- type BasicAuth
- type BrowserLocationChangeRequiredResponse
- func (o *BrowserLocationChangeRequiredResponse) GetCode() Code
- func (o *BrowserLocationChangeRequiredResponse) GetCodeOk() (*Code, bool)
- func (o *BrowserLocationChangeRequiredResponse) GetDetail() string
- func (o *BrowserLocationChangeRequiredResponse) GetDetailOk() (*string, bool)
- func (o *BrowserLocationChangeRequiredResponse) GetMsg() string
- func (o *BrowserLocationChangeRequiredResponse) GetMsgOk() (*string, bool)
- func (o *BrowserLocationChangeRequiredResponse) GetRedirectBrowserTo() string
- func (o *BrowserLocationChangeRequiredResponse) GetRedirectBrowserToOk() (*string, bool)
- func (o *BrowserLocationChangeRequiredResponse) GetTraceId() string
- func (o *BrowserLocationChangeRequiredResponse) GetTraceIdOk() (*string, bool)
- func (o *BrowserLocationChangeRequiredResponse) GetType() string
- func (o *BrowserLocationChangeRequiredResponse) GetTypeOk() (*string, bool)
- func (o *BrowserLocationChangeRequiredResponse) HasCode() bool
- func (o *BrowserLocationChangeRequiredResponse) HasDetail() bool
- func (o *BrowserLocationChangeRequiredResponse) HasMsg() bool
- func (o *BrowserLocationChangeRequiredResponse) HasRedirectBrowserTo() bool
- func (o *BrowserLocationChangeRequiredResponse) HasTraceId() bool
- func (o *BrowserLocationChangeRequiredResponse) HasType() bool
- func (o BrowserLocationChangeRequiredResponse) MarshalJSON() ([]byte, error)
- func (o *BrowserLocationChangeRequiredResponse) SetCode(v Code)
- func (o *BrowserLocationChangeRequiredResponse) SetDetail(v string)
- func (o *BrowserLocationChangeRequiredResponse) SetMsg(v string)
- func (o *BrowserLocationChangeRequiredResponse) SetRedirectBrowserTo(v string)
- func (o *BrowserLocationChangeRequiredResponse) SetTraceId(v string)
- func (o *BrowserLocationChangeRequiredResponse) SetType(v string)
- type Code
- type Configuration
- type ConsentApi
- type ConsentApiApiGetConsentFlowRequestRequest
- func (r ConsentApiApiGetConsentFlowRequestRequest) Cookie(cookie string) ConsentApiApiGetConsentFlowRequestRequest
- func (r ConsentApiApiGetConsentFlowRequestRequest) Execute() (*ConsentFlow, *http.Response, error)
- func (r ConsentApiApiGetConsentFlowRequestRequest) Id(id string) ConsentApiApiGetConsentFlowRequestRequest
- type ConsentApiApiInitBrowserConsentFlowRequestRequest
- func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) ConsentChallenge(consentChallenge string) ConsentApiApiInitBrowserConsentFlowRequestRequest
- func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) Cookie(cookie string) ConsentApiApiInitBrowserConsentFlowRequestRequest
- func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) Execute() (*ConsentFlow, *http.Response, error)
- func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) ReturnTo(returnTo string) ConsentApiApiInitBrowserConsentFlowRequestRequest
- type ConsentApiApiSubmitConsentFlowRequestRequest
- func (r ConsentApiApiSubmitConsentFlowRequestRequest) Cookie(cookie string) ConsentApiApiSubmitConsentFlowRequestRequest
- func (r ConsentApiApiSubmitConsentFlowRequestRequest) Execute() (*ConsentFlow, *http.Response, error)
- func (r ConsentApiApiSubmitConsentFlowRequestRequest) Flow(flow string) ConsentApiApiSubmitConsentFlowRequestRequest
- func (r ConsentApiApiSubmitConsentFlowRequestRequest) SubmitConsentFlowBody(submitConsentFlowBody SubmitConsentFlowBody) ConsentApiApiSubmitConsentFlowRequestRequest
- func (r ConsentApiApiSubmitConsentFlowRequestRequest) XSessionToken(xSessionToken string) ConsentApiApiSubmitConsentFlowRequestRequest
- type ConsentApiService
- func (a *ConsentApiService) GetConsentFlowRequest(ctx context.Context) ConsentApiApiGetConsentFlowRequestRequest
- func (a *ConsentApiService) GetConsentFlowRequestExecute(r ConsentApiApiGetConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
- func (a *ConsentApiService) InitBrowserConsentFlowRequest(ctx context.Context) ConsentApiApiInitBrowserConsentFlowRequestRequest
- func (a *ConsentApiService) InitBrowserConsentFlowRequestExecute(r ConsentApiApiInitBrowserConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
- func (a *ConsentApiService) SubmitConsentFlowRequest(ctx context.Context) ConsentApiApiSubmitConsentFlowRequestRequest
- func (a *ConsentApiService) SubmitConsentFlowRequestExecute(r ConsentApiApiSubmitConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
- type ConsentFlow
- func (o *ConsentFlow) GetCreatedAt() time.Time
- func (o *ConsentFlow) GetCreatedAtOk() (*time.Time, bool)
- func (o *ConsentFlow) GetExpiresAt() time.Time
- func (o *ConsentFlow) GetExpiresAtOk() (*time.Time, bool)
- func (o *ConsentFlow) GetId() string
- func (o *ConsentFlow) GetIdOk() (*string, bool)
- func (o *ConsentFlow) GetIdentity() Identity
- func (o *ConsentFlow) GetIdentityOk() (*Identity, bool)
- func (o *ConsentFlow) GetIssuedAt() time.Time
- func (o *ConsentFlow) GetIssuedAtOk() (*time.Time, bool)
- func (o *ConsentFlow) GetMethod() string
- func (o *ConsentFlow) GetMethodOk() (*string, bool)
- func (o *ConsentFlow) GetNotAsk() bool
- func (o *ConsentFlow) GetNotAskOk() (*bool, bool)
- func (o *ConsentFlow) GetOauth2ConsentChallenge() string
- func (o *ConsentFlow) GetOauth2ConsentChallengeOk() (*string, bool)
- func (o *ConsentFlow) GetOauth2ConsentRequest() OAuth2ConsentRequest
- func (o *ConsentFlow) GetOauth2ConsentRequestOk() (*OAuth2ConsentRequest, bool)
- func (o *ConsentFlow) GetRequestUrl() string
- func (o *ConsentFlow) GetRequestUrlOk() (*string, bool)
- func (o *ConsentFlow) GetReturnTo() string
- func (o *ConsentFlow) GetReturnToOk() (*string, bool)
- func (o *ConsentFlow) GetState() string
- func (o *ConsentFlow) GetStateOk() (*string, bool)
- func (o *ConsentFlow) GetType() FlowType
- func (o *ConsentFlow) GetTypeOk() (*FlowType, bool)
- func (o *ConsentFlow) GetUi() UiContainer
- func (o *ConsentFlow) GetUiOk() (*UiContainer, bool)
- func (o *ConsentFlow) GetUpdatedAt() time.Time
- func (o *ConsentFlow) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ConsentFlow) HasCreatedAt() bool
- func (o *ConsentFlow) HasMethod() bool
- func (o *ConsentFlow) HasNotAsk() bool
- func (o *ConsentFlow) HasOauth2ConsentChallenge() bool
- func (o *ConsentFlow) HasOauth2ConsentRequest() bool
- func (o *ConsentFlow) HasReturnTo() bool
- func (o *ConsentFlow) HasUpdatedAt() bool
- func (o ConsentFlow) MarshalJSON() ([]byte, error)
- func (o *ConsentFlow) SetCreatedAt(v time.Time)
- func (o *ConsentFlow) SetExpiresAt(v time.Time)
- func (o *ConsentFlow) SetId(v string)
- func (o *ConsentFlow) SetIdentity(v Identity)
- func (o *ConsentFlow) SetIssuedAt(v time.Time)
- func (o *ConsentFlow) SetMethod(v string)
- func (o *ConsentFlow) SetNotAsk(v bool)
- func (o *ConsentFlow) SetOauth2ConsentChallenge(v string)
- func (o *ConsentFlow) SetOauth2ConsentRequest(v OAuth2ConsentRequest)
- func (o *ConsentFlow) SetRequestUrl(v string)
- func (o *ConsentFlow) SetReturnTo(v string)
- func (o *ConsentFlow) SetState(v string)
- func (o *ConsentFlow) SetType(v FlowType)
- func (o *ConsentFlow) SetUi(v UiContainer)
- func (o *ConsentFlow) SetUpdatedAt(v time.Time)
- type CredentialsType
- type FlowType
- type GenericOpenAPIError
- type Identity
- func (o *Identity) GetCreatedAt() time.Time
- func (o *Identity) GetCreatedAtOk() (*time.Time, bool)
- func (o *Identity) GetCredentials() map[string]IdentityCredential
- func (o *Identity) GetCredentialsOk() (*map[string]IdentityCredential, bool)
- func (o *Identity) GetId() string
- func (o *Identity) GetIdOk() (*string, bool)
- func (o *Identity) GetLocked() bool
- func (o *Identity) GetLockedOk() (*bool, bool)
- func (o *Identity) GetSource() string
- func (o *Identity) GetSourceOk() (*string, bool)
- func (o *Identity) GetState() IdentityState
- func (o *Identity) GetStateOk() (*IdentityState, bool)
- func (o *Identity) GetSubject() string
- func (o *Identity) GetSubjectOk() (*string, bool)
- func (o *Identity) GetTraits() IdentityTraits
- func (o *Identity) GetTraitsOk() (*IdentityTraits, bool)
- func (o *Identity) GetUpdatedAt() time.Time
- func (o *Identity) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Identity) GetVerifiableAddresses() []VerifiableAddress
- func (o *Identity) GetVerifiableAddressesOk() ([]VerifiableAddress, bool)
- func (o *Identity) HasCreatedAt() bool
- func (o *Identity) HasCredentials() bool
- func (o *Identity) HasLocked() bool
- func (o *Identity) HasSource() bool
- func (o *Identity) HasState() bool
- func (o *Identity) HasSubject() bool
- func (o *Identity) HasUpdatedAt() bool
- func (o *Identity) HasVerifiableAddresses() bool
- func (o Identity) MarshalJSON() ([]byte, error)
- func (o *Identity) SetCreatedAt(v time.Time)
- func (o *Identity) SetCredentials(v map[string]IdentityCredential)
- func (o *Identity) SetId(v string)
- func (o *Identity) SetLocked(v bool)
- func (o *Identity) SetSource(v string)
- func (o *Identity) SetState(v IdentityState)
- func (o *Identity) SetSubject(v string)
- func (o *Identity) SetTraits(v IdentityTraits)
- func (o *Identity) SetUpdatedAt(v time.Time)
- func (o *Identity) SetVerifiableAddresses(v []VerifiableAddress)
- type IdentityCredential
- func (o *IdentityCredential) GetConfig() map[string]interface{}
- func (o *IdentityCredential) GetConfigOk() (map[string]interface{}, bool)
- func (o *IdentityCredential) GetCreatedAt() time.Time
- func (o *IdentityCredential) GetCreatedAtOk() (*time.Time, bool)
- func (o *IdentityCredential) GetCredentialType() CredentialsType
- func (o *IdentityCredential) GetCredentialTypeOk() (*CredentialsType, bool)
- func (o *IdentityCredential) GetId() string
- func (o *IdentityCredential) GetIdOk() (*string, bool)
- func (o *IdentityCredential) GetIdentifiers() []IdentityCredentialIdentifier
- func (o *IdentityCredential) GetIdentifiersOk() ([]IdentityCredentialIdentifier, bool)
- func (o *IdentityCredential) GetUpdatedAt() time.Time
- func (o *IdentityCredential) GetUpdatedAtOk() (*time.Time, bool)
- func (o *IdentityCredential) HasConfig() bool
- func (o *IdentityCredential) HasCreatedAt() bool
- func (o *IdentityCredential) HasCredentialType() bool
- func (o *IdentityCredential) HasId() bool
- func (o *IdentityCredential) HasIdentifiers() bool
- func (o *IdentityCredential) HasUpdatedAt() bool
- func (o IdentityCredential) MarshalJSON() ([]byte, error)
- func (o *IdentityCredential) SetConfig(v map[string]interface{})
- func (o *IdentityCredential) SetCreatedAt(v time.Time)
- func (o *IdentityCredential) SetCredentialType(v CredentialsType)
- func (o *IdentityCredential) SetId(v string)
- func (o *IdentityCredential) SetIdentifiers(v []IdentityCredentialIdentifier)
- func (o *IdentityCredential) SetUpdatedAt(v time.Time)
- type IdentityCredentialIdentifier
- func (o *IdentityCredentialIdentifier) GetCreatedAt() time.Time
- func (o *IdentityCredentialIdentifier) GetCreatedAtOk() (*time.Time, bool)
- func (o *IdentityCredentialIdentifier) GetId() string
- func (o *IdentityCredentialIdentifier) GetIdOk() (*string, bool)
- func (o *IdentityCredentialIdentifier) GetIdentifier() string
- func (o *IdentityCredentialIdentifier) GetIdentifierOk() (*string, bool)
- func (o *IdentityCredentialIdentifier) GetProperties() map[string]interface{}
- func (o *IdentityCredentialIdentifier) GetPropertiesOk() (map[string]interface{}, bool)
- func (o *IdentityCredentialIdentifier) GetUpdatedAt() time.Time
- func (o *IdentityCredentialIdentifier) GetUpdatedAtOk() (*time.Time, bool)
- func (o *IdentityCredentialIdentifier) HasCreatedAt() bool
- func (o *IdentityCredentialIdentifier) HasId() bool
- func (o *IdentityCredentialIdentifier) HasIdentifier() bool
- func (o *IdentityCredentialIdentifier) HasProperties() bool
- func (o *IdentityCredentialIdentifier) HasUpdatedAt() bool
- func (o IdentityCredentialIdentifier) MarshalJSON() ([]byte, error)
- func (o *IdentityCredentialIdentifier) SetCreatedAt(v time.Time)
- func (o *IdentityCredentialIdentifier) SetId(v string)
- func (o *IdentityCredentialIdentifier) SetIdentifier(v string)
- func (o *IdentityCredentialIdentifier) SetProperties(v map[string]interface{})
- func (o *IdentityCredentialIdentifier) SetUpdatedAt(v time.Time)
- type IdentityCredentialIdentifierOidcProperties
- func (o *IdentityCredentialIdentifierOidcProperties) GetInitialAccessToken() string
- func (o *IdentityCredentialIdentifierOidcProperties) GetInitialAccessTokenOk() (*string, bool)
- func (o *IdentityCredentialIdentifierOidcProperties) GetInitialIdToken() string
- func (o *IdentityCredentialIdentifierOidcProperties) GetInitialIdTokenOk() (*string, bool)
- func (o *IdentityCredentialIdentifierOidcProperties) GetInitialRefreshToken() string
- func (o *IdentityCredentialIdentifierOidcProperties) GetInitialRefreshTokenOk() (*string, bool)
- func (o *IdentityCredentialIdentifierOidcProperties) GetProvider() string
- func (o *IdentityCredentialIdentifierOidcProperties) GetProviderOk() (*string, bool)
- func (o *IdentityCredentialIdentifierOidcProperties) GetSubject() string
- func (o *IdentityCredentialIdentifierOidcProperties) GetSubjectOk() (*string, bool)
- func (o *IdentityCredentialIdentifierOidcProperties) HasInitialAccessToken() bool
- func (o *IdentityCredentialIdentifierOidcProperties) HasInitialIdToken() bool
- func (o *IdentityCredentialIdentifierOidcProperties) HasInitialRefreshToken() bool
- func (o *IdentityCredentialIdentifierOidcProperties) HasProvider() bool
- func (o *IdentityCredentialIdentifierOidcProperties) HasSubject() bool
- func (o IdentityCredentialIdentifierOidcProperties) MarshalJSON() ([]byte, error)
- func (o *IdentityCredentialIdentifierOidcProperties) SetInitialAccessToken(v string)
- func (o *IdentityCredentialIdentifierOidcProperties) SetInitialIdToken(v string)
- func (o *IdentityCredentialIdentifierOidcProperties) SetInitialRefreshToken(v string)
- func (o *IdentityCredentialIdentifierOidcProperties) SetProvider(v string)
- func (o *IdentityCredentialIdentifierOidcProperties) SetSubject(v string)
- type IdentityCredentialIdentifierPasswordProperties
- func (o *IdentityCredentialIdentifierPasswordProperties) GetPrimary() bool
- func (o *IdentityCredentialIdentifierPasswordProperties) GetPrimaryOk() (*bool, bool)
- func (o *IdentityCredentialIdentifierPasswordProperties) GetType() string
- func (o *IdentityCredentialIdentifierPasswordProperties) GetTypeOk() (*string, bool)
- func (o *IdentityCredentialIdentifierPasswordProperties) GetVerified() bool
- func (o *IdentityCredentialIdentifierPasswordProperties) GetVerifiedOk() (*bool, bool)
- func (o *IdentityCredentialIdentifierPasswordProperties) HasType() bool
- func (o IdentityCredentialIdentifierPasswordProperties) MarshalJSON() ([]byte, error)
- func (o *IdentityCredentialIdentifierPasswordProperties) SetPrimary(v bool)
- func (o *IdentityCredentialIdentifierPasswordProperties) SetType(v string)
- func (o *IdentityCredentialIdentifierPasswordProperties) SetVerified(v bool)
- type IdentityState
- type IdentityTraits
- func (o *IdentityTraits) GetEmail() string
- func (o *IdentityTraits) GetEmailOk() (*string, bool)
- func (o *IdentityTraits) GetMobile() string
- func (o *IdentityTraits) GetMobileOk() (*string, bool)
- func (o *IdentityTraits) HasEmail() bool
- func (o *IdentityTraits) HasMobile() bool
- func (o IdentityTraits) MarshalJSON() ([]byte, error)
- func (o *IdentityTraits) SetEmail(v string)
- func (o *IdentityTraits) SetMobile(v string)
- type InitBrowserLogoutFlowResponse
- func (o *InitBrowserLogoutFlowResponse) GetLogoutToken() string
- func (o *InitBrowserLogoutFlowResponse) GetLogoutTokenOk() (*string, bool)
- func (o *InitBrowserLogoutFlowResponse) GetLogoutUrl() string
- func (o *InitBrowserLogoutFlowResponse) GetLogoutUrlOk() (*string, bool)
- func (o InitBrowserLogoutFlowResponse) MarshalJSON() ([]byte, error)
- func (o *InitBrowserLogoutFlowResponse) SetLogoutToken(v string)
- func (o *InitBrowserLogoutFlowResponse) SetLogoutUrl(v string)
- type JsonErrorResponse
- func (o *JsonErrorResponse) GetCode() Code
- func (o *JsonErrorResponse) GetCodeOk() (*Code, bool)
- func (o *JsonErrorResponse) GetDetail() string
- func (o *JsonErrorResponse) GetDetailOk() (*string, bool)
- func (o *JsonErrorResponse) GetMsg() string
- func (o *JsonErrorResponse) GetMsgOk() (*string, bool)
- func (o *JsonErrorResponse) GetTraceId() string
- func (o *JsonErrorResponse) GetTraceIdOk() (*string, bool)
- func (o *JsonErrorResponse) GetType() string
- func (o *JsonErrorResponse) GetTypeOk() (*string, bool)
- func (o *JsonErrorResponse) HasCode() bool
- func (o *JsonErrorResponse) HasDetail() bool
- func (o *JsonErrorResponse) HasMsg() bool
- func (o *JsonErrorResponse) HasTraceId() bool
- func (o *JsonErrorResponse) HasType() bool
- func (o JsonErrorResponse) MarshalJSON() ([]byte, error)
- func (o *JsonErrorResponse) SetCode(v Code)
- func (o *JsonErrorResponse) SetDetail(v string)
- func (o *JsonErrorResponse) SetMsg(v string)
- func (o *JsonErrorResponse) SetTraceId(v string)
- func (o *JsonErrorResponse) SetType(v string)
- type LoginApi
- type LoginApiApiGetLoginFlowRequestRequest
- type LoginApiApiInitBrowserLoginFlowRequestRequest
- func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Aal(aal string) LoginApiApiInitBrowserLoginFlowRequestRequest
- func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Cookie(cookie string) LoginApiApiInitBrowserLoginFlowRequestRequest
- func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Execute() (*LoginFlow, *http.Response, error)
- func (r LoginApiApiInitBrowserLoginFlowRequestRequest) LoginChallenge(loginChallenge string) LoginApiApiInitBrowserLoginFlowRequestRequest
- func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Refresh(refresh bool) LoginApiApiInitBrowserLoginFlowRequestRequest
- func (r LoginApiApiInitBrowserLoginFlowRequestRequest) ReturnTo(returnTo string) LoginApiApiInitBrowserLoginFlowRequestRequest
- type LoginApiApiSubmitLoginFlowRequestRequest
- func (r LoginApiApiSubmitLoginFlowRequestRequest) Cookie(cookie string) LoginApiApiSubmitLoginFlowRequestRequest
- func (r LoginApiApiSubmitLoginFlowRequestRequest) Execute() (*SubmitLoginFlowResponse, *http.Response, error)
- func (r LoginApiApiSubmitLoginFlowRequestRequest) Flow(flow string) LoginApiApiSubmitLoginFlowRequestRequest
- func (r LoginApiApiSubmitLoginFlowRequestRequest) SubmitLoginFlowBody(submitLoginFlowBody SubmitLoginFlowBody) LoginApiApiSubmitLoginFlowRequestRequest
- func (r LoginApiApiSubmitLoginFlowRequestRequest) XSessionToken(xSessionToken string) LoginApiApiSubmitLoginFlowRequestRequest
- type LoginApiService
- func (a *LoginApiService) GetLoginFlowRequest(ctx context.Context) LoginApiApiGetLoginFlowRequestRequest
- func (a *LoginApiService) GetLoginFlowRequestExecute(r LoginApiApiGetLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)
- func (a *LoginApiService) InitBrowserLoginFlowRequest(ctx context.Context) LoginApiApiInitBrowserLoginFlowRequestRequest
- func (a *LoginApiService) InitBrowserLoginFlowRequestExecute(r LoginApiApiInitBrowserLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)
- func (a *LoginApiService) SubmitLoginFlowRequest(ctx context.Context) LoginApiApiSubmitLoginFlowRequestRequest
- func (a *LoginApiService) SubmitLoginFlowRequestExecute(r LoginApiApiSubmitLoginFlowRequestRequest) (*SubmitLoginFlowResponse, *http.Response, error)
- type LoginFlow
- func (o *LoginFlow) GetActive() CredentialsType
- func (o *LoginFlow) GetActiveOk() (*CredentialsType, bool)
- func (o *LoginFlow) GetCreatedAt() time.Time
- func (o *LoginFlow) GetCreatedAtOk() (*time.Time, bool)
- func (o *LoginFlow) GetExpiresAt() time.Time
- func (o *LoginFlow) GetExpiresAtOk() (*time.Time, bool)
- func (o *LoginFlow) GetId() string
- func (o *LoginFlow) GetIdOk() (*string, bool)
- func (o *LoginFlow) GetIssuedAt() time.Time
- func (o *LoginFlow) GetIssuedAtOk() (*time.Time, bool)
- func (o *LoginFlow) GetOauth2LoginChallenge() string
- func (o *LoginFlow) GetOauth2LoginChallengeOk() (*string, bool)
- func (o *LoginFlow) GetOauth2LoginRequest() OAuth2LoginRequest
- func (o *LoginFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
- func (o *LoginFlow) GetRefresh() bool
- func (o *LoginFlow) GetRefreshOk() (*bool, bool)
- func (o *LoginFlow) GetRequestUrl() string
- func (o *LoginFlow) GetRequestUrlOk() (*string, bool)
- func (o *LoginFlow) GetRequestedAal() AuthenticatorAssuranceLevel
- func (o *LoginFlow) GetRequestedAalOk() (*AuthenticatorAssuranceLevel, bool)
- func (o *LoginFlow) GetReturnTo() string
- func (o *LoginFlow) GetReturnToOk() (*string, bool)
- func (o *LoginFlow) GetType() FlowType
- func (o *LoginFlow) GetTypeOk() (*FlowType, bool)
- func (o *LoginFlow) GetUi() UiContainer
- func (o *LoginFlow) GetUiOk() (*UiContainer, bool)
- func (o *LoginFlow) GetUpdatedAt() time.Time
- func (o *LoginFlow) GetUpdatedAtOk() (*time.Time, bool)
- func (o *LoginFlow) HasActive() bool
- func (o *LoginFlow) HasCreatedAt() bool
- func (o *LoginFlow) HasOauth2LoginChallenge() bool
- func (o *LoginFlow) HasOauth2LoginRequest() bool
- func (o *LoginFlow) HasRefresh() bool
- func (o *LoginFlow) HasRequestedAal() bool
- func (o *LoginFlow) HasReturnTo() bool
- func (o *LoginFlow) HasUpdatedAt() bool
- func (o LoginFlow) MarshalJSON() ([]byte, error)
- func (o *LoginFlow) SetActive(v CredentialsType)
- func (o *LoginFlow) SetCreatedAt(v time.Time)
- func (o *LoginFlow) SetExpiresAt(v time.Time)
- func (o *LoginFlow) SetId(v string)
- func (o *LoginFlow) SetIssuedAt(v time.Time)
- func (o *LoginFlow) SetOauth2LoginChallenge(v string)
- func (o *LoginFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)
- func (o *LoginFlow) SetRefresh(v bool)
- func (o *LoginFlow) SetRequestUrl(v string)
- func (o *LoginFlow) SetRequestedAal(v AuthenticatorAssuranceLevel)
- func (o *LoginFlow) SetReturnTo(v string)
- func (o *LoginFlow) SetType(v FlowType)
- func (o *LoginFlow) SetUi(v UiContainer)
- func (o *LoginFlow) SetUpdatedAt(v time.Time)
- type LogoutApi
- type LogoutApiApiInitBrowserLogoutFlowRequestRequest
- func (r LogoutApiApiInitBrowserLogoutFlowRequestRequest) Cookie(cookie string) LogoutApiApiInitBrowserLogoutFlowRequestRequest
- func (r LogoutApiApiInitBrowserLogoutFlowRequestRequest) Execute() (*InitBrowserLogoutFlowResponse, *http.Response, error)
- func (r LogoutApiApiInitBrowserLogoutFlowRequestRequest) LogoutChallenge(logoutChallenge string) LogoutApiApiInitBrowserLogoutFlowRequestRequest
- type LogoutApiApiSubmitLogoutFlowRequestRequest
- func (r LogoutApiApiSubmitLogoutFlowRequestRequest) Execute() (*http.Response, error)
- func (r LogoutApiApiSubmitLogoutFlowRequestRequest) LogoutChallenge(logoutChallenge string) LogoutApiApiSubmitLogoutFlowRequestRequest
- func (r LogoutApiApiSubmitLogoutFlowRequestRequest) ReturnTo(returnTo string) LogoutApiApiSubmitLogoutFlowRequestRequest
- func (r LogoutApiApiSubmitLogoutFlowRequestRequest) Token(token string) LogoutApiApiSubmitLogoutFlowRequestRequest
- type LogoutApiService
- func (a *LogoutApiService) InitBrowserLogoutFlowRequest(ctx context.Context) LogoutApiApiInitBrowserLogoutFlowRequestRequest
- func (a *LogoutApiService) InitBrowserLogoutFlowRequestExecute(r LogoutApiApiInitBrowserLogoutFlowRequestRequest) (*InitBrowserLogoutFlowResponse, *http.Response, error)
- func (a *LogoutApiService) SubmitLogoutFlowRequest(ctx context.Context) LogoutApiApiSubmitLogoutFlowRequestRequest
- func (a *LogoutApiService) SubmitLogoutFlowRequestExecute(r LogoutApiApiSubmitLogoutFlowRequestRequest) (*http.Response, error)
- type NullableAPILoginFlow
- func (v NullableAPILoginFlow) Get() *APILoginFlow
- func (v NullableAPILoginFlow) IsSet() bool
- func (v NullableAPILoginFlow) MarshalJSON() ([]byte, error)
- func (v *NullableAPILoginFlow) Set(val *APILoginFlow)
- func (v *NullableAPILoginFlow) UnmarshalJSON(src []byte) error
- func (v *NullableAPILoginFlow) Unset()
- type NullableAPIRegistrationFlow
- func (v NullableAPIRegistrationFlow) Get() *APIRegistrationFlow
- func (v NullableAPIRegistrationFlow) IsSet() bool
- func (v NullableAPIRegistrationFlow) MarshalJSON() ([]byte, error)
- func (v *NullableAPIRegistrationFlow) Set(val *APIRegistrationFlow)
- func (v *NullableAPIRegistrationFlow) UnmarshalJSON(src []byte) error
- func (v *NullableAPIRegistrationFlow) Unset()
- type NullableAuthenticatorAssuranceLevel
- func (v NullableAuthenticatorAssuranceLevel) Get() *AuthenticatorAssuranceLevel
- func (v NullableAuthenticatorAssuranceLevel) IsSet() bool
- func (v NullableAuthenticatorAssuranceLevel) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticatorAssuranceLevel) Set(val *AuthenticatorAssuranceLevel)
- func (v *NullableAuthenticatorAssuranceLevel) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticatorAssuranceLevel) Unset()
- type NullableBool
- type NullableBrowserLocationChangeRequiredResponse
- func (v NullableBrowserLocationChangeRequiredResponse) Get() *BrowserLocationChangeRequiredResponse
- func (v NullableBrowserLocationChangeRequiredResponse) IsSet() bool
- func (v NullableBrowserLocationChangeRequiredResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBrowserLocationChangeRequiredResponse) Set(val *BrowserLocationChangeRequiredResponse)
- func (v *NullableBrowserLocationChangeRequiredResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBrowserLocationChangeRequiredResponse) Unset()
- type NullableCode
- type NullableConsentFlow
- func (v NullableConsentFlow) Get() *ConsentFlow
- func (v NullableConsentFlow) IsSet() bool
- func (v NullableConsentFlow) MarshalJSON() ([]byte, error)
- func (v *NullableConsentFlow) Set(val *ConsentFlow)
- func (v *NullableConsentFlow) UnmarshalJSON(src []byte) error
- func (v *NullableConsentFlow) Unset()
- type NullableCredentialsType
- func (v NullableCredentialsType) Get() *CredentialsType
- func (v NullableCredentialsType) IsSet() bool
- func (v NullableCredentialsType) MarshalJSON() ([]byte, error)
- func (v *NullableCredentialsType) Set(val *CredentialsType)
- func (v *NullableCredentialsType) UnmarshalJSON(src []byte) error
- func (v *NullableCredentialsType) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableFlowType
- type NullableIdentity
- type NullableIdentityCredential
- func (v NullableIdentityCredential) Get() *IdentityCredential
- func (v NullableIdentityCredential) IsSet() bool
- func (v NullableIdentityCredential) MarshalJSON() ([]byte, error)
- func (v *NullableIdentityCredential) Set(val *IdentityCredential)
- func (v *NullableIdentityCredential) UnmarshalJSON(src []byte) error
- func (v *NullableIdentityCredential) Unset()
- type NullableIdentityCredentialIdentifier
- func (v NullableIdentityCredentialIdentifier) Get() *IdentityCredentialIdentifier
- func (v NullableIdentityCredentialIdentifier) IsSet() bool
- func (v NullableIdentityCredentialIdentifier) MarshalJSON() ([]byte, error)
- func (v *NullableIdentityCredentialIdentifier) Set(val *IdentityCredentialIdentifier)
- func (v *NullableIdentityCredentialIdentifier) UnmarshalJSON(src []byte) error
- func (v *NullableIdentityCredentialIdentifier) Unset()
- type NullableIdentityCredentialIdentifierOidcProperties
- func (v NullableIdentityCredentialIdentifierOidcProperties) Get() *IdentityCredentialIdentifierOidcProperties
- func (v NullableIdentityCredentialIdentifierOidcProperties) IsSet() bool
- func (v NullableIdentityCredentialIdentifierOidcProperties) MarshalJSON() ([]byte, error)
- func (v *NullableIdentityCredentialIdentifierOidcProperties) Set(val *IdentityCredentialIdentifierOidcProperties)
- func (v *NullableIdentityCredentialIdentifierOidcProperties) UnmarshalJSON(src []byte) error
- func (v *NullableIdentityCredentialIdentifierOidcProperties) Unset()
- type NullableIdentityCredentialIdentifierPasswordProperties
- func (v NullableIdentityCredentialIdentifierPasswordProperties) Get() *IdentityCredentialIdentifierPasswordProperties
- func (v NullableIdentityCredentialIdentifierPasswordProperties) IsSet() bool
- func (v NullableIdentityCredentialIdentifierPasswordProperties) MarshalJSON() ([]byte, error)
- func (v *NullableIdentityCredentialIdentifierPasswordProperties) Set(val *IdentityCredentialIdentifierPasswordProperties)
- func (v *NullableIdentityCredentialIdentifierPasswordProperties) UnmarshalJSON(src []byte) error
- func (v *NullableIdentityCredentialIdentifierPasswordProperties) Unset()
- type NullableIdentityState
- func (v NullableIdentityState) Get() *IdentityState
- func (v NullableIdentityState) IsSet() bool
- func (v NullableIdentityState) MarshalJSON() ([]byte, error)
- func (v *NullableIdentityState) Set(val *IdentityState)
- func (v *NullableIdentityState) UnmarshalJSON(src []byte) error
- func (v *NullableIdentityState) Unset()
- type NullableIdentityTraits
- func (v NullableIdentityTraits) Get() *IdentityTraits
- func (v NullableIdentityTraits) IsSet() bool
- func (v NullableIdentityTraits) MarshalJSON() ([]byte, error)
- func (v *NullableIdentityTraits) Set(val *IdentityTraits)
- func (v *NullableIdentityTraits) UnmarshalJSON(src []byte) error
- func (v *NullableIdentityTraits) Unset()
- type NullableInitBrowserLogoutFlowResponse
- func (v NullableInitBrowserLogoutFlowResponse) Get() *InitBrowserLogoutFlowResponse
- func (v NullableInitBrowserLogoutFlowResponse) IsSet() bool
- func (v NullableInitBrowserLogoutFlowResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInitBrowserLogoutFlowResponse) Set(val *InitBrowserLogoutFlowResponse)
- func (v *NullableInitBrowserLogoutFlowResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInitBrowserLogoutFlowResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJsonErrorResponse
- func (v NullableJsonErrorResponse) Get() *JsonErrorResponse
- func (v NullableJsonErrorResponse) IsSet() bool
- func (v NullableJsonErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJsonErrorResponse) Set(val *JsonErrorResponse)
- func (v *NullableJsonErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJsonErrorResponse) Unset()
- type NullableLoginFlow
- type NullableOAuth2Client
- func (v NullableOAuth2Client) Get() *OAuth2Client
- func (v NullableOAuth2Client) IsSet() bool
- func (v NullableOAuth2Client) MarshalJSON() ([]byte, error)
- func (v *NullableOAuth2Client) Set(val *OAuth2Client)
- func (v *NullableOAuth2Client) UnmarshalJSON(src []byte) error
- func (v *NullableOAuth2Client) Unset()
- type NullableOAuth2ConsentRequest
- func (v NullableOAuth2ConsentRequest) Get() *OAuth2ConsentRequest
- func (v NullableOAuth2ConsentRequest) IsSet() bool
- func (v NullableOAuth2ConsentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOAuth2ConsentRequest) Set(val *OAuth2ConsentRequest)
- func (v *NullableOAuth2ConsentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOAuth2ConsentRequest) Unset()
- type NullableOAuth2ConsentRequestOpenIDConnectContext
- func (v NullableOAuth2ConsentRequestOpenIDConnectContext) Get() *OAuth2ConsentRequestOpenIDConnectContext
- func (v NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet() bool
- func (v NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON() ([]byte, error)
- func (v *NullableOAuth2ConsentRequestOpenIDConnectContext) Set(val *OAuth2ConsentRequestOpenIDConnectContext)
- func (v *NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON(src []byte) error
- func (v *NullableOAuth2ConsentRequestOpenIDConnectContext) Unset()
- type NullableOAuth2LoginRequest
- func (v NullableOAuth2LoginRequest) Get() *OAuth2LoginRequest
- func (v NullableOAuth2LoginRequest) IsSet() bool
- func (v NullableOAuth2LoginRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOAuth2LoginRequest) Set(val *OAuth2LoginRequest)
- func (v *NullableOAuth2LoginRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOAuth2LoginRequest) Unset()
- type NullableRecoveryFlow
- func (v NullableRecoveryFlow) Get() *RecoveryFlow
- func (v NullableRecoveryFlow) IsSet() bool
- func (v NullableRecoveryFlow) MarshalJSON() ([]byte, error)
- func (v *NullableRecoveryFlow) Set(val *RecoveryFlow)
- func (v *NullableRecoveryFlow) UnmarshalJSON(src []byte) error
- func (v *NullableRecoveryFlow) Unset()
- type NullableRecoveryMethod
- func (v NullableRecoveryMethod) Get() *RecoveryMethod
- func (v NullableRecoveryMethod) IsSet() bool
- func (v NullableRecoveryMethod) MarshalJSON() ([]byte, error)
- func (v *NullableRecoveryMethod) Set(val *RecoveryMethod)
- func (v *NullableRecoveryMethod) UnmarshalJSON(src []byte) error
- func (v *NullableRecoveryMethod) Unset()
- type NullableRecoveryState
- func (v NullableRecoveryState) Get() *RecoveryState
- func (v NullableRecoveryState) IsSet() bool
- func (v NullableRecoveryState) MarshalJSON() ([]byte, error)
- func (v *NullableRecoveryState) Set(val *RecoveryState)
- func (v *NullableRecoveryState) UnmarshalJSON(src []byte) error
- func (v *NullableRecoveryState) Unset()
- type NullableRecoveryTraits
- func (v NullableRecoveryTraits) Get() *RecoveryTraits
- func (v NullableRecoveryTraits) IsSet() bool
- func (v NullableRecoveryTraits) MarshalJSON() ([]byte, error)
- func (v *NullableRecoveryTraits) Set(val *RecoveryTraits)
- func (v *NullableRecoveryTraits) UnmarshalJSON(src []byte) error
- func (v *NullableRecoveryTraits) Unset()
- type NullableRegistrationFlow
- func (v NullableRegistrationFlow) Get() *RegistrationFlow
- func (v NullableRegistrationFlow) IsSet() bool
- func (v NullableRegistrationFlow) MarshalJSON() ([]byte, error)
- func (v *NullableRegistrationFlow) Set(val *RegistrationFlow)
- func (v *NullableRegistrationFlow) UnmarshalJSON(src []byte) error
- func (v *NullableRegistrationFlow) Unset()
- type NullableRegistrationTraits
- func (v NullableRegistrationTraits) Get() *RegistrationTraits
- func (v NullableRegistrationTraits) IsSet() bool
- func (v NullableRegistrationTraits) MarshalJSON() ([]byte, error)
- func (v *NullableRegistrationTraits) Set(val *RegistrationTraits)
- func (v *NullableRegistrationTraits) UnmarshalJSON(src []byte) error
- func (v *NullableRegistrationTraits) Unset()
- type NullableSession
- type NullableSessionAuthenticationMethod
- func (v NullableSessionAuthenticationMethod) Get() *SessionAuthenticationMethod
- func (v NullableSessionAuthenticationMethod) IsSet() bool
- func (v NullableSessionAuthenticationMethod) MarshalJSON() ([]byte, error)
- func (v *NullableSessionAuthenticationMethod) Set(val *SessionAuthenticationMethod)
- func (v *NullableSessionAuthenticationMethod) UnmarshalJSON(src []byte) error
- func (v *NullableSessionAuthenticationMethod) Unset()
- type NullableSettingsFlow
- func (v NullableSettingsFlow) Get() *SettingsFlow
- func (v NullableSettingsFlow) IsSet() bool
- func (v NullableSettingsFlow) MarshalJSON() ([]byte, error)
- func (v *NullableSettingsFlow) Set(val *SettingsFlow)
- func (v *NullableSettingsFlow) UnmarshalJSON(src []byte) error
- func (v *NullableSettingsFlow) Unset()
- type NullableSettingsMethod
- func (v NullableSettingsMethod) Get() *SettingsMethod
- func (v NullableSettingsMethod) IsSet() bool
- func (v NullableSettingsMethod) MarshalJSON() ([]byte, error)
- func (v *NullableSettingsMethod) Set(val *SettingsMethod)
- func (v *NullableSettingsMethod) UnmarshalJSON(src []byte) error
- func (v *NullableSettingsMethod) Unset()
- type NullableSettingsState
- func (v NullableSettingsState) Get() *SettingsState
- func (v NullableSettingsState) IsSet() bool
- func (v NullableSettingsState) MarshalJSON() ([]byte, error)
- func (v *NullableSettingsState) Set(val *SettingsState)
- func (v *NullableSettingsState) UnmarshalJSON(src []byte) error
- func (v *NullableSettingsState) Unset()
- type NullableString
- type NullableSubmitConsentFlowBody
- func (v NullableSubmitConsentFlowBody) Get() *SubmitConsentFlowBody
- func (v NullableSubmitConsentFlowBody) IsSet() bool
- func (v NullableSubmitConsentFlowBody) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitConsentFlowBody) Set(val *SubmitConsentFlowBody)
- func (v *NullableSubmitConsentFlowBody) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitConsentFlowBody) Unset()
- type NullableSubmitConsentFlowBodyWithDefault
- func (v NullableSubmitConsentFlowBodyWithDefault) Get() *SubmitConsentFlowBodyWithDefault
- func (v NullableSubmitConsentFlowBodyWithDefault) IsSet() bool
- func (v NullableSubmitConsentFlowBodyWithDefault) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitConsentFlowBodyWithDefault) Set(val *SubmitConsentFlowBodyWithDefault)
- func (v *NullableSubmitConsentFlowBodyWithDefault) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitConsentFlowBodyWithDefault) Unset()
- type NullableSubmitLoginFlowBody
- func (v NullableSubmitLoginFlowBody) Get() *SubmitLoginFlowBody
- func (v NullableSubmitLoginFlowBody) IsSet() bool
- func (v NullableSubmitLoginFlowBody) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitLoginFlowBody) Set(val *SubmitLoginFlowBody)
- func (v *NullableSubmitLoginFlowBody) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitLoginFlowBody) Unset()
- type NullableSubmitLoginFlowBodyWithOidc
- func (v NullableSubmitLoginFlowBodyWithOidc) Get() *SubmitLoginFlowBodyWithOidc
- func (v NullableSubmitLoginFlowBodyWithOidc) IsSet() bool
- func (v NullableSubmitLoginFlowBodyWithOidc) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitLoginFlowBodyWithOidc) Set(val *SubmitLoginFlowBodyWithOidc)
- func (v *NullableSubmitLoginFlowBodyWithOidc) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitLoginFlowBodyWithOidc) Unset()
- type NullableSubmitLoginFlowBodyWithPassword
- func (v NullableSubmitLoginFlowBodyWithPassword) Get() *SubmitLoginFlowBodyWithPassword
- func (v NullableSubmitLoginFlowBodyWithPassword) IsSet() bool
- func (v NullableSubmitLoginFlowBodyWithPassword) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitLoginFlowBodyWithPassword) Set(val *SubmitLoginFlowBodyWithPassword)
- func (v *NullableSubmitLoginFlowBodyWithPassword) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitLoginFlowBodyWithPassword) Unset()
- type NullableSubmitLoginFlowBodyWithTotp
- func (v NullableSubmitLoginFlowBodyWithTotp) Get() *SubmitLoginFlowBodyWithTotp
- func (v NullableSubmitLoginFlowBodyWithTotp) IsSet() bool
- func (v NullableSubmitLoginFlowBodyWithTotp) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitLoginFlowBodyWithTotp) Set(val *SubmitLoginFlowBodyWithTotp)
- func (v *NullableSubmitLoginFlowBodyWithTotp) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitLoginFlowBodyWithTotp) Unset()
- type NullableSubmitLoginFlowResponse
- func (v NullableSubmitLoginFlowResponse) Get() *SubmitLoginFlowResponse
- func (v NullableSubmitLoginFlowResponse) IsSet() bool
- func (v NullableSubmitLoginFlowResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitLoginFlowResponse) Set(val *SubmitLoginFlowResponse)
- func (v *NullableSubmitLoginFlowResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitLoginFlowResponse) Unset()
- type NullableSubmitRecoveryFlowBody
- func (v NullableSubmitRecoveryFlowBody) Get() *SubmitRecoveryFlowBody
- func (v NullableSubmitRecoveryFlowBody) IsSet() bool
- func (v NullableSubmitRecoveryFlowBody) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitRecoveryFlowBody) Set(val *SubmitRecoveryFlowBody)
- func (v *NullableSubmitRecoveryFlowBody) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitRecoveryFlowBody) Unset()
- type NullableSubmitRecoveryFlowBodyWithCaptcha
- func (v NullableSubmitRecoveryFlowBodyWithCaptcha) Get() *SubmitRecoveryFlowBodyWithCaptcha
- func (v NullableSubmitRecoveryFlowBodyWithCaptcha) IsSet() bool
- func (v NullableSubmitRecoveryFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) Set(val *SubmitRecoveryFlowBodyWithCaptcha)
- func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) Unset()
- type NullableSubmitRegistrationFlowBody
- func (v NullableSubmitRegistrationFlowBody) Get() *SubmitRegistrationFlowBody
- func (v NullableSubmitRegistrationFlowBody) IsSet() bool
- func (v NullableSubmitRegistrationFlowBody) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitRegistrationFlowBody) Set(val *SubmitRegistrationFlowBody)
- func (v *NullableSubmitRegistrationFlowBody) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitRegistrationFlowBody) Unset()
- type NullableSubmitRegistrationFlowBodyWithOidc
- func (v NullableSubmitRegistrationFlowBodyWithOidc) Get() *SubmitRegistrationFlowBodyWithOidc
- func (v NullableSubmitRegistrationFlowBodyWithOidc) IsSet() bool
- func (v NullableSubmitRegistrationFlowBodyWithOidc) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitRegistrationFlowBodyWithOidc) Set(val *SubmitRegistrationFlowBodyWithOidc)
- func (v *NullableSubmitRegistrationFlowBodyWithOidc) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitRegistrationFlowBodyWithOidc) Unset()
- type NullableSubmitRegistrationFlowBodyWithPassword
- func (v NullableSubmitRegistrationFlowBodyWithPassword) Get() *SubmitRegistrationFlowBodyWithPassword
- func (v NullableSubmitRegistrationFlowBodyWithPassword) IsSet() bool
- func (v NullableSubmitRegistrationFlowBodyWithPassword) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitRegistrationFlowBodyWithPassword) Set(val *SubmitRegistrationFlowBodyWithPassword)
- func (v *NullableSubmitRegistrationFlowBodyWithPassword) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitRegistrationFlowBodyWithPassword) Unset()
- type NullableSubmitRegistrationFlowResponse
- func (v NullableSubmitRegistrationFlowResponse) Get() *SubmitRegistrationFlowResponse
- func (v NullableSubmitRegistrationFlowResponse) IsSet() bool
- func (v NullableSubmitRegistrationFlowResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitRegistrationFlowResponse) Set(val *SubmitRegistrationFlowResponse)
- func (v *NullableSubmitRegistrationFlowResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitRegistrationFlowResponse) Unset()
- type NullableSubmitSettingsFlowBody
- func (v NullableSubmitSettingsFlowBody) Get() *SubmitSettingsFlowBody
- func (v NullableSubmitSettingsFlowBody) IsSet() bool
- func (v NullableSubmitSettingsFlowBody) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitSettingsFlowBody) Set(val *SubmitSettingsFlowBody)
- func (v *NullableSubmitSettingsFlowBody) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitSettingsFlowBody) Unset()
- type NullableSubmitSettingsFlowBodyWithPassword
- func (v NullableSubmitSettingsFlowBodyWithPassword) Get() *SubmitSettingsFlowBodyWithPassword
- func (v NullableSubmitSettingsFlowBodyWithPassword) IsSet() bool
- func (v NullableSubmitSettingsFlowBodyWithPassword) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitSettingsFlowBodyWithPassword) Set(val *SubmitSettingsFlowBodyWithPassword)
- func (v *NullableSubmitSettingsFlowBodyWithPassword) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitSettingsFlowBodyWithPassword) Unset()
- type NullableSubmitSettingsFlowBodyWithProfile
- func (v NullableSubmitSettingsFlowBodyWithProfile) Get() *SubmitSettingsFlowBodyWithProfile
- func (v NullableSubmitSettingsFlowBodyWithProfile) IsSet() bool
- func (v NullableSubmitSettingsFlowBodyWithProfile) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitSettingsFlowBodyWithProfile) Set(val *SubmitSettingsFlowBodyWithProfile)
- func (v *NullableSubmitSettingsFlowBodyWithProfile) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitSettingsFlowBodyWithProfile) Unset()
- type NullableSubmitSettingsFlowBodyWithTotp
- func (v NullableSubmitSettingsFlowBodyWithTotp) Get() *SubmitSettingsFlowBodyWithTotp
- func (v NullableSubmitSettingsFlowBodyWithTotp) IsSet() bool
- func (v NullableSubmitSettingsFlowBodyWithTotp) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitSettingsFlowBodyWithTotp) Set(val *SubmitSettingsFlowBodyWithTotp)
- func (v *NullableSubmitSettingsFlowBodyWithTotp) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitSettingsFlowBodyWithTotp) Unset()
- type NullableSubmitVerificationFlowBody
- func (v NullableSubmitVerificationFlowBody) Get() *SubmitVerificationFlowBody
- func (v NullableSubmitVerificationFlowBody) IsSet() bool
- func (v NullableSubmitVerificationFlowBody) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitVerificationFlowBody) Set(val *SubmitVerificationFlowBody)
- func (v *NullableSubmitVerificationFlowBody) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitVerificationFlowBody) Unset()
- type NullableSubmitVerificationFlowBodyWithCaptcha
- func (v NullableSubmitVerificationFlowBodyWithCaptcha) Get() *SubmitVerificationFlowBodyWithCaptcha
- func (v NullableSubmitVerificationFlowBodyWithCaptcha) IsSet() bool
- func (v NullableSubmitVerificationFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitVerificationFlowBodyWithCaptcha) Set(val *SubmitVerificationFlowBodyWithCaptcha)
- func (v *NullableSubmitVerificationFlowBodyWithCaptcha) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitVerificationFlowBodyWithCaptcha) Unset()
- type NullableTime
- type NullableUiContainer
- func (v NullableUiContainer) Get() *UiContainer
- func (v NullableUiContainer) IsSet() bool
- func (v NullableUiContainer) MarshalJSON() ([]byte, error)
- func (v *NullableUiContainer) Set(val *UiContainer)
- func (v *NullableUiContainer) UnmarshalJSON(src []byte) error
- func (v *NullableUiContainer) Unset()
- type NullableUiNode
- type NullableUiNodeAnchorAttributes
- func (v NullableUiNodeAnchorAttributes) Get() *UiNodeAnchorAttributes
- func (v NullableUiNodeAnchorAttributes) IsSet() bool
- func (v NullableUiNodeAnchorAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableUiNodeAnchorAttributes) Set(val *UiNodeAnchorAttributes)
- func (v *NullableUiNodeAnchorAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableUiNodeAnchorAttributes) Unset()
- type NullableUiNodeAttributes
- func (v NullableUiNodeAttributes) Get() *UiNodeAttributes
- func (v NullableUiNodeAttributes) IsSet() bool
- func (v NullableUiNodeAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableUiNodeAttributes) Set(val *UiNodeAttributes)
- func (v *NullableUiNodeAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableUiNodeAttributes) Unset()
- type NullableUiNodeImageAttributes
- func (v NullableUiNodeImageAttributes) Get() *UiNodeImageAttributes
- func (v NullableUiNodeImageAttributes) IsSet() bool
- func (v NullableUiNodeImageAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableUiNodeImageAttributes) Set(val *UiNodeImageAttributes)
- func (v *NullableUiNodeImageAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableUiNodeImageAttributes) Unset()
- type NullableUiNodeInputAttributes
- func (v NullableUiNodeInputAttributes) Get() *UiNodeInputAttributes
- func (v NullableUiNodeInputAttributes) IsSet() bool
- func (v NullableUiNodeInputAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableUiNodeInputAttributes) Set(val *UiNodeInputAttributes)
- func (v *NullableUiNodeInputAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableUiNodeInputAttributes) Unset()
- type NullableUiNodeMeta
- type NullableUiNodeScriptAttributes
- func (v NullableUiNodeScriptAttributes) Get() *UiNodeScriptAttributes
- func (v NullableUiNodeScriptAttributes) IsSet() bool
- func (v NullableUiNodeScriptAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableUiNodeScriptAttributes) Set(val *UiNodeScriptAttributes)
- func (v *NullableUiNodeScriptAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableUiNodeScriptAttributes) Unset()
- type NullableUiNodeTextAttributes
- func (v NullableUiNodeTextAttributes) Get() *UiNodeTextAttributes
- func (v NullableUiNodeTextAttributes) IsSet() bool
- func (v NullableUiNodeTextAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableUiNodeTextAttributes) Set(val *UiNodeTextAttributes)
- func (v *NullableUiNodeTextAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableUiNodeTextAttributes) Unset()
- type NullableUiText
- type NullableVerifiableAddress
- func (v NullableVerifiableAddress) Get() *VerifiableAddress
- func (v NullableVerifiableAddress) IsSet() bool
- func (v NullableVerifiableAddress) MarshalJSON() ([]byte, error)
- func (v *NullableVerifiableAddress) Set(val *VerifiableAddress)
- func (v *NullableVerifiableAddress) UnmarshalJSON(src []byte) error
- func (v *NullableVerifiableAddress) Unset()
- type NullableVerificationFlow
- func (v NullableVerificationFlow) Get() *VerificationFlow
- func (v NullableVerificationFlow) IsSet() bool
- func (v NullableVerificationFlow) MarshalJSON() ([]byte, error)
- func (v *NullableVerificationFlow) Set(val *VerificationFlow)
- func (v *NullableVerificationFlow) UnmarshalJSON(src []byte) error
- func (v *NullableVerificationFlow) Unset()
- type NullableVerificationMethod
- func (v NullableVerificationMethod) Get() *VerificationMethod
- func (v NullableVerificationMethod) IsSet() bool
- func (v NullableVerificationMethod) MarshalJSON() ([]byte, error)
- func (v *NullableVerificationMethod) Set(val *VerificationMethod)
- func (v *NullableVerificationMethod) UnmarshalJSON(src []byte) error
- func (v *NullableVerificationMethod) Unset()
- type NullableVerificationState
- func (v NullableVerificationState) Get() *VerificationState
- func (v NullableVerificationState) IsSet() bool
- func (v NullableVerificationState) MarshalJSON() ([]byte, error)
- func (v *NullableVerificationState) Set(val *VerificationState)
- func (v *NullableVerificationState) UnmarshalJSON(src []byte) error
- func (v *NullableVerificationState) Unset()
- type NullableVerificationTraits
- func (v NullableVerificationTraits) Get() *VerificationTraits
- func (v NullableVerificationTraits) IsSet() bool
- func (v NullableVerificationTraits) MarshalJSON() ([]byte, error)
- func (v *NullableVerificationTraits) Set(val *VerificationTraits)
- func (v *NullableVerificationTraits) UnmarshalJSON(src []byte) error
- func (v *NullableVerificationTraits) Unset()
- type OAuth2Client
- func (o *OAuth2Client) GetAllowedCorsOrigins() []string
- func (o *OAuth2Client) GetAllowedCorsOriginsOk() ([]string, bool)
- func (o *OAuth2Client) GetAudience() []string
- func (o *OAuth2Client) GetAudienceOk() ([]string, bool)
- func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan() string
- func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan() string
- func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan() string
- func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetBackchannelLogoutSessionRequired() bool
- func (o *OAuth2Client) GetBackchannelLogoutSessionRequiredOk() (*bool, bool)
- func (o *OAuth2Client) GetBackchannelLogoutUri() string
- func (o *OAuth2Client) GetBackchannelLogoutUriOk() (*string, bool)
- func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan() string
- func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetClientId() string
- func (o *OAuth2Client) GetClientIdOk() (*string, bool)
- func (o *OAuth2Client) GetClientName() string
- func (o *OAuth2Client) GetClientNameOk() (*string, bool)
- func (o *OAuth2Client) GetClientSecret() string
- func (o *OAuth2Client) GetClientSecretExpiresAt() int64
- func (o *OAuth2Client) GetClientSecretExpiresAtOk() (*int64, bool)
- func (o *OAuth2Client) GetClientSecretOk() (*string, bool)
- func (o *OAuth2Client) GetClientUri() string
- func (o *OAuth2Client) GetClientUriOk() (*string, bool)
- func (o *OAuth2Client) GetContacts() []string
- func (o *OAuth2Client) GetContactsOk() ([]string, bool)
- func (o *OAuth2Client) GetCreatedAt() time.Time
- func (o *OAuth2Client) GetCreatedAtOk() (*time.Time, bool)
- func (o *OAuth2Client) GetFrontchannelLogoutSessionRequired() bool
- func (o *OAuth2Client) GetFrontchannelLogoutSessionRequiredOk() (*bool, bool)
- func (o *OAuth2Client) GetFrontchannelLogoutUri() string
- func (o *OAuth2Client) GetFrontchannelLogoutUriOk() (*string, bool)
- func (o *OAuth2Client) GetGrantTypes() []string
- func (o *OAuth2Client) GetGrantTypesOk() ([]string, bool)
- func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespan() string
- func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetImplicitGrantIdTokenLifespan() string
- func (o *OAuth2Client) GetImplicitGrantIdTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetJwks() map[string]interface{}
- func (o *OAuth2Client) GetJwksOk() (map[string]interface{}, bool)
- func (o *OAuth2Client) GetJwksUri() string
- func (o *OAuth2Client) GetJwksUriOk() (*string, bool)
- func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespan() string
- func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetLogoUri() string
- func (o *OAuth2Client) GetLogoUriOk() (*string, bool)
- func (o *OAuth2Client) GetMetadata() map[string]interface{}
- func (o *OAuth2Client) GetMetadataOk() (map[string]interface{}, bool)
- func (o *OAuth2Client) GetOwner() string
- func (o *OAuth2Client) GetOwnerOk() (*string, bool)
- func (o *OAuth2Client) GetPolicyUri() string
- func (o *OAuth2Client) GetPolicyUriOk() (*string, bool)
- func (o *OAuth2Client) GetPostLogoutRedirectUris() []string
- func (o *OAuth2Client) GetPostLogoutRedirectUrisOk() ([]string, bool)
- func (o *OAuth2Client) GetRedirectUris() []string
- func (o *OAuth2Client) GetRedirectUrisOk() ([]string, bool)
- func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan() string
- func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespan() string
- func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan() string
- func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk() (*string, bool)
- func (o *OAuth2Client) GetRegistrationAccessToken() string
- func (o *OAuth2Client) GetRegistrationAccessTokenOk() (*string, bool)
- func (o *OAuth2Client) GetRegistrationClientUri() string
- func (o *OAuth2Client) GetRegistrationClientUriOk() (*string, bool)
- func (o *OAuth2Client) GetRequestObjectSigningAlg() string
- func (o *OAuth2Client) GetRequestObjectSigningAlgOk() (*string, bool)
- func (o *OAuth2Client) GetRequestUris() []string
- func (o *OAuth2Client) GetRequestUrisOk() ([]string, bool)
- func (o *OAuth2Client) GetResponseTypes() []string
- func (o *OAuth2Client) GetResponseTypesOk() ([]string, bool)
- func (o *OAuth2Client) GetScope() string
- func (o *OAuth2Client) GetScopeOk() (*string, bool)
- func (o *OAuth2Client) GetSectorIdentifierUri() string
- func (o *OAuth2Client) GetSectorIdentifierUriOk() (*string, bool)
- func (o *OAuth2Client) GetSubjectType() string
- func (o *OAuth2Client) GetSubjectTypeOk() (*string, bool)
- func (o *OAuth2Client) GetTokenEndpointAuthMethod() string
- func (o *OAuth2Client) GetTokenEndpointAuthMethodOk() (*string, bool)
- func (o *OAuth2Client) GetTokenEndpointAuthSigningAlg() string
- func (o *OAuth2Client) GetTokenEndpointAuthSigningAlgOk() (*string, bool)
- func (o *OAuth2Client) GetTosUri() string
- func (o *OAuth2Client) GetTosUriOk() (*string, bool)
- func (o *OAuth2Client) GetUpdatedAt() time.Time
- func (o *OAuth2Client) GetUpdatedAtOk() (*time.Time, bool)
- func (o *OAuth2Client) GetUserinfoSignedResponseAlg() string
- func (o *OAuth2Client) GetUserinfoSignedResponseAlgOk() (*string, bool)
- func (o *OAuth2Client) HasAllowedCorsOrigins() bool
- func (o *OAuth2Client) HasAudience() bool
- func (o *OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan() bool
- func (o *OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan() bool
- func (o *OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan() bool
- func (o *OAuth2Client) HasBackchannelLogoutSessionRequired() bool
- func (o *OAuth2Client) HasBackchannelLogoutUri() bool
- func (o *OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan() bool
- func (o *OAuth2Client) HasClientId() bool
- func (o *OAuth2Client) HasClientName() bool
- func (o *OAuth2Client) HasClientSecret() bool
- func (o *OAuth2Client) HasClientSecretExpiresAt() bool
- func (o *OAuth2Client) HasClientUri() bool
- func (o *OAuth2Client) HasContacts() bool
- func (o *OAuth2Client) HasCreatedAt() bool
- func (o *OAuth2Client) HasFrontchannelLogoutSessionRequired() bool
- func (o *OAuth2Client) HasFrontchannelLogoutUri() bool
- func (o *OAuth2Client) HasGrantTypes() bool
- func (o *OAuth2Client) HasImplicitGrantAccessTokenLifespan() bool
- func (o *OAuth2Client) HasImplicitGrantIdTokenLifespan() bool
- func (o *OAuth2Client) HasJwks() bool
- func (o *OAuth2Client) HasJwksUri() bool
- func (o *OAuth2Client) HasJwtBearerGrantAccessTokenLifespan() bool
- func (o *OAuth2Client) HasLogoUri() bool
- func (o *OAuth2Client) HasMetadata() bool
- func (o *OAuth2Client) HasOwner() bool
- func (o *OAuth2Client) HasPolicyUri() bool
- func (o *OAuth2Client) HasPostLogoutRedirectUris() bool
- func (o *OAuth2Client) HasRedirectUris() bool
- func (o *OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan() bool
- func (o *OAuth2Client) HasRefreshTokenGrantIdTokenLifespan() bool
- func (o *OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan() bool
- func (o *OAuth2Client) HasRegistrationAccessToken() bool
- func (o *OAuth2Client) HasRegistrationClientUri() bool
- func (o *OAuth2Client) HasRequestObjectSigningAlg() bool
- func (o *OAuth2Client) HasRequestUris() bool
- func (o *OAuth2Client) HasResponseTypes() bool
- func (o *OAuth2Client) HasScope() bool
- func (o *OAuth2Client) HasSectorIdentifierUri() bool
- func (o *OAuth2Client) HasSubjectType() bool
- func (o *OAuth2Client) HasTokenEndpointAuthMethod() bool
- func (o *OAuth2Client) HasTokenEndpointAuthSigningAlg() bool
- func (o *OAuth2Client) HasTosUri() bool
- func (o *OAuth2Client) HasUpdatedAt() bool
- func (o *OAuth2Client) HasUserinfoSignedResponseAlg() bool
- func (o OAuth2Client) MarshalJSON() ([]byte, error)
- func (o *OAuth2Client) SetAllowedCorsOrigins(v []string)
- func (o *OAuth2Client) SetAudience(v []string)
- func (o *OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan(v string)
- func (o *OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan(v string)
- func (o *OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan(v string)
- func (o *OAuth2Client) SetBackchannelLogoutSessionRequired(v bool)
- func (o *OAuth2Client) SetBackchannelLogoutUri(v string)
- func (o *OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan(v string)
- func (o *OAuth2Client) SetClientId(v string)
- func (o *OAuth2Client) SetClientName(v string)
- func (o *OAuth2Client) SetClientSecret(v string)
- func (o *OAuth2Client) SetClientSecretExpiresAt(v int64)
- func (o *OAuth2Client) SetClientUri(v string)
- func (o *OAuth2Client) SetContacts(v []string)
- func (o *OAuth2Client) SetCreatedAt(v time.Time)
- func (o *OAuth2Client) SetFrontchannelLogoutSessionRequired(v bool)
- func (o *OAuth2Client) SetFrontchannelLogoutUri(v string)
- func (o *OAuth2Client) SetGrantTypes(v []string)
- func (o *OAuth2Client) SetImplicitGrantAccessTokenLifespan(v string)
- func (o *OAuth2Client) SetImplicitGrantIdTokenLifespan(v string)
- func (o *OAuth2Client) SetJwks(v map[string]interface{})
- func (o *OAuth2Client) SetJwksUri(v string)
- func (o *OAuth2Client) SetJwtBearerGrantAccessTokenLifespan(v string)
- func (o *OAuth2Client) SetLogoUri(v string)
- func (o *OAuth2Client) SetMetadata(v map[string]interface{})
- func (o *OAuth2Client) SetOwner(v string)
- func (o *OAuth2Client) SetPolicyUri(v string)
- func (o *OAuth2Client) SetPostLogoutRedirectUris(v []string)
- func (o *OAuth2Client) SetRedirectUris(v []string)
- func (o *OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan(v string)
- func (o *OAuth2Client) SetRefreshTokenGrantIdTokenLifespan(v string)
- func (o *OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan(v string)
- func (o *OAuth2Client) SetRegistrationAccessToken(v string)
- func (o *OAuth2Client) SetRegistrationClientUri(v string)
- func (o *OAuth2Client) SetRequestObjectSigningAlg(v string)
- func (o *OAuth2Client) SetRequestUris(v []string)
- func (o *OAuth2Client) SetResponseTypes(v []string)
- func (o *OAuth2Client) SetScope(v string)
- func (o *OAuth2Client) SetSectorIdentifierUri(v string)
- func (o *OAuth2Client) SetSubjectType(v string)
- func (o *OAuth2Client) SetTokenEndpointAuthMethod(v string)
- func (o *OAuth2Client) SetTokenEndpointAuthSigningAlg(v string)
- func (o *OAuth2Client) SetTosUri(v string)
- func (o *OAuth2Client) SetUpdatedAt(v time.Time)
- func (o *OAuth2Client) SetUserinfoSignedResponseAlg(v string)
- type OAuth2ConsentRequest
- func (o *OAuth2ConsentRequest) GetAcr() string
- func (o *OAuth2ConsentRequest) GetAcrOk() (*string, bool)
- func (o *OAuth2ConsentRequest) GetAmr() []string
- func (o *OAuth2ConsentRequest) GetAmrOk() ([]string, bool)
- func (o *OAuth2ConsentRequest) GetChallenge() string
- func (o *OAuth2ConsentRequest) GetChallengeOk() (*string, bool)
- func (o *OAuth2ConsentRequest) GetClient() OAuth2Client
- func (o *OAuth2ConsentRequest) GetClientOk() (*OAuth2Client, bool)
- func (o *OAuth2ConsentRequest) GetContext() map[string]interface{}
- func (o *OAuth2ConsentRequest) GetContextOk() (map[string]interface{}, bool)
- func (o *OAuth2ConsentRequest) GetLoginChallenge() string
- func (o *OAuth2ConsentRequest) GetLoginChallengeOk() (*string, bool)
- func (o *OAuth2ConsentRequest) GetLoginSessionId() string
- func (o *OAuth2ConsentRequest) GetLoginSessionIdOk() (*string, bool)
- func (o *OAuth2ConsentRequest) GetOidcContext() OAuth2ConsentRequestOpenIDConnectContext
- func (o *OAuth2ConsentRequest) GetOidcContextOk() (*OAuth2ConsentRequestOpenIDConnectContext, bool)
- func (o *OAuth2ConsentRequest) GetRequestUrl() string
- func (o *OAuth2ConsentRequest) GetRequestUrlOk() (*string, bool)
- func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudience() []string
- func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)
- func (o *OAuth2ConsentRequest) GetRequestedScope() []string
- func (o *OAuth2ConsentRequest) GetRequestedScopeOk() ([]string, bool)
- func (o *OAuth2ConsentRequest) GetSkip() bool
- func (o *OAuth2ConsentRequest) GetSkipOk() (*bool, bool)
- func (o *OAuth2ConsentRequest) GetSubject() string
- func (o *OAuth2ConsentRequest) GetSubjectOk() (*string, bool)
- func (o *OAuth2ConsentRequest) HasAcr() bool
- func (o *OAuth2ConsentRequest) HasAmr() bool
- func (o *OAuth2ConsentRequest) HasChallenge() bool
- func (o *OAuth2ConsentRequest) HasClient() bool
- func (o *OAuth2ConsentRequest) HasContext() bool
- func (o *OAuth2ConsentRequest) HasLoginChallenge() bool
- func (o *OAuth2ConsentRequest) HasLoginSessionId() bool
- func (o *OAuth2ConsentRequest) HasOidcContext() bool
- func (o *OAuth2ConsentRequest) HasRequestUrl() bool
- func (o *OAuth2ConsentRequest) HasRequestedAccessTokenAudience() bool
- func (o *OAuth2ConsentRequest) HasRequestedScope() bool
- func (o *OAuth2ConsentRequest) HasSkip() bool
- func (o *OAuth2ConsentRequest) HasSubject() bool
- func (o OAuth2ConsentRequest) MarshalJSON() ([]byte, error)
- func (o *OAuth2ConsentRequest) SetAcr(v string)
- func (o *OAuth2ConsentRequest) SetAmr(v []string)
- func (o *OAuth2ConsentRequest) SetChallenge(v string)
- func (o *OAuth2ConsentRequest) SetClient(v OAuth2Client)
- func (o *OAuth2ConsentRequest) SetContext(v map[string]interface{})
- func (o *OAuth2ConsentRequest) SetLoginChallenge(v string)
- func (o *OAuth2ConsentRequest) SetLoginSessionId(v string)
- func (o *OAuth2ConsentRequest) SetOidcContext(v OAuth2ConsentRequestOpenIDConnectContext)
- func (o *OAuth2ConsentRequest) SetRequestUrl(v string)
- func (o *OAuth2ConsentRequest) SetRequestedAccessTokenAudience(v []string)
- func (o *OAuth2ConsentRequest) SetRequestedScope(v []string)
- func (o *OAuth2ConsentRequest) SetSkip(v bool)
- func (o *OAuth2ConsentRequest) SetSubject(v string)
- type OAuth2ConsentRequestOpenIDConnectContext
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues() []string
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk() ([]string, bool)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplay() string
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk() (*string, bool)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[string]map[string]interface{}
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk() (map[string]map[string]interface{}, bool)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHint() string
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk() (*string, bool)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales() []string
- func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk() ([]string, bool)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) HasAcrValues() bool
- func (o *OAuth2ConsentRequestOpenIDConnectContext) HasDisplay() bool
- func (o *OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims() bool
- func (o *OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint() bool
- func (o *OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales() bool
- func (o OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON() ([]byte, error)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues(v []string)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) SetDisplay(v string)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims(v map[string]map[string]interface{})
- func (o *OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint(v string)
- func (o *OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales(v []string)
- type OAuth2LoginRequest
- func (o *OAuth2LoginRequest) GetChallenge() string
- func (o *OAuth2LoginRequest) GetChallengeOk() (*string, bool)
- func (o *OAuth2LoginRequest) GetClient() OAuth2Client
- func (o *OAuth2LoginRequest) GetClientOk() (*OAuth2Client, bool)
- func (o *OAuth2LoginRequest) GetOidcContext() OAuth2ConsentRequestOpenIDConnectContext
- func (o *OAuth2LoginRequest) GetOidcContextOk() (*OAuth2ConsentRequestOpenIDConnectContext, bool)
- func (o *OAuth2LoginRequest) GetRequestUrl() string
- func (o *OAuth2LoginRequest) GetRequestUrlOk() (*string, bool)
- func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudience() []string
- func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)
- func (o *OAuth2LoginRequest) GetRequestedScope() []string
- func (o *OAuth2LoginRequest) GetRequestedScopeOk() ([]string, bool)
- func (o *OAuth2LoginRequest) GetSessionId() string
- func (o *OAuth2LoginRequest) GetSessionIdOk() (*string, bool)
- func (o *OAuth2LoginRequest) GetSkip() bool
- func (o *OAuth2LoginRequest) GetSkipOk() (*bool, bool)
- func (o *OAuth2LoginRequest) GetSubject() string
- func (o *OAuth2LoginRequest) GetSubjectOk() (*string, bool)
- func (o *OAuth2LoginRequest) HasChallenge() bool
- func (o *OAuth2LoginRequest) HasClient() bool
- func (o *OAuth2LoginRequest) HasOidcContext() bool
- func (o *OAuth2LoginRequest) HasRequestUrl() bool
- func (o *OAuth2LoginRequest) HasRequestedAccessTokenAudience() bool
- func (o *OAuth2LoginRequest) HasRequestedScope() bool
- func (o *OAuth2LoginRequest) HasSessionId() bool
- func (o *OAuth2LoginRequest) HasSkip() bool
- func (o *OAuth2LoginRequest) HasSubject() bool
- func (o OAuth2LoginRequest) MarshalJSON() ([]byte, error)
- func (o *OAuth2LoginRequest) SetChallenge(v string)
- func (o *OAuth2LoginRequest) SetClient(v OAuth2Client)
- func (o *OAuth2LoginRequest) SetOidcContext(v OAuth2ConsentRequestOpenIDConnectContext)
- func (o *OAuth2LoginRequest) SetRequestUrl(v string)
- func (o *OAuth2LoginRequest) SetRequestedAccessTokenAudience(v []string)
- func (o *OAuth2LoginRequest) SetRequestedScope(v []string)
- func (o *OAuth2LoginRequest) SetSessionId(v string)
- func (o *OAuth2LoginRequest) SetSkip(v bool)
- func (o *OAuth2LoginRequest) SetSubject(v string)
- type RecoveryApi
- type RecoveryApiApiGetRecoveryFlowRequestRequest
- func (r RecoveryApiApiGetRecoveryFlowRequestRequest) Cookie(cookie string) RecoveryApiApiGetRecoveryFlowRequestRequest
- func (r RecoveryApiApiGetRecoveryFlowRequestRequest) Execute() (*RecoveryFlow, *http.Response, error)
- func (r RecoveryApiApiGetRecoveryFlowRequestRequest) Id(id string) RecoveryApiApiGetRecoveryFlowRequestRequest
- type RecoveryApiApiInitBrowserRecoveryFlowRequestRequest
- type RecoveryApiApiSubmitRecoveryFlowRequestRequest
- func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) Cookie(cookie string) RecoveryApiApiSubmitRecoveryFlowRequestRequest
- func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) Execute() (*RecoveryFlow, *http.Response, error)
- func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) Flow(flow string) RecoveryApiApiSubmitRecoveryFlowRequestRequest
- func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) SubmitRecoveryFlowBody(submitRecoveryFlowBody SubmitRecoveryFlowBody) RecoveryApiApiSubmitRecoveryFlowRequestRequest
- func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) Token(token string) RecoveryApiApiSubmitRecoveryFlowRequestRequest
- type RecoveryApiService
- func (a *RecoveryApiService) GetRecoveryFlowRequest(ctx context.Context) RecoveryApiApiGetRecoveryFlowRequestRequest
- func (a *RecoveryApiService) GetRecoveryFlowRequestExecute(r RecoveryApiApiGetRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
- func (a *RecoveryApiService) InitBrowserRecoveryFlowRequest(ctx context.Context) RecoveryApiApiInitBrowserRecoveryFlowRequestRequest
- func (a *RecoveryApiService) InitBrowserRecoveryFlowRequestExecute(r RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
- func (a *RecoveryApiService) SubmitRecoveryFlowRequest(ctx context.Context) RecoveryApiApiSubmitRecoveryFlowRequestRequest
- func (a *RecoveryApiService) SubmitRecoveryFlowRequestExecute(r RecoveryApiApiSubmitRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
- type RecoveryFlow
- func (o *RecoveryFlow) GetCreatedAt() time.Time
- func (o *RecoveryFlow) GetCreatedAtOk() (*time.Time, bool)
- func (o *RecoveryFlow) GetExpiresAt() time.Time
- func (o *RecoveryFlow) GetExpiresAtOk() (*time.Time, bool)
- func (o *RecoveryFlow) GetId() string
- func (o *RecoveryFlow) GetIdOk() (*string, bool)
- func (o *RecoveryFlow) GetIssuedAt() time.Time
- func (o *RecoveryFlow) GetIssuedAtOk() (*time.Time, bool)
- func (o *RecoveryFlow) GetMethod() RecoveryMethod
- func (o *RecoveryFlow) GetMethodOk() (*RecoveryMethod, bool)
- func (o *RecoveryFlow) GetRequestUrl() string
- func (o *RecoveryFlow) GetRequestUrlOk() (*string, bool)
- func (o *RecoveryFlow) GetReturnTo() string
- func (o *RecoveryFlow) GetReturnToOk() (*string, bool)
- func (o *RecoveryFlow) GetState() RecoveryState
- func (o *RecoveryFlow) GetStateOk() (*RecoveryState, bool)
- func (o *RecoveryFlow) GetType() FlowType
- func (o *RecoveryFlow) GetTypeOk() (*FlowType, bool)
- func (o *RecoveryFlow) GetUi() UiContainer
- func (o *RecoveryFlow) GetUiOk() (*UiContainer, bool)
- func (o *RecoveryFlow) GetUpdatedAt() time.Time
- func (o *RecoveryFlow) GetUpdatedAtOk() (*time.Time, bool)
- func (o *RecoveryFlow) HasCreatedAt() bool
- func (o *RecoveryFlow) HasMethod() bool
- func (o *RecoveryFlow) HasReturnTo() bool
- func (o *RecoveryFlow) HasUpdatedAt() bool
- func (o RecoveryFlow) MarshalJSON() ([]byte, error)
- func (o *RecoveryFlow) SetCreatedAt(v time.Time)
- func (o *RecoveryFlow) SetExpiresAt(v time.Time)
- func (o *RecoveryFlow) SetId(v string)
- func (o *RecoveryFlow) SetIssuedAt(v time.Time)
- func (o *RecoveryFlow) SetMethod(v RecoveryMethod)
- func (o *RecoveryFlow) SetRequestUrl(v string)
- func (o *RecoveryFlow) SetReturnTo(v string)
- func (o *RecoveryFlow) SetState(v RecoveryState)
- func (o *RecoveryFlow) SetType(v FlowType)
- func (o *RecoveryFlow) SetUi(v UiContainer)
- func (o *RecoveryFlow) SetUpdatedAt(v time.Time)
- type RecoveryMethod
- type RecoveryState
- type RecoveryTraits
- func (o *RecoveryTraits) GetEmail() string
- func (o *RecoveryTraits) GetEmailOk() (*string, bool)
- func (o *RecoveryTraits) GetMobile() string
- func (o *RecoveryTraits) GetMobileOk() (*string, bool)
- func (o *RecoveryTraits) GetType() string
- func (o *RecoveryTraits) GetTypeOk() (*string, bool)
- func (o *RecoveryTraits) HasEmail() bool
- func (o *RecoveryTraits) HasMobile() bool
- func (o RecoveryTraits) MarshalJSON() ([]byte, error)
- func (o *RecoveryTraits) SetEmail(v string)
- func (o *RecoveryTraits) SetMobile(v string)
- func (o *RecoveryTraits) SetType(v string)
- type RegistrationApi
- type RegistrationApiApiGetRegistrationFlowRequestRequest
- func (r RegistrationApiApiGetRegistrationFlowRequestRequest) Cookie(cookie string) RegistrationApiApiGetRegistrationFlowRequestRequest
- func (r RegistrationApiApiGetRegistrationFlowRequestRequest) Execute() (*RegistrationFlow, *http.Response, error)
- func (r RegistrationApiApiGetRegistrationFlowRequestRequest) Id(id string) RegistrationApiApiGetRegistrationFlowRequestRequest
- type RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
- func (r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) Execute() (*RegistrationFlow, *http.Response, error)
- func (r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) LoginChallenge(loginChallenge string) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
- func (r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) ReturnTo(returnTo string) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
- type RegistrationApiApiSubmitRegistrationFlowRequestRequest
- func (r RegistrationApiApiSubmitRegistrationFlowRequestRequest) Cookie(cookie string) RegistrationApiApiSubmitRegistrationFlowRequestRequest
- func (r RegistrationApiApiSubmitRegistrationFlowRequestRequest) Execute() (*SubmitRegistrationFlowResponse, *http.Response, error)
- func (r RegistrationApiApiSubmitRegistrationFlowRequestRequest) Flow(flow string) RegistrationApiApiSubmitRegistrationFlowRequestRequest
- func (r RegistrationApiApiSubmitRegistrationFlowRequestRequest) SubmitRegistrationFlowBody(submitRegistrationFlowBody SubmitRegistrationFlowBody) RegistrationApiApiSubmitRegistrationFlowRequestRequest
- type RegistrationApiService
- func (a *RegistrationApiService) GetRegistrationFlowRequest(ctx context.Context) RegistrationApiApiGetRegistrationFlowRequestRequest
- func (a *RegistrationApiService) GetRegistrationFlowRequestExecute(r RegistrationApiApiGetRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error)
- func (a *RegistrationApiService) InitBrowserRegistrationFlowRequest(ctx context.Context) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
- func (a *RegistrationApiService) InitBrowserRegistrationFlowRequestExecute(r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error)
- func (a *RegistrationApiService) SubmitRegistrationFlowRequest(ctx context.Context) RegistrationApiApiSubmitRegistrationFlowRequestRequest
- func (a *RegistrationApiService) SubmitRegistrationFlowRequestExecute(r RegistrationApiApiSubmitRegistrationFlowRequestRequest) (*SubmitRegistrationFlowResponse, *http.Response, error)
- type RegistrationFlow
- func (o *RegistrationFlow) GetActive() CredentialsType
- func (o *RegistrationFlow) GetActiveOk() (*CredentialsType, bool)
- func (o *RegistrationFlow) GetCreatedAt() time.Time
- func (o *RegistrationFlow) GetCreatedAtOk() (*time.Time, bool)
- func (o *RegistrationFlow) GetExpiresAt() time.Time
- func (o *RegistrationFlow) GetExpiresAtOk() (*time.Time, bool)
- func (o *RegistrationFlow) GetId() string
- func (o *RegistrationFlow) GetIdOk() (*string, bool)
- func (o *RegistrationFlow) GetIssuedAt() time.Time
- func (o *RegistrationFlow) GetIssuedAtOk() (*time.Time, bool)
- func (o *RegistrationFlow) GetOauth2LoginChallenge() string
- func (o *RegistrationFlow) GetOauth2LoginChallengeOk() (*string, bool)
- func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest
- func (o *RegistrationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
- func (o *RegistrationFlow) GetRequestUrl() string
- func (o *RegistrationFlow) GetRequestUrlOk() (*string, bool)
- func (o *RegistrationFlow) GetReturnTo() string
- func (o *RegistrationFlow) GetReturnToOk() (*string, bool)
- func (o *RegistrationFlow) GetType() FlowType
- func (o *RegistrationFlow) GetTypeOk() (*FlowType, bool)
- func (o *RegistrationFlow) GetUi() UiContainer
- func (o *RegistrationFlow) GetUiOk() (*UiContainer, bool)
- func (o *RegistrationFlow) GetUpdatedAt() time.Time
- func (o *RegistrationFlow) GetUpdatedAtOk() (*time.Time, bool)
- func (o *RegistrationFlow) HasActive() bool
- func (o *RegistrationFlow) HasCreatedAt() bool
- func (o *RegistrationFlow) HasOauth2LoginChallenge() bool
- func (o *RegistrationFlow) HasOauth2LoginRequest() bool
- func (o *RegistrationFlow) HasReturnTo() bool
- func (o *RegistrationFlow) HasUpdatedAt() bool
- func (o RegistrationFlow) MarshalJSON() ([]byte, error)
- func (o *RegistrationFlow) SetActive(v CredentialsType)
- func (o *RegistrationFlow) SetCreatedAt(v time.Time)
- func (o *RegistrationFlow) SetExpiresAt(v time.Time)
- func (o *RegistrationFlow) SetId(v string)
- func (o *RegistrationFlow) SetIssuedAt(v time.Time)
- func (o *RegistrationFlow) SetOauth2LoginChallenge(v string)
- func (o *RegistrationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)
- func (o *RegistrationFlow) SetRequestUrl(v string)
- func (o *RegistrationFlow) SetReturnTo(v string)
- func (o *RegistrationFlow) SetType(v FlowType)
- func (o *RegistrationFlow) SetUi(v UiContainer)
- func (o *RegistrationFlow) SetUpdatedAt(v time.Time)
- type RegistrationTraits
- func (o *RegistrationTraits) GetEmail() string
- func (o *RegistrationTraits) GetEmailOk() (*string, bool)
- func (o *RegistrationTraits) GetMobile() string
- func (o *RegistrationTraits) GetMobileOk() (*string, bool)
- func (o *RegistrationTraits) GetType() string
- func (o *RegistrationTraits) GetTypeOk() (*string, bool)
- func (o *RegistrationTraits) HasEmail() bool
- func (o *RegistrationTraits) HasMobile() bool
- func (o RegistrationTraits) MarshalJSON() ([]byte, error)
- func (o *RegistrationTraits) SetEmail(v string)
- func (o *RegistrationTraits) SetMobile(v string)
- func (o *RegistrationTraits) SetType(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Session
- func (o *Session) GetActive() bool
- func (o *Session) GetActiveOk() (*bool, bool)
- func (o *Session) GetAuthenticatedAt() time.Time
- func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool)
- func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod
- func (o *Session) GetAuthenticationMethodsOk() ([]SessionAuthenticationMethod, bool)
- func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel
- func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLevel, bool)
- func (o *Session) GetCreatedAt() time.Time
- func (o *Session) GetCreatedAtOk() (*time.Time, bool)
- func (o *Session) GetExpiresAt() time.Time
- func (o *Session) GetExpiresAtOk() (*time.Time, bool)
- func (o *Session) GetId() string
- func (o *Session) GetIdOk() (*string, bool)
- func (o *Session) GetIdentity() Identity
- func (o *Session) GetIdentityOk() (*Identity, bool)
- func (o *Session) GetIssuedAt() time.Time
- func (o *Session) GetIssuedAtOk() (*time.Time, bool)
- func (o *Session) GetUpdatedAt() time.Time
- func (o *Session) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Session) HasActive() bool
- func (o *Session) HasAuthenticatedAt() bool
- func (o *Session) HasAuthenticationMethods() bool
- func (o *Session) HasAuthenticatorAssuranceLevel() bool
- func (o *Session) HasCreatedAt() bool
- func (o *Session) HasExpiresAt() bool
- func (o *Session) HasIssuedAt() bool
- func (o *Session) HasUpdatedAt() bool
- func (o Session) MarshalJSON() ([]byte, error)
- func (o *Session) SetActive(v bool)
- func (o *Session) SetAuthenticatedAt(v time.Time)
- func (o *Session) SetAuthenticationMethods(v []SessionAuthenticationMethod)
- func (o *Session) SetAuthenticatorAssuranceLevel(v AuthenticatorAssuranceLevel)
- func (o *Session) SetCreatedAt(v time.Time)
- func (o *Session) SetExpiresAt(v time.Time)
- func (o *Session) SetId(v string)
- func (o *Session) SetIdentity(v Identity)
- func (o *Session) SetIssuedAt(v time.Time)
- func (o *Session) SetUpdatedAt(v time.Time)
- type SessionApi
- type SessionApiApiToSessionRequestRequest
- func (r SessionApiApiToSessionRequestRequest) Cookie(cookie string) SessionApiApiToSessionRequestRequest
- func (r SessionApiApiToSessionRequestRequest) Execute() (*Session, *http.Response, error)
- func (r SessionApiApiToSessionRequestRequest) XSessionToken(xSessionToken string) SessionApiApiToSessionRequestRequest
- type SessionApiService
- type SessionAuthenticationMethod
- func (o *SessionAuthenticationMethod) GetAal() AuthenticatorAssuranceLevel
- func (o *SessionAuthenticationMethod) GetAalOk() (*AuthenticatorAssuranceLevel, bool)
- func (o *SessionAuthenticationMethod) GetCompletedAt() time.Time
- func (o *SessionAuthenticationMethod) GetCompletedAtOk() (*time.Time, bool)
- func (o *SessionAuthenticationMethod) GetMethod() CredentialsType
- func (o *SessionAuthenticationMethod) GetMethodOk() (*CredentialsType, bool)
- func (o *SessionAuthenticationMethod) HasAal() bool
- func (o *SessionAuthenticationMethod) HasCompletedAt() bool
- func (o *SessionAuthenticationMethod) HasMethod() bool
- func (o SessionAuthenticationMethod) MarshalJSON() ([]byte, error)
- func (o *SessionAuthenticationMethod) SetAal(v AuthenticatorAssuranceLevel)
- func (o *SessionAuthenticationMethod) SetCompletedAt(v time.Time)
- func (o *SessionAuthenticationMethod) SetMethod(v CredentialsType)
- type SettingsApi
- type SettingsApiApiGetSettingsFlowRequestRequest
- func (r SettingsApiApiGetSettingsFlowRequestRequest) Cookie(cookie string) SettingsApiApiGetSettingsFlowRequestRequest
- func (r SettingsApiApiGetSettingsFlowRequestRequest) Execute() (*SettingsFlow, *http.Response, error)
- func (r SettingsApiApiGetSettingsFlowRequestRequest) Id(id string) SettingsApiApiGetSettingsFlowRequestRequest
- func (r SettingsApiApiGetSettingsFlowRequestRequest) XSessionToken(xSessionToken string) SettingsApiApiGetSettingsFlowRequestRequest
- type SettingsApiApiInitBrowserSettingsFlowRequestRequest
- type SettingsApiApiSubmitSettingsFlowRequestRequest
- func (r SettingsApiApiSubmitSettingsFlowRequestRequest) Cookie(cookie string) SettingsApiApiSubmitSettingsFlowRequestRequest
- func (r SettingsApiApiSubmitSettingsFlowRequestRequest) Execute() (*SettingsFlow, *http.Response, error)
- func (r SettingsApiApiSubmitSettingsFlowRequestRequest) Flow(flow string) SettingsApiApiSubmitSettingsFlowRequestRequest
- func (r SettingsApiApiSubmitSettingsFlowRequestRequest) SubmitSettingsFlowBody(submitSettingsFlowBody SubmitSettingsFlowBody) SettingsApiApiSubmitSettingsFlowRequestRequest
- func (r SettingsApiApiSubmitSettingsFlowRequestRequest) XSessionToken(xSessionToken string) SettingsApiApiSubmitSettingsFlowRequestRequest
- type SettingsApiService
- func (a *SettingsApiService) GetSettingsFlowRequest(ctx context.Context) SettingsApiApiGetSettingsFlowRequestRequest
- func (a *SettingsApiService) GetSettingsFlowRequestExecute(r SettingsApiApiGetSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
- func (a *SettingsApiService) InitBrowserSettingsFlowRequest(ctx context.Context) SettingsApiApiInitBrowserSettingsFlowRequestRequest
- func (a *SettingsApiService) InitBrowserSettingsFlowRequestExecute(r SettingsApiApiInitBrowserSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
- func (a *SettingsApiService) SubmitSettingsFlowRequest(ctx context.Context) SettingsApiApiSubmitSettingsFlowRequestRequest
- func (a *SettingsApiService) SubmitSettingsFlowRequestExecute(r SettingsApiApiSubmitSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
- type SettingsFlow
- func (o *SettingsFlow) GetActive() CredentialsType
- func (o *SettingsFlow) GetActiveOk() (*CredentialsType, bool)
- func (o *SettingsFlow) GetCreatedAt() time.Time
- func (o *SettingsFlow) GetCreatedAtOk() (*time.Time, bool)
- func (o *SettingsFlow) GetExpiresAt() time.Time
- func (o *SettingsFlow) GetExpiresAtOk() (*time.Time, bool)
- func (o *SettingsFlow) GetId() string
- func (o *SettingsFlow) GetIdOk() (*string, bool)
- func (o *SettingsFlow) GetIdentity() Identity
- func (o *SettingsFlow) GetIdentityOk() (*Identity, bool)
- func (o *SettingsFlow) GetIssuedAt() time.Time
- func (o *SettingsFlow) GetIssuedAtOk() (*time.Time, bool)
- func (o *SettingsFlow) GetRequestUrl() string
- func (o *SettingsFlow) GetRequestUrlOk() (*string, bool)
- func (o *SettingsFlow) GetReturnTo() string
- func (o *SettingsFlow) GetReturnToOk() (*string, bool)
- func (o *SettingsFlow) GetState() SettingsState
- func (o *SettingsFlow) GetStateOk() (*SettingsState, bool)
- func (o *SettingsFlow) GetType() FlowType
- func (o *SettingsFlow) GetTypeOk() (*FlowType, bool)
- func (o *SettingsFlow) GetUi() UiContainer
- func (o *SettingsFlow) GetUiOk() (*UiContainer, bool)
- func (o *SettingsFlow) GetUpdatedAt() time.Time
- func (o *SettingsFlow) GetUpdatedAtOk() (*time.Time, bool)
- func (o *SettingsFlow) HasActive() bool
- func (o *SettingsFlow) HasCreatedAt() bool
- func (o *SettingsFlow) HasReturnTo() bool
- func (o *SettingsFlow) HasUpdatedAt() bool
- func (o SettingsFlow) MarshalJSON() ([]byte, error)
- func (o *SettingsFlow) SetActive(v CredentialsType)
- func (o *SettingsFlow) SetCreatedAt(v time.Time)
- func (o *SettingsFlow) SetExpiresAt(v time.Time)
- func (o *SettingsFlow) SetId(v string)
- func (o *SettingsFlow) SetIdentity(v Identity)
- func (o *SettingsFlow) SetIssuedAt(v time.Time)
- func (o *SettingsFlow) SetRequestUrl(v string)
- func (o *SettingsFlow) SetReturnTo(v string)
- func (o *SettingsFlow) SetState(v SettingsState)
- func (o *SettingsFlow) SetType(v FlowType)
- func (o *SettingsFlow) SetUi(v UiContainer)
- func (o *SettingsFlow) SetUpdatedAt(v time.Time)
- type SettingsMethod
- type SettingsState
- type SubmitConsentFlowBody
- type SubmitConsentFlowBodyWithDefault
- func (o *SubmitConsentFlowBodyWithDefault) GetAction() string
- func (o *SubmitConsentFlowBodyWithDefault) GetActionOk() (*string, bool)
- func (o *SubmitConsentFlowBodyWithDefault) GetCsrfToken() string
- func (o *SubmitConsentFlowBodyWithDefault) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitConsentFlowBodyWithDefault) GetMethod() string
- func (o *SubmitConsentFlowBodyWithDefault) GetMethodOk() (*string, bool)
- func (o *SubmitConsentFlowBodyWithDefault) GetNotAsk() bool
- func (o *SubmitConsentFlowBodyWithDefault) GetNotAskOk() (*bool, bool)
- func (o *SubmitConsentFlowBodyWithDefault) GetScope() []string
- func (o *SubmitConsentFlowBodyWithDefault) GetScopeOk() ([]string, bool)
- func (o *SubmitConsentFlowBodyWithDefault) HasCsrfToken() bool
- func (o SubmitConsentFlowBodyWithDefault) MarshalJSON() ([]byte, error)
- func (o *SubmitConsentFlowBodyWithDefault) SetAction(v string)
- func (o *SubmitConsentFlowBodyWithDefault) SetCsrfToken(v string)
- func (o *SubmitConsentFlowBodyWithDefault) SetMethod(v string)
- func (o *SubmitConsentFlowBodyWithDefault) SetNotAsk(v bool)
- func (o *SubmitConsentFlowBodyWithDefault) SetScope(v []string)
- type SubmitLoginFlowBody
- func SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithOidc) SubmitLoginFlowBody
- func SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithPassword) SubmitLoginFlowBody
- func SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithTotp) SubmitLoginFlowBody
- type SubmitLoginFlowBodyWithOidc
- func (o *SubmitLoginFlowBodyWithOidc) GetCsrfToken() string
- func (o *SubmitLoginFlowBodyWithOidc) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithOidc) GetMethod() string
- func (o *SubmitLoginFlowBodyWithOidc) GetMethodOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithOidc) GetProvider() string
- func (o *SubmitLoginFlowBodyWithOidc) GetProviderOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithOidc) HasCsrfToken() bool
- func (o SubmitLoginFlowBodyWithOidc) MarshalJSON() ([]byte, error)
- func (o *SubmitLoginFlowBodyWithOidc) SetCsrfToken(v string)
- func (o *SubmitLoginFlowBodyWithOidc) SetMethod(v string)
- func (o *SubmitLoginFlowBodyWithOidc) SetProvider(v string)
- type SubmitLoginFlowBodyWithPassword
- func (o *SubmitLoginFlowBodyWithPassword) GetCsrfToken() string
- func (o *SubmitLoginFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithPassword) GetIdentifier() string
- func (o *SubmitLoginFlowBodyWithPassword) GetIdentifierOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithPassword) GetMethod() string
- func (o *SubmitLoginFlowBodyWithPassword) GetMethodOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithPassword) GetPassword() string
- func (o *SubmitLoginFlowBodyWithPassword) GetPasswordOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithPassword) HasCsrfToken() bool
- func (o SubmitLoginFlowBodyWithPassword) MarshalJSON() ([]byte, error)
- func (o *SubmitLoginFlowBodyWithPassword) SetCsrfToken(v string)
- func (o *SubmitLoginFlowBodyWithPassword) SetIdentifier(v string)
- func (o *SubmitLoginFlowBodyWithPassword) SetMethod(v string)
- func (o *SubmitLoginFlowBodyWithPassword) SetPassword(v string)
- type SubmitLoginFlowBodyWithTotp
- func (o *SubmitLoginFlowBodyWithTotp) GetChangeAuthCode() string
- func (o *SubmitLoginFlowBodyWithTotp) GetChangeAuthCodeOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithTotp) GetCsrfToken() string
- func (o *SubmitLoginFlowBodyWithTotp) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithTotp) GetMethod() string
- func (o *SubmitLoginFlowBodyWithTotp) GetMethodOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithTotp) GetRecoveryCode() string
- func (o *SubmitLoginFlowBodyWithTotp) GetRecoveryCodeOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithTotp) GetTotpCode() string
- func (o *SubmitLoginFlowBodyWithTotp) GetTotpCodeOk() (*string, bool)
- func (o *SubmitLoginFlowBodyWithTotp) HasChangeAuthCode() bool
- func (o *SubmitLoginFlowBodyWithTotp) HasCsrfToken() bool
- func (o *SubmitLoginFlowBodyWithTotp) HasRecoveryCode() bool
- func (o *SubmitLoginFlowBodyWithTotp) HasTotpCode() bool
- func (o SubmitLoginFlowBodyWithTotp) MarshalJSON() ([]byte, error)
- func (o *SubmitLoginFlowBodyWithTotp) SetChangeAuthCode(v string)
- func (o *SubmitLoginFlowBodyWithTotp) SetCsrfToken(v string)
- func (o *SubmitLoginFlowBodyWithTotp) SetMethod(v string)
- func (o *SubmitLoginFlowBodyWithTotp) SetRecoveryCode(v string)
- func (o *SubmitLoginFlowBodyWithTotp) SetTotpCode(v string)
- type SubmitLoginFlowResponse
- func (o *SubmitLoginFlowResponse) GetSession() Session
- func (o *SubmitLoginFlowResponse) GetSessionOk() (*Session, bool)
- func (o *SubmitLoginFlowResponse) GetSessionToken() string
- func (o *SubmitLoginFlowResponse) GetSessionTokenOk() (*string, bool)
- func (o *SubmitLoginFlowResponse) HasSessionToken() bool
- func (o SubmitLoginFlowResponse) MarshalJSON() ([]byte, error)
- func (o *SubmitLoginFlowResponse) SetSession(v Session)
- func (o *SubmitLoginFlowResponse) SetSessionToken(v string)
- type SubmitRecoveryFlowBody
- type SubmitRecoveryFlowBodyWithCaptcha
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetCsrfToken() string
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetMethod() string
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetMethodOk() (*string, bool)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetToken() string
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTokenOk() (*string, bool)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTraits() RecoveryTraits
- func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTraitsOk() (*RecoveryTraits, bool)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) HasCsrfToken() bool
- func (o *SubmitRecoveryFlowBodyWithCaptcha) HasToken() bool
- func (o SubmitRecoveryFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) SetCsrfToken(v string)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) SetMethod(v string)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) SetToken(v string)
- func (o *SubmitRecoveryFlowBodyWithCaptcha) SetTraits(v RecoveryTraits)
- type SubmitRegistrationFlowBody
- type SubmitRegistrationFlowBodyWithOidc
- func (o *SubmitRegistrationFlowBodyWithOidc) GetCsrfToken() string
- func (o *SubmitRegistrationFlowBodyWithOidc) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithOidc) GetMethod() string
- func (o *SubmitRegistrationFlowBodyWithOidc) GetMethodOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithOidc) GetProvider() string
- func (o *SubmitRegistrationFlowBodyWithOidc) GetProviderOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithOidc) GetTraits() RegistrationTraits
- func (o *SubmitRegistrationFlowBodyWithOidc) GetTraitsOk() (*RegistrationTraits, bool)
- func (o *SubmitRegistrationFlowBodyWithOidc) HasCsrfToken() bool
- func (o SubmitRegistrationFlowBodyWithOidc) MarshalJSON() ([]byte, error)
- func (o *SubmitRegistrationFlowBodyWithOidc) SetCsrfToken(v string)
- func (o *SubmitRegistrationFlowBodyWithOidc) SetMethod(v string)
- func (o *SubmitRegistrationFlowBodyWithOidc) SetProvider(v string)
- func (o *SubmitRegistrationFlowBodyWithOidc) SetTraits(v RegistrationTraits)
- type SubmitRegistrationFlowBodyWithPassword
- func (o *SubmitRegistrationFlowBodyWithPassword) GetConfirmPassword() string
- func (o *SubmitRegistrationFlowBodyWithPassword) GetConfirmPasswordOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithPassword) GetCsrfToken() string
- func (o *SubmitRegistrationFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithPassword) GetMethod() string
- func (o *SubmitRegistrationFlowBodyWithPassword) GetMethodOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithPassword) GetPassword() string
- func (o *SubmitRegistrationFlowBodyWithPassword) GetPasswordOk() (*string, bool)
- func (o *SubmitRegistrationFlowBodyWithPassword) GetTraits() RegistrationTraits
- func (o *SubmitRegistrationFlowBodyWithPassword) GetTraitsOk() (*RegistrationTraits, bool)
- func (o *SubmitRegistrationFlowBodyWithPassword) HasCsrfToken() bool
- func (o SubmitRegistrationFlowBodyWithPassword) MarshalJSON() ([]byte, error)
- func (o *SubmitRegistrationFlowBodyWithPassword) SetConfirmPassword(v string)
- func (o *SubmitRegistrationFlowBodyWithPassword) SetCsrfToken(v string)
- func (o *SubmitRegistrationFlowBodyWithPassword) SetMethod(v string)
- func (o *SubmitRegistrationFlowBodyWithPassword) SetPassword(v string)
- func (o *SubmitRegistrationFlowBodyWithPassword) SetTraits(v RegistrationTraits)
- type SubmitRegistrationFlowResponse
- func (o *SubmitRegistrationFlowResponse) GetIdentity() Identity
- func (o *SubmitRegistrationFlowResponse) GetIdentityOk() (*Identity, bool)
- func (o *SubmitRegistrationFlowResponse) GetSession() Session
- func (o *SubmitRegistrationFlowResponse) GetSessionOk() (*Session, bool)
- func (o *SubmitRegistrationFlowResponse) GetSessionToken() string
- func (o *SubmitRegistrationFlowResponse) GetSessionTokenOk() (*string, bool)
- func (o *SubmitRegistrationFlowResponse) HasSession() bool
- func (o *SubmitRegistrationFlowResponse) HasSessionToken() bool
- func (o SubmitRegistrationFlowResponse) MarshalJSON() ([]byte, error)
- func (o *SubmitRegistrationFlowResponse) SetIdentity(v Identity)
- func (o *SubmitRegistrationFlowResponse) SetSession(v Session)
- func (o *SubmitRegistrationFlowResponse) SetSessionToken(v string)
- type SubmitSettingsFlowBody
- func SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithPassword) SubmitSettingsFlowBody
- func SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithProfile) SubmitSettingsFlowBody
- func SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithTotp) SubmitSettingsFlowBody
- type SubmitSettingsFlowBodyWithPassword
- func (o *SubmitSettingsFlowBodyWithPassword) GetCsrfToken() string
- func (o *SubmitSettingsFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithPassword) GetMethod() string
- func (o *SubmitSettingsFlowBodyWithPassword) GetMethodOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithPassword) GetPassword() string
- func (o *SubmitSettingsFlowBodyWithPassword) GetPasswordOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithPassword) HasCsrfToken() bool
- func (o SubmitSettingsFlowBodyWithPassword) MarshalJSON() ([]byte, error)
- func (o *SubmitSettingsFlowBodyWithPassword) SetCsrfToken(v string)
- func (o *SubmitSettingsFlowBodyWithPassword) SetMethod(v string)
- func (o *SubmitSettingsFlowBodyWithPassword) SetPassword(v string)
- type SubmitSettingsFlowBodyWithProfile
- func (o *SubmitSettingsFlowBodyWithProfile) GetCsrfToken() string
- func (o *SubmitSettingsFlowBodyWithProfile) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithProfile) GetMethod() string
- func (o *SubmitSettingsFlowBodyWithProfile) GetMethodOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithProfile) GetToken() string
- func (o *SubmitSettingsFlowBodyWithProfile) GetTokenOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithProfile) GetTraits() IdentityTraits
- func (o *SubmitSettingsFlowBodyWithProfile) GetTraitsOk() (*IdentityTraits, bool)
- func (o *SubmitSettingsFlowBodyWithProfile) HasCsrfToken() bool
- func (o SubmitSettingsFlowBodyWithProfile) MarshalJSON() ([]byte, error)
- func (o *SubmitSettingsFlowBodyWithProfile) SetCsrfToken(v string)
- func (o *SubmitSettingsFlowBodyWithProfile) SetMethod(v string)
- func (o *SubmitSettingsFlowBodyWithProfile) SetToken(v string)
- func (o *SubmitSettingsFlowBodyWithProfile) SetTraits(v IdentityTraits)
- type SubmitSettingsFlowBodyWithTotp
- func (o *SubmitSettingsFlowBodyWithTotp) GetCsrfToken() string
- func (o *SubmitSettingsFlowBodyWithTotp) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithTotp) GetMethod() string
- func (o *SubmitSettingsFlowBodyWithTotp) GetMethodOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerate() bool
- func (o *SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerateOk() (*bool, bool)
- func (o *SubmitSettingsFlowBodyWithTotp) GetTotpCode() string
- func (o *SubmitSettingsFlowBodyWithTotp) GetTotpCodeOk() (*string, bool)
- func (o *SubmitSettingsFlowBodyWithTotp) GetTotpUnlink() bool
- func (o *SubmitSettingsFlowBodyWithTotp) GetTotpUnlinkOk() (*bool, bool)
- func (o *SubmitSettingsFlowBodyWithTotp) HasCsrfToken() bool
- func (o *SubmitSettingsFlowBodyWithTotp) HasRecoveryCodesRegenerate() bool
- func (o *SubmitSettingsFlowBodyWithTotp) HasTotpCode() bool
- func (o *SubmitSettingsFlowBodyWithTotp) HasTotpUnlink() bool
- func (o SubmitSettingsFlowBodyWithTotp) MarshalJSON() ([]byte, error)
- func (o *SubmitSettingsFlowBodyWithTotp) SetCsrfToken(v string)
- func (o *SubmitSettingsFlowBodyWithTotp) SetMethod(v string)
- func (o *SubmitSettingsFlowBodyWithTotp) SetRecoveryCodesRegenerate(v bool)
- func (o *SubmitSettingsFlowBodyWithTotp) SetTotpCode(v string)
- func (o *SubmitSettingsFlowBodyWithTotp) SetTotpUnlink(v bool)
- type SubmitVerificationFlowBody
- type SubmitVerificationFlowBodyWithCaptcha
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetCsrfToken() string
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetCsrfTokenOk() (*string, bool)
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetMethod() string
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetMethodOk() (*string, bool)
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetToken() string
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetTokenOk() (*string, bool)
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetTraits() VerificationTraits
- func (o *SubmitVerificationFlowBodyWithCaptcha) GetTraitsOk() (*VerificationTraits, bool)
- func (o *SubmitVerificationFlowBodyWithCaptcha) HasCsrfToken() bool
- func (o *SubmitVerificationFlowBodyWithCaptcha) HasToken() bool
- func (o SubmitVerificationFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
- func (o *SubmitVerificationFlowBodyWithCaptcha) SetCsrfToken(v string)
- func (o *SubmitVerificationFlowBodyWithCaptcha) SetMethod(v string)
- func (o *SubmitVerificationFlowBodyWithCaptcha) SetToken(v string)
- func (o *SubmitVerificationFlowBodyWithCaptcha) SetTraits(v VerificationTraits)
- type UiContainer
- func (o *UiContainer) GetAction() string
- func (o *UiContainer) GetActionOk() (*string, bool)
- func (o *UiContainer) GetMessages() []UiText
- func (o *UiContainer) GetMessagesOk() ([]UiText, bool)
- func (o *UiContainer) GetMethod() string
- func (o *UiContainer) GetMethodOk() (*string, bool)
- func (o *UiContainer) GetNodes() []UiNode
- func (o *UiContainer) GetNodesOk() ([]UiNode, bool)
- func (o *UiContainer) HasMessages() bool
- func (o UiContainer) MarshalJSON() ([]byte, error)
- func (o *UiContainer) SetAction(v string)
- func (o *UiContainer) SetMessages(v []UiText)
- func (o *UiContainer) SetMethod(v string)
- func (o *UiContainer) SetNodes(v []UiNode)
- type UiNode
- func (o *UiNode) GetAttributes() UiNodeAttributes
- func (o *UiNode) GetAttributesOk() (*UiNodeAttributes, bool)
- func (o *UiNode) GetGroup() string
- func (o *UiNode) GetGroupOk() (*string, bool)
- func (o *UiNode) GetMessages() []UiText
- func (o *UiNode) GetMessagesOk() ([]UiText, bool)
- func (o *UiNode) GetMeta() UiNodeMeta
- func (o *UiNode) GetMetaOk() (*UiNodeMeta, bool)
- func (o *UiNode) GetType() string
- func (o *UiNode) GetTypeOk() (*string, bool)
- func (o UiNode) MarshalJSON() ([]byte, error)
- func (o *UiNode) SetAttributes(v UiNodeAttributes)
- func (o *UiNode) SetGroup(v string)
- func (o *UiNode) SetMessages(v []UiText)
- func (o *UiNode) SetMeta(v UiNodeMeta)
- func (o *UiNode) SetType(v string)
- type UiNodeAnchorAttributes
- func (o *UiNodeAnchorAttributes) GetHref() string
- func (o *UiNodeAnchorAttributes) GetHrefOk() (*string, bool)
- func (o *UiNodeAnchorAttributes) GetId() string
- func (o *UiNodeAnchorAttributes) GetIdOk() (*string, bool)
- func (o *UiNodeAnchorAttributes) GetNodeType() string
- func (o *UiNodeAnchorAttributes) GetNodeTypeOk() (*string, bool)
- func (o *UiNodeAnchorAttributes) GetTitle() UiText
- func (o *UiNodeAnchorAttributes) GetTitleOk() (*UiText, bool)
- func (o UiNodeAnchorAttributes) MarshalJSON() ([]byte, error)
- func (o *UiNodeAnchorAttributes) SetHref(v string)
- func (o *UiNodeAnchorAttributes) SetId(v string)
- func (o *UiNodeAnchorAttributes) SetNodeType(v string)
- func (o *UiNodeAnchorAttributes) SetTitle(v UiText)
- type UiNodeAttributes
- func UiNodeAnchorAttributesAsUiNodeAttributes(v *UiNodeAnchorAttributes) UiNodeAttributes
- func UiNodeImageAttributesAsUiNodeAttributes(v *UiNodeImageAttributes) UiNodeAttributes
- func UiNodeInputAttributesAsUiNodeAttributes(v *UiNodeInputAttributes) UiNodeAttributes
- func UiNodeScriptAttributesAsUiNodeAttributes(v *UiNodeScriptAttributes) UiNodeAttributes
- func UiNodeTextAttributesAsUiNodeAttributes(v *UiNodeTextAttributes) UiNodeAttributes
- type UiNodeImageAttributes
- func (o *UiNodeImageAttributes) GetHeight() int64
- func (o *UiNodeImageAttributes) GetHeightOk() (*int64, bool)
- func (o *UiNodeImageAttributes) GetId() string
- func (o *UiNodeImageAttributes) GetIdOk() (*string, bool)
- func (o *UiNodeImageAttributes) GetNodeType() string
- func (o *UiNodeImageAttributes) GetNodeTypeOk() (*string, bool)
- func (o *UiNodeImageAttributes) GetSrc() string
- func (o *UiNodeImageAttributes) GetSrcOk() (*string, bool)
- func (o *UiNodeImageAttributes) GetWidth() int64
- func (o *UiNodeImageAttributes) GetWidthOk() (*int64, bool)
- func (o UiNodeImageAttributes) MarshalJSON() ([]byte, error)
- func (o *UiNodeImageAttributes) SetHeight(v int64)
- func (o *UiNodeImageAttributes) SetId(v string)
- func (o *UiNodeImageAttributes) SetNodeType(v string)
- func (o *UiNodeImageAttributes) SetSrc(v string)
- func (o *UiNodeImageAttributes) SetWidth(v int64)
- type UiNodeInputAttributes
- func (o *UiNodeInputAttributes) GetChecked() bool
- func (o *UiNodeInputAttributes) GetCheckedOk() (*bool, bool)
- func (o *UiNodeInputAttributes) GetDisabled() bool
- func (o *UiNodeInputAttributes) GetDisabledOk() (*bool, bool)
- func (o *UiNodeInputAttributes) GetId() string
- func (o *UiNodeInputAttributes) GetIdOk() (*string, bool)
- func (o *UiNodeInputAttributes) GetLabel() UiText
- func (o *UiNodeInputAttributes) GetLabelOk() (*UiText, bool)
- func (o *UiNodeInputAttributes) GetName() string
- func (o *UiNodeInputAttributes) GetNameOk() (*string, bool)
- func (o *UiNodeInputAttributes) GetNodeType() string
- func (o *UiNodeInputAttributes) GetNodeTypeOk() (*string, bool)
- func (o *UiNodeInputAttributes) GetOnclick() string
- func (o *UiNodeInputAttributes) GetOnclickOk() (*string, bool)
- func (o *UiNodeInputAttributes) GetPattern() string
- func (o *UiNodeInputAttributes) GetPatternOk() (*string, bool)
- func (o *UiNodeInputAttributes) GetRequired() bool
- func (o *UiNodeInputAttributes) GetRequiredOk() (*bool, bool)
- func (o *UiNodeInputAttributes) GetType() string
- func (o *UiNodeInputAttributes) GetTypeOk() (*string, bool)
- func (o *UiNodeInputAttributes) GetValue() interface{}
- func (o *UiNodeInputAttributes) GetValueOk() (*interface{}, bool)
- func (o *UiNodeInputAttributes) HasChecked() bool
- func (o *UiNodeInputAttributes) HasLabel() bool
- func (o *UiNodeInputAttributes) HasOnclick() bool
- func (o *UiNodeInputAttributes) HasPattern() bool
- func (o *UiNodeInputAttributes) HasValue() bool
- func (o UiNodeInputAttributes) MarshalJSON() ([]byte, error)
- func (o *UiNodeInputAttributes) SetChecked(v bool)
- func (o *UiNodeInputAttributes) SetDisabled(v bool)
- func (o *UiNodeInputAttributes) SetId(v string)
- func (o *UiNodeInputAttributes) SetLabel(v UiText)
- func (o *UiNodeInputAttributes) SetName(v string)
- func (o *UiNodeInputAttributes) SetNodeType(v string)
- func (o *UiNodeInputAttributes) SetOnclick(v string)
- func (o *UiNodeInputAttributes) SetPattern(v string)
- func (o *UiNodeInputAttributes) SetRequired(v bool)
- func (o *UiNodeInputAttributes) SetType(v string)
- func (o *UiNodeInputAttributes) SetValue(v interface{})
- type UiNodeMeta
- type UiNodeScriptAttributes
- func (o *UiNodeScriptAttributes) GetAsync() bool
- func (o *UiNodeScriptAttributes) GetAsyncOk() (*bool, bool)
- func (o *UiNodeScriptAttributes) GetCrossorigin() string
- func (o *UiNodeScriptAttributes) GetCrossoriginOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetId() string
- func (o *UiNodeScriptAttributes) GetIdOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetIntegrity() string
- func (o *UiNodeScriptAttributes) GetIntegrityOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetNodeType() string
- func (o *UiNodeScriptAttributes) GetNodeTypeOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetNonce() string
- func (o *UiNodeScriptAttributes) GetNonceOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetReferrerpolicy() string
- func (o *UiNodeScriptAttributes) GetReferrerpolicyOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetSrc() string
- func (o *UiNodeScriptAttributes) GetSrcOk() (*string, bool)
- func (o *UiNodeScriptAttributes) GetType() string
- func (o *UiNodeScriptAttributes) GetTypeOk() (*string, bool)
- func (o UiNodeScriptAttributes) MarshalJSON() ([]byte, error)
- func (o *UiNodeScriptAttributes) SetAsync(v bool)
- func (o *UiNodeScriptAttributes) SetCrossorigin(v string)
- func (o *UiNodeScriptAttributes) SetId(v string)
- func (o *UiNodeScriptAttributes) SetIntegrity(v string)
- func (o *UiNodeScriptAttributes) SetNodeType(v string)
- func (o *UiNodeScriptAttributes) SetNonce(v string)
- func (o *UiNodeScriptAttributes) SetReferrerpolicy(v string)
- func (o *UiNodeScriptAttributes) SetSrc(v string)
- func (o *UiNodeScriptAttributes) SetType(v string)
- type UiNodeTextAttributes
- func (o *UiNodeTextAttributes) GetId() string
- func (o *UiNodeTextAttributes) GetIdOk() (*string, bool)
- func (o *UiNodeTextAttributes) GetNodeType() string
- func (o *UiNodeTextAttributes) GetNodeTypeOk() (*string, bool)
- func (o *UiNodeTextAttributes) GetText() UiText
- func (o *UiNodeTextAttributes) GetTextOk() (*UiText, bool)
- func (o UiNodeTextAttributes) MarshalJSON() ([]byte, error)
- func (o *UiNodeTextAttributes) SetId(v string)
- func (o *UiNodeTextAttributes) SetNodeType(v string)
- func (o *UiNodeTextAttributes) SetText(v UiText)
- type UiText
- func (o *UiText) GetContext() map[string]interface{}
- func (o *UiText) GetContextOk() (map[string]interface{}, bool)
- func (o *UiText) GetId() string
- func (o *UiText) GetIdOk() (*string, bool)
- func (o *UiText) GetText() string
- func (o *UiText) GetTextOk() (*string, bool)
- func (o *UiText) GetType() string
- func (o *UiText) GetTypeOk() (*string, bool)
- func (o *UiText) HasContext() bool
- func (o UiText) MarshalJSON() ([]byte, error)
- func (o *UiText) SetContext(v map[string]interface{})
- func (o *UiText) SetId(v string)
- func (o *UiText) SetText(v string)
- func (o *UiText) SetType(v string)
- type VerifiableAddress
- func (o *VerifiableAddress) GetId() string
- func (o *VerifiableAddress) GetIdOk() (*string, bool)
- func (o *VerifiableAddress) GetIdentifier() string
- func (o *VerifiableAddress) GetIdentifierOk() (*string, bool)
- func (o *VerifiableAddress) GetPrimary() bool
- func (o *VerifiableAddress) GetPrimaryOk() (*bool, bool)
- func (o *VerifiableAddress) GetVerified() bool
- func (o *VerifiableAddress) GetVerifiedOk() (*bool, bool)
- func (o VerifiableAddress) MarshalJSON() ([]byte, error)
- func (o *VerifiableAddress) SetId(v string)
- func (o *VerifiableAddress) SetIdentifier(v string)
- func (o *VerifiableAddress) SetPrimary(v bool)
- func (o *VerifiableAddress) SetVerified(v bool)
- type VerificationApi
- type VerificationApiApiGetVerificationFlowRequestRequest
- func (r VerificationApiApiGetVerificationFlowRequestRequest) Cookie(cookie string) VerificationApiApiGetVerificationFlowRequestRequest
- func (r VerificationApiApiGetVerificationFlowRequestRequest) Execute() (*VerificationFlow, *http.Response, error)
- func (r VerificationApiApiGetVerificationFlowRequestRequest) Id(id string) VerificationApiApiGetVerificationFlowRequestRequest
- type VerificationApiApiInitBrowserVerificationFlowRequestRequest
- func (r VerificationApiApiInitBrowserVerificationFlowRequestRequest) Execute() (*VerificationFlow, *http.Response, error)
- func (r VerificationApiApiInitBrowserVerificationFlowRequestRequest) LoginChallenge(loginChallenge string) VerificationApiApiInitBrowserVerificationFlowRequestRequest
- func (r VerificationApiApiInitBrowserVerificationFlowRequestRequest) ReturnTo(returnTo string) VerificationApiApiInitBrowserVerificationFlowRequestRequest
- type VerificationApiApiSubmitVerificationFlowRequestRequest
- func (r VerificationApiApiSubmitVerificationFlowRequestRequest) Cookie(cookie string) VerificationApiApiSubmitVerificationFlowRequestRequest
- func (r VerificationApiApiSubmitVerificationFlowRequestRequest) Execute() (*VerificationFlow, *http.Response, error)
- func (r VerificationApiApiSubmitVerificationFlowRequestRequest) Flow(flow string) VerificationApiApiSubmitVerificationFlowRequestRequest
- func (r VerificationApiApiSubmitVerificationFlowRequestRequest) SubmitVerificationFlowBody(submitVerificationFlowBody SubmitVerificationFlowBody) VerificationApiApiSubmitVerificationFlowRequestRequest
- func (r VerificationApiApiSubmitVerificationFlowRequestRequest) Token(token string) VerificationApiApiSubmitVerificationFlowRequestRequest
- type VerificationApiService
- func (a *VerificationApiService) GetVerificationFlowRequest(ctx context.Context) VerificationApiApiGetVerificationFlowRequestRequest
- func (a *VerificationApiService) GetVerificationFlowRequestExecute(r VerificationApiApiGetVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
- func (a *VerificationApiService) InitBrowserVerificationFlowRequest(ctx context.Context) VerificationApiApiInitBrowserVerificationFlowRequestRequest
- func (a *VerificationApiService) InitBrowserVerificationFlowRequestExecute(r VerificationApiApiInitBrowserVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
- func (a *VerificationApiService) SubmitVerificationFlowRequest(ctx context.Context) VerificationApiApiSubmitVerificationFlowRequestRequest
- func (a *VerificationApiService) SubmitVerificationFlowRequestExecute(r VerificationApiApiSubmitVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
- type VerificationFlow
- func (o *VerificationFlow) GetCreatedAt() time.Time
- func (o *VerificationFlow) GetCreatedAtOk() (*time.Time, bool)
- func (o *VerificationFlow) GetExpiresAt() time.Time
- func (o *VerificationFlow) GetExpiresAtOk() (*time.Time, bool)
- func (o *VerificationFlow) GetId() string
- func (o *VerificationFlow) GetIdOk() (*string, bool)
- func (o *VerificationFlow) GetIssuedAt() time.Time
- func (o *VerificationFlow) GetIssuedAtOk() (*time.Time, bool)
- func (o *VerificationFlow) GetMethod() VerificationMethod
- func (o *VerificationFlow) GetMethodOk() (*VerificationMethod, bool)
- func (o *VerificationFlow) GetOauth2LoginChallenge() string
- func (o *VerificationFlow) GetOauth2LoginChallengeOk() (*string, bool)
- func (o *VerificationFlow) GetOauth2LoginRequest() OAuth2LoginRequest
- func (o *VerificationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
- func (o *VerificationFlow) GetRequestUrl() string
- func (o *VerificationFlow) GetRequestUrlOk() (*string, bool)
- func (o *VerificationFlow) GetReturnTo() string
- func (o *VerificationFlow) GetReturnToOk() (*string, bool)
- func (o *VerificationFlow) GetState() VerificationState
- func (o *VerificationFlow) GetStateOk() (*VerificationState, bool)
- func (o *VerificationFlow) GetType() FlowType
- func (o *VerificationFlow) GetTypeOk() (*FlowType, bool)
- func (o *VerificationFlow) GetUi() UiContainer
- func (o *VerificationFlow) GetUiOk() (*UiContainer, bool)
- func (o *VerificationFlow) GetUpdatedAt() time.Time
- func (o *VerificationFlow) GetUpdatedAtOk() (*time.Time, bool)
- func (o *VerificationFlow) HasCreatedAt() bool
- func (o *VerificationFlow) HasExpiresAt() bool
- func (o *VerificationFlow) HasIssuedAt() bool
- func (o *VerificationFlow) HasMethod() bool
- func (o *VerificationFlow) HasOauth2LoginChallenge() bool
- func (o *VerificationFlow) HasOauth2LoginRequest() bool
- func (o *VerificationFlow) HasRequestUrl() bool
- func (o *VerificationFlow) HasReturnTo() bool
- func (o *VerificationFlow) HasUpdatedAt() bool
- func (o VerificationFlow) MarshalJSON() ([]byte, error)
- func (o *VerificationFlow) SetCreatedAt(v time.Time)
- func (o *VerificationFlow) SetExpiresAt(v time.Time)
- func (o *VerificationFlow) SetId(v string)
- func (o *VerificationFlow) SetIssuedAt(v time.Time)
- func (o *VerificationFlow) SetMethod(v VerificationMethod)
- func (o *VerificationFlow) SetOauth2LoginChallenge(v string)
- func (o *VerificationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)
- func (o *VerificationFlow) SetRequestUrl(v string)
- func (o *VerificationFlow) SetReturnTo(v string)
- func (o *VerificationFlow) SetState(v VerificationState)
- func (o *VerificationFlow) SetType(v FlowType)
- func (o *VerificationFlow) SetUi(v UiContainer)
- func (o *VerificationFlow) SetUpdatedAt(v time.Time)
- type VerificationMethod
- type VerificationState
- type VerificationTraits
- func (o *VerificationTraits) GetEmail() string
- func (o *VerificationTraits) GetEmailOk() (*string, bool)
- func (o *VerificationTraits) GetMobile() string
- func (o *VerificationTraits) GetMobileOk() (*string, bool)
- func (o *VerificationTraits) GetType() string
- func (o *VerificationTraits) GetTypeOk() (*string, bool)
- func (o *VerificationTraits) HasEmail() bool
- func (o *VerificationTraits) HasMobile() bool
- func (o VerificationTraits) MarshalJSON() ([]byte, error)
- func (o *VerificationTraits) SetEmail(v string)
- func (o *VerificationTraits) SetMobile(v string)
- func (o *VerificationTraits) SetType(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { ConsentApi ConsentApi LoginApi LoginApi LogoutApi LogoutApi RecoveryApi RecoveryApi RegistrationApi RegistrationApi SessionApi SessionApi SettingsApi SettingsApi VerificationApi VerificationApi // contains filtered or unexported fields }
APIClient manages communication with the Identity API vlatest In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APILoginFlow ¶
type APILoginFlow struct { Session Session `json:"session"` // The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! SessionToken *string `json:"session_token,omitempty"` }
APILoginFlow struct for APILoginFlow
func NewAPILoginFlow ¶
func NewAPILoginFlow(session Session) *APILoginFlow
NewAPILoginFlow instantiates a new APILoginFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAPILoginFlowWithDefaults ¶
func NewAPILoginFlowWithDefaults() *APILoginFlow
NewAPILoginFlowWithDefaults instantiates a new APILoginFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*APILoginFlow) GetSession ¶
func (o *APILoginFlow) GetSession() Session
GetSession returns the Session field value
func (*APILoginFlow) GetSessionOk ¶
func (o *APILoginFlow) GetSessionOk() (*Session, bool)
GetSessionOk returns a tuple with the Session field value and a boolean to check if the value has been set.
func (*APILoginFlow) GetSessionToken ¶
func (o *APILoginFlow) GetSessionToken() string
GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (*APILoginFlow) GetSessionTokenOk ¶
func (o *APILoginFlow) GetSessionTokenOk() (*string, bool)
GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APILoginFlow) HasSessionToken ¶
func (o *APILoginFlow) HasSessionToken() bool
HasSessionToken returns a boolean if a field has been set.
func (APILoginFlow) MarshalJSON ¶
func (o APILoginFlow) MarshalJSON() ([]byte, error)
func (*APILoginFlow) SetSession ¶
func (o *APILoginFlow) SetSession(v Session)
SetSession sets field value
func (*APILoginFlow) SetSessionToken ¶
func (o *APILoginFlow) SetSessionToken(v string)
SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.
type APIRegistrationFlow ¶
type APIRegistrationFlow struct { Identity Identity `json:"identity"` Session *Session `json:"session,omitempty"` // The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! SessionToken *string `json:"session_token,omitempty"` }
APIRegistrationFlow struct for APIRegistrationFlow
func NewAPIRegistrationFlow ¶
func NewAPIRegistrationFlow(identity Identity) *APIRegistrationFlow
NewAPIRegistrationFlow instantiates a new APIRegistrationFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAPIRegistrationFlowWithDefaults ¶
func NewAPIRegistrationFlowWithDefaults() *APIRegistrationFlow
NewAPIRegistrationFlowWithDefaults instantiates a new APIRegistrationFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*APIRegistrationFlow) GetIdentity ¶
func (o *APIRegistrationFlow) GetIdentity() Identity
GetIdentity returns the Identity field value
func (*APIRegistrationFlow) GetIdentityOk ¶
func (o *APIRegistrationFlow) GetIdentityOk() (*Identity, bool)
GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.
func (*APIRegistrationFlow) GetSession ¶
func (o *APIRegistrationFlow) GetSession() Session
GetSession returns the Session field value if set, zero value otherwise.
func (*APIRegistrationFlow) GetSessionOk ¶
func (o *APIRegistrationFlow) GetSessionOk() (*Session, bool)
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIRegistrationFlow) GetSessionToken ¶
func (o *APIRegistrationFlow) GetSessionToken() string
GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (*APIRegistrationFlow) GetSessionTokenOk ¶
func (o *APIRegistrationFlow) GetSessionTokenOk() (*string, bool)
GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIRegistrationFlow) HasSession ¶
func (o *APIRegistrationFlow) HasSession() bool
HasSession returns a boolean if a field has been set.
func (*APIRegistrationFlow) HasSessionToken ¶
func (o *APIRegistrationFlow) HasSessionToken() bool
HasSessionToken returns a boolean if a field has been set.
func (APIRegistrationFlow) MarshalJSON ¶
func (o APIRegistrationFlow) MarshalJSON() ([]byte, error)
func (*APIRegistrationFlow) SetIdentity ¶
func (o *APIRegistrationFlow) SetIdentity(v Identity)
SetIdentity sets field value
func (*APIRegistrationFlow) SetSession ¶
func (o *APIRegistrationFlow) SetSession(v Session)
SetSession gets a reference to the given Session and assigns it to the Session field.
func (*APIRegistrationFlow) SetSessionToken ¶
func (o *APIRegistrationFlow) SetSessionToken(v string)
SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AuthenticatorAssuranceLevel ¶
type AuthenticatorAssuranceLevel string
AuthenticatorAssuranceLevel The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder for an attacker to compromise the account. Generally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g. password + TOTP) have been used.
const ( AUTHENTICATORASSURANCELEVEL_AAL0 AuthenticatorAssuranceLevel = "aal0" AUTHENTICATORASSURANCELEVEL_AAL1 AuthenticatorAssuranceLevel = "aal1" AUTHENTICATORASSURANCELEVEL_AAL2 AuthenticatorAssuranceLevel = "aal2" AUTHENTICATORASSURANCELEVEL_AAL3 AuthenticatorAssuranceLevel = "aal3" )
List of authenticatorAssuranceLevel
func NewAuthenticatorAssuranceLevelFromValue ¶
func NewAuthenticatorAssuranceLevelFromValue(v string) (*AuthenticatorAssuranceLevel, error)
NewAuthenticatorAssuranceLevelFromValue returns a pointer to a valid AuthenticatorAssuranceLevel for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AuthenticatorAssuranceLevel) IsValid ¶
func (v AuthenticatorAssuranceLevel) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AuthenticatorAssuranceLevel) Ptr ¶
func (v AuthenticatorAssuranceLevel) Ptr() *AuthenticatorAssuranceLevel
Ptr returns reference to authenticatorAssuranceLevel value
func (*AuthenticatorAssuranceLevel) UnmarshalJSON ¶
func (v *AuthenticatorAssuranceLevel) UnmarshalJSON(src []byte) error
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BrowserLocationChangeRequiredResponse ¶
type BrowserLocationChangeRequiredResponse struct { Code *Code `json:"code,omitempty"` // Detail contains further information on the nature of the error. Detail *string `json:"detail,omitempty"` // Message is the error message. Msg *string `json:"msg,omitempty"` // Since when the flow has expired RedirectBrowserTo *string `json:"redirect_browser_to,omitempty"` // TraceId is the identifier for a trace. It is globally unique. TraceId *string `json:"traceId,omitempty"` // Type A URI reference that identifies the error type. Type *string `json:"type,omitempty"` }
BrowserLocationChangeRequiredResponse struct for BrowserLocationChangeRequiredResponse
func NewBrowserLocationChangeRequiredResponse ¶
func NewBrowserLocationChangeRequiredResponse() *BrowserLocationChangeRequiredResponse
NewBrowserLocationChangeRequiredResponse instantiates a new BrowserLocationChangeRequiredResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrowserLocationChangeRequiredResponseWithDefaults ¶
func NewBrowserLocationChangeRequiredResponseWithDefaults() *BrowserLocationChangeRequiredResponse
NewBrowserLocationChangeRequiredResponseWithDefaults instantiates a new BrowserLocationChangeRequiredResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrowserLocationChangeRequiredResponse) GetCode ¶
func (o *BrowserLocationChangeRequiredResponse) GetCode() Code
GetCode returns the Code field value if set, zero value otherwise.
func (*BrowserLocationChangeRequiredResponse) GetCodeOk ¶
func (o *BrowserLocationChangeRequiredResponse) GetCodeOk() (*Code, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrowserLocationChangeRequiredResponse) GetDetail ¶
func (o *BrowserLocationChangeRequiredResponse) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*BrowserLocationChangeRequiredResponse) GetDetailOk ¶
func (o *BrowserLocationChangeRequiredResponse) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrowserLocationChangeRequiredResponse) GetMsg ¶
func (o *BrowserLocationChangeRequiredResponse) GetMsg() string
GetMsg returns the Msg field value if set, zero value otherwise.
func (*BrowserLocationChangeRequiredResponse) GetMsgOk ¶
func (o *BrowserLocationChangeRequiredResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrowserLocationChangeRequiredResponse) GetRedirectBrowserTo ¶
func (o *BrowserLocationChangeRequiredResponse) GetRedirectBrowserTo() string
GetRedirectBrowserTo returns the RedirectBrowserTo field value if set, zero value otherwise.
func (*BrowserLocationChangeRequiredResponse) GetRedirectBrowserToOk ¶
func (o *BrowserLocationChangeRequiredResponse) GetRedirectBrowserToOk() (*string, bool)
GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrowserLocationChangeRequiredResponse) GetTraceId ¶
func (o *BrowserLocationChangeRequiredResponse) GetTraceId() string
GetTraceId returns the TraceId field value if set, zero value otherwise.
func (*BrowserLocationChangeRequiredResponse) GetTraceIdOk ¶
func (o *BrowserLocationChangeRequiredResponse) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrowserLocationChangeRequiredResponse) GetType ¶
func (o *BrowserLocationChangeRequiredResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*BrowserLocationChangeRequiredResponse) GetTypeOk ¶
func (o *BrowserLocationChangeRequiredResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrowserLocationChangeRequiredResponse) HasCode ¶
func (o *BrowserLocationChangeRequiredResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*BrowserLocationChangeRequiredResponse) HasDetail ¶
func (o *BrowserLocationChangeRequiredResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*BrowserLocationChangeRequiredResponse) HasMsg ¶
func (o *BrowserLocationChangeRequiredResponse) HasMsg() bool
HasMsg returns a boolean if a field has been set.
func (*BrowserLocationChangeRequiredResponse) HasRedirectBrowserTo ¶
func (o *BrowserLocationChangeRequiredResponse) HasRedirectBrowserTo() bool
HasRedirectBrowserTo returns a boolean if a field has been set.
func (*BrowserLocationChangeRequiredResponse) HasTraceId ¶
func (o *BrowserLocationChangeRequiredResponse) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
func (*BrowserLocationChangeRequiredResponse) HasType ¶
func (o *BrowserLocationChangeRequiredResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (BrowserLocationChangeRequiredResponse) MarshalJSON ¶
func (o BrowserLocationChangeRequiredResponse) MarshalJSON() ([]byte, error)
func (*BrowserLocationChangeRequiredResponse) SetCode ¶
func (o *BrowserLocationChangeRequiredResponse) SetCode(v Code)
SetCode gets a reference to the given Code and assigns it to the Code field.
func (*BrowserLocationChangeRequiredResponse) SetDetail ¶
func (o *BrowserLocationChangeRequiredResponse) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*BrowserLocationChangeRequiredResponse) SetMsg ¶
func (o *BrowserLocationChangeRequiredResponse) SetMsg(v string)
SetMsg gets a reference to the given string and assigns it to the Msg field.
func (*BrowserLocationChangeRequiredResponse) SetRedirectBrowserTo ¶
func (o *BrowserLocationChangeRequiredResponse) SetRedirectBrowserTo(v string)
SetRedirectBrowserTo gets a reference to the given string and assigns it to the RedirectBrowserTo field.
func (*BrowserLocationChangeRequiredResponse) SetTraceId ¶
func (o *BrowserLocationChangeRequiredResponse) SetTraceId(v string)
SetTraceId gets a reference to the given string and assigns it to the TraceId field.
func (*BrowserLocationChangeRequiredResponse) SetType ¶
func (o *BrowserLocationChangeRequiredResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type Code ¶
type Code int64
Code Code responses is error code when an error occurred. ``` Success Code = 2000 // Success BadRequest Code = 4000 // BadRequest InvalidArguments Code = 4001 // InvalidArguments Forbidden Code = 4003 // Forbidden NotFound Code = 4004 // NotFound Internal Code = 5000 // Internal NoActiveSessionFound Code = 6001 // NoActiveSessionFound AlreadyLoggedIn Code = 6002 // AlreadyLoggedIn LoginFlowExpired Code = 6003 // LoginFlowExpired StrategyNotResponsible Code = 6004 // StrategyNotResponsible CompletedByStrategy Code = 6005 // CompletedByStrategy NoStrategyResponsible Code = 6006 // NoStrategyResponsible InvalidCSRFTokenNotSent Code = 6007 // InvalidCSRFTokenNotSent InvalidCSRFTokenMismatch Code = 6008 // InvalidCSRFTokenMismatch OriginHeaderNeedsBrowserFlow Code = 6009 // OriginHeaderNeedsBrowserFlow CookieHeaderNeedsBrowserFlow Code = 6010 // CookieHeaderNeedsBrowserFlow AddressNotVerified Code = 6011 // AddressNotVerified IdentityDisabled Code = 6012 // IdentityDisabled AALNotSatisfied Code = 6013 // AALNotSatisfied RegistrationDisabled Code = 6014 // RegistrationDisabled RegistrationFlowExpired Code = 6015 // RegistrationFlowExpired HookAbortFlow Code = 6016 // HookAbortFlow VerificationDisabled Code = 6017 // VerificationDisabled VerificationFlowExpired Code = 6018 // VerificationFlowExpired VerificationFlowNotFound Code = 6019 // VerificationFlowNotFound WorkflowTokenNotFound Code = 6020 // WorkflowTokenNotFound WorkflowTokenExpired Code = 6021 // WorkflowTokenExpired SettingsDisabled Code = 6022 // SettingsDisabled SettingsFlowExpired Code = 6023 // SettingsFlowExpired SettingsFlowNotFound Code = 6024 // SettingsFlowNotFound SecurityIdentityMismatch Code = 6025 // SecurityIdentityMismatch RecoveryDisabled Code = 6026 // RecoveryDisabled RecoveryFlowExpired Code = 6027 // RecoveryFlowExpired RecoveryFlowNotFound Code = 6028 // RecoveryFlowNotFound NeedsReAuth Code = 6029 // NeedsReAuth SessionRequiredForHigherAAL Code = 6030 // SessionRequiredForHigherAAL BrowserLocationChangeRequired Code = 6031 // BrowserLocationChangeRequired ContinuityExpired Code = 6032 // ContinuityExpired APIFlowNotSupported Code = 6033 // APIFlowNotSupported ScopeMissing Code = 6034 // ScopeMissing IDTokenMissing Code = 6035 // IDTokenMissing ContinueFlow Code = 6036 // ContinueFlow ConsentFlowExpired Code = 6037 // ConsentFlowExpired IdentityNotFound Code = 6050 // IdentityNotFound IdentityMissing Code = 6051 // IdentityMissing IdentityHasVerified Code = 6052 // IdentityHasVerified IdentityNotVerified Code = 6053 // IdentityNotVerified PasswordMismatch Code = 6054 // PasswordMismatch PasswordMissing Code = 6055 // PasswordMissing InvalidPassword Code = 6056 // InvalidPassword TraitsEmailMissing Code = 6057 // TraitsEmailMissing TraitsMobileMissing Code = 6058 // TraitsMobileMissing InvalidTraitsType Code = 6059 // InvalidTraitsType InvalidTraitsEmail Code = 6060 // InvalidTraitsEmail InvalidTraitsMobile Code = 6061 // InvalidTraitsMobile DuplicateIdentity Code = 6062 // DuplicateIdentity WorkflowTokenHasSent Code = 6063 // WorkflowTokenHasSent WorkflowTokenMissing Code = 6064 // WorkflowTokenMissing WorkflowTokenMismatch Code = 6065 // WorkflowTokenMismatch TotpCodeMissing Code = 6066 // TotpCodeMissing TotpCodeInvalid Code = 6067 // TotpCodeInvalid TotpCodeMismatch Code = 6068 // TotpCodeMismatch RecoveryCodeMismatch Code = 6069 // RecoveryCodeMismatch IdentityNotBind Code = 6070 // IdentityNotBind Unknown Code = 9000 // Unknown ```
const ( CODE__4000 Code = 4000 CODE__4001 Code = 4001 CODE__4003 Code = 4003 CODE__4004 Code = 4004 CODE__5000 Code = 5000 CODE__6001 Code = 6001 CODE__6002 Code = 6002 CODE__6003 Code = 6003 CODE__6004 Code = 6004 CODE__6005 Code = 6005 CODE__6006 Code = 6006 CODE__6007 Code = 6007 CODE__6008 Code = 6008 CODE__6009 Code = 6009 CODE__6010 Code = 6010 CODE__6011 Code = 6011 CODE__6012 Code = 6012 CODE__6013 Code = 6013 CODE__6014 Code = 6014 CODE__6015 Code = 6015 CODE__6016 Code = 6016 CODE__6017 Code = 6017 CODE__6018 Code = 6018 CODE__6019 Code = 6019 CODE__6020 Code = 6020 CODE__6021 Code = 6021 CODE__6022 Code = 6022 CODE__6023 Code = 6023 CODE__6024 Code = 6024 CODE__6025 Code = 6025 CODE__6026 Code = 6026 CODE__6027 Code = 6027 CODE__6028 Code = 6028 CODE__6029 Code = 6029 CODE__6030 Code = 6030 CODE__6031 Code = 6031 CODE__6032 Code = 6032 CODE__6033 Code = 6033 CODE__6034 Code = 6034 CODE__6035 Code = 6035 CODE__6036 Code = 6036 CODE__6037 Code = 6037 CODE__6038 Code = 6038 CODE__6050 Code = 6050 CODE__6051 Code = 6051 CODE__6052 Code = 6052 CODE__6053 Code = 6053 CODE__6054 Code = 6054 CODE__6055 Code = 6055 CODE__6056 Code = 6056 CODE__6057 Code = 6057 CODE__6058 Code = 6058 CODE__6059 Code = 6059 CODE__6060 Code = 6060 CODE__6061 Code = 6061 CODE__6062 Code = 6062 CODE__6063 Code = 6063 CODE__6064 Code = 6064 CODE__6065 Code = 6065 CODE__6066 Code = 6066 CODE__6067 Code = 6067 CODE__6068 Code = 6068 CODE__6069 Code = 6069 CODE__6070 Code = 6070 CODE__9000 Code = 9000 CODE__2000 Code = 2000 )
List of code
func NewCodeFromValue ¶
NewCodeFromValue returns a pointer to a valid Code for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Code) UnmarshalJSON ¶
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConsentApi ¶
type ConsentApi interface { /* * GetConsentFlowRequest # Get Consent Flow * This endpoint returns a consent flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: “`js pseudo-code example router.get('/consent', async function (req, res) { const flow = await client.getSelfServiceConsentFlow(req.header('cookie'), req.query['flow']) res.render('consent', flow) }) “` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ConsentApiApiGetConsentFlowRequestRequest */ GetConsentFlowRequest(ctx context.Context) ConsentApiApiGetConsentFlowRequestRequest /* * GetConsentFlowRequestExecute executes the request * @return ConsentFlow */ GetConsentFlowRequestExecute(r ConsentApiApiGetConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error) /* * InitBrowserConsentFlowRequest # Initialize Consent Flow for Browsers * This endpoint initializes a browser-based user consent flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.consent.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ConsentApiApiInitBrowserConsentFlowRequestRequest */ InitBrowserConsentFlowRequest(ctx context.Context) ConsentApiApiInitBrowserConsentFlowRequestRequest /* * InitBrowserConsentFlowRequestExecute executes the request * @return ConsentFlow */ InitBrowserConsentFlowRequestExecute(r ConsentApiApiInitBrowserConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error) /* * SubmitConsentFlowRequest # Submit a Consent Flow * Use this endpoint to complete a consent flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after consent URL or the `return_to` value if it was set and if the consent succeeded; a HTTP 303 redirect to the consent UI URL with the flow ID containing the validation errors otherwise. More information can be found at: * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ConsentApiApiSubmitConsentFlowRequestRequest */ SubmitConsentFlowRequest(ctx context.Context) ConsentApiApiSubmitConsentFlowRequestRequest /* * SubmitConsentFlowRequestExecute executes the request * @return ConsentFlow */ SubmitConsentFlowRequestExecute(r ConsentApiApiSubmitConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error) }
type ConsentApiApiGetConsentFlowRequestRequest ¶
type ConsentApiApiGetConsentFlowRequestRequest struct { ApiService ConsentApi // contains filtered or unexported fields }
func (ConsentApiApiGetConsentFlowRequestRequest) Cookie ¶
func (r ConsentApiApiGetConsentFlowRequestRequest) Cookie(cookie string) ConsentApiApiGetConsentFlowRequestRequest
func (ConsentApiApiGetConsentFlowRequestRequest) Execute ¶
func (r ConsentApiApiGetConsentFlowRequestRequest) Execute() (*ConsentFlow, *http.Response, error)
type ConsentApiApiInitBrowserConsentFlowRequestRequest ¶
type ConsentApiApiInitBrowserConsentFlowRequestRequest struct { ApiService ConsentApi // contains filtered or unexported fields }
func (ConsentApiApiInitBrowserConsentFlowRequestRequest) ConsentChallenge ¶
func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) ConsentChallenge(consentChallenge string) ConsentApiApiInitBrowserConsentFlowRequestRequest
func (ConsentApiApiInitBrowserConsentFlowRequestRequest) Cookie ¶
func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) Cookie(cookie string) ConsentApiApiInitBrowserConsentFlowRequestRequest
func (ConsentApiApiInitBrowserConsentFlowRequestRequest) Execute ¶
func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) Execute() (*ConsentFlow, *http.Response, error)
func (ConsentApiApiInitBrowserConsentFlowRequestRequest) ReturnTo ¶
func (r ConsentApiApiInitBrowserConsentFlowRequestRequest) ReturnTo(returnTo string) ConsentApiApiInitBrowserConsentFlowRequestRequest
type ConsentApiApiSubmitConsentFlowRequestRequest ¶
type ConsentApiApiSubmitConsentFlowRequestRequest struct { ApiService ConsentApi // contains filtered or unexported fields }
func (ConsentApiApiSubmitConsentFlowRequestRequest) Cookie ¶
func (r ConsentApiApiSubmitConsentFlowRequestRequest) Cookie(cookie string) ConsentApiApiSubmitConsentFlowRequestRequest
func (ConsentApiApiSubmitConsentFlowRequestRequest) Execute ¶
func (r ConsentApiApiSubmitConsentFlowRequestRequest) Execute() (*ConsentFlow, *http.Response, error)
func (ConsentApiApiSubmitConsentFlowRequestRequest) SubmitConsentFlowBody ¶
func (r ConsentApiApiSubmitConsentFlowRequestRequest) SubmitConsentFlowBody(submitConsentFlowBody SubmitConsentFlowBody) ConsentApiApiSubmitConsentFlowRequestRequest
func (ConsentApiApiSubmitConsentFlowRequestRequest) XSessionToken ¶
func (r ConsentApiApiSubmitConsentFlowRequestRequest) XSessionToken(xSessionToken string) ConsentApiApiSubmitConsentFlowRequestRequest
type ConsentApiService ¶
type ConsentApiService service
ConsentApiService ConsentApi service
func (*ConsentApiService) GetConsentFlowRequest ¶
func (a *ConsentApiService) GetConsentFlowRequest(ctx context.Context) ConsentApiApiGetConsentFlowRequestRequest
- GetConsentFlowRequest # Get Consent Flow
- This endpoint returns a consent flow's context with, for example, error details and other information.
Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.
If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:
```js pseudo-code example router.get('/consent', async function (req, res) { const flow = await client.getSelfServiceConsentFlow(req.header('cookie'), req.query['flow'])
res.render('consent', flow) }) ```
This request may fail due to several reasons. The `error.id` can be one of:
`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ConsentApiApiGetConsentFlowRequestRequest
func (*ConsentApiService) GetConsentFlowRequestExecute ¶
func (a *ConsentApiService) GetConsentFlowRequestExecute(r ConsentApiApiGetConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
* Execute executes the request * @return ConsentFlow
func (*ConsentApiService) InitBrowserConsentFlowRequest ¶
func (a *ConsentApiService) InitBrowserConsentFlowRequest(ctx context.Context) ConsentApiApiInitBrowserConsentFlowRequestRequest
- InitBrowserConsentFlowRequest # Initialize Consent Flow for Browsers
- This endpoint initializes a browser-based user consent flow. This endpoint will set the appropriate
cookies and anti-CSRF measures required for browser-based flows.
If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.consent.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set.
If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ConsentApiApiInitBrowserConsentFlowRequestRequest
func (*ConsentApiService) InitBrowserConsentFlowRequestExecute ¶
func (a *ConsentApiService) InitBrowserConsentFlowRequestExecute(r ConsentApiApiInitBrowserConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
* Execute executes the request * @return ConsentFlow
func (*ConsentApiService) SubmitConsentFlowRequest ¶
func (a *ConsentApiService) SubmitConsentFlowRequest(ctx context.Context) ConsentApiApiSubmitConsentFlowRequestRequest
- SubmitConsentFlowRequest # Submit a Consent Flow
- Use this endpoint to complete a consent flow. This endpoint
behaves differently for API and browser flows.
API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.
Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after consent URL or the `return_to` value if it was set and if the consent succeeded; a HTTP 303 redirect to the consent UI URL with the flow ID containing the validation errors otherwise.
More information can be found at:
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ConsentApiApiSubmitConsentFlowRequestRequest
func (*ConsentApiService) SubmitConsentFlowRequestExecute ¶
func (a *ConsentApiService) SubmitConsentFlowRequestExecute(r ConsentApiApiSubmitConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
* Execute executes the request * @return ConsentFlow
type ConsentFlow ¶
type ConsentFlow struct { // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. ExpiresAt time.Time `json:"expires_at"` // ID represents the flow's unique ID. When performing the consent flow, this represents the id in the consent UI's query parameter: http://<selfservice.flows.consent.ui_url>/?flow=<flow_id> Id string `json:"id"` Identity Identity `json:"identity"` // IssuedAt is the time (UTC) when the flow started. IssuedAt time.Time `json:"issued_at"` Method *string `json:"method,omitempty"` // NotAsk stores whether this consent flow should keep user session. NotAsk *bool `json:"not_ask,omitempty"` // OAuth 2.0 Consent Challenge. This value is set using the `consent_challenge` query parameter of the registration and consent endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. Oauth2ConsentChallenge *string `json:"oauth2_consent_challenge,omitempty"` Oauth2ConsentRequest *OAuth2ConsentRequest `json:"oauth2_consent_request,omitempty"` // RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example. RequestUrl string `json:"request_url"` // ReturnTo contains the requested return_to URL. ReturnTo *string `json:"return_to,omitempty"` // The state represents the state of the consent flow. “` accepted: ask the user to accepted rejected: reject consent by the user “` State string `json:"state"` Type FlowType `json:"type"` Ui UiContainer `json:"ui"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
ConsentFlow This object represents a consent flow. A consent flow is initiated at the \"Initiate Consent API / Browser Flow\" endpoint by a client. Once a consent flow is completed successfully, will be redirect oauth client back url.
func NewConsentFlow ¶
func NewConsentFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state string, type_ FlowType, ui UiContainer) *ConsentFlow
NewConsentFlow instantiates a new ConsentFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsentFlowWithDefaults ¶
func NewConsentFlowWithDefaults() *ConsentFlow
NewConsentFlowWithDefaults instantiates a new ConsentFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsentFlow) GetCreatedAt ¶
func (o *ConsentFlow) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ConsentFlow) GetCreatedAtOk ¶
func (o *ConsentFlow) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) GetExpiresAt ¶
func (o *ConsentFlow) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*ConsentFlow) GetExpiresAtOk ¶
func (o *ConsentFlow) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetIdOk ¶
func (o *ConsentFlow) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetIdentity ¶
func (o *ConsentFlow) GetIdentity() Identity
GetIdentity returns the Identity field value
func (*ConsentFlow) GetIdentityOk ¶
func (o *ConsentFlow) GetIdentityOk() (*Identity, bool)
GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetIssuedAt ¶
func (o *ConsentFlow) GetIssuedAt() time.Time
GetIssuedAt returns the IssuedAt field value
func (*ConsentFlow) GetIssuedAtOk ¶
func (o *ConsentFlow) GetIssuedAtOk() (*time.Time, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetMethod ¶
func (o *ConsentFlow) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*ConsentFlow) GetMethodOk ¶
func (o *ConsentFlow) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) GetNotAsk ¶
func (o *ConsentFlow) GetNotAsk() bool
GetNotAsk returns the NotAsk field value if set, zero value otherwise.
func (*ConsentFlow) GetNotAskOk ¶
func (o *ConsentFlow) GetNotAskOk() (*bool, bool)
GetNotAskOk returns a tuple with the NotAsk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) GetOauth2ConsentChallenge ¶
func (o *ConsentFlow) GetOauth2ConsentChallenge() string
GetOauth2ConsentChallenge returns the Oauth2ConsentChallenge field value if set, zero value otherwise.
func (*ConsentFlow) GetOauth2ConsentChallengeOk ¶
func (o *ConsentFlow) GetOauth2ConsentChallengeOk() (*string, bool)
GetOauth2ConsentChallengeOk returns a tuple with the Oauth2ConsentChallenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) GetOauth2ConsentRequest ¶
func (o *ConsentFlow) GetOauth2ConsentRequest() OAuth2ConsentRequest
GetOauth2ConsentRequest returns the Oauth2ConsentRequest field value if set, zero value otherwise.
func (*ConsentFlow) GetOauth2ConsentRequestOk ¶
func (o *ConsentFlow) GetOauth2ConsentRequestOk() (*OAuth2ConsentRequest, bool)
GetOauth2ConsentRequestOk returns a tuple with the Oauth2ConsentRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) GetRequestUrl ¶
func (o *ConsentFlow) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value
func (*ConsentFlow) GetRequestUrlOk ¶
func (o *ConsentFlow) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetReturnTo ¶
func (o *ConsentFlow) GetReturnTo() string
GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (*ConsentFlow) GetReturnToOk ¶
func (o *ConsentFlow) GetReturnToOk() (*string, bool)
GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) GetState ¶
func (o *ConsentFlow) GetState() string
GetState returns the State field value
func (*ConsentFlow) GetStateOk ¶
func (o *ConsentFlow) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetType ¶
func (o *ConsentFlow) GetType() FlowType
GetType returns the Type field value
func (*ConsentFlow) GetTypeOk ¶
func (o *ConsentFlow) GetTypeOk() (*FlowType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetUi ¶
func (o *ConsentFlow) GetUi() UiContainer
GetUi returns the Ui field value
func (*ConsentFlow) GetUiOk ¶
func (o *ConsentFlow) GetUiOk() (*UiContainer, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*ConsentFlow) GetUpdatedAt ¶
func (o *ConsentFlow) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ConsentFlow) GetUpdatedAtOk ¶
func (o *ConsentFlow) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsentFlow) HasCreatedAt ¶
func (o *ConsentFlow) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ConsentFlow) HasMethod ¶
func (o *ConsentFlow) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*ConsentFlow) HasNotAsk ¶
func (o *ConsentFlow) HasNotAsk() bool
HasNotAsk returns a boolean if a field has been set.
func (*ConsentFlow) HasOauth2ConsentChallenge ¶
func (o *ConsentFlow) HasOauth2ConsentChallenge() bool
HasOauth2ConsentChallenge returns a boolean if a field has been set.
func (*ConsentFlow) HasOauth2ConsentRequest ¶
func (o *ConsentFlow) HasOauth2ConsentRequest() bool
HasOauth2ConsentRequest returns a boolean if a field has been set.
func (*ConsentFlow) HasReturnTo ¶
func (o *ConsentFlow) HasReturnTo() bool
HasReturnTo returns a boolean if a field has been set.
func (*ConsentFlow) HasUpdatedAt ¶
func (o *ConsentFlow) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ConsentFlow) MarshalJSON ¶
func (o ConsentFlow) MarshalJSON() ([]byte, error)
func (*ConsentFlow) SetCreatedAt ¶
func (o *ConsentFlow) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ConsentFlow) SetExpiresAt ¶
func (o *ConsentFlow) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (*ConsentFlow) SetIdentity ¶
func (o *ConsentFlow) SetIdentity(v Identity)
SetIdentity sets field value
func (*ConsentFlow) SetIssuedAt ¶
func (o *ConsentFlow) SetIssuedAt(v time.Time)
SetIssuedAt sets field value
func (*ConsentFlow) SetMethod ¶
func (o *ConsentFlow) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*ConsentFlow) SetNotAsk ¶
func (o *ConsentFlow) SetNotAsk(v bool)
SetNotAsk gets a reference to the given bool and assigns it to the NotAsk field.
func (*ConsentFlow) SetOauth2ConsentChallenge ¶
func (o *ConsentFlow) SetOauth2ConsentChallenge(v string)
SetOauth2ConsentChallenge gets a reference to the given string and assigns it to the Oauth2ConsentChallenge field.
func (*ConsentFlow) SetOauth2ConsentRequest ¶
func (o *ConsentFlow) SetOauth2ConsentRequest(v OAuth2ConsentRequest)
SetOauth2ConsentRequest gets a reference to the given OAuth2ConsentRequest and assigns it to the Oauth2ConsentRequest field.
func (*ConsentFlow) SetRequestUrl ¶
func (o *ConsentFlow) SetRequestUrl(v string)
SetRequestUrl sets field value
func (*ConsentFlow) SetReturnTo ¶
func (o *ConsentFlow) SetReturnTo(v string)
SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.
func (*ConsentFlow) SetUpdatedAt ¶
func (o *ConsentFlow) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type CredentialsType ¶
type CredentialsType string
CredentialsType and so on.
const ( CREDENTIALSTYPE_PASSWORD CredentialsType = "password" CREDENTIALSTYPE_OIDC CredentialsType = "oidc" CREDENTIALSTYPE_TOTP CredentialsType = "totp" )
List of credentialsType
func NewCredentialsTypeFromValue ¶
func NewCredentialsTypeFromValue(v string) (*CredentialsType, error)
NewCredentialsTypeFromValue returns a pointer to a valid CredentialsType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CredentialsType) IsValid ¶
func (v CredentialsType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CredentialsType) Ptr ¶
func (v CredentialsType) Ptr() *CredentialsType
Ptr returns reference to credentialsType value
func (*CredentialsType) UnmarshalJSON ¶
func (v *CredentialsType) UnmarshalJSON(src []byte) error
type FlowType ¶
type FlowType string
FlowType The flow type can either be `api` or `browser`.
func NewFlowTypeFromValue ¶
NewFlowTypeFromValue returns a pointer to a valid FlowType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*FlowType) UnmarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Identity ¶
type Identity struct { // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // Credentials represents all credentials that can be used for authenticating this identity. Credentials *map[string]IdentityCredential `json:"credentials,omitempty"` // ID is the identity's unique identifier. The Identity ID can not be changed and can not be chosen. This ensures future compatibility and optimization for distributed stores such as CockroachDB. Id string `json:"id"` // Is the user been locked Locked *bool `json:"locked,omitempty"` // the identity's source, e.g. local or github... Source *string `json:"source,omitempty"` State *IdentityState `json:"state,omitempty"` // generate by id Subject *string `json:"subject,omitempty"` Traits IdentityTraits `json:"traits"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` // VerifiableAddresses contains all the addresses that can be verified by the user. VerifiableAddresses []VerifiableAddress `json:"verifiable_addresses,omitempty"` }
Identity An identity can be a real human, a service, an IoT device - everything that can be described as an \"actor\" in a system.
func NewIdentity ¶
func NewIdentity(id string, traits IdentityTraits) *Identity
NewIdentity instantiates a new Identity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdentityWithDefaults ¶
func NewIdentityWithDefaults() *Identity
NewIdentityWithDefaults instantiates a new Identity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Identity) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Identity) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetCredentials ¶
func (o *Identity) GetCredentials() map[string]IdentityCredential
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*Identity) GetCredentialsOk ¶
func (o *Identity) GetCredentialsOk() (*map[string]IdentityCredential, bool)
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Identity) GetLockedOk ¶
GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetSourceOk ¶
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetState ¶
func (o *Identity) GetState() IdentityState
GetState returns the State field value if set, zero value otherwise.
func (*Identity) GetStateOk ¶
func (o *Identity) GetStateOk() (*IdentityState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetSubject ¶
GetSubject returns the Subject field value if set, zero value otherwise.
func (*Identity) GetSubjectOk ¶
GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetTraits ¶
func (o *Identity) GetTraits() IdentityTraits
GetTraits returns the Traits field value
func (*Identity) GetTraitsOk ¶
func (o *Identity) GetTraitsOk() (*IdentityTraits, bool)
GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.
func (*Identity) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Identity) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) GetVerifiableAddresses ¶
func (o *Identity) GetVerifiableAddresses() []VerifiableAddress
GetVerifiableAddresses returns the VerifiableAddresses field value if set, zero value otherwise.
func (*Identity) GetVerifiableAddressesOk ¶
func (o *Identity) GetVerifiableAddressesOk() ([]VerifiableAddress, bool)
GetVerifiableAddressesOk returns a tuple with the VerifiableAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Identity) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Identity) HasCredentials ¶
HasCredentials returns a boolean if a field has been set.
func (*Identity) HasSubject ¶
HasSubject returns a boolean if a field has been set.
func (*Identity) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Identity) HasVerifiableAddresses ¶
HasVerifiableAddresses returns a boolean if a field has been set.
func (Identity) MarshalJSON ¶
func (*Identity) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Identity) SetCredentials ¶
func (o *Identity) SetCredentials(v map[string]IdentityCredential)
SetCredentials gets a reference to the given map[string]IdentityCredential and assigns it to the Credentials field.
func (*Identity) SetLocked ¶
SetLocked gets a reference to the given bool and assigns it to the Locked field.
func (*Identity) SetSource ¶
SetSource gets a reference to the given string and assigns it to the Source field.
func (*Identity) SetState ¶
func (o *Identity) SetState(v IdentityState)
SetState gets a reference to the given IdentityState and assigns it to the State field.
func (*Identity) SetSubject ¶
SetSubject gets a reference to the given string and assigns it to the Subject field.
func (*Identity) SetTraits ¶
func (o *Identity) SetTraits(v IdentityTraits)
SetTraits sets field value
func (*Identity) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Identity) SetVerifiableAddresses ¶
func (o *Identity) SetVerifiableAddresses(v []VerifiableAddress)
SetVerifiableAddresses gets a reference to the given []VerifiableAddress and assigns it to the VerifiableAddresses field.
type IdentityCredential ¶
type IdentityCredential struct { Config map[string]interface{} `json:"config,omitempty"` // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` CredentialType *CredentialsType `json:"credential_type,omitempty"` // ID is the identity credential's unique identifier. Id *string `json:"id,omitempty"` Identifiers []IdentityCredentialIdentifier `json:"identifiers,omitempty"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
IdentityCredential IdentityCredential represents a specific credential type
func NewIdentityCredential ¶
func NewIdentityCredential() *IdentityCredential
NewIdentityCredential instantiates a new IdentityCredential object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdentityCredentialWithDefaults ¶
func NewIdentityCredentialWithDefaults() *IdentityCredential
NewIdentityCredentialWithDefaults instantiates a new IdentityCredential object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IdentityCredential) GetConfig ¶
func (o *IdentityCredential) GetConfig() map[string]interface{}
GetConfig returns the Config field value if set, zero value otherwise.
func (*IdentityCredential) GetConfigOk ¶
func (o *IdentityCredential) GetConfigOk() (map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredential) GetCreatedAt ¶
func (o *IdentityCredential) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*IdentityCredential) GetCreatedAtOk ¶
func (o *IdentityCredential) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredential) GetCredentialType ¶
func (o *IdentityCredential) GetCredentialType() CredentialsType
GetCredentialType returns the CredentialType field value if set, zero value otherwise.
func (*IdentityCredential) GetCredentialTypeOk ¶
func (o *IdentityCredential) GetCredentialTypeOk() (*CredentialsType, bool)
GetCredentialTypeOk returns a tuple with the CredentialType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredential) GetId ¶
func (o *IdentityCredential) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*IdentityCredential) GetIdOk ¶
func (o *IdentityCredential) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredential) GetIdentifiers ¶
func (o *IdentityCredential) GetIdentifiers() []IdentityCredentialIdentifier
GetIdentifiers returns the Identifiers field value if set, zero value otherwise.
func (*IdentityCredential) GetIdentifiersOk ¶
func (o *IdentityCredential) GetIdentifiersOk() ([]IdentityCredentialIdentifier, bool)
GetIdentifiersOk returns a tuple with the Identifiers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredential) GetUpdatedAt ¶
func (o *IdentityCredential) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*IdentityCredential) GetUpdatedAtOk ¶
func (o *IdentityCredential) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredential) HasConfig ¶
func (o *IdentityCredential) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*IdentityCredential) HasCreatedAt ¶
func (o *IdentityCredential) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*IdentityCredential) HasCredentialType ¶
func (o *IdentityCredential) HasCredentialType() bool
HasCredentialType returns a boolean if a field has been set.
func (*IdentityCredential) HasId ¶
func (o *IdentityCredential) HasId() bool
HasId returns a boolean if a field has been set.
func (*IdentityCredential) HasIdentifiers ¶
func (o *IdentityCredential) HasIdentifiers() bool
HasIdentifiers returns a boolean if a field has been set.
func (*IdentityCredential) HasUpdatedAt ¶
func (o *IdentityCredential) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (IdentityCredential) MarshalJSON ¶
func (o IdentityCredential) MarshalJSON() ([]byte, error)
func (*IdentityCredential) SetConfig ¶
func (o *IdentityCredential) SetConfig(v map[string]interface{})
SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.
func (*IdentityCredential) SetCreatedAt ¶
func (o *IdentityCredential) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*IdentityCredential) SetCredentialType ¶
func (o *IdentityCredential) SetCredentialType(v CredentialsType)
SetCredentialType gets a reference to the given CredentialsType and assigns it to the CredentialType field.
func (*IdentityCredential) SetId ¶
func (o *IdentityCredential) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*IdentityCredential) SetIdentifiers ¶
func (o *IdentityCredential) SetIdentifiers(v []IdentityCredentialIdentifier)
SetIdentifiers gets a reference to the given []IdentityCredentialIdentifier and assigns it to the Identifiers field.
func (*IdentityCredential) SetUpdatedAt ¶
func (o *IdentityCredential) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type IdentityCredentialIdentifier ¶
type IdentityCredentialIdentifier struct { // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // ID is the identity credential's unique identifier. Id *string `json:"id,omitempty"` // Identifier is the identifier, e.g. email, mobile or others. Identifier *string `json:"identifier,omitempty"` Properties map[string]interface{} `json:"properties,omitempty"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
IdentityCredentialIdentifier IdentityCredentialIdentifier represents some specific identifiers
func NewIdentityCredentialIdentifier ¶
func NewIdentityCredentialIdentifier() *IdentityCredentialIdentifier
NewIdentityCredentialIdentifier instantiates a new IdentityCredentialIdentifier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdentityCredentialIdentifierWithDefaults ¶
func NewIdentityCredentialIdentifierWithDefaults() *IdentityCredentialIdentifier
NewIdentityCredentialIdentifierWithDefaults instantiates a new IdentityCredentialIdentifier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IdentityCredentialIdentifier) GetCreatedAt ¶
func (o *IdentityCredentialIdentifier) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*IdentityCredentialIdentifier) GetCreatedAtOk ¶
func (o *IdentityCredentialIdentifier) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifier) GetId ¶
func (o *IdentityCredentialIdentifier) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*IdentityCredentialIdentifier) GetIdOk ¶
func (o *IdentityCredentialIdentifier) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifier) GetIdentifier ¶
func (o *IdentityCredentialIdentifier) GetIdentifier() string
GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (*IdentityCredentialIdentifier) GetIdentifierOk ¶
func (o *IdentityCredentialIdentifier) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifier) GetProperties ¶
func (o *IdentityCredentialIdentifier) GetProperties() map[string]interface{}
GetProperties returns the Properties field value if set, zero value otherwise.
func (*IdentityCredentialIdentifier) GetPropertiesOk ¶
func (o *IdentityCredentialIdentifier) GetPropertiesOk() (map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifier) GetUpdatedAt ¶
func (o *IdentityCredentialIdentifier) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*IdentityCredentialIdentifier) GetUpdatedAtOk ¶
func (o *IdentityCredentialIdentifier) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifier) HasCreatedAt ¶
func (o *IdentityCredentialIdentifier) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*IdentityCredentialIdentifier) HasId ¶
func (o *IdentityCredentialIdentifier) HasId() bool
HasId returns a boolean if a field has been set.
func (*IdentityCredentialIdentifier) HasIdentifier ¶
func (o *IdentityCredentialIdentifier) HasIdentifier() bool
HasIdentifier returns a boolean if a field has been set.
func (*IdentityCredentialIdentifier) HasProperties ¶
func (o *IdentityCredentialIdentifier) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*IdentityCredentialIdentifier) HasUpdatedAt ¶
func (o *IdentityCredentialIdentifier) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (IdentityCredentialIdentifier) MarshalJSON ¶
func (o IdentityCredentialIdentifier) MarshalJSON() ([]byte, error)
func (*IdentityCredentialIdentifier) SetCreatedAt ¶
func (o *IdentityCredentialIdentifier) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*IdentityCredentialIdentifier) SetId ¶
func (o *IdentityCredentialIdentifier) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*IdentityCredentialIdentifier) SetIdentifier ¶
func (o *IdentityCredentialIdentifier) SetIdentifier(v string)
SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (*IdentityCredentialIdentifier) SetProperties ¶
func (o *IdentityCredentialIdentifier) SetProperties(v map[string]interface{})
SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.
func (*IdentityCredentialIdentifier) SetUpdatedAt ¶
func (o *IdentityCredentialIdentifier) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type IdentityCredentialIdentifierOidcProperties ¶
type IdentityCredentialIdentifierOidcProperties struct { InitialAccessToken *string `json:"initial_access_token,omitempty"` InitialIdToken *string `json:"initial_id_token,omitempty"` InitialRefreshToken *string `json:"initial_refresh_token,omitempty"` Provider *string `json:"provider,omitempty"` Subject *string `json:"subject,omitempty"` }
IdentityCredentialIdentifierOidcProperties struct for IdentityCredentialIdentifierOidcProperties
func NewIdentityCredentialIdentifierOidcProperties ¶
func NewIdentityCredentialIdentifierOidcProperties() *IdentityCredentialIdentifierOidcProperties
NewIdentityCredentialIdentifierOidcProperties instantiates a new IdentityCredentialIdentifierOidcProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdentityCredentialIdentifierOidcPropertiesWithDefaults ¶
func NewIdentityCredentialIdentifierOidcPropertiesWithDefaults() *IdentityCredentialIdentifierOidcProperties
NewIdentityCredentialIdentifierOidcPropertiesWithDefaults instantiates a new IdentityCredentialIdentifierOidcProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IdentityCredentialIdentifierOidcProperties) GetInitialAccessToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetInitialAccessToken() string
GetInitialAccessToken returns the InitialAccessToken field value if set, zero value otherwise.
func (*IdentityCredentialIdentifierOidcProperties) GetInitialAccessTokenOk ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetInitialAccessTokenOk() (*string, bool)
GetInitialAccessTokenOk returns a tuple with the InitialAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierOidcProperties) GetInitialIdToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetInitialIdToken() string
GetInitialIdToken returns the InitialIdToken field value if set, zero value otherwise.
func (*IdentityCredentialIdentifierOidcProperties) GetInitialIdTokenOk ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetInitialIdTokenOk() (*string, bool)
GetInitialIdTokenOk returns a tuple with the InitialIdToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierOidcProperties) GetInitialRefreshToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetInitialRefreshToken() string
GetInitialRefreshToken returns the InitialRefreshToken field value if set, zero value otherwise.
func (*IdentityCredentialIdentifierOidcProperties) GetInitialRefreshTokenOk ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetInitialRefreshTokenOk() (*string, bool)
GetInitialRefreshTokenOk returns a tuple with the InitialRefreshToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierOidcProperties) GetProvider ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*IdentityCredentialIdentifierOidcProperties) GetProviderOk ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierOidcProperties) GetSubject ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetSubject() string
GetSubject returns the Subject field value if set, zero value otherwise.
func (*IdentityCredentialIdentifierOidcProperties) GetSubjectOk ¶
func (o *IdentityCredentialIdentifierOidcProperties) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierOidcProperties) HasInitialAccessToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) HasInitialAccessToken() bool
HasInitialAccessToken returns a boolean if a field has been set.
func (*IdentityCredentialIdentifierOidcProperties) HasInitialIdToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) HasInitialIdToken() bool
HasInitialIdToken returns a boolean if a field has been set.
func (*IdentityCredentialIdentifierOidcProperties) HasInitialRefreshToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) HasInitialRefreshToken() bool
HasInitialRefreshToken returns a boolean if a field has been set.
func (*IdentityCredentialIdentifierOidcProperties) HasProvider ¶
func (o *IdentityCredentialIdentifierOidcProperties) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*IdentityCredentialIdentifierOidcProperties) HasSubject ¶
func (o *IdentityCredentialIdentifierOidcProperties) HasSubject() bool
HasSubject returns a boolean if a field has been set.
func (IdentityCredentialIdentifierOidcProperties) MarshalJSON ¶
func (o IdentityCredentialIdentifierOidcProperties) MarshalJSON() ([]byte, error)
func (*IdentityCredentialIdentifierOidcProperties) SetInitialAccessToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) SetInitialAccessToken(v string)
SetInitialAccessToken gets a reference to the given string and assigns it to the InitialAccessToken field.
func (*IdentityCredentialIdentifierOidcProperties) SetInitialIdToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) SetInitialIdToken(v string)
SetInitialIdToken gets a reference to the given string and assigns it to the InitialIdToken field.
func (*IdentityCredentialIdentifierOidcProperties) SetInitialRefreshToken ¶
func (o *IdentityCredentialIdentifierOidcProperties) SetInitialRefreshToken(v string)
SetInitialRefreshToken gets a reference to the given string and assigns it to the InitialRefreshToken field.
func (*IdentityCredentialIdentifierOidcProperties) SetProvider ¶
func (o *IdentityCredentialIdentifierOidcProperties) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*IdentityCredentialIdentifierOidcProperties) SetSubject ¶
func (o *IdentityCredentialIdentifierOidcProperties) SetSubject(v string)
SetSubject gets a reference to the given string and assigns it to the Subject field.
type IdentityCredentialIdentifierPasswordProperties ¶
type IdentityCredentialIdentifierPasswordProperties struct { // Primary Is identifier's primary identity Primary bool `json:"primary"` Type *string `json:"type,omitempty"` // Verified Is identifier been verified Verified bool `json:"verified"` }
IdentityCredentialIdentifierPasswordProperties struct for IdentityCredentialIdentifierPasswordProperties
func NewIdentityCredentialIdentifierPasswordProperties ¶
func NewIdentityCredentialIdentifierPasswordProperties(primary bool, verified bool) *IdentityCredentialIdentifierPasswordProperties
NewIdentityCredentialIdentifierPasswordProperties instantiates a new IdentityCredentialIdentifierPasswordProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdentityCredentialIdentifierPasswordPropertiesWithDefaults ¶
func NewIdentityCredentialIdentifierPasswordPropertiesWithDefaults() *IdentityCredentialIdentifierPasswordProperties
NewIdentityCredentialIdentifierPasswordPropertiesWithDefaults instantiates a new IdentityCredentialIdentifierPasswordProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IdentityCredentialIdentifierPasswordProperties) GetPrimary ¶
func (o *IdentityCredentialIdentifierPasswordProperties) GetPrimary() bool
GetPrimary returns the Primary field value
func (*IdentityCredentialIdentifierPasswordProperties) GetPrimaryOk ¶
func (o *IdentityCredentialIdentifierPasswordProperties) GetPrimaryOk() (*bool, bool)
GetPrimaryOk returns a tuple with the Primary field value and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierPasswordProperties) GetType ¶
func (o *IdentityCredentialIdentifierPasswordProperties) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*IdentityCredentialIdentifierPasswordProperties) GetTypeOk ¶
func (o *IdentityCredentialIdentifierPasswordProperties) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierPasswordProperties) GetVerified ¶
func (o *IdentityCredentialIdentifierPasswordProperties) GetVerified() bool
GetVerified returns the Verified field value
func (*IdentityCredentialIdentifierPasswordProperties) GetVerifiedOk ¶
func (o *IdentityCredentialIdentifierPasswordProperties) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field value and a boolean to check if the value has been set.
func (*IdentityCredentialIdentifierPasswordProperties) HasType ¶
func (o *IdentityCredentialIdentifierPasswordProperties) HasType() bool
HasType returns a boolean if a field has been set.
func (IdentityCredentialIdentifierPasswordProperties) MarshalJSON ¶
func (o IdentityCredentialIdentifierPasswordProperties) MarshalJSON() ([]byte, error)
func (*IdentityCredentialIdentifierPasswordProperties) SetPrimary ¶
func (o *IdentityCredentialIdentifierPasswordProperties) SetPrimary(v bool)
SetPrimary sets field value
func (*IdentityCredentialIdentifierPasswordProperties) SetType ¶
func (o *IdentityCredentialIdentifierPasswordProperties) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*IdentityCredentialIdentifierPasswordProperties) SetVerified ¶
func (o *IdentityCredentialIdentifierPasswordProperties) SetVerified(v bool)
SetVerified sets field value
type IdentityState ¶
type IdentityState string
IdentityState The state can either be `active` or `inactive`.
const ( IDENTITYSTATE_ACTIVE IdentityState = "active" IDENTITYSTATE_INACTIVE IdentityState = "inactive" )
List of identityState
func NewIdentityStateFromValue ¶
func NewIdentityStateFromValue(v string) (*IdentityState, error)
NewIdentityStateFromValue returns a pointer to a valid IdentityState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (IdentityState) IsValid ¶
func (v IdentityState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (IdentityState) Ptr ¶
func (v IdentityState) Ptr() *IdentityState
Ptr returns reference to identityState value
func (*IdentityState) UnmarshalJSON ¶
func (v *IdentityState) UnmarshalJSON(src []byte) error
type IdentityTraits ¶
type IdentityTraits struct { // The identity's email It's optional, have at least one email and mobile Email *string `json:"email,omitempty"` // The identity's mobile It's optional, have at least one email and mobile Mobile *string `json:"mobile,omitempty"` }
IdentityTraits struct for IdentityTraits
func NewIdentityTraits ¶
func NewIdentityTraits() *IdentityTraits
NewIdentityTraits instantiates a new IdentityTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdentityTraitsWithDefaults ¶
func NewIdentityTraitsWithDefaults() *IdentityTraits
NewIdentityTraitsWithDefaults instantiates a new IdentityTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IdentityTraits) GetEmail ¶
func (o *IdentityTraits) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*IdentityTraits) GetEmailOk ¶
func (o *IdentityTraits) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityTraits) GetMobile ¶
func (o *IdentityTraits) GetMobile() string
GetMobile returns the Mobile field value if set, zero value otherwise.
func (*IdentityTraits) GetMobileOk ¶
func (o *IdentityTraits) GetMobileOk() (*string, bool)
GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdentityTraits) HasEmail ¶
func (o *IdentityTraits) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*IdentityTraits) HasMobile ¶
func (o *IdentityTraits) HasMobile() bool
HasMobile returns a boolean if a field has been set.
func (IdentityTraits) MarshalJSON ¶
func (o IdentityTraits) MarshalJSON() ([]byte, error)
func (*IdentityTraits) SetEmail ¶
func (o *IdentityTraits) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*IdentityTraits) SetMobile ¶
func (o *IdentityTraits) SetMobile(v string)
SetMobile gets a reference to the given string and assigns it to the Mobile field.
type InitBrowserLogoutFlowResponse ¶
type InitBrowserLogoutFlowResponse struct { // LogoutToken can be used to perform logout using AJAX. LogoutToken string `json:"logout_token"` // LogoutURL can be opened in a browser to sign the user out. format: uri LogoutUrl string `json:"logout_url"` }
InitBrowserLogoutFlowResponse struct for InitBrowserLogoutFlowResponse
func NewInitBrowserLogoutFlowResponse ¶
func NewInitBrowserLogoutFlowResponse(logoutToken string, logoutUrl string) *InitBrowserLogoutFlowResponse
NewInitBrowserLogoutFlowResponse instantiates a new InitBrowserLogoutFlowResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInitBrowserLogoutFlowResponseWithDefaults ¶
func NewInitBrowserLogoutFlowResponseWithDefaults() *InitBrowserLogoutFlowResponse
NewInitBrowserLogoutFlowResponseWithDefaults instantiates a new InitBrowserLogoutFlowResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InitBrowserLogoutFlowResponse) GetLogoutToken ¶
func (o *InitBrowserLogoutFlowResponse) GetLogoutToken() string
GetLogoutToken returns the LogoutToken field value
func (*InitBrowserLogoutFlowResponse) GetLogoutTokenOk ¶
func (o *InitBrowserLogoutFlowResponse) GetLogoutTokenOk() (*string, bool)
GetLogoutTokenOk returns a tuple with the LogoutToken field value and a boolean to check if the value has been set.
func (*InitBrowserLogoutFlowResponse) GetLogoutUrl ¶
func (o *InitBrowserLogoutFlowResponse) GetLogoutUrl() string
GetLogoutUrl returns the LogoutUrl field value
func (*InitBrowserLogoutFlowResponse) GetLogoutUrlOk ¶
func (o *InitBrowserLogoutFlowResponse) GetLogoutUrlOk() (*string, bool)
GetLogoutUrlOk returns a tuple with the LogoutUrl field value and a boolean to check if the value has been set.
func (InitBrowserLogoutFlowResponse) MarshalJSON ¶
func (o InitBrowserLogoutFlowResponse) MarshalJSON() ([]byte, error)
func (*InitBrowserLogoutFlowResponse) SetLogoutToken ¶
func (o *InitBrowserLogoutFlowResponse) SetLogoutToken(v string)
SetLogoutToken sets field value
func (*InitBrowserLogoutFlowResponse) SetLogoutUrl ¶
func (o *InitBrowserLogoutFlowResponse) SetLogoutUrl(v string)
SetLogoutUrl sets field value
type JsonErrorResponse ¶
type JsonErrorResponse struct { Code *Code `json:"code,omitempty"` // Detail contains further information on the nature of the error. Detail *string `json:"detail,omitempty"` // Message is the error message. Msg *string `json:"msg,omitempty"` // TraceId is the identifier for a trace. It is globally unique. TraceId *string `json:"traceId,omitempty"` // Type A URI reference that identifies the error type. Type *string `json:"type,omitempty"` }
JsonErrorResponse Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.
func NewJsonErrorResponse ¶
func NewJsonErrorResponse() *JsonErrorResponse
NewJsonErrorResponse instantiates a new JsonErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJsonErrorResponseWithDefaults ¶
func NewJsonErrorResponseWithDefaults() *JsonErrorResponse
NewJsonErrorResponseWithDefaults instantiates a new JsonErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JsonErrorResponse) GetCode ¶
func (o *JsonErrorResponse) GetCode() Code
GetCode returns the Code field value if set, zero value otherwise.
func (*JsonErrorResponse) GetCodeOk ¶
func (o *JsonErrorResponse) GetCodeOk() (*Code, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JsonErrorResponse) GetDetail ¶
func (o *JsonErrorResponse) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*JsonErrorResponse) GetDetailOk ¶
func (o *JsonErrorResponse) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JsonErrorResponse) GetMsg ¶
func (o *JsonErrorResponse) GetMsg() string
GetMsg returns the Msg field value if set, zero value otherwise.
func (*JsonErrorResponse) GetMsgOk ¶
func (o *JsonErrorResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JsonErrorResponse) GetTraceId ¶
func (o *JsonErrorResponse) GetTraceId() string
GetTraceId returns the TraceId field value if set, zero value otherwise.
func (*JsonErrorResponse) GetTraceIdOk ¶
func (o *JsonErrorResponse) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JsonErrorResponse) GetType ¶
func (o *JsonErrorResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*JsonErrorResponse) GetTypeOk ¶
func (o *JsonErrorResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JsonErrorResponse) HasCode ¶
func (o *JsonErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*JsonErrorResponse) HasDetail ¶
func (o *JsonErrorResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*JsonErrorResponse) HasMsg ¶
func (o *JsonErrorResponse) HasMsg() bool
HasMsg returns a boolean if a field has been set.
func (*JsonErrorResponse) HasTraceId ¶
func (o *JsonErrorResponse) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
func (*JsonErrorResponse) HasType ¶
func (o *JsonErrorResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (JsonErrorResponse) MarshalJSON ¶
func (o JsonErrorResponse) MarshalJSON() ([]byte, error)
func (*JsonErrorResponse) SetCode ¶
func (o *JsonErrorResponse) SetCode(v Code)
SetCode gets a reference to the given Code and assigns it to the Code field.
func (*JsonErrorResponse) SetDetail ¶
func (o *JsonErrorResponse) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*JsonErrorResponse) SetMsg ¶
func (o *JsonErrorResponse) SetMsg(v string)
SetMsg gets a reference to the given string and assigns it to the Msg field.
func (*JsonErrorResponse) SetTraceId ¶
func (o *JsonErrorResponse) SetTraceId(v string)
SetTraceId gets a reference to the given string and assigns it to the TraceId field.
func (*JsonErrorResponse) SetType ¶
func (o *JsonErrorResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type LoginApi ¶
type LoginApi interface { /* * GetLoginFlowRequest # Get Login Flow * This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: “`js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) “` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return LoginApiApiGetLoginFlowRequestRequest */ GetLoginFlowRequest(ctx context.Context) LoginApiApiGetLoginFlowRequestRequest /* * GetLoginFlowRequestExecute executes the request * @return LoginFlow */ GetLoginFlowRequestExecute(r LoginApiApiGetLoginFlowRequestRequest) (*LoginFlow, *http.Response, error) /* * InitBrowserLoginFlowRequest # Initialize Login Flow for Browsers * This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return LoginApiApiInitBrowserLoginFlowRequestRequest */ InitBrowserLoginFlowRequest(ctx context.Context) LoginApiApiInitBrowserLoginFlowRequestRequest /* * InitBrowserLoginFlowRequestExecute executes the request * @return LoginFlow */ InitBrowserLoginFlowRequestExecute(r LoginApiApiInitBrowserLoginFlowRequestRequest) (*LoginFlow, *http.Response, error) /* * SubmitLoginFlowRequest # Submit a Login Flow * Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at: * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return LoginApiApiSubmitLoginFlowRequestRequest */ SubmitLoginFlowRequest(ctx context.Context) LoginApiApiSubmitLoginFlowRequestRequest /* * SubmitLoginFlowRequestExecute executes the request * @return SubmitLoginFlowResponse */ SubmitLoginFlowRequestExecute(r LoginApiApiSubmitLoginFlowRequestRequest) (*SubmitLoginFlowResponse, *http.Response, error) }
type LoginApiApiGetLoginFlowRequestRequest ¶
type LoginApiApiGetLoginFlowRequestRequest struct { ApiService LoginApi // contains filtered or unexported fields }
func (LoginApiApiGetLoginFlowRequestRequest) Cookie ¶
func (r LoginApiApiGetLoginFlowRequestRequest) Cookie(cookie string) LoginApiApiGetLoginFlowRequestRequest
func (LoginApiApiGetLoginFlowRequestRequest) Execute ¶
func (r LoginApiApiGetLoginFlowRequestRequest) Execute() (*LoginFlow, *http.Response, error)
type LoginApiApiInitBrowserLoginFlowRequestRequest ¶
type LoginApiApiInitBrowserLoginFlowRequestRequest struct { ApiService LoginApi // contains filtered or unexported fields }
func (LoginApiApiInitBrowserLoginFlowRequestRequest) Cookie ¶
func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Cookie(cookie string) LoginApiApiInitBrowserLoginFlowRequestRequest
func (LoginApiApiInitBrowserLoginFlowRequestRequest) Execute ¶
func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Execute() (*LoginFlow, *http.Response, error)
func (LoginApiApiInitBrowserLoginFlowRequestRequest) LoginChallenge ¶
func (r LoginApiApiInitBrowserLoginFlowRequestRequest) LoginChallenge(loginChallenge string) LoginApiApiInitBrowserLoginFlowRequestRequest
func (LoginApiApiInitBrowserLoginFlowRequestRequest) Refresh ¶
func (r LoginApiApiInitBrowserLoginFlowRequestRequest) Refresh(refresh bool) LoginApiApiInitBrowserLoginFlowRequestRequest
func (LoginApiApiInitBrowserLoginFlowRequestRequest) ReturnTo ¶
func (r LoginApiApiInitBrowserLoginFlowRequestRequest) ReturnTo(returnTo string) LoginApiApiInitBrowserLoginFlowRequestRequest
type LoginApiApiSubmitLoginFlowRequestRequest ¶
type LoginApiApiSubmitLoginFlowRequestRequest struct { ApiService LoginApi // contains filtered or unexported fields }
func (LoginApiApiSubmitLoginFlowRequestRequest) Cookie ¶
func (r LoginApiApiSubmitLoginFlowRequestRequest) Cookie(cookie string) LoginApiApiSubmitLoginFlowRequestRequest
func (LoginApiApiSubmitLoginFlowRequestRequest) Execute ¶
func (r LoginApiApiSubmitLoginFlowRequestRequest) Execute() (*SubmitLoginFlowResponse, *http.Response, error)
func (LoginApiApiSubmitLoginFlowRequestRequest) Flow ¶
func (r LoginApiApiSubmitLoginFlowRequestRequest) Flow(flow string) LoginApiApiSubmitLoginFlowRequestRequest
func (LoginApiApiSubmitLoginFlowRequestRequest) SubmitLoginFlowBody ¶
func (r LoginApiApiSubmitLoginFlowRequestRequest) SubmitLoginFlowBody(submitLoginFlowBody SubmitLoginFlowBody) LoginApiApiSubmitLoginFlowRequestRequest
func (LoginApiApiSubmitLoginFlowRequestRequest) XSessionToken ¶
func (r LoginApiApiSubmitLoginFlowRequestRequest) XSessionToken(xSessionToken string) LoginApiApiSubmitLoginFlowRequestRequest
type LoginApiService ¶
type LoginApiService service
LoginApiService LoginApi service
func (*LoginApiService) GetLoginFlowRequest ¶
func (a *LoginApiService) GetLoginFlowRequest(ctx context.Context) LoginApiApiGetLoginFlowRequestRequest
- GetLoginFlowRequest # Get Login Flow
- This endpoint returns a login flow's context with, for example, error details and other information.
Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.
If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:
```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow'])
res.render('login', flow) }) ```
This request may fail due to several reasons. The `error.id` can be one of:
`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return LoginApiApiGetLoginFlowRequestRequest
func (*LoginApiService) GetLoginFlowRequestExecute ¶
func (a *LoginApiService) GetLoginFlowRequestExecute(r LoginApiApiGetLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)
* Execute executes the request * @return LoginFlow
func (*LoginApiService) InitBrowserLoginFlowRequest ¶
func (a *LoginApiService) InitBrowserLoginFlowRequest(ctx context.Context) LoginApiApiInitBrowserLoginFlowRequestRequest
- InitBrowserLoginFlowRequest # Initialize Login Flow for Browsers
- This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate
cookies and anti-CSRF measures required for browser-based flows.
If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set.
If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return LoginApiApiInitBrowserLoginFlowRequestRequest
func (*LoginApiService) InitBrowserLoginFlowRequestExecute ¶
func (a *LoginApiService) InitBrowserLoginFlowRequestExecute(r LoginApiApiInitBrowserLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)
* Execute executes the request * @return LoginFlow
func (*LoginApiService) SubmitLoginFlowRequest ¶
func (a *LoginApiService) SubmitLoginFlowRequest(ctx context.Context) LoginApiApiSubmitLoginFlowRequestRequest
- SubmitLoginFlowRequest # Submit a Login Flow
- Use this endpoint to complete a login flow. This endpoint
behaves differently for API and browser flows.
API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.
Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.
Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.
If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.
More information can be found at:
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return LoginApiApiSubmitLoginFlowRequestRequest
func (*LoginApiService) SubmitLoginFlowRequestExecute ¶
func (a *LoginApiService) SubmitLoginFlowRequestExecute(r LoginApiApiSubmitLoginFlowRequestRequest) (*SubmitLoginFlowResponse, *http.Response, error)
* Execute executes the request * @return SubmitLoginFlowResponse
type LoginFlow ¶
type LoginFlow struct { Active *CredentialsType `json:"active,omitempty"` // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. ExpiresAt time.Time `json:"expires_at"` // ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http://<selfservice.flows.login.ui_url>/?flow=<flow_id> Id string `json:"id"` // IssuedAt is the time (UTC) when the flow started. IssuedAt time.Time `json:"issued_at"` // OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. Oauth2LoginChallenge *string `json:"oauth2_login_challenge,omitempty"` Oauth2LoginRequest *OAuth2LoginRequest `json:"oauth2_login_request,omitempty"` // Refresh stores whether this login flow should enforce re-authentication. Refresh *bool `json:"refresh,omitempty"` // RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example. RequestUrl string `json:"request_url"` RequestedAal *AuthenticatorAssuranceLevel `json:"requested_aal,omitempty"` // ReturnTo contains the requested return_to URL. ReturnTo *string `json:"return_to,omitempty"` Type FlowType `json:"type"` Ui UiContainer `json:"ui"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
LoginFlow This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\" endpoint by a client. Once a login flow is completed successfully, a session cookie or session token will be issued.
func NewLoginFlow ¶
func NewLoginFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ FlowType, ui UiContainer) *LoginFlow
NewLoginFlow instantiates a new LoginFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginFlowWithDefaults ¶
func NewLoginFlowWithDefaults() *LoginFlow
NewLoginFlowWithDefaults instantiates a new LoginFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginFlow) GetActive ¶
func (o *LoginFlow) GetActive() CredentialsType
GetActive returns the Active field value if set, zero value otherwise.
func (*LoginFlow) GetActiveOk ¶
func (o *LoginFlow) GetActiveOk() (*CredentialsType, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*LoginFlow) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value
func (*LoginFlow) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*LoginFlow) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*LoginFlow) GetIssuedAt ¶
GetIssuedAt returns the IssuedAt field value
func (*LoginFlow) GetIssuedAtOk ¶
GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.
func (*LoginFlow) GetOauth2LoginChallenge ¶
GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.
func (*LoginFlow) GetOauth2LoginChallengeOk ¶
GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetOauth2LoginRequest ¶
func (o *LoginFlow) GetOauth2LoginRequest() OAuth2LoginRequest
GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.
func (*LoginFlow) GetOauth2LoginRequestOk ¶
func (o *LoginFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetRefresh ¶
GetRefresh returns the Refresh field value if set, zero value otherwise.
func (*LoginFlow) GetRefreshOk ¶
GetRefreshOk returns a tuple with the Refresh field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetRequestUrl ¶
GetRequestUrl returns the RequestUrl field value
func (*LoginFlow) GetRequestUrlOk ¶
GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.
func (*LoginFlow) GetRequestedAal ¶
func (o *LoginFlow) GetRequestedAal() AuthenticatorAssuranceLevel
GetRequestedAal returns the RequestedAal field value if set, zero value otherwise.
func (*LoginFlow) GetRequestedAalOk ¶
func (o *LoginFlow) GetRequestedAalOk() (*AuthenticatorAssuranceLevel, bool)
GetRequestedAalOk returns a tuple with the RequestedAal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetReturnTo ¶
GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (*LoginFlow) GetReturnToOk ¶
GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*LoginFlow) GetUiOk ¶
func (o *LoginFlow) GetUiOk() (*UiContainer, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*LoginFlow) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*LoginFlow) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginFlow) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*LoginFlow) HasOauth2LoginChallenge ¶
HasOauth2LoginChallenge returns a boolean if a field has been set.
func (*LoginFlow) HasOauth2LoginRequest ¶
HasOauth2LoginRequest returns a boolean if a field has been set.
func (*LoginFlow) HasRefresh ¶
HasRefresh returns a boolean if a field has been set.
func (*LoginFlow) HasRequestedAal ¶
HasRequestedAal returns a boolean if a field has been set.
func (*LoginFlow) HasReturnTo ¶
HasReturnTo returns a boolean if a field has been set.
func (*LoginFlow) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (LoginFlow) MarshalJSON ¶
func (*LoginFlow) SetActive ¶
func (o *LoginFlow) SetActive(v CredentialsType)
SetActive gets a reference to the given CredentialsType and assigns it to the Active field.
func (*LoginFlow) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*LoginFlow) SetExpiresAt ¶
SetExpiresAt sets field value
func (*LoginFlow) SetIssuedAt ¶
SetIssuedAt sets field value
func (*LoginFlow) SetOauth2LoginChallenge ¶
SetOauth2LoginChallenge gets a reference to the given string and assigns it to the Oauth2LoginChallenge field.
func (*LoginFlow) SetOauth2LoginRequest ¶
func (o *LoginFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)
SetOauth2LoginRequest gets a reference to the given OAuth2LoginRequest and assigns it to the Oauth2LoginRequest field.
func (*LoginFlow) SetRefresh ¶
SetRefresh gets a reference to the given bool and assigns it to the Refresh field.
func (*LoginFlow) SetRequestUrl ¶
SetRequestUrl sets field value
func (*LoginFlow) SetRequestedAal ¶
func (o *LoginFlow) SetRequestedAal(v AuthenticatorAssuranceLevel)
SetRequestedAal gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the RequestedAal field.
func (*LoginFlow) SetReturnTo ¶
SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.
func (*LoginFlow) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type LogoutApi ¶
type LogoutApi interface { /* * InitBrowserLogoutFlowRequest # Create a Logout URL for Browsers * This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return LogoutApiApiInitBrowserLogoutFlowRequestRequest */ InitBrowserLogoutFlowRequest(ctx context.Context) LogoutApiApiInitBrowserLogoutFlowRequestRequest /* * InitBrowserLogoutFlowRequestExecute executes the request * @return InitBrowserLogoutFlowResponse */ InitBrowserLogoutFlowRequestExecute(r LogoutApiApiInitBrowserLogoutFlowRequestRequest) (*InitBrowserLogoutFlowResponse, *http.Response, error) /* * SubmitLogoutFlowRequest # Complete Self-Service Logout * This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Session Token. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return LogoutApiApiSubmitLogoutFlowRequestRequest */ SubmitLogoutFlowRequest(ctx context.Context) LogoutApiApiSubmitLogoutFlowRequestRequest /* * SubmitLogoutFlowRequestExecute executes the request */ SubmitLogoutFlowRequestExecute(r LogoutApiApiSubmitLogoutFlowRequestRequest) (*http.Response, error) }
type LogoutApiApiInitBrowserLogoutFlowRequestRequest ¶
type LogoutApiApiInitBrowserLogoutFlowRequestRequest struct { ApiService LogoutApi // contains filtered or unexported fields }
func (LogoutApiApiInitBrowserLogoutFlowRequestRequest) Cookie ¶
func (r LogoutApiApiInitBrowserLogoutFlowRequestRequest) Cookie(cookie string) LogoutApiApiInitBrowserLogoutFlowRequestRequest
func (LogoutApiApiInitBrowserLogoutFlowRequestRequest) Execute ¶
func (r LogoutApiApiInitBrowserLogoutFlowRequestRequest) Execute() (*InitBrowserLogoutFlowResponse, *http.Response, error)
func (LogoutApiApiInitBrowserLogoutFlowRequestRequest) LogoutChallenge ¶
func (r LogoutApiApiInitBrowserLogoutFlowRequestRequest) LogoutChallenge(logoutChallenge string) LogoutApiApiInitBrowserLogoutFlowRequestRequest
type LogoutApiApiSubmitLogoutFlowRequestRequest ¶
type LogoutApiApiSubmitLogoutFlowRequestRequest struct { ApiService LogoutApi // contains filtered or unexported fields }
func (LogoutApiApiSubmitLogoutFlowRequestRequest) Execute ¶
func (r LogoutApiApiSubmitLogoutFlowRequestRequest) Execute() (*http.Response, error)
func (LogoutApiApiSubmitLogoutFlowRequestRequest) LogoutChallenge ¶
func (r LogoutApiApiSubmitLogoutFlowRequestRequest) LogoutChallenge(logoutChallenge string) LogoutApiApiSubmitLogoutFlowRequestRequest
func (LogoutApiApiSubmitLogoutFlowRequestRequest) ReturnTo ¶
func (r LogoutApiApiSubmitLogoutFlowRequestRequest) ReturnTo(returnTo string) LogoutApiApiSubmitLogoutFlowRequestRequest
func (LogoutApiApiSubmitLogoutFlowRequestRequest) Token ¶
func (r LogoutApiApiSubmitLogoutFlowRequestRequest) Token(token string) LogoutApiApiSubmitLogoutFlowRequestRequest
type LogoutApiService ¶
type LogoutApiService service
LogoutApiService LogoutApi service
func (*LogoutApiService) InitBrowserLogoutFlowRequest ¶
func (a *LogoutApiService) InitBrowserLogoutFlowRequest(ctx context.Context) LogoutApiApiInitBrowserLogoutFlowRequestRequest
- InitBrowserLogoutFlowRequest # Create a Logout URL for Browsers
- This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.
This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Session Token.
The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error.
When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return LogoutApiApiInitBrowserLogoutFlowRequestRequest
func (*LogoutApiService) InitBrowserLogoutFlowRequestExecute ¶
func (a *LogoutApiService) InitBrowserLogoutFlowRequestExecute(r LogoutApiApiInitBrowserLogoutFlowRequestRequest) (*InitBrowserLogoutFlowResponse, *http.Response, error)
* Execute executes the request * @return InitBrowserLogoutFlowResponse
func (*LogoutApiService) SubmitLogoutFlowRequest ¶
func (a *LogoutApiService) SubmitLogoutFlowRequest(ctx context.Context) LogoutApiApiSubmitLogoutFlowRequestRequest
- SubmitLogoutFlowRequest # Complete Self-Service Logout
- This endpoint logs out an identity in a self-service manner.
If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.
If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead.
This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Session Token.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return LogoutApiApiSubmitLogoutFlowRequestRequest
func (*LogoutApiService) SubmitLogoutFlowRequestExecute ¶
func (a *LogoutApiService) SubmitLogoutFlowRequestExecute(r LogoutApiApiSubmitLogoutFlowRequestRequest) (*http.Response, error)
* Execute executes the request
type NullableAPILoginFlow ¶
type NullableAPILoginFlow struct {
// contains filtered or unexported fields
}
func NewNullableAPILoginFlow ¶
func NewNullableAPILoginFlow(val *APILoginFlow) *NullableAPILoginFlow
func (NullableAPILoginFlow) Get ¶
func (v NullableAPILoginFlow) Get() *APILoginFlow
func (NullableAPILoginFlow) IsSet ¶
func (v NullableAPILoginFlow) IsSet() bool
func (NullableAPILoginFlow) MarshalJSON ¶
func (v NullableAPILoginFlow) MarshalJSON() ([]byte, error)
func (*NullableAPILoginFlow) Set ¶
func (v *NullableAPILoginFlow) Set(val *APILoginFlow)
func (*NullableAPILoginFlow) UnmarshalJSON ¶
func (v *NullableAPILoginFlow) UnmarshalJSON(src []byte) error
func (*NullableAPILoginFlow) Unset ¶
func (v *NullableAPILoginFlow) Unset()
type NullableAPIRegistrationFlow ¶
type NullableAPIRegistrationFlow struct {
// contains filtered or unexported fields
}
func NewNullableAPIRegistrationFlow ¶
func NewNullableAPIRegistrationFlow(val *APIRegistrationFlow) *NullableAPIRegistrationFlow
func (NullableAPIRegistrationFlow) Get ¶
func (v NullableAPIRegistrationFlow) Get() *APIRegistrationFlow
func (NullableAPIRegistrationFlow) IsSet ¶
func (v NullableAPIRegistrationFlow) IsSet() bool
func (NullableAPIRegistrationFlow) MarshalJSON ¶
func (v NullableAPIRegistrationFlow) MarshalJSON() ([]byte, error)
func (*NullableAPIRegistrationFlow) Set ¶
func (v *NullableAPIRegistrationFlow) Set(val *APIRegistrationFlow)
func (*NullableAPIRegistrationFlow) UnmarshalJSON ¶
func (v *NullableAPIRegistrationFlow) UnmarshalJSON(src []byte) error
func (*NullableAPIRegistrationFlow) Unset ¶
func (v *NullableAPIRegistrationFlow) Unset()
type NullableAuthenticatorAssuranceLevel ¶
type NullableAuthenticatorAssuranceLevel struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticatorAssuranceLevel ¶
func NewNullableAuthenticatorAssuranceLevel(val *AuthenticatorAssuranceLevel) *NullableAuthenticatorAssuranceLevel
func (NullableAuthenticatorAssuranceLevel) Get ¶
func (v NullableAuthenticatorAssuranceLevel) Get() *AuthenticatorAssuranceLevel
func (NullableAuthenticatorAssuranceLevel) IsSet ¶
func (v NullableAuthenticatorAssuranceLevel) IsSet() bool
func (NullableAuthenticatorAssuranceLevel) MarshalJSON ¶
func (v NullableAuthenticatorAssuranceLevel) MarshalJSON() ([]byte, error)
func (*NullableAuthenticatorAssuranceLevel) Set ¶
func (v *NullableAuthenticatorAssuranceLevel) Set(val *AuthenticatorAssuranceLevel)
func (*NullableAuthenticatorAssuranceLevel) UnmarshalJSON ¶
func (v *NullableAuthenticatorAssuranceLevel) UnmarshalJSON(src []byte) error
func (*NullableAuthenticatorAssuranceLevel) Unset ¶
func (v *NullableAuthenticatorAssuranceLevel) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBrowserLocationChangeRequiredResponse ¶
type NullableBrowserLocationChangeRequiredResponse struct {
// contains filtered or unexported fields
}
func NewNullableBrowserLocationChangeRequiredResponse ¶
func NewNullableBrowserLocationChangeRequiredResponse(val *BrowserLocationChangeRequiredResponse) *NullableBrowserLocationChangeRequiredResponse
func (NullableBrowserLocationChangeRequiredResponse) IsSet ¶
func (v NullableBrowserLocationChangeRequiredResponse) IsSet() bool
func (NullableBrowserLocationChangeRequiredResponse) MarshalJSON ¶
func (v NullableBrowserLocationChangeRequiredResponse) MarshalJSON() ([]byte, error)
func (*NullableBrowserLocationChangeRequiredResponse) Set ¶
func (v *NullableBrowserLocationChangeRequiredResponse) Set(val *BrowserLocationChangeRequiredResponse)
func (*NullableBrowserLocationChangeRequiredResponse) UnmarshalJSON ¶
func (v *NullableBrowserLocationChangeRequiredResponse) UnmarshalJSON(src []byte) error
func (*NullableBrowserLocationChangeRequiredResponse) Unset ¶
func (v *NullableBrowserLocationChangeRequiredResponse) Unset()
type NullableCode ¶
type NullableCode struct {
// contains filtered or unexported fields
}
func NewNullableCode ¶
func NewNullableCode(val *Code) *NullableCode
func (NullableCode) Get ¶
func (v NullableCode) Get() *Code
func (NullableCode) IsSet ¶
func (v NullableCode) IsSet() bool
func (NullableCode) MarshalJSON ¶
func (v NullableCode) MarshalJSON() ([]byte, error)
func (*NullableCode) Set ¶
func (v *NullableCode) Set(val *Code)
func (*NullableCode) UnmarshalJSON ¶
func (v *NullableCode) UnmarshalJSON(src []byte) error
func (*NullableCode) Unset ¶
func (v *NullableCode) Unset()
type NullableConsentFlow ¶
type NullableConsentFlow struct {
// contains filtered or unexported fields
}
func NewNullableConsentFlow ¶
func NewNullableConsentFlow(val *ConsentFlow) *NullableConsentFlow
func (NullableConsentFlow) Get ¶
func (v NullableConsentFlow) Get() *ConsentFlow
func (NullableConsentFlow) IsSet ¶
func (v NullableConsentFlow) IsSet() bool
func (NullableConsentFlow) MarshalJSON ¶
func (v NullableConsentFlow) MarshalJSON() ([]byte, error)
func (*NullableConsentFlow) Set ¶
func (v *NullableConsentFlow) Set(val *ConsentFlow)
func (*NullableConsentFlow) UnmarshalJSON ¶
func (v *NullableConsentFlow) UnmarshalJSON(src []byte) error
func (*NullableConsentFlow) Unset ¶
func (v *NullableConsentFlow) Unset()
type NullableCredentialsType ¶
type NullableCredentialsType struct {
// contains filtered or unexported fields
}
func NewNullableCredentialsType ¶
func NewNullableCredentialsType(val *CredentialsType) *NullableCredentialsType
func (NullableCredentialsType) Get ¶
func (v NullableCredentialsType) Get() *CredentialsType
func (NullableCredentialsType) IsSet ¶
func (v NullableCredentialsType) IsSet() bool
func (NullableCredentialsType) MarshalJSON ¶
func (v NullableCredentialsType) MarshalJSON() ([]byte, error)
func (*NullableCredentialsType) Set ¶
func (v *NullableCredentialsType) Set(val *CredentialsType)
func (*NullableCredentialsType) UnmarshalJSON ¶
func (v *NullableCredentialsType) UnmarshalJSON(src []byte) error
func (*NullableCredentialsType) Unset ¶
func (v *NullableCredentialsType) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableFlowType ¶
type NullableFlowType struct {
// contains filtered or unexported fields
}
func NewNullableFlowType ¶
func NewNullableFlowType(val *FlowType) *NullableFlowType
func (NullableFlowType) Get ¶
func (v NullableFlowType) Get() *FlowType
func (NullableFlowType) IsSet ¶
func (v NullableFlowType) IsSet() bool
func (NullableFlowType) MarshalJSON ¶
func (v NullableFlowType) MarshalJSON() ([]byte, error)
func (*NullableFlowType) Set ¶
func (v *NullableFlowType) Set(val *FlowType)
func (*NullableFlowType) UnmarshalJSON ¶
func (v *NullableFlowType) UnmarshalJSON(src []byte) error
func (*NullableFlowType) Unset ¶
func (v *NullableFlowType) Unset()
type NullableIdentity ¶
type NullableIdentity struct {
// contains filtered or unexported fields
}
func NewNullableIdentity ¶
func NewNullableIdentity(val *Identity) *NullableIdentity
func (NullableIdentity) Get ¶
func (v NullableIdentity) Get() *Identity
func (NullableIdentity) IsSet ¶
func (v NullableIdentity) IsSet() bool
func (NullableIdentity) MarshalJSON ¶
func (v NullableIdentity) MarshalJSON() ([]byte, error)
func (*NullableIdentity) Set ¶
func (v *NullableIdentity) Set(val *Identity)
func (*NullableIdentity) UnmarshalJSON ¶
func (v *NullableIdentity) UnmarshalJSON(src []byte) error
func (*NullableIdentity) Unset ¶
func (v *NullableIdentity) Unset()
type NullableIdentityCredential ¶
type NullableIdentityCredential struct {
// contains filtered or unexported fields
}
func NewNullableIdentityCredential ¶
func NewNullableIdentityCredential(val *IdentityCredential) *NullableIdentityCredential
func (NullableIdentityCredential) Get ¶
func (v NullableIdentityCredential) Get() *IdentityCredential
func (NullableIdentityCredential) IsSet ¶
func (v NullableIdentityCredential) IsSet() bool
func (NullableIdentityCredential) MarshalJSON ¶
func (v NullableIdentityCredential) MarshalJSON() ([]byte, error)
func (*NullableIdentityCredential) Set ¶
func (v *NullableIdentityCredential) Set(val *IdentityCredential)
func (*NullableIdentityCredential) UnmarshalJSON ¶
func (v *NullableIdentityCredential) UnmarshalJSON(src []byte) error
func (*NullableIdentityCredential) Unset ¶
func (v *NullableIdentityCredential) Unset()
type NullableIdentityCredentialIdentifier ¶
type NullableIdentityCredentialIdentifier struct {
// contains filtered or unexported fields
}
func NewNullableIdentityCredentialIdentifier ¶
func NewNullableIdentityCredentialIdentifier(val *IdentityCredentialIdentifier) *NullableIdentityCredentialIdentifier
func (NullableIdentityCredentialIdentifier) Get ¶
func (v NullableIdentityCredentialIdentifier) Get() *IdentityCredentialIdentifier
func (NullableIdentityCredentialIdentifier) IsSet ¶
func (v NullableIdentityCredentialIdentifier) IsSet() bool
func (NullableIdentityCredentialIdentifier) MarshalJSON ¶
func (v NullableIdentityCredentialIdentifier) MarshalJSON() ([]byte, error)
func (*NullableIdentityCredentialIdentifier) Set ¶
func (v *NullableIdentityCredentialIdentifier) Set(val *IdentityCredentialIdentifier)
func (*NullableIdentityCredentialIdentifier) UnmarshalJSON ¶
func (v *NullableIdentityCredentialIdentifier) UnmarshalJSON(src []byte) error
func (*NullableIdentityCredentialIdentifier) Unset ¶
func (v *NullableIdentityCredentialIdentifier) Unset()
type NullableIdentityCredentialIdentifierOidcProperties ¶
type NullableIdentityCredentialIdentifierOidcProperties struct {
// contains filtered or unexported fields
}
func NewNullableIdentityCredentialIdentifierOidcProperties ¶
func NewNullableIdentityCredentialIdentifierOidcProperties(val *IdentityCredentialIdentifierOidcProperties) *NullableIdentityCredentialIdentifierOidcProperties
func (NullableIdentityCredentialIdentifierOidcProperties) IsSet ¶
func (v NullableIdentityCredentialIdentifierOidcProperties) IsSet() bool
func (NullableIdentityCredentialIdentifierOidcProperties) MarshalJSON ¶
func (v NullableIdentityCredentialIdentifierOidcProperties) MarshalJSON() ([]byte, error)
func (*NullableIdentityCredentialIdentifierOidcProperties) UnmarshalJSON ¶
func (v *NullableIdentityCredentialIdentifierOidcProperties) UnmarshalJSON(src []byte) error
func (*NullableIdentityCredentialIdentifierOidcProperties) Unset ¶
func (v *NullableIdentityCredentialIdentifierOidcProperties) Unset()
type NullableIdentityCredentialIdentifierPasswordProperties ¶
type NullableIdentityCredentialIdentifierPasswordProperties struct {
// contains filtered or unexported fields
}
func NewNullableIdentityCredentialIdentifierPasswordProperties ¶
func NewNullableIdentityCredentialIdentifierPasswordProperties(val *IdentityCredentialIdentifierPasswordProperties) *NullableIdentityCredentialIdentifierPasswordProperties
func (NullableIdentityCredentialIdentifierPasswordProperties) IsSet ¶
func (v NullableIdentityCredentialIdentifierPasswordProperties) IsSet() bool
func (NullableIdentityCredentialIdentifierPasswordProperties) MarshalJSON ¶
func (v NullableIdentityCredentialIdentifierPasswordProperties) MarshalJSON() ([]byte, error)
func (*NullableIdentityCredentialIdentifierPasswordProperties) UnmarshalJSON ¶
func (v *NullableIdentityCredentialIdentifierPasswordProperties) UnmarshalJSON(src []byte) error
func (*NullableIdentityCredentialIdentifierPasswordProperties) Unset ¶
func (v *NullableIdentityCredentialIdentifierPasswordProperties) Unset()
type NullableIdentityState ¶
type NullableIdentityState struct {
// contains filtered or unexported fields
}
func NewNullableIdentityState ¶
func NewNullableIdentityState(val *IdentityState) *NullableIdentityState
func (NullableIdentityState) Get ¶
func (v NullableIdentityState) Get() *IdentityState
func (NullableIdentityState) IsSet ¶
func (v NullableIdentityState) IsSet() bool
func (NullableIdentityState) MarshalJSON ¶
func (v NullableIdentityState) MarshalJSON() ([]byte, error)
func (*NullableIdentityState) Set ¶
func (v *NullableIdentityState) Set(val *IdentityState)
func (*NullableIdentityState) UnmarshalJSON ¶
func (v *NullableIdentityState) UnmarshalJSON(src []byte) error
func (*NullableIdentityState) Unset ¶
func (v *NullableIdentityState) Unset()
type NullableIdentityTraits ¶
type NullableIdentityTraits struct {
// contains filtered or unexported fields
}
func NewNullableIdentityTraits ¶
func NewNullableIdentityTraits(val *IdentityTraits) *NullableIdentityTraits
func (NullableIdentityTraits) Get ¶
func (v NullableIdentityTraits) Get() *IdentityTraits
func (NullableIdentityTraits) IsSet ¶
func (v NullableIdentityTraits) IsSet() bool
func (NullableIdentityTraits) MarshalJSON ¶
func (v NullableIdentityTraits) MarshalJSON() ([]byte, error)
func (*NullableIdentityTraits) Set ¶
func (v *NullableIdentityTraits) Set(val *IdentityTraits)
func (*NullableIdentityTraits) UnmarshalJSON ¶
func (v *NullableIdentityTraits) UnmarshalJSON(src []byte) error
func (*NullableIdentityTraits) Unset ¶
func (v *NullableIdentityTraits) Unset()
type NullableInitBrowserLogoutFlowResponse ¶
type NullableInitBrowserLogoutFlowResponse struct {
// contains filtered or unexported fields
}
func NewNullableInitBrowserLogoutFlowResponse ¶
func NewNullableInitBrowserLogoutFlowResponse(val *InitBrowserLogoutFlowResponse) *NullableInitBrowserLogoutFlowResponse
func (NullableInitBrowserLogoutFlowResponse) Get ¶
func (v NullableInitBrowserLogoutFlowResponse) Get() *InitBrowserLogoutFlowResponse
func (NullableInitBrowserLogoutFlowResponse) IsSet ¶
func (v NullableInitBrowserLogoutFlowResponse) IsSet() bool
func (NullableInitBrowserLogoutFlowResponse) MarshalJSON ¶
func (v NullableInitBrowserLogoutFlowResponse) MarshalJSON() ([]byte, error)
func (*NullableInitBrowserLogoutFlowResponse) Set ¶
func (v *NullableInitBrowserLogoutFlowResponse) Set(val *InitBrowserLogoutFlowResponse)
func (*NullableInitBrowserLogoutFlowResponse) UnmarshalJSON ¶
func (v *NullableInitBrowserLogoutFlowResponse) UnmarshalJSON(src []byte) error
func (*NullableInitBrowserLogoutFlowResponse) Unset ¶
func (v *NullableInitBrowserLogoutFlowResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJsonErrorResponse ¶
type NullableJsonErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableJsonErrorResponse ¶
func NewNullableJsonErrorResponse(val *JsonErrorResponse) *NullableJsonErrorResponse
func (NullableJsonErrorResponse) Get ¶
func (v NullableJsonErrorResponse) Get() *JsonErrorResponse
func (NullableJsonErrorResponse) IsSet ¶
func (v NullableJsonErrorResponse) IsSet() bool
func (NullableJsonErrorResponse) MarshalJSON ¶
func (v NullableJsonErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableJsonErrorResponse) Set ¶
func (v *NullableJsonErrorResponse) Set(val *JsonErrorResponse)
func (*NullableJsonErrorResponse) UnmarshalJSON ¶
func (v *NullableJsonErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableJsonErrorResponse) Unset ¶
func (v *NullableJsonErrorResponse) Unset()
type NullableLoginFlow ¶
type NullableLoginFlow struct {
// contains filtered or unexported fields
}
func NewNullableLoginFlow ¶
func NewNullableLoginFlow(val *LoginFlow) *NullableLoginFlow
func (NullableLoginFlow) Get ¶
func (v NullableLoginFlow) Get() *LoginFlow
func (NullableLoginFlow) IsSet ¶
func (v NullableLoginFlow) IsSet() bool
func (NullableLoginFlow) MarshalJSON ¶
func (v NullableLoginFlow) MarshalJSON() ([]byte, error)
func (*NullableLoginFlow) Set ¶
func (v *NullableLoginFlow) Set(val *LoginFlow)
func (*NullableLoginFlow) UnmarshalJSON ¶
func (v *NullableLoginFlow) UnmarshalJSON(src []byte) error
func (*NullableLoginFlow) Unset ¶
func (v *NullableLoginFlow) Unset()
type NullableOAuth2Client ¶
type NullableOAuth2Client struct {
// contains filtered or unexported fields
}
func NewNullableOAuth2Client ¶
func NewNullableOAuth2Client(val *OAuth2Client) *NullableOAuth2Client
func (NullableOAuth2Client) Get ¶
func (v NullableOAuth2Client) Get() *OAuth2Client
func (NullableOAuth2Client) IsSet ¶
func (v NullableOAuth2Client) IsSet() bool
func (NullableOAuth2Client) MarshalJSON ¶
func (v NullableOAuth2Client) MarshalJSON() ([]byte, error)
func (*NullableOAuth2Client) Set ¶
func (v *NullableOAuth2Client) Set(val *OAuth2Client)
func (*NullableOAuth2Client) UnmarshalJSON ¶
func (v *NullableOAuth2Client) UnmarshalJSON(src []byte) error
func (*NullableOAuth2Client) Unset ¶
func (v *NullableOAuth2Client) Unset()
type NullableOAuth2ConsentRequest ¶
type NullableOAuth2ConsentRequest struct {
// contains filtered or unexported fields
}
func NewNullableOAuth2ConsentRequest ¶
func NewNullableOAuth2ConsentRequest(val *OAuth2ConsentRequest) *NullableOAuth2ConsentRequest
func (NullableOAuth2ConsentRequest) Get ¶
func (v NullableOAuth2ConsentRequest) Get() *OAuth2ConsentRequest
func (NullableOAuth2ConsentRequest) IsSet ¶
func (v NullableOAuth2ConsentRequest) IsSet() bool
func (NullableOAuth2ConsentRequest) MarshalJSON ¶
func (v NullableOAuth2ConsentRequest) MarshalJSON() ([]byte, error)
func (*NullableOAuth2ConsentRequest) Set ¶
func (v *NullableOAuth2ConsentRequest) Set(val *OAuth2ConsentRequest)
func (*NullableOAuth2ConsentRequest) UnmarshalJSON ¶
func (v *NullableOAuth2ConsentRequest) UnmarshalJSON(src []byte) error
func (*NullableOAuth2ConsentRequest) Unset ¶
func (v *NullableOAuth2ConsentRequest) Unset()
type NullableOAuth2ConsentRequestOpenIDConnectContext ¶
type NullableOAuth2ConsentRequestOpenIDConnectContext struct {
// contains filtered or unexported fields
}
func NewNullableOAuth2ConsentRequestOpenIDConnectContext ¶
func NewNullableOAuth2ConsentRequestOpenIDConnectContext(val *OAuth2ConsentRequestOpenIDConnectContext) *NullableOAuth2ConsentRequestOpenIDConnectContext
func (NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet ¶
func (v NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet() bool
func (NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON ¶
func (v NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON() ([]byte, error)
func (*NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON ¶
func (v *NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON(src []byte) error
func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Unset ¶
func (v *NullableOAuth2ConsentRequestOpenIDConnectContext) Unset()
type NullableOAuth2LoginRequest ¶
type NullableOAuth2LoginRequest struct {
// contains filtered or unexported fields
}
func NewNullableOAuth2LoginRequest ¶
func NewNullableOAuth2LoginRequest(val *OAuth2LoginRequest) *NullableOAuth2LoginRequest
func (NullableOAuth2LoginRequest) Get ¶
func (v NullableOAuth2LoginRequest) Get() *OAuth2LoginRequest
func (NullableOAuth2LoginRequest) IsSet ¶
func (v NullableOAuth2LoginRequest) IsSet() bool
func (NullableOAuth2LoginRequest) MarshalJSON ¶
func (v NullableOAuth2LoginRequest) MarshalJSON() ([]byte, error)
func (*NullableOAuth2LoginRequest) Set ¶
func (v *NullableOAuth2LoginRequest) Set(val *OAuth2LoginRequest)
func (*NullableOAuth2LoginRequest) UnmarshalJSON ¶
func (v *NullableOAuth2LoginRequest) UnmarshalJSON(src []byte) error
func (*NullableOAuth2LoginRequest) Unset ¶
func (v *NullableOAuth2LoginRequest) Unset()
type NullableRecoveryFlow ¶
type NullableRecoveryFlow struct {
// contains filtered or unexported fields
}
func NewNullableRecoveryFlow ¶
func NewNullableRecoveryFlow(val *RecoveryFlow) *NullableRecoveryFlow
func (NullableRecoveryFlow) Get ¶
func (v NullableRecoveryFlow) Get() *RecoveryFlow
func (NullableRecoveryFlow) IsSet ¶
func (v NullableRecoveryFlow) IsSet() bool
func (NullableRecoveryFlow) MarshalJSON ¶
func (v NullableRecoveryFlow) MarshalJSON() ([]byte, error)
func (*NullableRecoveryFlow) Set ¶
func (v *NullableRecoveryFlow) Set(val *RecoveryFlow)
func (*NullableRecoveryFlow) UnmarshalJSON ¶
func (v *NullableRecoveryFlow) UnmarshalJSON(src []byte) error
func (*NullableRecoveryFlow) Unset ¶
func (v *NullableRecoveryFlow) Unset()
type NullableRecoveryMethod ¶
type NullableRecoveryMethod struct {
// contains filtered or unexported fields
}
func NewNullableRecoveryMethod ¶
func NewNullableRecoveryMethod(val *RecoveryMethod) *NullableRecoveryMethod
func (NullableRecoveryMethod) Get ¶
func (v NullableRecoveryMethod) Get() *RecoveryMethod
func (NullableRecoveryMethod) IsSet ¶
func (v NullableRecoveryMethod) IsSet() bool
func (NullableRecoveryMethod) MarshalJSON ¶
func (v NullableRecoveryMethod) MarshalJSON() ([]byte, error)
func (*NullableRecoveryMethod) Set ¶
func (v *NullableRecoveryMethod) Set(val *RecoveryMethod)
func (*NullableRecoveryMethod) UnmarshalJSON ¶
func (v *NullableRecoveryMethod) UnmarshalJSON(src []byte) error
func (*NullableRecoveryMethod) Unset ¶
func (v *NullableRecoveryMethod) Unset()
type NullableRecoveryState ¶
type NullableRecoveryState struct {
// contains filtered or unexported fields
}
func NewNullableRecoveryState ¶
func NewNullableRecoveryState(val *RecoveryState) *NullableRecoveryState
func (NullableRecoveryState) Get ¶
func (v NullableRecoveryState) Get() *RecoveryState
func (NullableRecoveryState) IsSet ¶
func (v NullableRecoveryState) IsSet() bool
func (NullableRecoveryState) MarshalJSON ¶
func (v NullableRecoveryState) MarshalJSON() ([]byte, error)
func (*NullableRecoveryState) Set ¶
func (v *NullableRecoveryState) Set(val *RecoveryState)
func (*NullableRecoveryState) UnmarshalJSON ¶
func (v *NullableRecoveryState) UnmarshalJSON(src []byte) error
func (*NullableRecoveryState) Unset ¶
func (v *NullableRecoveryState) Unset()
type NullableRecoveryTraits ¶
type NullableRecoveryTraits struct {
// contains filtered or unexported fields
}
func NewNullableRecoveryTraits ¶
func NewNullableRecoveryTraits(val *RecoveryTraits) *NullableRecoveryTraits
func (NullableRecoveryTraits) Get ¶
func (v NullableRecoveryTraits) Get() *RecoveryTraits
func (NullableRecoveryTraits) IsSet ¶
func (v NullableRecoveryTraits) IsSet() bool
func (NullableRecoveryTraits) MarshalJSON ¶
func (v NullableRecoveryTraits) MarshalJSON() ([]byte, error)
func (*NullableRecoveryTraits) Set ¶
func (v *NullableRecoveryTraits) Set(val *RecoveryTraits)
func (*NullableRecoveryTraits) UnmarshalJSON ¶
func (v *NullableRecoveryTraits) UnmarshalJSON(src []byte) error
func (*NullableRecoveryTraits) Unset ¶
func (v *NullableRecoveryTraits) Unset()
type NullableRegistrationFlow ¶
type NullableRegistrationFlow struct {
// contains filtered or unexported fields
}
func NewNullableRegistrationFlow ¶
func NewNullableRegistrationFlow(val *RegistrationFlow) *NullableRegistrationFlow
func (NullableRegistrationFlow) Get ¶
func (v NullableRegistrationFlow) Get() *RegistrationFlow
func (NullableRegistrationFlow) IsSet ¶
func (v NullableRegistrationFlow) IsSet() bool
func (NullableRegistrationFlow) MarshalJSON ¶
func (v NullableRegistrationFlow) MarshalJSON() ([]byte, error)
func (*NullableRegistrationFlow) Set ¶
func (v *NullableRegistrationFlow) Set(val *RegistrationFlow)
func (*NullableRegistrationFlow) UnmarshalJSON ¶
func (v *NullableRegistrationFlow) UnmarshalJSON(src []byte) error
func (*NullableRegistrationFlow) Unset ¶
func (v *NullableRegistrationFlow) Unset()
type NullableRegistrationTraits ¶
type NullableRegistrationTraits struct {
// contains filtered or unexported fields
}
func NewNullableRegistrationTraits ¶
func NewNullableRegistrationTraits(val *RegistrationTraits) *NullableRegistrationTraits
func (NullableRegistrationTraits) Get ¶
func (v NullableRegistrationTraits) Get() *RegistrationTraits
func (NullableRegistrationTraits) IsSet ¶
func (v NullableRegistrationTraits) IsSet() bool
func (NullableRegistrationTraits) MarshalJSON ¶
func (v NullableRegistrationTraits) MarshalJSON() ([]byte, error)
func (*NullableRegistrationTraits) Set ¶
func (v *NullableRegistrationTraits) Set(val *RegistrationTraits)
func (*NullableRegistrationTraits) UnmarshalJSON ¶
func (v *NullableRegistrationTraits) UnmarshalJSON(src []byte) error
func (*NullableRegistrationTraits) Unset ¶
func (v *NullableRegistrationTraits) Unset()
type NullableSession ¶
type NullableSession struct {
// contains filtered or unexported fields
}
func NewNullableSession ¶
func NewNullableSession(val *Session) *NullableSession
func (NullableSession) Get ¶
func (v NullableSession) Get() *Session
func (NullableSession) IsSet ¶
func (v NullableSession) IsSet() bool
func (NullableSession) MarshalJSON ¶
func (v NullableSession) MarshalJSON() ([]byte, error)
func (*NullableSession) Set ¶
func (v *NullableSession) Set(val *Session)
func (*NullableSession) UnmarshalJSON ¶
func (v *NullableSession) UnmarshalJSON(src []byte) error
func (*NullableSession) Unset ¶
func (v *NullableSession) Unset()
type NullableSessionAuthenticationMethod ¶
type NullableSessionAuthenticationMethod struct {
// contains filtered or unexported fields
}
func NewNullableSessionAuthenticationMethod ¶
func NewNullableSessionAuthenticationMethod(val *SessionAuthenticationMethod) *NullableSessionAuthenticationMethod
func (NullableSessionAuthenticationMethod) Get ¶
func (v NullableSessionAuthenticationMethod) Get() *SessionAuthenticationMethod
func (NullableSessionAuthenticationMethod) IsSet ¶
func (v NullableSessionAuthenticationMethod) IsSet() bool
func (NullableSessionAuthenticationMethod) MarshalJSON ¶
func (v NullableSessionAuthenticationMethod) MarshalJSON() ([]byte, error)
func (*NullableSessionAuthenticationMethod) Set ¶
func (v *NullableSessionAuthenticationMethod) Set(val *SessionAuthenticationMethod)
func (*NullableSessionAuthenticationMethod) UnmarshalJSON ¶
func (v *NullableSessionAuthenticationMethod) UnmarshalJSON(src []byte) error
func (*NullableSessionAuthenticationMethod) Unset ¶
func (v *NullableSessionAuthenticationMethod) Unset()
type NullableSettingsFlow ¶
type NullableSettingsFlow struct {
// contains filtered or unexported fields
}
func NewNullableSettingsFlow ¶
func NewNullableSettingsFlow(val *SettingsFlow) *NullableSettingsFlow
func (NullableSettingsFlow) Get ¶
func (v NullableSettingsFlow) Get() *SettingsFlow
func (NullableSettingsFlow) IsSet ¶
func (v NullableSettingsFlow) IsSet() bool
func (NullableSettingsFlow) MarshalJSON ¶
func (v NullableSettingsFlow) MarshalJSON() ([]byte, error)
func (*NullableSettingsFlow) Set ¶
func (v *NullableSettingsFlow) Set(val *SettingsFlow)
func (*NullableSettingsFlow) UnmarshalJSON ¶
func (v *NullableSettingsFlow) UnmarshalJSON(src []byte) error
func (*NullableSettingsFlow) Unset ¶
func (v *NullableSettingsFlow) Unset()
type NullableSettingsMethod ¶
type NullableSettingsMethod struct {
// contains filtered or unexported fields
}
func NewNullableSettingsMethod ¶
func NewNullableSettingsMethod(val *SettingsMethod) *NullableSettingsMethod
func (NullableSettingsMethod) Get ¶
func (v NullableSettingsMethod) Get() *SettingsMethod
func (NullableSettingsMethod) IsSet ¶
func (v NullableSettingsMethod) IsSet() bool
func (NullableSettingsMethod) MarshalJSON ¶
func (v NullableSettingsMethod) MarshalJSON() ([]byte, error)
func (*NullableSettingsMethod) Set ¶
func (v *NullableSettingsMethod) Set(val *SettingsMethod)
func (*NullableSettingsMethod) UnmarshalJSON ¶
func (v *NullableSettingsMethod) UnmarshalJSON(src []byte) error
func (*NullableSettingsMethod) Unset ¶
func (v *NullableSettingsMethod) Unset()
type NullableSettingsState ¶
type NullableSettingsState struct {
// contains filtered or unexported fields
}
func NewNullableSettingsState ¶
func NewNullableSettingsState(val *SettingsState) *NullableSettingsState
func (NullableSettingsState) Get ¶
func (v NullableSettingsState) Get() *SettingsState
func (NullableSettingsState) IsSet ¶
func (v NullableSettingsState) IsSet() bool
func (NullableSettingsState) MarshalJSON ¶
func (v NullableSettingsState) MarshalJSON() ([]byte, error)
func (*NullableSettingsState) Set ¶
func (v *NullableSettingsState) Set(val *SettingsState)
func (*NullableSettingsState) UnmarshalJSON ¶
func (v *NullableSettingsState) UnmarshalJSON(src []byte) error
func (*NullableSettingsState) Unset ¶
func (v *NullableSettingsState) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSubmitConsentFlowBody ¶
type NullableSubmitConsentFlowBody struct {
// contains filtered or unexported fields
}
func NewNullableSubmitConsentFlowBody ¶
func NewNullableSubmitConsentFlowBody(val *SubmitConsentFlowBody) *NullableSubmitConsentFlowBody
func (NullableSubmitConsentFlowBody) Get ¶
func (v NullableSubmitConsentFlowBody) Get() *SubmitConsentFlowBody
func (NullableSubmitConsentFlowBody) IsSet ¶
func (v NullableSubmitConsentFlowBody) IsSet() bool
func (NullableSubmitConsentFlowBody) MarshalJSON ¶
func (v NullableSubmitConsentFlowBody) MarshalJSON() ([]byte, error)
func (*NullableSubmitConsentFlowBody) Set ¶
func (v *NullableSubmitConsentFlowBody) Set(val *SubmitConsentFlowBody)
func (*NullableSubmitConsentFlowBody) UnmarshalJSON ¶
func (v *NullableSubmitConsentFlowBody) UnmarshalJSON(src []byte) error
func (*NullableSubmitConsentFlowBody) Unset ¶
func (v *NullableSubmitConsentFlowBody) Unset()
type NullableSubmitConsentFlowBodyWithDefault ¶
type NullableSubmitConsentFlowBodyWithDefault struct {
// contains filtered or unexported fields
}
func NewNullableSubmitConsentFlowBodyWithDefault ¶
func NewNullableSubmitConsentFlowBodyWithDefault(val *SubmitConsentFlowBodyWithDefault) *NullableSubmitConsentFlowBodyWithDefault
func (NullableSubmitConsentFlowBodyWithDefault) IsSet ¶
func (v NullableSubmitConsentFlowBodyWithDefault) IsSet() bool
func (NullableSubmitConsentFlowBodyWithDefault) MarshalJSON ¶
func (v NullableSubmitConsentFlowBodyWithDefault) MarshalJSON() ([]byte, error)
func (*NullableSubmitConsentFlowBodyWithDefault) Set ¶
func (v *NullableSubmitConsentFlowBodyWithDefault) Set(val *SubmitConsentFlowBodyWithDefault)
func (*NullableSubmitConsentFlowBodyWithDefault) UnmarshalJSON ¶
func (v *NullableSubmitConsentFlowBodyWithDefault) UnmarshalJSON(src []byte) error
func (*NullableSubmitConsentFlowBodyWithDefault) Unset ¶
func (v *NullableSubmitConsentFlowBodyWithDefault) Unset()
type NullableSubmitLoginFlowBody ¶
type NullableSubmitLoginFlowBody struct {
// contains filtered or unexported fields
}
func NewNullableSubmitLoginFlowBody ¶
func NewNullableSubmitLoginFlowBody(val *SubmitLoginFlowBody) *NullableSubmitLoginFlowBody
func (NullableSubmitLoginFlowBody) Get ¶
func (v NullableSubmitLoginFlowBody) Get() *SubmitLoginFlowBody
func (NullableSubmitLoginFlowBody) IsSet ¶
func (v NullableSubmitLoginFlowBody) IsSet() bool
func (NullableSubmitLoginFlowBody) MarshalJSON ¶
func (v NullableSubmitLoginFlowBody) MarshalJSON() ([]byte, error)
func (*NullableSubmitLoginFlowBody) Set ¶
func (v *NullableSubmitLoginFlowBody) Set(val *SubmitLoginFlowBody)
func (*NullableSubmitLoginFlowBody) UnmarshalJSON ¶
func (v *NullableSubmitLoginFlowBody) UnmarshalJSON(src []byte) error
func (*NullableSubmitLoginFlowBody) Unset ¶
func (v *NullableSubmitLoginFlowBody) Unset()
type NullableSubmitLoginFlowBodyWithOidc ¶
type NullableSubmitLoginFlowBodyWithOidc struct {
// contains filtered or unexported fields
}
func NewNullableSubmitLoginFlowBodyWithOidc ¶
func NewNullableSubmitLoginFlowBodyWithOidc(val *SubmitLoginFlowBodyWithOidc) *NullableSubmitLoginFlowBodyWithOidc
func (NullableSubmitLoginFlowBodyWithOidc) Get ¶
func (v NullableSubmitLoginFlowBodyWithOidc) Get() *SubmitLoginFlowBodyWithOidc
func (NullableSubmitLoginFlowBodyWithOidc) IsSet ¶
func (v NullableSubmitLoginFlowBodyWithOidc) IsSet() bool
func (NullableSubmitLoginFlowBodyWithOidc) MarshalJSON ¶
func (v NullableSubmitLoginFlowBodyWithOidc) MarshalJSON() ([]byte, error)
func (*NullableSubmitLoginFlowBodyWithOidc) Set ¶
func (v *NullableSubmitLoginFlowBodyWithOidc) Set(val *SubmitLoginFlowBodyWithOidc)
func (*NullableSubmitLoginFlowBodyWithOidc) UnmarshalJSON ¶
func (v *NullableSubmitLoginFlowBodyWithOidc) UnmarshalJSON(src []byte) error
func (*NullableSubmitLoginFlowBodyWithOidc) Unset ¶
func (v *NullableSubmitLoginFlowBodyWithOidc) Unset()
type NullableSubmitLoginFlowBodyWithPassword ¶
type NullableSubmitLoginFlowBodyWithPassword struct {
// contains filtered or unexported fields
}
func NewNullableSubmitLoginFlowBodyWithPassword ¶
func NewNullableSubmitLoginFlowBodyWithPassword(val *SubmitLoginFlowBodyWithPassword) *NullableSubmitLoginFlowBodyWithPassword
func (NullableSubmitLoginFlowBodyWithPassword) IsSet ¶
func (v NullableSubmitLoginFlowBodyWithPassword) IsSet() bool
func (NullableSubmitLoginFlowBodyWithPassword) MarshalJSON ¶
func (v NullableSubmitLoginFlowBodyWithPassword) MarshalJSON() ([]byte, error)
func (*NullableSubmitLoginFlowBodyWithPassword) Set ¶
func (v *NullableSubmitLoginFlowBodyWithPassword) Set(val *SubmitLoginFlowBodyWithPassword)
func (*NullableSubmitLoginFlowBodyWithPassword) UnmarshalJSON ¶
func (v *NullableSubmitLoginFlowBodyWithPassword) UnmarshalJSON(src []byte) error
func (*NullableSubmitLoginFlowBodyWithPassword) Unset ¶
func (v *NullableSubmitLoginFlowBodyWithPassword) Unset()
type NullableSubmitLoginFlowBodyWithTotp ¶
type NullableSubmitLoginFlowBodyWithTotp struct {
// contains filtered or unexported fields
}
func NewNullableSubmitLoginFlowBodyWithTotp ¶
func NewNullableSubmitLoginFlowBodyWithTotp(val *SubmitLoginFlowBodyWithTotp) *NullableSubmitLoginFlowBodyWithTotp
func (NullableSubmitLoginFlowBodyWithTotp) Get ¶
func (v NullableSubmitLoginFlowBodyWithTotp) Get() *SubmitLoginFlowBodyWithTotp
func (NullableSubmitLoginFlowBodyWithTotp) IsSet ¶
func (v NullableSubmitLoginFlowBodyWithTotp) IsSet() bool
func (NullableSubmitLoginFlowBodyWithTotp) MarshalJSON ¶
func (v NullableSubmitLoginFlowBodyWithTotp) MarshalJSON() ([]byte, error)
func (*NullableSubmitLoginFlowBodyWithTotp) Set ¶
func (v *NullableSubmitLoginFlowBodyWithTotp) Set(val *SubmitLoginFlowBodyWithTotp)
func (*NullableSubmitLoginFlowBodyWithTotp) UnmarshalJSON ¶
func (v *NullableSubmitLoginFlowBodyWithTotp) UnmarshalJSON(src []byte) error
func (*NullableSubmitLoginFlowBodyWithTotp) Unset ¶
func (v *NullableSubmitLoginFlowBodyWithTotp) Unset()
type NullableSubmitLoginFlowResponse ¶
type NullableSubmitLoginFlowResponse struct {
// contains filtered or unexported fields
}
func NewNullableSubmitLoginFlowResponse ¶
func NewNullableSubmitLoginFlowResponse(val *SubmitLoginFlowResponse) *NullableSubmitLoginFlowResponse
func (NullableSubmitLoginFlowResponse) Get ¶
func (v NullableSubmitLoginFlowResponse) Get() *SubmitLoginFlowResponse
func (NullableSubmitLoginFlowResponse) IsSet ¶
func (v NullableSubmitLoginFlowResponse) IsSet() bool
func (NullableSubmitLoginFlowResponse) MarshalJSON ¶
func (v NullableSubmitLoginFlowResponse) MarshalJSON() ([]byte, error)
func (*NullableSubmitLoginFlowResponse) Set ¶
func (v *NullableSubmitLoginFlowResponse) Set(val *SubmitLoginFlowResponse)
func (*NullableSubmitLoginFlowResponse) UnmarshalJSON ¶
func (v *NullableSubmitLoginFlowResponse) UnmarshalJSON(src []byte) error
func (*NullableSubmitLoginFlowResponse) Unset ¶
func (v *NullableSubmitLoginFlowResponse) Unset()
type NullableSubmitRecoveryFlowBody ¶
type NullableSubmitRecoveryFlowBody struct {
// contains filtered or unexported fields
}
func NewNullableSubmitRecoveryFlowBody ¶
func NewNullableSubmitRecoveryFlowBody(val *SubmitRecoveryFlowBody) *NullableSubmitRecoveryFlowBody
func (NullableSubmitRecoveryFlowBody) Get ¶
func (v NullableSubmitRecoveryFlowBody) Get() *SubmitRecoveryFlowBody
func (NullableSubmitRecoveryFlowBody) IsSet ¶
func (v NullableSubmitRecoveryFlowBody) IsSet() bool
func (NullableSubmitRecoveryFlowBody) MarshalJSON ¶
func (v NullableSubmitRecoveryFlowBody) MarshalJSON() ([]byte, error)
func (*NullableSubmitRecoveryFlowBody) Set ¶
func (v *NullableSubmitRecoveryFlowBody) Set(val *SubmitRecoveryFlowBody)
func (*NullableSubmitRecoveryFlowBody) UnmarshalJSON ¶
func (v *NullableSubmitRecoveryFlowBody) UnmarshalJSON(src []byte) error
func (*NullableSubmitRecoveryFlowBody) Unset ¶
func (v *NullableSubmitRecoveryFlowBody) Unset()
type NullableSubmitRecoveryFlowBodyWithCaptcha ¶
type NullableSubmitRecoveryFlowBodyWithCaptcha struct {
// contains filtered or unexported fields
}
func NewNullableSubmitRecoveryFlowBodyWithCaptcha ¶
func NewNullableSubmitRecoveryFlowBodyWithCaptcha(val *SubmitRecoveryFlowBodyWithCaptcha) *NullableSubmitRecoveryFlowBodyWithCaptcha
func (NullableSubmitRecoveryFlowBodyWithCaptcha) IsSet ¶
func (v NullableSubmitRecoveryFlowBodyWithCaptcha) IsSet() bool
func (NullableSubmitRecoveryFlowBodyWithCaptcha) MarshalJSON ¶
func (v NullableSubmitRecoveryFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
func (*NullableSubmitRecoveryFlowBodyWithCaptcha) Set ¶
func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) Set(val *SubmitRecoveryFlowBodyWithCaptcha)
func (*NullableSubmitRecoveryFlowBodyWithCaptcha) UnmarshalJSON ¶
func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) UnmarshalJSON(src []byte) error
func (*NullableSubmitRecoveryFlowBodyWithCaptcha) Unset ¶
func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) Unset()
type NullableSubmitRegistrationFlowBody ¶
type NullableSubmitRegistrationFlowBody struct {
// contains filtered or unexported fields
}
func NewNullableSubmitRegistrationFlowBody ¶
func NewNullableSubmitRegistrationFlowBody(val *SubmitRegistrationFlowBody) *NullableSubmitRegistrationFlowBody
func (NullableSubmitRegistrationFlowBody) Get ¶
func (v NullableSubmitRegistrationFlowBody) Get() *SubmitRegistrationFlowBody
func (NullableSubmitRegistrationFlowBody) IsSet ¶
func (v NullableSubmitRegistrationFlowBody) IsSet() bool
func (NullableSubmitRegistrationFlowBody) MarshalJSON ¶
func (v NullableSubmitRegistrationFlowBody) MarshalJSON() ([]byte, error)
func (*NullableSubmitRegistrationFlowBody) Set ¶
func (v *NullableSubmitRegistrationFlowBody) Set(val *SubmitRegistrationFlowBody)
func (*NullableSubmitRegistrationFlowBody) UnmarshalJSON ¶
func (v *NullableSubmitRegistrationFlowBody) UnmarshalJSON(src []byte) error
func (*NullableSubmitRegistrationFlowBody) Unset ¶
func (v *NullableSubmitRegistrationFlowBody) Unset()
type NullableSubmitRegistrationFlowBodyWithOidc ¶
type NullableSubmitRegistrationFlowBodyWithOidc struct {
// contains filtered or unexported fields
}
func NewNullableSubmitRegistrationFlowBodyWithOidc ¶
func NewNullableSubmitRegistrationFlowBodyWithOidc(val *SubmitRegistrationFlowBodyWithOidc) *NullableSubmitRegistrationFlowBodyWithOidc
func (NullableSubmitRegistrationFlowBodyWithOidc) IsSet ¶
func (v NullableSubmitRegistrationFlowBodyWithOidc) IsSet() bool
func (NullableSubmitRegistrationFlowBodyWithOidc) MarshalJSON ¶
func (v NullableSubmitRegistrationFlowBodyWithOidc) MarshalJSON() ([]byte, error)
func (*NullableSubmitRegistrationFlowBodyWithOidc) Set ¶
func (v *NullableSubmitRegistrationFlowBodyWithOidc) Set(val *SubmitRegistrationFlowBodyWithOidc)
func (*NullableSubmitRegistrationFlowBodyWithOidc) UnmarshalJSON ¶
func (v *NullableSubmitRegistrationFlowBodyWithOidc) UnmarshalJSON(src []byte) error
func (*NullableSubmitRegistrationFlowBodyWithOidc) Unset ¶
func (v *NullableSubmitRegistrationFlowBodyWithOidc) Unset()
type NullableSubmitRegistrationFlowBodyWithPassword ¶
type NullableSubmitRegistrationFlowBodyWithPassword struct {
// contains filtered or unexported fields
}
func NewNullableSubmitRegistrationFlowBodyWithPassword ¶
func NewNullableSubmitRegistrationFlowBodyWithPassword(val *SubmitRegistrationFlowBodyWithPassword) *NullableSubmitRegistrationFlowBodyWithPassword
func (NullableSubmitRegistrationFlowBodyWithPassword) IsSet ¶
func (v NullableSubmitRegistrationFlowBodyWithPassword) IsSet() bool
func (NullableSubmitRegistrationFlowBodyWithPassword) MarshalJSON ¶
func (v NullableSubmitRegistrationFlowBodyWithPassword) MarshalJSON() ([]byte, error)
func (*NullableSubmitRegistrationFlowBodyWithPassword) Set ¶
func (v *NullableSubmitRegistrationFlowBodyWithPassword) Set(val *SubmitRegistrationFlowBodyWithPassword)
func (*NullableSubmitRegistrationFlowBodyWithPassword) UnmarshalJSON ¶
func (v *NullableSubmitRegistrationFlowBodyWithPassword) UnmarshalJSON(src []byte) error
func (*NullableSubmitRegistrationFlowBodyWithPassword) Unset ¶
func (v *NullableSubmitRegistrationFlowBodyWithPassword) Unset()
type NullableSubmitRegistrationFlowResponse ¶
type NullableSubmitRegistrationFlowResponse struct {
// contains filtered or unexported fields
}
func NewNullableSubmitRegistrationFlowResponse ¶
func NewNullableSubmitRegistrationFlowResponse(val *SubmitRegistrationFlowResponse) *NullableSubmitRegistrationFlowResponse
func (NullableSubmitRegistrationFlowResponse) Get ¶
func (v NullableSubmitRegistrationFlowResponse) Get() *SubmitRegistrationFlowResponse
func (NullableSubmitRegistrationFlowResponse) IsSet ¶
func (v NullableSubmitRegistrationFlowResponse) IsSet() bool
func (NullableSubmitRegistrationFlowResponse) MarshalJSON ¶
func (v NullableSubmitRegistrationFlowResponse) MarshalJSON() ([]byte, error)
func (*NullableSubmitRegistrationFlowResponse) Set ¶
func (v *NullableSubmitRegistrationFlowResponse) Set(val *SubmitRegistrationFlowResponse)
func (*NullableSubmitRegistrationFlowResponse) UnmarshalJSON ¶
func (v *NullableSubmitRegistrationFlowResponse) UnmarshalJSON(src []byte) error
func (*NullableSubmitRegistrationFlowResponse) Unset ¶
func (v *NullableSubmitRegistrationFlowResponse) Unset()
type NullableSubmitSettingsFlowBody ¶
type NullableSubmitSettingsFlowBody struct {
// contains filtered or unexported fields
}
func NewNullableSubmitSettingsFlowBody ¶
func NewNullableSubmitSettingsFlowBody(val *SubmitSettingsFlowBody) *NullableSubmitSettingsFlowBody
func (NullableSubmitSettingsFlowBody) Get ¶
func (v NullableSubmitSettingsFlowBody) Get() *SubmitSettingsFlowBody
func (NullableSubmitSettingsFlowBody) IsSet ¶
func (v NullableSubmitSettingsFlowBody) IsSet() bool
func (NullableSubmitSettingsFlowBody) MarshalJSON ¶
func (v NullableSubmitSettingsFlowBody) MarshalJSON() ([]byte, error)
func (*NullableSubmitSettingsFlowBody) Set ¶
func (v *NullableSubmitSettingsFlowBody) Set(val *SubmitSettingsFlowBody)
func (*NullableSubmitSettingsFlowBody) UnmarshalJSON ¶
func (v *NullableSubmitSettingsFlowBody) UnmarshalJSON(src []byte) error
func (*NullableSubmitSettingsFlowBody) Unset ¶
func (v *NullableSubmitSettingsFlowBody) Unset()
type NullableSubmitSettingsFlowBodyWithPassword ¶
type NullableSubmitSettingsFlowBodyWithPassword struct {
// contains filtered or unexported fields
}
func NewNullableSubmitSettingsFlowBodyWithPassword ¶
func NewNullableSubmitSettingsFlowBodyWithPassword(val *SubmitSettingsFlowBodyWithPassword) *NullableSubmitSettingsFlowBodyWithPassword
func (NullableSubmitSettingsFlowBodyWithPassword) IsSet ¶
func (v NullableSubmitSettingsFlowBodyWithPassword) IsSet() bool
func (NullableSubmitSettingsFlowBodyWithPassword) MarshalJSON ¶
func (v NullableSubmitSettingsFlowBodyWithPassword) MarshalJSON() ([]byte, error)
func (*NullableSubmitSettingsFlowBodyWithPassword) Set ¶
func (v *NullableSubmitSettingsFlowBodyWithPassword) Set(val *SubmitSettingsFlowBodyWithPassword)
func (*NullableSubmitSettingsFlowBodyWithPassword) UnmarshalJSON ¶
func (v *NullableSubmitSettingsFlowBodyWithPassword) UnmarshalJSON(src []byte) error
func (*NullableSubmitSettingsFlowBodyWithPassword) Unset ¶
func (v *NullableSubmitSettingsFlowBodyWithPassword) Unset()
type NullableSubmitSettingsFlowBodyWithProfile ¶
type NullableSubmitSettingsFlowBodyWithProfile struct {
// contains filtered or unexported fields
}
func NewNullableSubmitSettingsFlowBodyWithProfile ¶
func NewNullableSubmitSettingsFlowBodyWithProfile(val *SubmitSettingsFlowBodyWithProfile) *NullableSubmitSettingsFlowBodyWithProfile
func (NullableSubmitSettingsFlowBodyWithProfile) IsSet ¶
func (v NullableSubmitSettingsFlowBodyWithProfile) IsSet() bool
func (NullableSubmitSettingsFlowBodyWithProfile) MarshalJSON ¶
func (v NullableSubmitSettingsFlowBodyWithProfile) MarshalJSON() ([]byte, error)
func (*NullableSubmitSettingsFlowBodyWithProfile) Set ¶
func (v *NullableSubmitSettingsFlowBodyWithProfile) Set(val *SubmitSettingsFlowBodyWithProfile)
func (*NullableSubmitSettingsFlowBodyWithProfile) UnmarshalJSON ¶
func (v *NullableSubmitSettingsFlowBodyWithProfile) UnmarshalJSON(src []byte) error
func (*NullableSubmitSettingsFlowBodyWithProfile) Unset ¶
func (v *NullableSubmitSettingsFlowBodyWithProfile) Unset()
type NullableSubmitSettingsFlowBodyWithTotp ¶
type NullableSubmitSettingsFlowBodyWithTotp struct {
// contains filtered or unexported fields
}
func NewNullableSubmitSettingsFlowBodyWithTotp ¶
func NewNullableSubmitSettingsFlowBodyWithTotp(val *SubmitSettingsFlowBodyWithTotp) *NullableSubmitSettingsFlowBodyWithTotp
func (NullableSubmitSettingsFlowBodyWithTotp) Get ¶
func (v NullableSubmitSettingsFlowBodyWithTotp) Get() *SubmitSettingsFlowBodyWithTotp
func (NullableSubmitSettingsFlowBodyWithTotp) IsSet ¶
func (v NullableSubmitSettingsFlowBodyWithTotp) IsSet() bool
func (NullableSubmitSettingsFlowBodyWithTotp) MarshalJSON ¶
func (v NullableSubmitSettingsFlowBodyWithTotp) MarshalJSON() ([]byte, error)
func (*NullableSubmitSettingsFlowBodyWithTotp) Set ¶
func (v *NullableSubmitSettingsFlowBodyWithTotp) Set(val *SubmitSettingsFlowBodyWithTotp)
func (*NullableSubmitSettingsFlowBodyWithTotp) UnmarshalJSON ¶
func (v *NullableSubmitSettingsFlowBodyWithTotp) UnmarshalJSON(src []byte) error
func (*NullableSubmitSettingsFlowBodyWithTotp) Unset ¶
func (v *NullableSubmitSettingsFlowBodyWithTotp) Unset()
type NullableSubmitVerificationFlowBody ¶
type NullableSubmitVerificationFlowBody struct {
// contains filtered or unexported fields
}
func NewNullableSubmitVerificationFlowBody ¶
func NewNullableSubmitVerificationFlowBody(val *SubmitVerificationFlowBody) *NullableSubmitVerificationFlowBody
func (NullableSubmitVerificationFlowBody) Get ¶
func (v NullableSubmitVerificationFlowBody) Get() *SubmitVerificationFlowBody
func (NullableSubmitVerificationFlowBody) IsSet ¶
func (v NullableSubmitVerificationFlowBody) IsSet() bool
func (NullableSubmitVerificationFlowBody) MarshalJSON ¶
func (v NullableSubmitVerificationFlowBody) MarshalJSON() ([]byte, error)
func (*NullableSubmitVerificationFlowBody) Set ¶
func (v *NullableSubmitVerificationFlowBody) Set(val *SubmitVerificationFlowBody)
func (*NullableSubmitVerificationFlowBody) UnmarshalJSON ¶
func (v *NullableSubmitVerificationFlowBody) UnmarshalJSON(src []byte) error
func (*NullableSubmitVerificationFlowBody) Unset ¶
func (v *NullableSubmitVerificationFlowBody) Unset()
type NullableSubmitVerificationFlowBodyWithCaptcha ¶
type NullableSubmitVerificationFlowBodyWithCaptcha struct {
// contains filtered or unexported fields
}
func NewNullableSubmitVerificationFlowBodyWithCaptcha ¶
func NewNullableSubmitVerificationFlowBodyWithCaptcha(val *SubmitVerificationFlowBodyWithCaptcha) *NullableSubmitVerificationFlowBodyWithCaptcha
func (NullableSubmitVerificationFlowBodyWithCaptcha) IsSet ¶
func (v NullableSubmitVerificationFlowBodyWithCaptcha) IsSet() bool
func (NullableSubmitVerificationFlowBodyWithCaptcha) MarshalJSON ¶
func (v NullableSubmitVerificationFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
func (*NullableSubmitVerificationFlowBodyWithCaptcha) Set ¶
func (v *NullableSubmitVerificationFlowBodyWithCaptcha) Set(val *SubmitVerificationFlowBodyWithCaptcha)
func (*NullableSubmitVerificationFlowBodyWithCaptcha) UnmarshalJSON ¶
func (v *NullableSubmitVerificationFlowBodyWithCaptcha) UnmarshalJSON(src []byte) error
func (*NullableSubmitVerificationFlowBodyWithCaptcha) Unset ¶
func (v *NullableSubmitVerificationFlowBodyWithCaptcha) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUiContainer ¶
type NullableUiContainer struct {
// contains filtered or unexported fields
}
func NewNullableUiContainer ¶
func NewNullableUiContainer(val *UiContainer) *NullableUiContainer
func (NullableUiContainer) Get ¶
func (v NullableUiContainer) Get() *UiContainer
func (NullableUiContainer) IsSet ¶
func (v NullableUiContainer) IsSet() bool
func (NullableUiContainer) MarshalJSON ¶
func (v NullableUiContainer) MarshalJSON() ([]byte, error)
func (*NullableUiContainer) Set ¶
func (v *NullableUiContainer) Set(val *UiContainer)
func (*NullableUiContainer) UnmarshalJSON ¶
func (v *NullableUiContainer) UnmarshalJSON(src []byte) error
func (*NullableUiContainer) Unset ¶
func (v *NullableUiContainer) Unset()
type NullableUiNode ¶
type NullableUiNode struct {
// contains filtered or unexported fields
}
func NewNullableUiNode ¶
func NewNullableUiNode(val *UiNode) *NullableUiNode
func (NullableUiNode) Get ¶
func (v NullableUiNode) Get() *UiNode
func (NullableUiNode) IsSet ¶
func (v NullableUiNode) IsSet() bool
func (NullableUiNode) MarshalJSON ¶
func (v NullableUiNode) MarshalJSON() ([]byte, error)
func (*NullableUiNode) Set ¶
func (v *NullableUiNode) Set(val *UiNode)
func (*NullableUiNode) UnmarshalJSON ¶
func (v *NullableUiNode) UnmarshalJSON(src []byte) error
func (*NullableUiNode) Unset ¶
func (v *NullableUiNode) Unset()
type NullableUiNodeAnchorAttributes ¶
type NullableUiNodeAnchorAttributes struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeAnchorAttributes ¶
func NewNullableUiNodeAnchorAttributes(val *UiNodeAnchorAttributes) *NullableUiNodeAnchorAttributes
func (NullableUiNodeAnchorAttributes) Get ¶
func (v NullableUiNodeAnchorAttributes) Get() *UiNodeAnchorAttributes
func (NullableUiNodeAnchorAttributes) IsSet ¶
func (v NullableUiNodeAnchorAttributes) IsSet() bool
func (NullableUiNodeAnchorAttributes) MarshalJSON ¶
func (v NullableUiNodeAnchorAttributes) MarshalJSON() ([]byte, error)
func (*NullableUiNodeAnchorAttributes) Set ¶
func (v *NullableUiNodeAnchorAttributes) Set(val *UiNodeAnchorAttributes)
func (*NullableUiNodeAnchorAttributes) UnmarshalJSON ¶
func (v *NullableUiNodeAnchorAttributes) UnmarshalJSON(src []byte) error
func (*NullableUiNodeAnchorAttributes) Unset ¶
func (v *NullableUiNodeAnchorAttributes) Unset()
type NullableUiNodeAttributes ¶
type NullableUiNodeAttributes struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeAttributes ¶
func NewNullableUiNodeAttributes(val *UiNodeAttributes) *NullableUiNodeAttributes
func (NullableUiNodeAttributes) Get ¶
func (v NullableUiNodeAttributes) Get() *UiNodeAttributes
func (NullableUiNodeAttributes) IsSet ¶
func (v NullableUiNodeAttributes) IsSet() bool
func (NullableUiNodeAttributes) MarshalJSON ¶
func (v NullableUiNodeAttributes) MarshalJSON() ([]byte, error)
func (*NullableUiNodeAttributes) Set ¶
func (v *NullableUiNodeAttributes) Set(val *UiNodeAttributes)
func (*NullableUiNodeAttributes) UnmarshalJSON ¶
func (v *NullableUiNodeAttributes) UnmarshalJSON(src []byte) error
func (*NullableUiNodeAttributes) Unset ¶
func (v *NullableUiNodeAttributes) Unset()
type NullableUiNodeImageAttributes ¶
type NullableUiNodeImageAttributes struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeImageAttributes ¶
func NewNullableUiNodeImageAttributes(val *UiNodeImageAttributes) *NullableUiNodeImageAttributes
func (NullableUiNodeImageAttributes) Get ¶
func (v NullableUiNodeImageAttributes) Get() *UiNodeImageAttributes
func (NullableUiNodeImageAttributes) IsSet ¶
func (v NullableUiNodeImageAttributes) IsSet() bool
func (NullableUiNodeImageAttributes) MarshalJSON ¶
func (v NullableUiNodeImageAttributes) MarshalJSON() ([]byte, error)
func (*NullableUiNodeImageAttributes) Set ¶
func (v *NullableUiNodeImageAttributes) Set(val *UiNodeImageAttributes)
func (*NullableUiNodeImageAttributes) UnmarshalJSON ¶
func (v *NullableUiNodeImageAttributes) UnmarshalJSON(src []byte) error
func (*NullableUiNodeImageAttributes) Unset ¶
func (v *NullableUiNodeImageAttributes) Unset()
type NullableUiNodeInputAttributes ¶
type NullableUiNodeInputAttributes struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeInputAttributes ¶
func NewNullableUiNodeInputAttributes(val *UiNodeInputAttributes) *NullableUiNodeInputAttributes
func (NullableUiNodeInputAttributes) Get ¶
func (v NullableUiNodeInputAttributes) Get() *UiNodeInputAttributes
func (NullableUiNodeInputAttributes) IsSet ¶
func (v NullableUiNodeInputAttributes) IsSet() bool
func (NullableUiNodeInputAttributes) MarshalJSON ¶
func (v NullableUiNodeInputAttributes) MarshalJSON() ([]byte, error)
func (*NullableUiNodeInputAttributes) Set ¶
func (v *NullableUiNodeInputAttributes) Set(val *UiNodeInputAttributes)
func (*NullableUiNodeInputAttributes) UnmarshalJSON ¶
func (v *NullableUiNodeInputAttributes) UnmarshalJSON(src []byte) error
func (*NullableUiNodeInputAttributes) Unset ¶
func (v *NullableUiNodeInputAttributes) Unset()
type NullableUiNodeMeta ¶
type NullableUiNodeMeta struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeMeta ¶
func NewNullableUiNodeMeta(val *UiNodeMeta) *NullableUiNodeMeta
func (NullableUiNodeMeta) Get ¶
func (v NullableUiNodeMeta) Get() *UiNodeMeta
func (NullableUiNodeMeta) IsSet ¶
func (v NullableUiNodeMeta) IsSet() bool
func (NullableUiNodeMeta) MarshalJSON ¶
func (v NullableUiNodeMeta) MarshalJSON() ([]byte, error)
func (*NullableUiNodeMeta) Set ¶
func (v *NullableUiNodeMeta) Set(val *UiNodeMeta)
func (*NullableUiNodeMeta) UnmarshalJSON ¶
func (v *NullableUiNodeMeta) UnmarshalJSON(src []byte) error
func (*NullableUiNodeMeta) Unset ¶
func (v *NullableUiNodeMeta) Unset()
type NullableUiNodeScriptAttributes ¶
type NullableUiNodeScriptAttributes struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeScriptAttributes ¶
func NewNullableUiNodeScriptAttributes(val *UiNodeScriptAttributes) *NullableUiNodeScriptAttributes
func (NullableUiNodeScriptAttributes) Get ¶
func (v NullableUiNodeScriptAttributes) Get() *UiNodeScriptAttributes
func (NullableUiNodeScriptAttributes) IsSet ¶
func (v NullableUiNodeScriptAttributes) IsSet() bool
func (NullableUiNodeScriptAttributes) MarshalJSON ¶
func (v NullableUiNodeScriptAttributes) MarshalJSON() ([]byte, error)
func (*NullableUiNodeScriptAttributes) Set ¶
func (v *NullableUiNodeScriptAttributes) Set(val *UiNodeScriptAttributes)
func (*NullableUiNodeScriptAttributes) UnmarshalJSON ¶
func (v *NullableUiNodeScriptAttributes) UnmarshalJSON(src []byte) error
func (*NullableUiNodeScriptAttributes) Unset ¶
func (v *NullableUiNodeScriptAttributes) Unset()
type NullableUiNodeTextAttributes ¶
type NullableUiNodeTextAttributes struct {
// contains filtered or unexported fields
}
func NewNullableUiNodeTextAttributes ¶
func NewNullableUiNodeTextAttributes(val *UiNodeTextAttributes) *NullableUiNodeTextAttributes
func (NullableUiNodeTextAttributes) Get ¶
func (v NullableUiNodeTextAttributes) Get() *UiNodeTextAttributes
func (NullableUiNodeTextAttributes) IsSet ¶
func (v NullableUiNodeTextAttributes) IsSet() bool
func (NullableUiNodeTextAttributes) MarshalJSON ¶
func (v NullableUiNodeTextAttributes) MarshalJSON() ([]byte, error)
func (*NullableUiNodeTextAttributes) Set ¶
func (v *NullableUiNodeTextAttributes) Set(val *UiNodeTextAttributes)
func (*NullableUiNodeTextAttributes) UnmarshalJSON ¶
func (v *NullableUiNodeTextAttributes) UnmarshalJSON(src []byte) error
func (*NullableUiNodeTextAttributes) Unset ¶
func (v *NullableUiNodeTextAttributes) Unset()
type NullableUiText ¶
type NullableUiText struct {
// contains filtered or unexported fields
}
func NewNullableUiText ¶
func NewNullableUiText(val *UiText) *NullableUiText
func (NullableUiText) Get ¶
func (v NullableUiText) Get() *UiText
func (NullableUiText) IsSet ¶
func (v NullableUiText) IsSet() bool
func (NullableUiText) MarshalJSON ¶
func (v NullableUiText) MarshalJSON() ([]byte, error)
func (*NullableUiText) Set ¶
func (v *NullableUiText) Set(val *UiText)
func (*NullableUiText) UnmarshalJSON ¶
func (v *NullableUiText) UnmarshalJSON(src []byte) error
func (*NullableUiText) Unset ¶
func (v *NullableUiText) Unset()
type NullableVerifiableAddress ¶
type NullableVerifiableAddress struct {
// contains filtered or unexported fields
}
func NewNullableVerifiableAddress ¶
func NewNullableVerifiableAddress(val *VerifiableAddress) *NullableVerifiableAddress
func (NullableVerifiableAddress) Get ¶
func (v NullableVerifiableAddress) Get() *VerifiableAddress
func (NullableVerifiableAddress) IsSet ¶
func (v NullableVerifiableAddress) IsSet() bool
func (NullableVerifiableAddress) MarshalJSON ¶
func (v NullableVerifiableAddress) MarshalJSON() ([]byte, error)
func (*NullableVerifiableAddress) Set ¶
func (v *NullableVerifiableAddress) Set(val *VerifiableAddress)
func (*NullableVerifiableAddress) UnmarshalJSON ¶
func (v *NullableVerifiableAddress) UnmarshalJSON(src []byte) error
func (*NullableVerifiableAddress) Unset ¶
func (v *NullableVerifiableAddress) Unset()
type NullableVerificationFlow ¶
type NullableVerificationFlow struct {
// contains filtered or unexported fields
}
func NewNullableVerificationFlow ¶
func NewNullableVerificationFlow(val *VerificationFlow) *NullableVerificationFlow
func (NullableVerificationFlow) Get ¶
func (v NullableVerificationFlow) Get() *VerificationFlow
func (NullableVerificationFlow) IsSet ¶
func (v NullableVerificationFlow) IsSet() bool
func (NullableVerificationFlow) MarshalJSON ¶
func (v NullableVerificationFlow) MarshalJSON() ([]byte, error)
func (*NullableVerificationFlow) Set ¶
func (v *NullableVerificationFlow) Set(val *VerificationFlow)
func (*NullableVerificationFlow) UnmarshalJSON ¶
func (v *NullableVerificationFlow) UnmarshalJSON(src []byte) error
func (*NullableVerificationFlow) Unset ¶
func (v *NullableVerificationFlow) Unset()
type NullableVerificationMethod ¶
type NullableVerificationMethod struct {
// contains filtered or unexported fields
}
func NewNullableVerificationMethod ¶
func NewNullableVerificationMethod(val *VerificationMethod) *NullableVerificationMethod
func (NullableVerificationMethod) Get ¶
func (v NullableVerificationMethod) Get() *VerificationMethod
func (NullableVerificationMethod) IsSet ¶
func (v NullableVerificationMethod) IsSet() bool
func (NullableVerificationMethod) MarshalJSON ¶
func (v NullableVerificationMethod) MarshalJSON() ([]byte, error)
func (*NullableVerificationMethod) Set ¶
func (v *NullableVerificationMethod) Set(val *VerificationMethod)
func (*NullableVerificationMethod) UnmarshalJSON ¶
func (v *NullableVerificationMethod) UnmarshalJSON(src []byte) error
func (*NullableVerificationMethod) Unset ¶
func (v *NullableVerificationMethod) Unset()
type NullableVerificationState ¶
type NullableVerificationState struct {
// contains filtered or unexported fields
}
func NewNullableVerificationState ¶
func NewNullableVerificationState(val *VerificationState) *NullableVerificationState
func (NullableVerificationState) Get ¶
func (v NullableVerificationState) Get() *VerificationState
func (NullableVerificationState) IsSet ¶
func (v NullableVerificationState) IsSet() bool
func (NullableVerificationState) MarshalJSON ¶
func (v NullableVerificationState) MarshalJSON() ([]byte, error)
func (*NullableVerificationState) Set ¶
func (v *NullableVerificationState) Set(val *VerificationState)
func (*NullableVerificationState) UnmarshalJSON ¶
func (v *NullableVerificationState) UnmarshalJSON(src []byte) error
func (*NullableVerificationState) Unset ¶
func (v *NullableVerificationState) Unset()
type NullableVerificationTraits ¶
type NullableVerificationTraits struct {
// contains filtered or unexported fields
}
func NewNullableVerificationTraits ¶
func NewNullableVerificationTraits(val *VerificationTraits) *NullableVerificationTraits
func (NullableVerificationTraits) Get ¶
func (v NullableVerificationTraits) Get() *VerificationTraits
func (NullableVerificationTraits) IsSet ¶
func (v NullableVerificationTraits) IsSet() bool
func (NullableVerificationTraits) MarshalJSON ¶
func (v NullableVerificationTraits) MarshalJSON() ([]byte, error)
func (*NullableVerificationTraits) Set ¶
func (v *NullableVerificationTraits) Set(val *VerificationTraits)
func (*NullableVerificationTraits) UnmarshalJSON ¶
func (v *NullableVerificationTraits) UnmarshalJSON(src []byte) error
func (*NullableVerificationTraits) Unset ¶
func (v *NullableVerificationTraits) Unset()
type OAuth2Client ¶
type OAuth2Client struct { AllowedCorsOrigins []string `json:"allowed_cors_origins,omitempty"` Audience []string `json:"audience,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. AuthorizationCodeGrantAccessTokenLifespan *string `json:"authorization_code_grant_access_token_lifespan,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. AuthorizationCodeGrantIdTokenLifespan *string `json:"authorization_code_grant_id_token_lifespan,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. AuthorizationCodeGrantRefreshTokenLifespan *string `json:"authorization_code_grant_refresh_token_lifespan,omitempty"` // OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. BackchannelLogoutSessionRequired *bool `json:"backchannel_logout_session_required,omitempty"` // OpenID Connect Back-Channel Logout URI RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. BackchannelLogoutUri *string `json:"backchannel_logout_uri,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. ClientCredentialsGrantAccessTokenLifespan *string `json:"client_credentials_grant_access_token_lifespan,omitempty"` // OAuth 2.0 Client ID The ID is autogenerated and immutable. ClientId *string `json:"client_id,omitempty"` // OAuth 2.0 Client Name The human-readable name of the client to be presented to the end-user during authorization. ClientName *string `json:"client_name,omitempty"` // OAuth 2.0 Client Secret The secret will be included in the create request as cleartext, and then never again. The secret is kept in hashed format and is not recoverable once lost. ClientSecret *string `json:"client_secret,omitempty"` // OAuth 2.0 Client Secret Expires At The field is currently not supported and its value is always 0. ClientSecretExpiresAt *int64 `json:"client_secret_expires_at,omitempty"` // OAuth 2.0 Client URI ClientURI is a URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. ClientUri *string `json:"client_uri,omitempty"` Contacts []string `json:"contacts,omitempty"` // OAuth 2.0 Client Creation Date CreatedAt returns the timestamp of the client's creation. CreatedAt *time.Time `json:"created_at,omitempty"` // OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. FrontchannelLogoutSessionRequired *bool `json:"frontchannel_logout_session_required,omitempty"` // OpenID Connect Front-Channel Logout URI RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. FrontchannelLogoutUri *string `json:"frontchannel_logout_uri,omitempty"` GrantTypes []string `json:"grant_types,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. ImplicitGrantAccessTokenLifespan *string `json:"implicit_grant_access_token_lifespan,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. ImplicitGrantIdTokenLifespan *string `json:"implicit_grant_id_token_lifespan,omitempty"` // OAuth 2.0 Client JSON Web Key Set Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks parameters MUST NOT be used together. Jwks map[string]interface{} `json:"jwks,omitempty"` // OAuth 2.0 Client JSON Web Key Set URL URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. JwksUri *string `json:"jwks_uri,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. JwtBearerGrantAccessTokenLifespan *string `json:"jwt_bearer_grant_access_token_lifespan,omitempty"` // OAuth 2.0 Client Logo URI A URL string referencing the client's logo. LogoUri *string `json:"logo_uri,omitempty"` Metadata map[string]interface{} `json:"metadata,omitempty"` // OAuth 2.0 Client Owner Owner is a string identifying the owner of the OAuth 2.0 Client. Owner *string `json:"owner,omitempty"` // OAuth 2.0 Client Policy URI PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. PolicyUri *string `json:"policy_uri,omitempty"` PostLogoutRedirectUris []string `json:"post_logout_redirect_uris,omitempty"` RedirectUris []string `json:"redirect_uris,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. RefreshTokenGrantAccessTokenLifespan *string `json:"refresh_token_grant_access_token_lifespan,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. RefreshTokenGrantIdTokenLifespan *string `json:"refresh_token_grant_id_token_lifespan,omitempty"` // Specify a time duration in milliseconds, seconds, minutes, hours. RefreshTokenGrantRefreshTokenLifespan *string `json:"refresh_token_grant_refresh_token_lifespan,omitempty"` // OpenID Connect Dynamic Client Registration Access Token RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client using Dynamic Client Registration. RegistrationAccessToken *string `json:"registration_access_token,omitempty"` // OpenID Connect Dynamic Client Registration URL RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. RegistrationClientUri *string `json:"registration_client_uri,omitempty"` // OpenID Connect Request Object Signing Algorithm JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. RequestObjectSigningAlg *string `json:"request_object_signing_alg,omitempty"` RequestUris []string `json:"request_uris,omitempty"` ResponseTypes []string `json:"response_types,omitempty"` // OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. Scope *string `json:"scope,omitempty"` // OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. SectorIdentifierUri *string `json:"sector_identifier_uri,omitempty"` // OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. SubjectType *string `json:"subject_type,omitempty"` // OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_post`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `client_secret_basic`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets. TokenEndpointAuthMethod *string `json:"token_endpoint_auth_method,omitempty"` // OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint. TokenEndpointAuthSigningAlg *string `json:"token_endpoint_auth_signing_alg,omitempty"` // OAuth 2.0 Client Terms of Service URI A URL string pointing to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. TosUri *string `json:"tos_uri,omitempty"` // OAuth 2.0 Client Last Update Date UpdatedAt returns the timestamp of the last update. UpdatedAt *time.Time `json:"updated_at,omitempty"` // OpenID Connect Request Userinfo Signed Response Algorithm JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. UserinfoSignedResponseAlg *string `json:"userinfo_signed_response_alg,omitempty"` }
OAuth2Client struct for OAuth2Client
func NewOAuth2Client ¶
func NewOAuth2Client() *OAuth2Client
NewOAuth2Client instantiates a new OAuth2Client object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOAuth2ClientWithDefaults ¶
func NewOAuth2ClientWithDefaults() *OAuth2Client
NewOAuth2ClientWithDefaults instantiates a new OAuth2Client object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OAuth2Client) GetAllowedCorsOrigins ¶
func (o *OAuth2Client) GetAllowedCorsOrigins() []string
GetAllowedCorsOrigins returns the AllowedCorsOrigins field value if set, zero value otherwise.
func (*OAuth2Client) GetAllowedCorsOriginsOk ¶
func (o *OAuth2Client) GetAllowedCorsOriginsOk() ([]string, bool)
GetAllowedCorsOriginsOk returns a tuple with the AllowedCorsOrigins field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetAudience ¶
func (o *OAuth2Client) GetAudience() []string
GetAudience returns the Audience field value if set, zero value otherwise.
func (*OAuth2Client) GetAudienceOk ¶
func (o *OAuth2Client) GetAudienceOk() ([]string, bool)
GetAudienceOk returns a tuple with the Audience field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan ¶
func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan() string
GetAuthorizationCodeGrantAccessTokenLifespan returns the AuthorizationCodeGrantAccessTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk ¶
func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk() (*string, bool)
GetAuthorizationCodeGrantAccessTokenLifespanOk returns a tuple with the AuthorizationCodeGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan ¶
func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan() string
GetAuthorizationCodeGrantIdTokenLifespan returns the AuthorizationCodeGrantIdTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk ¶
func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk() (*string, bool)
GetAuthorizationCodeGrantIdTokenLifespanOk returns a tuple with the AuthorizationCodeGrantIdTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan ¶
func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan() string
GetAuthorizationCodeGrantRefreshTokenLifespan returns the AuthorizationCodeGrantRefreshTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk ¶
func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk() (*string, bool)
GetAuthorizationCodeGrantRefreshTokenLifespanOk returns a tuple with the AuthorizationCodeGrantRefreshTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetBackchannelLogoutSessionRequired ¶
func (o *OAuth2Client) GetBackchannelLogoutSessionRequired() bool
GetBackchannelLogoutSessionRequired returns the BackchannelLogoutSessionRequired field value if set, zero value otherwise.
func (*OAuth2Client) GetBackchannelLogoutSessionRequiredOk ¶
func (o *OAuth2Client) GetBackchannelLogoutSessionRequiredOk() (*bool, bool)
GetBackchannelLogoutSessionRequiredOk returns a tuple with the BackchannelLogoutSessionRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetBackchannelLogoutUri ¶
func (o *OAuth2Client) GetBackchannelLogoutUri() string
GetBackchannelLogoutUri returns the BackchannelLogoutUri field value if set, zero value otherwise.
func (*OAuth2Client) GetBackchannelLogoutUriOk ¶
func (o *OAuth2Client) GetBackchannelLogoutUriOk() (*string, bool)
GetBackchannelLogoutUriOk returns a tuple with the BackchannelLogoutUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan ¶
func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan() string
GetClientCredentialsGrantAccessTokenLifespan returns the ClientCredentialsGrantAccessTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk ¶
func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk() (*string, bool)
GetClientCredentialsGrantAccessTokenLifespanOk returns a tuple with the ClientCredentialsGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetClientId ¶
func (o *OAuth2Client) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*OAuth2Client) GetClientIdOk ¶
func (o *OAuth2Client) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetClientName ¶
func (o *OAuth2Client) GetClientName() string
GetClientName returns the ClientName field value if set, zero value otherwise.
func (*OAuth2Client) GetClientNameOk ¶
func (o *OAuth2Client) GetClientNameOk() (*string, bool)
GetClientNameOk returns a tuple with the ClientName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetClientSecret ¶
func (o *OAuth2Client) GetClientSecret() string
GetClientSecret returns the ClientSecret field value if set, zero value otherwise.
func (*OAuth2Client) GetClientSecretExpiresAt ¶
func (o *OAuth2Client) GetClientSecretExpiresAt() int64
GetClientSecretExpiresAt returns the ClientSecretExpiresAt field value if set, zero value otherwise.
func (*OAuth2Client) GetClientSecretExpiresAtOk ¶
func (o *OAuth2Client) GetClientSecretExpiresAtOk() (*int64, bool)
GetClientSecretExpiresAtOk returns a tuple with the ClientSecretExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetClientSecretOk ¶
func (o *OAuth2Client) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetClientUri ¶
func (o *OAuth2Client) GetClientUri() string
GetClientUri returns the ClientUri field value if set, zero value otherwise.
func (*OAuth2Client) GetClientUriOk ¶
func (o *OAuth2Client) GetClientUriOk() (*string, bool)
GetClientUriOk returns a tuple with the ClientUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetContacts ¶
func (o *OAuth2Client) GetContacts() []string
GetContacts returns the Contacts field value if set, zero value otherwise.
func (*OAuth2Client) GetContactsOk ¶
func (o *OAuth2Client) GetContactsOk() ([]string, bool)
GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetCreatedAt ¶
func (o *OAuth2Client) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*OAuth2Client) GetCreatedAtOk ¶
func (o *OAuth2Client) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetFrontchannelLogoutSessionRequired ¶
func (o *OAuth2Client) GetFrontchannelLogoutSessionRequired() bool
GetFrontchannelLogoutSessionRequired returns the FrontchannelLogoutSessionRequired field value if set, zero value otherwise.
func (*OAuth2Client) GetFrontchannelLogoutSessionRequiredOk ¶
func (o *OAuth2Client) GetFrontchannelLogoutSessionRequiredOk() (*bool, bool)
GetFrontchannelLogoutSessionRequiredOk returns a tuple with the FrontchannelLogoutSessionRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetFrontchannelLogoutUri ¶
func (o *OAuth2Client) GetFrontchannelLogoutUri() string
GetFrontchannelLogoutUri returns the FrontchannelLogoutUri field value if set, zero value otherwise.
func (*OAuth2Client) GetFrontchannelLogoutUriOk ¶
func (o *OAuth2Client) GetFrontchannelLogoutUriOk() (*string, bool)
GetFrontchannelLogoutUriOk returns a tuple with the FrontchannelLogoutUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetGrantTypes ¶
func (o *OAuth2Client) GetGrantTypes() []string
GetGrantTypes returns the GrantTypes field value if set, zero value otherwise.
func (*OAuth2Client) GetGrantTypesOk ¶
func (o *OAuth2Client) GetGrantTypesOk() ([]string, bool)
GetGrantTypesOk returns a tuple with the GrantTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetImplicitGrantAccessTokenLifespan ¶
func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespan() string
GetImplicitGrantAccessTokenLifespan returns the ImplicitGrantAccessTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetImplicitGrantAccessTokenLifespanOk ¶
func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespanOk() (*string, bool)
GetImplicitGrantAccessTokenLifespanOk returns a tuple with the ImplicitGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetImplicitGrantIdTokenLifespan ¶
func (o *OAuth2Client) GetImplicitGrantIdTokenLifespan() string
GetImplicitGrantIdTokenLifespan returns the ImplicitGrantIdTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetImplicitGrantIdTokenLifespanOk ¶
func (o *OAuth2Client) GetImplicitGrantIdTokenLifespanOk() (*string, bool)
GetImplicitGrantIdTokenLifespanOk returns a tuple with the ImplicitGrantIdTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetJwks ¶
func (o *OAuth2Client) GetJwks() map[string]interface{}
GetJwks returns the Jwks field value if set, zero value otherwise.
func (*OAuth2Client) GetJwksOk ¶
func (o *OAuth2Client) GetJwksOk() (map[string]interface{}, bool)
GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetJwksUri ¶
func (o *OAuth2Client) GetJwksUri() string
GetJwksUri returns the JwksUri field value if set, zero value otherwise.
func (*OAuth2Client) GetJwksUriOk ¶
func (o *OAuth2Client) GetJwksUriOk() (*string, bool)
GetJwksUriOk returns a tuple with the JwksUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespan ¶
func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespan() string
GetJwtBearerGrantAccessTokenLifespan returns the JwtBearerGrantAccessTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk ¶
func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk() (*string, bool)
GetJwtBearerGrantAccessTokenLifespanOk returns a tuple with the JwtBearerGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetLogoUri ¶
func (o *OAuth2Client) GetLogoUri() string
GetLogoUri returns the LogoUri field value if set, zero value otherwise.
func (*OAuth2Client) GetLogoUriOk ¶
func (o *OAuth2Client) GetLogoUriOk() (*string, bool)
GetLogoUriOk returns a tuple with the LogoUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetMetadata ¶
func (o *OAuth2Client) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*OAuth2Client) GetMetadataOk ¶
func (o *OAuth2Client) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetOwner ¶
func (o *OAuth2Client) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*OAuth2Client) GetOwnerOk ¶
func (o *OAuth2Client) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetPolicyUri ¶
func (o *OAuth2Client) GetPolicyUri() string
GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.
func (*OAuth2Client) GetPolicyUriOk ¶
func (o *OAuth2Client) GetPolicyUriOk() (*string, bool)
GetPolicyUriOk returns a tuple with the PolicyUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetPostLogoutRedirectUris ¶
func (o *OAuth2Client) GetPostLogoutRedirectUris() []string
GetPostLogoutRedirectUris returns the PostLogoutRedirectUris field value if set, zero value otherwise.
func (*OAuth2Client) GetPostLogoutRedirectUrisOk ¶
func (o *OAuth2Client) GetPostLogoutRedirectUrisOk() ([]string, bool)
GetPostLogoutRedirectUrisOk returns a tuple with the PostLogoutRedirectUris field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRedirectUris ¶
func (o *OAuth2Client) GetRedirectUris() []string
GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.
func (*OAuth2Client) GetRedirectUrisOk ¶
func (o *OAuth2Client) GetRedirectUrisOk() ([]string, bool)
GetRedirectUrisOk returns a tuple with the RedirectUris field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan ¶
func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan() string
GetRefreshTokenGrantAccessTokenLifespan returns the RefreshTokenGrantAccessTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk ¶
func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk() (*string, bool)
GetRefreshTokenGrantAccessTokenLifespanOk returns a tuple with the RefreshTokenGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespan ¶
func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespan() string
GetRefreshTokenGrantIdTokenLifespan returns the RefreshTokenGrantIdTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk ¶
func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk() (*string, bool)
GetRefreshTokenGrantIdTokenLifespanOk returns a tuple with the RefreshTokenGrantIdTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan ¶
func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan() string
GetRefreshTokenGrantRefreshTokenLifespan returns the RefreshTokenGrantRefreshTokenLifespan field value if set, zero value otherwise.
func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk ¶
func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk() (*string, bool)
GetRefreshTokenGrantRefreshTokenLifespanOk returns a tuple with the RefreshTokenGrantRefreshTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRegistrationAccessToken ¶
func (o *OAuth2Client) GetRegistrationAccessToken() string
GetRegistrationAccessToken returns the RegistrationAccessToken field value if set, zero value otherwise.
func (*OAuth2Client) GetRegistrationAccessTokenOk ¶
func (o *OAuth2Client) GetRegistrationAccessTokenOk() (*string, bool)
GetRegistrationAccessTokenOk returns a tuple with the RegistrationAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRegistrationClientUri ¶
func (o *OAuth2Client) GetRegistrationClientUri() string
GetRegistrationClientUri returns the RegistrationClientUri field value if set, zero value otherwise.
func (*OAuth2Client) GetRegistrationClientUriOk ¶
func (o *OAuth2Client) GetRegistrationClientUriOk() (*string, bool)
GetRegistrationClientUriOk returns a tuple with the RegistrationClientUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRequestObjectSigningAlg ¶
func (o *OAuth2Client) GetRequestObjectSigningAlg() string
GetRequestObjectSigningAlg returns the RequestObjectSigningAlg field value if set, zero value otherwise.
func (*OAuth2Client) GetRequestObjectSigningAlgOk ¶
func (o *OAuth2Client) GetRequestObjectSigningAlgOk() (*string, bool)
GetRequestObjectSigningAlgOk returns a tuple with the RequestObjectSigningAlg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetRequestUris ¶
func (o *OAuth2Client) GetRequestUris() []string
GetRequestUris returns the RequestUris field value if set, zero value otherwise.
func (*OAuth2Client) GetRequestUrisOk ¶
func (o *OAuth2Client) GetRequestUrisOk() ([]string, bool)
GetRequestUrisOk returns a tuple with the RequestUris field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetResponseTypes ¶
func (o *OAuth2Client) GetResponseTypes() []string
GetResponseTypes returns the ResponseTypes field value if set, zero value otherwise.
func (*OAuth2Client) GetResponseTypesOk ¶
func (o *OAuth2Client) GetResponseTypesOk() ([]string, bool)
GetResponseTypesOk returns a tuple with the ResponseTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetScope ¶
func (o *OAuth2Client) GetScope() string
GetScope returns the Scope field value if set, zero value otherwise.
func (*OAuth2Client) GetScopeOk ¶
func (o *OAuth2Client) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetSectorIdentifierUri ¶
func (o *OAuth2Client) GetSectorIdentifierUri() string
GetSectorIdentifierUri returns the SectorIdentifierUri field value if set, zero value otherwise.
func (*OAuth2Client) GetSectorIdentifierUriOk ¶
func (o *OAuth2Client) GetSectorIdentifierUriOk() (*string, bool)
GetSectorIdentifierUriOk returns a tuple with the SectorIdentifierUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetSubjectType ¶
func (o *OAuth2Client) GetSubjectType() string
GetSubjectType returns the SubjectType field value if set, zero value otherwise.
func (*OAuth2Client) GetSubjectTypeOk ¶
func (o *OAuth2Client) GetSubjectTypeOk() (*string, bool)
GetSubjectTypeOk returns a tuple with the SubjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetTokenEndpointAuthMethod ¶
func (o *OAuth2Client) GetTokenEndpointAuthMethod() string
GetTokenEndpointAuthMethod returns the TokenEndpointAuthMethod field value if set, zero value otherwise.
func (*OAuth2Client) GetTokenEndpointAuthMethodOk ¶
func (o *OAuth2Client) GetTokenEndpointAuthMethodOk() (*string, bool)
GetTokenEndpointAuthMethodOk returns a tuple with the TokenEndpointAuthMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetTokenEndpointAuthSigningAlg ¶
func (o *OAuth2Client) GetTokenEndpointAuthSigningAlg() string
GetTokenEndpointAuthSigningAlg returns the TokenEndpointAuthSigningAlg field value if set, zero value otherwise.
func (*OAuth2Client) GetTokenEndpointAuthSigningAlgOk ¶
func (o *OAuth2Client) GetTokenEndpointAuthSigningAlgOk() (*string, bool)
GetTokenEndpointAuthSigningAlgOk returns a tuple with the TokenEndpointAuthSigningAlg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetTosUri ¶
func (o *OAuth2Client) GetTosUri() string
GetTosUri returns the TosUri field value if set, zero value otherwise.
func (*OAuth2Client) GetTosUriOk ¶
func (o *OAuth2Client) GetTosUriOk() (*string, bool)
GetTosUriOk returns a tuple with the TosUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetUpdatedAt ¶
func (o *OAuth2Client) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*OAuth2Client) GetUpdatedAtOk ¶
func (o *OAuth2Client) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) GetUserinfoSignedResponseAlg ¶
func (o *OAuth2Client) GetUserinfoSignedResponseAlg() string
GetUserinfoSignedResponseAlg returns the UserinfoSignedResponseAlg field value if set, zero value otherwise.
func (*OAuth2Client) GetUserinfoSignedResponseAlgOk ¶
func (o *OAuth2Client) GetUserinfoSignedResponseAlgOk() (*string, bool)
GetUserinfoSignedResponseAlgOk returns a tuple with the UserinfoSignedResponseAlg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2Client) HasAllowedCorsOrigins ¶
func (o *OAuth2Client) HasAllowedCorsOrigins() bool
HasAllowedCorsOrigins returns a boolean if a field has been set.
func (*OAuth2Client) HasAudience ¶
func (o *OAuth2Client) HasAudience() bool
HasAudience returns a boolean if a field has been set.
func (*OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan ¶
func (o *OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan() bool
HasAuthorizationCodeGrantAccessTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan ¶
func (o *OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan() bool
HasAuthorizationCodeGrantIdTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan ¶
func (o *OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan() bool
HasAuthorizationCodeGrantRefreshTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasBackchannelLogoutSessionRequired ¶
func (o *OAuth2Client) HasBackchannelLogoutSessionRequired() bool
HasBackchannelLogoutSessionRequired returns a boolean if a field has been set.
func (*OAuth2Client) HasBackchannelLogoutUri ¶
func (o *OAuth2Client) HasBackchannelLogoutUri() bool
HasBackchannelLogoutUri returns a boolean if a field has been set.
func (*OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan ¶
func (o *OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan() bool
HasClientCredentialsGrantAccessTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasClientId ¶
func (o *OAuth2Client) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*OAuth2Client) HasClientName ¶
func (o *OAuth2Client) HasClientName() bool
HasClientName returns a boolean if a field has been set.
func (*OAuth2Client) HasClientSecret ¶
func (o *OAuth2Client) HasClientSecret() bool
HasClientSecret returns a boolean if a field has been set.
func (*OAuth2Client) HasClientSecretExpiresAt ¶
func (o *OAuth2Client) HasClientSecretExpiresAt() bool
HasClientSecretExpiresAt returns a boolean if a field has been set.
func (*OAuth2Client) HasClientUri ¶
func (o *OAuth2Client) HasClientUri() bool
HasClientUri returns a boolean if a field has been set.
func (*OAuth2Client) HasContacts ¶
func (o *OAuth2Client) HasContacts() bool
HasContacts returns a boolean if a field has been set.
func (*OAuth2Client) HasCreatedAt ¶
func (o *OAuth2Client) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*OAuth2Client) HasFrontchannelLogoutSessionRequired ¶
func (o *OAuth2Client) HasFrontchannelLogoutSessionRequired() bool
HasFrontchannelLogoutSessionRequired returns a boolean if a field has been set.
func (*OAuth2Client) HasFrontchannelLogoutUri ¶
func (o *OAuth2Client) HasFrontchannelLogoutUri() bool
HasFrontchannelLogoutUri returns a boolean if a field has been set.
func (*OAuth2Client) HasGrantTypes ¶
func (o *OAuth2Client) HasGrantTypes() bool
HasGrantTypes returns a boolean if a field has been set.
func (*OAuth2Client) HasImplicitGrantAccessTokenLifespan ¶
func (o *OAuth2Client) HasImplicitGrantAccessTokenLifespan() bool
HasImplicitGrantAccessTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasImplicitGrantIdTokenLifespan ¶
func (o *OAuth2Client) HasImplicitGrantIdTokenLifespan() bool
HasImplicitGrantIdTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasJwks ¶
func (o *OAuth2Client) HasJwks() bool
HasJwks returns a boolean if a field has been set.
func (*OAuth2Client) HasJwksUri ¶
func (o *OAuth2Client) HasJwksUri() bool
HasJwksUri returns a boolean if a field has been set.
func (*OAuth2Client) HasJwtBearerGrantAccessTokenLifespan ¶
func (o *OAuth2Client) HasJwtBearerGrantAccessTokenLifespan() bool
HasJwtBearerGrantAccessTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasLogoUri ¶
func (o *OAuth2Client) HasLogoUri() bool
HasLogoUri returns a boolean if a field has been set.
func (*OAuth2Client) HasMetadata ¶
func (o *OAuth2Client) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*OAuth2Client) HasOwner ¶
func (o *OAuth2Client) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (*OAuth2Client) HasPolicyUri ¶
func (o *OAuth2Client) HasPolicyUri() bool
HasPolicyUri returns a boolean if a field has been set.
func (*OAuth2Client) HasPostLogoutRedirectUris ¶
func (o *OAuth2Client) HasPostLogoutRedirectUris() bool
HasPostLogoutRedirectUris returns a boolean if a field has been set.
func (*OAuth2Client) HasRedirectUris ¶
func (o *OAuth2Client) HasRedirectUris() bool
HasRedirectUris returns a boolean if a field has been set.
func (*OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan ¶
func (o *OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan() bool
HasRefreshTokenGrantAccessTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasRefreshTokenGrantIdTokenLifespan ¶
func (o *OAuth2Client) HasRefreshTokenGrantIdTokenLifespan() bool
HasRefreshTokenGrantIdTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan ¶
func (o *OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan() bool
HasRefreshTokenGrantRefreshTokenLifespan returns a boolean if a field has been set.
func (*OAuth2Client) HasRegistrationAccessToken ¶
func (o *OAuth2Client) HasRegistrationAccessToken() bool
HasRegistrationAccessToken returns a boolean if a field has been set.
func (*OAuth2Client) HasRegistrationClientUri ¶
func (o *OAuth2Client) HasRegistrationClientUri() bool
HasRegistrationClientUri returns a boolean if a field has been set.
func (*OAuth2Client) HasRequestObjectSigningAlg ¶
func (o *OAuth2Client) HasRequestObjectSigningAlg() bool
HasRequestObjectSigningAlg returns a boolean if a field has been set.
func (*OAuth2Client) HasRequestUris ¶
func (o *OAuth2Client) HasRequestUris() bool
HasRequestUris returns a boolean if a field has been set.
func (*OAuth2Client) HasResponseTypes ¶
func (o *OAuth2Client) HasResponseTypes() bool
HasResponseTypes returns a boolean if a field has been set.
func (*OAuth2Client) HasScope ¶
func (o *OAuth2Client) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*OAuth2Client) HasSectorIdentifierUri ¶
func (o *OAuth2Client) HasSectorIdentifierUri() bool
HasSectorIdentifierUri returns a boolean if a field has been set.
func (*OAuth2Client) HasSubjectType ¶
func (o *OAuth2Client) HasSubjectType() bool
HasSubjectType returns a boolean if a field has been set.
func (*OAuth2Client) HasTokenEndpointAuthMethod ¶
func (o *OAuth2Client) HasTokenEndpointAuthMethod() bool
HasTokenEndpointAuthMethod returns a boolean if a field has been set.
func (*OAuth2Client) HasTokenEndpointAuthSigningAlg ¶
func (o *OAuth2Client) HasTokenEndpointAuthSigningAlg() bool
HasTokenEndpointAuthSigningAlg returns a boolean if a field has been set.
func (*OAuth2Client) HasTosUri ¶
func (o *OAuth2Client) HasTosUri() bool
HasTosUri returns a boolean if a field has been set.
func (*OAuth2Client) HasUpdatedAt ¶
func (o *OAuth2Client) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*OAuth2Client) HasUserinfoSignedResponseAlg ¶
func (o *OAuth2Client) HasUserinfoSignedResponseAlg() bool
HasUserinfoSignedResponseAlg returns a boolean if a field has been set.
func (OAuth2Client) MarshalJSON ¶
func (o OAuth2Client) MarshalJSON() ([]byte, error)
func (*OAuth2Client) SetAllowedCorsOrigins ¶
func (o *OAuth2Client) SetAllowedCorsOrigins(v []string)
SetAllowedCorsOrigins gets a reference to the given []string and assigns it to the AllowedCorsOrigins field.
func (*OAuth2Client) SetAudience ¶
func (o *OAuth2Client) SetAudience(v []string)
SetAudience gets a reference to the given []string and assigns it to the Audience field.
func (*OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan ¶
func (o *OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan(v string)
SetAuthorizationCodeGrantAccessTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantAccessTokenLifespan field.
func (*OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan ¶
func (o *OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan(v string)
SetAuthorizationCodeGrantIdTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantIdTokenLifespan field.
func (*OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan ¶
func (o *OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan(v string)
SetAuthorizationCodeGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantRefreshTokenLifespan field.
func (*OAuth2Client) SetBackchannelLogoutSessionRequired ¶
func (o *OAuth2Client) SetBackchannelLogoutSessionRequired(v bool)
SetBackchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the BackchannelLogoutSessionRequired field.
func (*OAuth2Client) SetBackchannelLogoutUri ¶
func (o *OAuth2Client) SetBackchannelLogoutUri(v string)
SetBackchannelLogoutUri gets a reference to the given string and assigns it to the BackchannelLogoutUri field.
func (*OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan ¶
func (o *OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan(v string)
SetClientCredentialsGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ClientCredentialsGrantAccessTokenLifespan field.
func (*OAuth2Client) SetClientId ¶
func (o *OAuth2Client) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*OAuth2Client) SetClientName ¶
func (o *OAuth2Client) SetClientName(v string)
SetClientName gets a reference to the given string and assigns it to the ClientName field.
func (*OAuth2Client) SetClientSecret ¶
func (o *OAuth2Client) SetClientSecret(v string)
SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.
func (*OAuth2Client) SetClientSecretExpiresAt ¶
func (o *OAuth2Client) SetClientSecretExpiresAt(v int64)
SetClientSecretExpiresAt gets a reference to the given int64 and assigns it to the ClientSecretExpiresAt field.
func (*OAuth2Client) SetClientUri ¶
func (o *OAuth2Client) SetClientUri(v string)
SetClientUri gets a reference to the given string and assigns it to the ClientUri field.
func (*OAuth2Client) SetContacts ¶
func (o *OAuth2Client) SetContacts(v []string)
SetContacts gets a reference to the given []string and assigns it to the Contacts field.
func (*OAuth2Client) SetCreatedAt ¶
func (o *OAuth2Client) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*OAuth2Client) SetFrontchannelLogoutSessionRequired ¶
func (o *OAuth2Client) SetFrontchannelLogoutSessionRequired(v bool)
SetFrontchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the FrontchannelLogoutSessionRequired field.
func (*OAuth2Client) SetFrontchannelLogoutUri ¶
func (o *OAuth2Client) SetFrontchannelLogoutUri(v string)
SetFrontchannelLogoutUri gets a reference to the given string and assigns it to the FrontchannelLogoutUri field.
func (*OAuth2Client) SetGrantTypes ¶
func (o *OAuth2Client) SetGrantTypes(v []string)
SetGrantTypes gets a reference to the given []string and assigns it to the GrantTypes field.
func (*OAuth2Client) SetImplicitGrantAccessTokenLifespan ¶
func (o *OAuth2Client) SetImplicitGrantAccessTokenLifespan(v string)
SetImplicitGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantAccessTokenLifespan field.
func (*OAuth2Client) SetImplicitGrantIdTokenLifespan ¶
func (o *OAuth2Client) SetImplicitGrantIdTokenLifespan(v string)
SetImplicitGrantIdTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantIdTokenLifespan field.
func (*OAuth2Client) SetJwks ¶
func (o *OAuth2Client) SetJwks(v map[string]interface{})
SetJwks gets a reference to the given map[string]interface{} and assigns it to the Jwks field.
func (*OAuth2Client) SetJwksUri ¶
func (o *OAuth2Client) SetJwksUri(v string)
SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.
func (*OAuth2Client) SetJwtBearerGrantAccessTokenLifespan ¶
func (o *OAuth2Client) SetJwtBearerGrantAccessTokenLifespan(v string)
SetJwtBearerGrantAccessTokenLifespan gets a reference to the given string and assigns it to the JwtBearerGrantAccessTokenLifespan field.
func (*OAuth2Client) SetLogoUri ¶
func (o *OAuth2Client) SetLogoUri(v string)
SetLogoUri gets a reference to the given string and assigns it to the LogoUri field.
func (*OAuth2Client) SetMetadata ¶
func (o *OAuth2Client) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*OAuth2Client) SetOwner ¶
func (o *OAuth2Client) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*OAuth2Client) SetPolicyUri ¶
func (o *OAuth2Client) SetPolicyUri(v string)
SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.
func (*OAuth2Client) SetPostLogoutRedirectUris ¶
func (o *OAuth2Client) SetPostLogoutRedirectUris(v []string)
SetPostLogoutRedirectUris gets a reference to the given []string and assigns it to the PostLogoutRedirectUris field.
func (*OAuth2Client) SetRedirectUris ¶
func (o *OAuth2Client) SetRedirectUris(v []string)
SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.
func (*OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan ¶
func (o *OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan(v string)
SetRefreshTokenGrantAccessTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantAccessTokenLifespan field.
func (*OAuth2Client) SetRefreshTokenGrantIdTokenLifespan ¶
func (o *OAuth2Client) SetRefreshTokenGrantIdTokenLifespan(v string)
SetRefreshTokenGrantIdTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantIdTokenLifespan field.
func (*OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan ¶
func (o *OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan(v string)
SetRefreshTokenGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantRefreshTokenLifespan field.
func (*OAuth2Client) SetRegistrationAccessToken ¶
func (o *OAuth2Client) SetRegistrationAccessToken(v string)
SetRegistrationAccessToken gets a reference to the given string and assigns it to the RegistrationAccessToken field.
func (*OAuth2Client) SetRegistrationClientUri ¶
func (o *OAuth2Client) SetRegistrationClientUri(v string)
SetRegistrationClientUri gets a reference to the given string and assigns it to the RegistrationClientUri field.
func (*OAuth2Client) SetRequestObjectSigningAlg ¶
func (o *OAuth2Client) SetRequestObjectSigningAlg(v string)
SetRequestObjectSigningAlg gets a reference to the given string and assigns it to the RequestObjectSigningAlg field.
func (*OAuth2Client) SetRequestUris ¶
func (o *OAuth2Client) SetRequestUris(v []string)
SetRequestUris gets a reference to the given []string and assigns it to the RequestUris field.
func (*OAuth2Client) SetResponseTypes ¶
func (o *OAuth2Client) SetResponseTypes(v []string)
SetResponseTypes gets a reference to the given []string and assigns it to the ResponseTypes field.
func (*OAuth2Client) SetScope ¶
func (o *OAuth2Client) SetScope(v string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*OAuth2Client) SetSectorIdentifierUri ¶
func (o *OAuth2Client) SetSectorIdentifierUri(v string)
SetSectorIdentifierUri gets a reference to the given string and assigns it to the SectorIdentifierUri field.
func (*OAuth2Client) SetSubjectType ¶
func (o *OAuth2Client) SetSubjectType(v string)
SetSubjectType gets a reference to the given string and assigns it to the SubjectType field.
func (*OAuth2Client) SetTokenEndpointAuthMethod ¶
func (o *OAuth2Client) SetTokenEndpointAuthMethod(v string)
SetTokenEndpointAuthMethod gets a reference to the given string and assigns it to the TokenEndpointAuthMethod field.
func (*OAuth2Client) SetTokenEndpointAuthSigningAlg ¶
func (o *OAuth2Client) SetTokenEndpointAuthSigningAlg(v string)
SetTokenEndpointAuthSigningAlg gets a reference to the given string and assigns it to the TokenEndpointAuthSigningAlg field.
func (*OAuth2Client) SetTosUri ¶
func (o *OAuth2Client) SetTosUri(v string)
SetTosUri gets a reference to the given string and assigns it to the TosUri field.
func (*OAuth2Client) SetUpdatedAt ¶
func (o *OAuth2Client) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*OAuth2Client) SetUserinfoSignedResponseAlg ¶
func (o *OAuth2Client) SetUserinfoSignedResponseAlg(v string)
SetUserinfoSignedResponseAlg gets a reference to the given string and assigns it to the UserinfoSignedResponseAlg field.
type OAuth2ConsentRequest ¶
type OAuth2ConsentRequest struct { // ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. Acr *string `json:"acr,omitempty"` Amr []string `json:"amr,omitempty"` // ID is the identifier (\\\"authorization challenge\\\") of the consent authorization request. It is used to identify the session. Challenge *string `json:"challenge,omitempty"` Client *OAuth2Client `json:"client,omitempty"` Context map[string]interface{} `json:"context,omitempty"` // LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. LoginChallenge *string `json:"login_challenge,omitempty"` // LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \\\"sid\\\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. LoginSessionId *string `json:"login_session_id,omitempty"` OidcContext *OAuth2ConsentRequestOpenIDConnectContext `json:"oidc_context,omitempty"` // RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. RequestUrl *string `json:"request_url,omitempty"` RequestedAccessTokenAudience []string `json:"requested_access_token_audience,omitempty"` RequestedScope []string `json:"requested_scope,omitempty"` // Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call. Skip *bool `json:"skip,omitempty"` // Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. Subject *string `json:"subject,omitempty"` }
OAuth2ConsentRequest OAuth2ConsentRequest struct for OAuth2ConsentRequest
func NewOAuth2ConsentRequest ¶
func NewOAuth2ConsentRequest() *OAuth2ConsentRequest
NewOAuth2ConsentRequest instantiates a new OAuth2ConsentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOAuth2ConsentRequestWithDefaults ¶
func NewOAuth2ConsentRequestWithDefaults() *OAuth2ConsentRequest
NewOAuth2ConsentRequestWithDefaults instantiates a new OAuth2ConsentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OAuth2ConsentRequest) GetAcr ¶
func (o *OAuth2ConsentRequest) GetAcr() string
GetAcr returns the Acr field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetAcrOk ¶
func (o *OAuth2ConsentRequest) GetAcrOk() (*string, bool)
GetAcrOk returns a tuple with the Acr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetAmr ¶
func (o *OAuth2ConsentRequest) GetAmr() []string
GetAmr returns the Amr field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetAmrOk ¶
func (o *OAuth2ConsentRequest) GetAmrOk() ([]string, bool)
GetAmrOk returns a tuple with the Amr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetChallenge ¶
func (o *OAuth2ConsentRequest) GetChallenge() string
GetChallenge returns the Challenge field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetChallengeOk ¶
func (o *OAuth2ConsentRequest) GetChallengeOk() (*string, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetClient ¶
func (o *OAuth2ConsentRequest) GetClient() OAuth2Client
GetClient returns the Client field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetClientOk ¶
func (o *OAuth2ConsentRequest) GetClientOk() (*OAuth2Client, bool)
GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetContext ¶
func (o *OAuth2ConsentRequest) GetContext() map[string]interface{}
GetContext returns the Context field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetContextOk ¶
func (o *OAuth2ConsentRequest) GetContextOk() (map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetLoginChallenge ¶
func (o *OAuth2ConsentRequest) GetLoginChallenge() string
GetLoginChallenge returns the LoginChallenge field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetLoginChallengeOk ¶
func (o *OAuth2ConsentRequest) GetLoginChallengeOk() (*string, bool)
GetLoginChallengeOk returns a tuple with the LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetLoginSessionId ¶
func (o *OAuth2ConsentRequest) GetLoginSessionId() string
GetLoginSessionId returns the LoginSessionId field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetLoginSessionIdOk ¶
func (o *OAuth2ConsentRequest) GetLoginSessionIdOk() (*string, bool)
GetLoginSessionIdOk returns a tuple with the LoginSessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetOidcContext ¶
func (o *OAuth2ConsentRequest) GetOidcContext() OAuth2ConsentRequestOpenIDConnectContext
GetOidcContext returns the OidcContext field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetOidcContextOk ¶
func (o *OAuth2ConsentRequest) GetOidcContextOk() (*OAuth2ConsentRequestOpenIDConnectContext, bool)
GetOidcContextOk returns a tuple with the OidcContext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetRequestUrl ¶
func (o *OAuth2ConsentRequest) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetRequestUrlOk ¶
func (o *OAuth2ConsentRequest) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetRequestedAccessTokenAudience ¶
func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudience() []string
GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk ¶
func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)
GetRequestedAccessTokenAudienceOk returns a tuple with the RequestedAccessTokenAudience field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetRequestedScope ¶
func (o *OAuth2ConsentRequest) GetRequestedScope() []string
GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetRequestedScopeOk ¶
func (o *OAuth2ConsentRequest) GetRequestedScopeOk() ([]string, bool)
GetRequestedScopeOk returns a tuple with the RequestedScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetSkip ¶
func (o *OAuth2ConsentRequest) GetSkip() bool
GetSkip returns the Skip field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetSkipOk ¶
func (o *OAuth2ConsentRequest) GetSkipOk() (*bool, bool)
GetSkipOk returns a tuple with the Skip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) GetSubject ¶
func (o *OAuth2ConsentRequest) GetSubject() string
GetSubject returns the Subject field value if set, zero value otherwise.
func (*OAuth2ConsentRequest) GetSubjectOk ¶
func (o *OAuth2ConsentRequest) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequest) HasAcr ¶
func (o *OAuth2ConsentRequest) HasAcr() bool
HasAcr returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasAmr ¶
func (o *OAuth2ConsentRequest) HasAmr() bool
HasAmr returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasChallenge ¶
func (o *OAuth2ConsentRequest) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasClient ¶
func (o *OAuth2ConsentRequest) HasClient() bool
HasClient returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasContext ¶
func (o *OAuth2ConsentRequest) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasLoginChallenge ¶
func (o *OAuth2ConsentRequest) HasLoginChallenge() bool
HasLoginChallenge returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasLoginSessionId ¶
func (o *OAuth2ConsentRequest) HasLoginSessionId() bool
HasLoginSessionId returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasOidcContext ¶
func (o *OAuth2ConsentRequest) HasOidcContext() bool
HasOidcContext returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasRequestUrl ¶
func (o *OAuth2ConsentRequest) HasRequestUrl() bool
HasRequestUrl returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasRequestedAccessTokenAudience ¶
func (o *OAuth2ConsentRequest) HasRequestedAccessTokenAudience() bool
HasRequestedAccessTokenAudience returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasRequestedScope ¶
func (o *OAuth2ConsentRequest) HasRequestedScope() bool
HasRequestedScope returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasSkip ¶
func (o *OAuth2ConsentRequest) HasSkip() bool
HasSkip returns a boolean if a field has been set.
func (*OAuth2ConsentRequest) HasSubject ¶
func (o *OAuth2ConsentRequest) HasSubject() bool
HasSubject returns a boolean if a field has been set.
func (OAuth2ConsentRequest) MarshalJSON ¶
func (o OAuth2ConsentRequest) MarshalJSON() ([]byte, error)
func (*OAuth2ConsentRequest) SetAcr ¶
func (o *OAuth2ConsentRequest) SetAcr(v string)
SetAcr gets a reference to the given string and assigns it to the Acr field.
func (*OAuth2ConsentRequest) SetAmr ¶
func (o *OAuth2ConsentRequest) SetAmr(v []string)
SetAmr gets a reference to the given []string and assigns it to the Amr field.
func (*OAuth2ConsentRequest) SetChallenge ¶
func (o *OAuth2ConsentRequest) SetChallenge(v string)
SetChallenge gets a reference to the given string and assigns it to the Challenge field.
func (*OAuth2ConsentRequest) SetClient ¶
func (o *OAuth2ConsentRequest) SetClient(v OAuth2Client)
SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.
func (*OAuth2ConsentRequest) SetContext ¶
func (o *OAuth2ConsentRequest) SetContext(v map[string]interface{})
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
func (*OAuth2ConsentRequest) SetLoginChallenge ¶
func (o *OAuth2ConsentRequest) SetLoginChallenge(v string)
SetLoginChallenge gets a reference to the given string and assigns it to the LoginChallenge field.
func (*OAuth2ConsentRequest) SetLoginSessionId ¶
func (o *OAuth2ConsentRequest) SetLoginSessionId(v string)
SetLoginSessionId gets a reference to the given string and assigns it to the LoginSessionId field.
func (*OAuth2ConsentRequest) SetOidcContext ¶
func (o *OAuth2ConsentRequest) SetOidcContext(v OAuth2ConsentRequestOpenIDConnectContext)
SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.
func (*OAuth2ConsentRequest) SetRequestUrl ¶
func (o *OAuth2ConsentRequest) SetRequestUrl(v string)
SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.
func (*OAuth2ConsentRequest) SetRequestedAccessTokenAudience ¶
func (o *OAuth2ConsentRequest) SetRequestedAccessTokenAudience(v []string)
SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.
func (*OAuth2ConsentRequest) SetRequestedScope ¶
func (o *OAuth2ConsentRequest) SetRequestedScope(v []string)
SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.
func (*OAuth2ConsentRequest) SetSkip ¶
func (o *OAuth2ConsentRequest) SetSkip(v bool)
SetSkip gets a reference to the given bool and assigns it to the Skip field.
func (*OAuth2ConsentRequest) SetSubject ¶
func (o *OAuth2ConsentRequest) SetSubject(v string)
SetSubject gets a reference to the given string and assigns it to the Subject field.
type OAuth2ConsentRequestOpenIDConnectContext ¶
type OAuth2ConsentRequestOpenIDConnectContext struct { // ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. AcrValues []string `json:"acr_values,omitempty"` // Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \\\"feature phone\\\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. Display *string `json:"display,omitempty"` // IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. IdTokenHintClaims map[string]map[string]interface{} `json:"id_token_hint_claims,omitempty"` // LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. LoginHint *string `json:"login_hint,omitempty"` // UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \\\"fr-CA fr en\\\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. UiLocales []string `json:"ui_locales,omitempty"` }
OAuth2ConsentRequestOpenIDConnectContext OAuth2ConsentRequestOpenIDConnectContext struct for OAuth2ConsentRequestOpenIDConnectContext
func NewOAuth2ConsentRequestOpenIDConnectContext ¶
func NewOAuth2ConsentRequestOpenIDConnectContext() *OAuth2ConsentRequestOpenIDConnectContext
NewOAuth2ConsentRequestOpenIDConnectContext instantiates a new OAuth2ConsentRequestOpenIDConnectContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults ¶
func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults() *OAuth2ConsentRequestOpenIDConnectContext
NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults instantiates a new OAuth2ConsentRequestOpenIDConnectContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues() []string
GetAcrValues returns the AcrValues field value if set, zero value otherwise.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk() ([]string, bool)
GetAcrValuesOk returns a tuple with the AcrValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplay ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplay() string
GetDisplay returns the Display field value if set, zero value otherwise.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk() (*string, bool)
GetDisplayOk returns a tuple with the Display field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[string]map[string]interface{}
GetIdTokenHintClaims returns the IdTokenHintClaims field value if set, zero value otherwise.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk() (map[string]map[string]interface{}, bool)
GetIdTokenHintClaimsOk returns a tuple with the IdTokenHintClaims field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetLoginHint ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHint() string
GetLoginHint returns the LoginHint field value if set, zero value otherwise.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk() (*string, bool)
GetLoginHintOk returns a tuple with the LoginHint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales() []string
GetUiLocales returns the UiLocales field value if set, zero value otherwise.
func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk() ([]string, bool)
GetUiLocalesOk returns a tuple with the UiLocales field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) HasAcrValues ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasAcrValues() bool
HasAcrValues returns a boolean if a field has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) HasDisplay ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasDisplay() bool
HasDisplay returns a boolean if a field has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims() bool
HasIdTokenHintClaims returns a boolean if a field has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint() bool
HasLoginHint returns a boolean if a field has been set.
func (*OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales() bool
HasUiLocales returns a boolean if a field has been set.
func (OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON ¶
func (o OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON() ([]byte, error)
func (*OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues(v []string)
SetAcrValues gets a reference to the given []string and assigns it to the AcrValues field.
func (*OAuth2ConsentRequestOpenIDConnectContext) SetDisplay ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) SetDisplay(v string)
SetDisplay gets a reference to the given string and assigns it to the Display field.
func (*OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims(v map[string]map[string]interface{})
SetIdTokenHintClaims gets a reference to the given map[string]map[string]interface{} and assigns it to the IdTokenHintClaims field.
func (*OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint(v string)
SetLoginHint gets a reference to the given string and assigns it to the LoginHint field.
func (*OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales ¶
func (o *OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales(v []string)
SetUiLocales gets a reference to the given []string and assigns it to the UiLocales field.
type OAuth2LoginRequest ¶
type OAuth2LoginRequest struct { // ID is the identifier (\\\"login challenge\\\") of the login request. It is used to identify the session. Challenge *string `json:"challenge,omitempty"` Client *OAuth2Client `json:"client,omitempty"` OidcContext *OAuth2ConsentRequestOpenIDConnectContext `json:"oidc_context,omitempty"` // RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. RequestUrl *string `json:"request_url,omitempty"` RequestedAccessTokenAudience []string `json:"requested_access_token_audience,omitempty"` RequestedScope []string `json:"requested_scope,omitempty"` // SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \\\"sid\\\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. SessionId *string `json:"session_id,omitempty"` // Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information. Skip *bool `json:"skip,omitempty"` // Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail. Subject *string `json:"subject,omitempty"` }
OAuth2LoginRequest OAuth2LoginRequest struct for OAuth2LoginRequest
func NewOAuth2LoginRequest ¶
func NewOAuth2LoginRequest() *OAuth2LoginRequest
NewOAuth2LoginRequest instantiates a new OAuth2LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOAuth2LoginRequestWithDefaults ¶
func NewOAuth2LoginRequestWithDefaults() *OAuth2LoginRequest
NewOAuth2LoginRequestWithDefaults instantiates a new OAuth2LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OAuth2LoginRequest) GetChallenge ¶
func (o *OAuth2LoginRequest) GetChallenge() string
GetChallenge returns the Challenge field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetChallengeOk ¶
func (o *OAuth2LoginRequest) GetChallengeOk() (*string, bool)
GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetClient ¶
func (o *OAuth2LoginRequest) GetClient() OAuth2Client
GetClient returns the Client field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetClientOk ¶
func (o *OAuth2LoginRequest) GetClientOk() (*OAuth2Client, bool)
GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetOidcContext ¶
func (o *OAuth2LoginRequest) GetOidcContext() OAuth2ConsentRequestOpenIDConnectContext
GetOidcContext returns the OidcContext field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetOidcContextOk ¶
func (o *OAuth2LoginRequest) GetOidcContextOk() (*OAuth2ConsentRequestOpenIDConnectContext, bool)
GetOidcContextOk returns a tuple with the OidcContext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetRequestUrl ¶
func (o *OAuth2LoginRequest) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetRequestUrlOk ¶
func (o *OAuth2LoginRequest) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetRequestedAccessTokenAudience ¶
func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudience() []string
GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk ¶
func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)
GetRequestedAccessTokenAudienceOk returns a tuple with the RequestedAccessTokenAudience field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetRequestedScope ¶
func (o *OAuth2LoginRequest) GetRequestedScope() []string
GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetRequestedScopeOk ¶
func (o *OAuth2LoginRequest) GetRequestedScopeOk() ([]string, bool)
GetRequestedScopeOk returns a tuple with the RequestedScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetSessionId ¶
func (o *OAuth2LoginRequest) GetSessionId() string
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetSessionIdOk ¶
func (o *OAuth2LoginRequest) GetSessionIdOk() (*string, bool)
GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetSkip ¶
func (o *OAuth2LoginRequest) GetSkip() bool
GetSkip returns the Skip field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetSkipOk ¶
func (o *OAuth2LoginRequest) GetSkipOk() (*bool, bool)
GetSkipOk returns a tuple with the Skip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) GetSubject ¶
func (o *OAuth2LoginRequest) GetSubject() string
GetSubject returns the Subject field value if set, zero value otherwise.
func (*OAuth2LoginRequest) GetSubjectOk ¶
func (o *OAuth2LoginRequest) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OAuth2LoginRequest) HasChallenge ¶
func (o *OAuth2LoginRequest) HasChallenge() bool
HasChallenge returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasClient ¶
func (o *OAuth2LoginRequest) HasClient() bool
HasClient returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasOidcContext ¶
func (o *OAuth2LoginRequest) HasOidcContext() bool
HasOidcContext returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasRequestUrl ¶
func (o *OAuth2LoginRequest) HasRequestUrl() bool
HasRequestUrl returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasRequestedAccessTokenAudience ¶
func (o *OAuth2LoginRequest) HasRequestedAccessTokenAudience() bool
HasRequestedAccessTokenAudience returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasRequestedScope ¶
func (o *OAuth2LoginRequest) HasRequestedScope() bool
HasRequestedScope returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasSessionId ¶
func (o *OAuth2LoginRequest) HasSessionId() bool
HasSessionId returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasSkip ¶
func (o *OAuth2LoginRequest) HasSkip() bool
HasSkip returns a boolean if a field has been set.
func (*OAuth2LoginRequest) HasSubject ¶
func (o *OAuth2LoginRequest) HasSubject() bool
HasSubject returns a boolean if a field has been set.
func (OAuth2LoginRequest) MarshalJSON ¶
func (o OAuth2LoginRequest) MarshalJSON() ([]byte, error)
func (*OAuth2LoginRequest) SetChallenge ¶
func (o *OAuth2LoginRequest) SetChallenge(v string)
SetChallenge gets a reference to the given string and assigns it to the Challenge field.
func (*OAuth2LoginRequest) SetClient ¶
func (o *OAuth2LoginRequest) SetClient(v OAuth2Client)
SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.
func (*OAuth2LoginRequest) SetOidcContext ¶
func (o *OAuth2LoginRequest) SetOidcContext(v OAuth2ConsentRequestOpenIDConnectContext)
SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.
func (*OAuth2LoginRequest) SetRequestUrl ¶
func (o *OAuth2LoginRequest) SetRequestUrl(v string)
SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.
func (*OAuth2LoginRequest) SetRequestedAccessTokenAudience ¶
func (o *OAuth2LoginRequest) SetRequestedAccessTokenAudience(v []string)
SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.
func (*OAuth2LoginRequest) SetRequestedScope ¶
func (o *OAuth2LoginRequest) SetRequestedScope(v []string)
SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.
func (*OAuth2LoginRequest) SetSessionId ¶
func (o *OAuth2LoginRequest) SetSessionId(v string)
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
func (*OAuth2LoginRequest) SetSkip ¶
func (o *OAuth2LoginRequest) SetSkip(v bool)
SetSkip gets a reference to the given bool and assigns it to the Skip field.
func (*OAuth2LoginRequest) SetSubject ¶
func (o *OAuth2LoginRequest) SetSubject(v string)
SetSubject gets a reference to the given string and assigns it to the Subject field.
type RecoveryApi ¶
type RecoveryApi interface { /* * GetRecoveryFlowRequest # Get Recovery Flow * This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: “`js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getRecoveryFlowRequest(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) “` More information can be found at. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RecoveryApiApiGetRecoveryFlowRequestRequest */ GetRecoveryFlowRequest(ctx context.Context) RecoveryApiApiGetRecoveryFlowRequestRequest /* * GetRecoveryFlowRequestExecute executes the request * @return RecoveryFlow */ GetRecoveryFlowRequestExecute(r RecoveryApiApiGetRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error) /* * InitBrowserRecoveryFlowRequest # Initialize Recovery Flow for Browsers * This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RecoveryApiApiInitBrowserRecoveryFlowRequestRequest */ InitBrowserRecoveryFlowRequest(ctx context.Context) RecoveryApiApiInitBrowserRecoveryFlowRequestRequest /* * InitBrowserRecoveryFlowRequestExecute executes the request * @return RecoveryFlow */ InitBrowserRecoveryFlowRequestExecute(r RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error) /* * SubmitRecoveryFlowRequest # Complete Recovery Flow * Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RecoveryApiApiSubmitRecoveryFlowRequestRequest */ SubmitRecoveryFlowRequest(ctx context.Context) RecoveryApiApiSubmitRecoveryFlowRequestRequest /* * SubmitRecoveryFlowRequestExecute executes the request * @return RecoveryFlow */ SubmitRecoveryFlowRequestExecute(r RecoveryApiApiSubmitRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error) }
type RecoveryApiApiGetRecoveryFlowRequestRequest ¶
type RecoveryApiApiGetRecoveryFlowRequestRequest struct { ApiService RecoveryApi // contains filtered or unexported fields }
func (RecoveryApiApiGetRecoveryFlowRequestRequest) Cookie ¶
func (r RecoveryApiApiGetRecoveryFlowRequestRequest) Cookie(cookie string) RecoveryApiApiGetRecoveryFlowRequestRequest
func (RecoveryApiApiGetRecoveryFlowRequestRequest) Execute ¶
func (r RecoveryApiApiGetRecoveryFlowRequestRequest) Execute() (*RecoveryFlow, *http.Response, error)
type RecoveryApiApiInitBrowserRecoveryFlowRequestRequest ¶
type RecoveryApiApiInitBrowserRecoveryFlowRequestRequest struct { ApiService RecoveryApi // contains filtered or unexported fields }
func (RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) Execute ¶
func (r RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) Execute() (*RecoveryFlow, *http.Response, error)
func (RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) ReturnTo ¶
func (r RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) ReturnTo(returnTo string) RecoveryApiApiInitBrowserRecoveryFlowRequestRequest
type RecoveryApiApiSubmitRecoveryFlowRequestRequest ¶
type RecoveryApiApiSubmitRecoveryFlowRequestRequest struct { ApiService RecoveryApi // contains filtered or unexported fields }
func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) Cookie ¶
func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) Cookie(cookie string) RecoveryApiApiSubmitRecoveryFlowRequestRequest
func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) Execute ¶
func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) Execute() (*RecoveryFlow, *http.Response, error)
func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) SubmitRecoveryFlowBody ¶
func (r RecoveryApiApiSubmitRecoveryFlowRequestRequest) SubmitRecoveryFlowBody(submitRecoveryFlowBody SubmitRecoveryFlowBody) RecoveryApiApiSubmitRecoveryFlowRequestRequest
type RecoveryApiService ¶
type RecoveryApiService service
RecoveryApiService RecoveryApi service
func (*RecoveryApiService) GetRecoveryFlowRequest ¶
func (a *RecoveryApiService) GetRecoveryFlowRequest(ctx context.Context) RecoveryApiApiGetRecoveryFlowRequestRequest
- GetRecoveryFlowRequest # Get Recovery Flow
- This endpoint returns a recovery flow's context with, for example, error details and other information.
Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.
If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:
```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getRecoveryFlowRequest(req.header('Cookie'), req.query['flow'])
res.render('recovery', flow) }) ```
More information can be found at.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RecoveryApiApiGetRecoveryFlowRequestRequest
func (*RecoveryApiService) GetRecoveryFlowRequestExecute ¶
func (a *RecoveryApiService) GetRecoveryFlowRequestExecute(r RecoveryApiApiGetRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
* Execute executes the request * @return RecoveryFlow
func (*RecoveryApiService) InitBrowserRecoveryFlowRequest ¶
func (a *RecoveryApiService) InitBrowserRecoveryFlowRequest(ctx context.Context) RecoveryApiApiInitBrowserRecoveryFlowRequestRequest
- InitBrowserRecoveryFlowRequest # Initialize Recovery Flow for Browsers
- This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to
`selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL.
If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated.
This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
More information can be found at.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RecoveryApiApiInitBrowserRecoveryFlowRequestRequest
func (*RecoveryApiService) InitBrowserRecoveryFlowRequestExecute ¶
func (a *RecoveryApiService) InitBrowserRecoveryFlowRequestExecute(r RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
* Execute executes the request * @return RecoveryFlow
func (*RecoveryApiService) SubmitRecoveryFlowRequest ¶
func (a *RecoveryApiService) SubmitRecoveryFlowRequest(ctx context.Context) RecoveryApiApiSubmitRecoveryFlowRequestRequest
- SubmitRecoveryFlowRequest # Complete Recovery Flow
- Use this endpoint to complete a recovery flow. This endpoint
behaves differently for API and browser flows and has several states:
`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid.
More information can be found at.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RecoveryApiApiSubmitRecoveryFlowRequestRequest
func (*RecoveryApiService) SubmitRecoveryFlowRequestExecute ¶
func (a *RecoveryApiService) SubmitRecoveryFlowRequestExecute(r RecoveryApiApiSubmitRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
* Execute executes the request * @return RecoveryFlow
type RecoveryFlow ¶
type RecoveryFlow struct { // CreatedAt is a helper struct field for gobuffalo.pop. CreatedAt *time.Time `json:"created_at,omitempty"` // ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. ExpiresAt time.Time `json:"expires_at"` // ID represents the request's unique ID. When performing the recovery flow, this represents the id in the recovery ui's query parameter: http://<selfservice.flows.recovery.ui_url>?request=<id> Id string `json:"id"` // IssuedAt is the time (UTC) when the request occurred. IssuedAt time.Time `json:"issued_at"` Method *RecoveryMethod `json:"method,omitempty"` // RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example. RequestUrl string `json:"request_url"` // ReturnTo contains the requested return_to URL. ReturnTo *string `json:"return_to,omitempty"` State RecoveryState `json:"state"` Type FlowType `json:"type"` Ui UiContainer `json:"ui"` // UpdatedAt is a helper struct field for gobuffalo.pop. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
RecoveryFlow This request is used when an identity wants to recover their account. We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)
func NewRecoveryFlow ¶
func NewRecoveryFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state RecoveryState, type_ FlowType, ui UiContainer) *RecoveryFlow
NewRecoveryFlow instantiates a new RecoveryFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecoveryFlowWithDefaults ¶
func NewRecoveryFlowWithDefaults() *RecoveryFlow
NewRecoveryFlowWithDefaults instantiates a new RecoveryFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RecoveryFlow) GetCreatedAt ¶
func (o *RecoveryFlow) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RecoveryFlow) GetCreatedAtOk ¶
func (o *RecoveryFlow) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryFlow) GetExpiresAt ¶
func (o *RecoveryFlow) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*RecoveryFlow) GetExpiresAtOk ¶
func (o *RecoveryFlow) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetIdOk ¶
func (o *RecoveryFlow) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetIssuedAt ¶
func (o *RecoveryFlow) GetIssuedAt() time.Time
GetIssuedAt returns the IssuedAt field value
func (*RecoveryFlow) GetIssuedAtOk ¶
func (o *RecoveryFlow) GetIssuedAtOk() (*time.Time, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetMethod ¶
func (o *RecoveryFlow) GetMethod() RecoveryMethod
GetMethod returns the Method field value if set, zero value otherwise.
func (*RecoveryFlow) GetMethodOk ¶
func (o *RecoveryFlow) GetMethodOk() (*RecoveryMethod, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryFlow) GetRequestUrl ¶
func (o *RecoveryFlow) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value
func (*RecoveryFlow) GetRequestUrlOk ¶
func (o *RecoveryFlow) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetReturnTo ¶
func (o *RecoveryFlow) GetReturnTo() string
GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (*RecoveryFlow) GetReturnToOk ¶
func (o *RecoveryFlow) GetReturnToOk() (*string, bool)
GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryFlow) GetState ¶
func (o *RecoveryFlow) GetState() RecoveryState
GetState returns the State field value
func (*RecoveryFlow) GetStateOk ¶
func (o *RecoveryFlow) GetStateOk() (*RecoveryState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetType ¶
func (o *RecoveryFlow) GetType() FlowType
GetType returns the Type field value
func (*RecoveryFlow) GetTypeOk ¶
func (o *RecoveryFlow) GetTypeOk() (*FlowType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetUi ¶
func (o *RecoveryFlow) GetUi() UiContainer
GetUi returns the Ui field value
func (*RecoveryFlow) GetUiOk ¶
func (o *RecoveryFlow) GetUiOk() (*UiContainer, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*RecoveryFlow) GetUpdatedAt ¶
func (o *RecoveryFlow) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*RecoveryFlow) GetUpdatedAtOk ¶
func (o *RecoveryFlow) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryFlow) HasCreatedAt ¶
func (o *RecoveryFlow) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RecoveryFlow) HasMethod ¶
func (o *RecoveryFlow) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*RecoveryFlow) HasReturnTo ¶
func (o *RecoveryFlow) HasReturnTo() bool
HasReturnTo returns a boolean if a field has been set.
func (*RecoveryFlow) HasUpdatedAt ¶
func (o *RecoveryFlow) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (RecoveryFlow) MarshalJSON ¶
func (o RecoveryFlow) MarshalJSON() ([]byte, error)
func (*RecoveryFlow) SetCreatedAt ¶
func (o *RecoveryFlow) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RecoveryFlow) SetExpiresAt ¶
func (o *RecoveryFlow) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (*RecoveryFlow) SetIssuedAt ¶
func (o *RecoveryFlow) SetIssuedAt(v time.Time)
SetIssuedAt sets field value
func (*RecoveryFlow) SetMethod ¶
func (o *RecoveryFlow) SetMethod(v RecoveryMethod)
SetMethod gets a reference to the given RecoveryMethod and assigns it to the Method field.
func (*RecoveryFlow) SetRequestUrl ¶
func (o *RecoveryFlow) SetRequestUrl(v string)
SetRequestUrl sets field value
func (*RecoveryFlow) SetReturnTo ¶
func (o *RecoveryFlow) SetReturnTo(v string)
SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.
func (*RecoveryFlow) SetState ¶
func (o *RecoveryFlow) SetState(v RecoveryState)
SetState sets field value
func (*RecoveryFlow) SetUpdatedAt ¶
func (o *RecoveryFlow) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type RecoveryMethod ¶
type RecoveryMethod string
RecoveryMethod the model 'RecoveryMethod'
const (
RECOVERYMETHOD_CAPTCHA RecoveryMethod = "captcha"
)
List of recoveryMethod
func NewRecoveryMethodFromValue ¶
func NewRecoveryMethodFromValue(v string) (*RecoveryMethod, error)
NewRecoveryMethodFromValue returns a pointer to a valid RecoveryMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RecoveryMethod) IsValid ¶
func (v RecoveryMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RecoveryMethod) Ptr ¶
func (v RecoveryMethod) Ptr() *RecoveryMethod
Ptr returns reference to recoveryMethod value
func (*RecoveryMethod) UnmarshalJSON ¶
func (v *RecoveryMethod) UnmarshalJSON(src []byte) error
type RecoveryState ¶
type RecoveryState string
RecoveryState The state represents the state of the recovery flow. ``` choose_method: ask the user to choose a method (e.g. recover account via email) sent: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. ```
const ( RECOVERYSTATE_CHOOSE_METHOD RecoveryState = "choose_method" RECOVERYSTATE_SENT RecoveryState = "sent" RECOVERYSTATE_PASSED_CHALLENGE RecoveryState = "passed_challenge" )
List of recoveryState
func NewRecoveryStateFromValue ¶
func NewRecoveryStateFromValue(v string) (*RecoveryState, error)
NewRecoveryStateFromValue returns a pointer to a valid RecoveryState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RecoveryState) IsValid ¶
func (v RecoveryState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RecoveryState) Ptr ¶
func (v RecoveryState) Ptr() *RecoveryState
Ptr returns reference to recoveryState value
func (*RecoveryState) UnmarshalJSON ¶
func (v *RecoveryState) UnmarshalJSON(src []byte) error
type RecoveryTraits ¶
type RecoveryTraits struct { // The identity's email It's optional, have at least one email and mobile Email *string `json:"email,omitempty"` // The identity's mobile It's optional, have at least one email and mobile Mobile *string `json:"mobile,omitempty"` // The identity's type, the value is traits.email or traits.mobile Type string `json:"type"` }
RecoveryTraits struct for RecoveryTraits
func NewRecoveryTraits ¶
func NewRecoveryTraits(type_ string) *RecoveryTraits
NewRecoveryTraits instantiates a new RecoveryTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecoveryTraitsWithDefaults ¶
func NewRecoveryTraitsWithDefaults() *RecoveryTraits
NewRecoveryTraitsWithDefaults instantiates a new RecoveryTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RecoveryTraits) GetEmail ¶
func (o *RecoveryTraits) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*RecoveryTraits) GetEmailOk ¶
func (o *RecoveryTraits) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryTraits) GetMobile ¶
func (o *RecoveryTraits) GetMobile() string
GetMobile returns the Mobile field value if set, zero value otherwise.
func (*RecoveryTraits) GetMobileOk ¶
func (o *RecoveryTraits) GetMobileOk() (*string, bool)
GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecoveryTraits) GetType ¶
func (o *RecoveryTraits) GetType() string
GetType returns the Type field value
func (*RecoveryTraits) GetTypeOk ¶
func (o *RecoveryTraits) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RecoveryTraits) HasEmail ¶
func (o *RecoveryTraits) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*RecoveryTraits) HasMobile ¶
func (o *RecoveryTraits) HasMobile() bool
HasMobile returns a boolean if a field has been set.
func (RecoveryTraits) MarshalJSON ¶
func (o RecoveryTraits) MarshalJSON() ([]byte, error)
func (*RecoveryTraits) SetEmail ¶
func (o *RecoveryTraits) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*RecoveryTraits) SetMobile ¶
func (o *RecoveryTraits) SetMobile(v string)
SetMobile gets a reference to the given string and assigns it to the Mobile field.
func (*RecoveryTraits) SetType ¶
func (o *RecoveryTraits) SetType(v string)
SetType sets field value
type RegistrationApi ¶
type RegistrationApi interface { /* * GetRegistrationFlowRequest # Get Registration Flow * This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: “`js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getRegistrationFlowRequest(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) “` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RegistrationApiApiGetRegistrationFlowRequestRequest */ GetRegistrationFlowRequest(ctx context.Context) RegistrationApiApiGetRegistrationFlowRequestRequest /* * GetRegistrationFlowRequestExecute executes the request * @return RegistrationFlow */ GetRegistrationFlowRequestExecute(r RegistrationApiApiGetRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error) /* * InitBrowserRegistrationFlowRequest # Initialize Registration Flow for Browsers * This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RegistrationApiApiInitBrowserRegistrationFlowRequestRequest */ InitBrowserRegistrationFlowRequest(ctx context.Context) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest /* * InitBrowserRegistrationFlowRequestExecute executes the request * @return RegistrationFlow */ InitBrowserRegistrationFlowRequestExecute(r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error) /* * SubmitRegistrationFlowRequest # Submit a Registration Flow * Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at: * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RegistrationApiApiSubmitRegistrationFlowRequestRequest */ SubmitRegistrationFlowRequest(ctx context.Context) RegistrationApiApiSubmitRegistrationFlowRequestRequest /* * SubmitRegistrationFlowRequestExecute executes the request * @return SubmitRegistrationFlowResponse */ SubmitRegistrationFlowRequestExecute(r RegistrationApiApiSubmitRegistrationFlowRequestRequest) (*SubmitRegistrationFlowResponse, *http.Response, error) }
type RegistrationApiApiGetRegistrationFlowRequestRequest ¶
type RegistrationApiApiGetRegistrationFlowRequestRequest struct { ApiService RegistrationApi // contains filtered or unexported fields }
func (RegistrationApiApiGetRegistrationFlowRequestRequest) Execute ¶
func (r RegistrationApiApiGetRegistrationFlowRequestRequest) Execute() (*RegistrationFlow, *http.Response, error)
type RegistrationApiApiInitBrowserRegistrationFlowRequestRequest ¶
type RegistrationApiApiInitBrowserRegistrationFlowRequestRequest struct { ApiService RegistrationApi // contains filtered or unexported fields }
func (RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) Execute ¶
func (r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) Execute() (*RegistrationFlow, *http.Response, error)
func (RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) LoginChallenge ¶
func (r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) LoginChallenge(loginChallenge string) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
type RegistrationApiApiSubmitRegistrationFlowRequestRequest ¶
type RegistrationApiApiSubmitRegistrationFlowRequestRequest struct { ApiService RegistrationApi // contains filtered or unexported fields }
func (RegistrationApiApiSubmitRegistrationFlowRequestRequest) Execute ¶
func (r RegistrationApiApiSubmitRegistrationFlowRequestRequest) Execute() (*SubmitRegistrationFlowResponse, *http.Response, error)
func (RegistrationApiApiSubmitRegistrationFlowRequestRequest) SubmitRegistrationFlowBody ¶
func (r RegistrationApiApiSubmitRegistrationFlowRequestRequest) SubmitRegistrationFlowBody(submitRegistrationFlowBody SubmitRegistrationFlowBody) RegistrationApiApiSubmitRegistrationFlowRequestRequest
type RegistrationApiService ¶
type RegistrationApiService service
RegistrationApiService RegistrationApi service
func (*RegistrationApiService) GetRegistrationFlowRequest ¶
func (a *RegistrationApiService) GetRegistrationFlowRequest(ctx context.Context) RegistrationApiApiGetRegistrationFlowRequestRequest
- GetRegistrationFlowRequest # Get Registration Flow
- This endpoint returns a registration flow's context with, for example, error details and other information.
Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.
If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:
```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getRegistrationFlowRequest(req.header('cookie'), req.query['flow'])
res.render('registration', flow) }) ```
This request may fail due to several reasons. The `error.id` can be one of:
`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RegistrationApiApiGetRegistrationFlowRequestRequest
func (*RegistrationApiService) GetRegistrationFlowRequestExecute ¶
func (a *RegistrationApiService) GetRegistrationFlowRequestExecute(r RegistrationApiApiGetRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error)
* Execute executes the request * @return RegistrationFlow
func (*RegistrationApiService) InitBrowserRegistrationFlowRequest ¶
func (a *RegistrationApiService) InitBrowserRegistrationFlowRequest(ctx context.Context) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
- InitBrowserRegistrationFlowRequest # Initialize Registration Flow for Browsers
- This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate
cookies and anti-CSRF measures required for browser-based flows.
:::info
This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.
:::
If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`.
If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.
This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
func (*RegistrationApiService) InitBrowserRegistrationFlowRequestExecute ¶
func (a *RegistrationApiService) InitBrowserRegistrationFlowRequestExecute(r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error)
* Execute executes the request * @return RegistrationFlow
func (*RegistrationApiService) SubmitRegistrationFlowRequest ¶
func (a *RegistrationApiService) SubmitRegistrationFlowRequest(ctx context.Context) RegistrationApiApiSubmitRegistrationFlowRequestRequest
- SubmitRegistrationFlowRequest # Submit a Registration Flow
- Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint
behaves differently for API and browser flows.
API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.
Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.
Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.
If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.
More information can be found at:
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RegistrationApiApiSubmitRegistrationFlowRequestRequest
func (*RegistrationApiService) SubmitRegistrationFlowRequestExecute ¶
func (a *RegistrationApiService) SubmitRegistrationFlowRequestExecute(r RegistrationApiApiSubmitRegistrationFlowRequestRequest) (*SubmitRegistrationFlowResponse, *http.Response, error)
* Execute executes the request * @return SubmitRegistrationFlowResponse
type RegistrationFlow ¶
type RegistrationFlow struct { Active *CredentialsType `json:"active,omitempty"` // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. ExpiresAt time.Time `json:"expires_at"` // ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http://<selfservice.flows.login.ui_url>/?flow=<flow_id> Id string `json:"id"` // IssuedAt is the time (UTC) when the flow started. IssuedAt time.Time `json:"issued_at"` // OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. Oauth2LoginChallenge *string `json:"oauth2_login_challenge,omitempty"` Oauth2LoginRequest *OAuth2LoginRequest `json:"oauth2_login_request,omitempty"` // RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example. RequestUrl string `json:"request_url"` // ReturnTo contains the requested return_to URL. ReturnTo *string `json:"return_to,omitempty"` Type FlowType `json:"type"` Ui UiContainer `json:"ui"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
RegistrationFlow This object represents a registration flow. A registration flow is initiated at the \"Initiate Registration API / Browser Flow\" endpoint by a client.
func NewRegistrationFlow ¶
func NewRegistrationFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ FlowType, ui UiContainer) *RegistrationFlow
NewRegistrationFlow instantiates a new RegistrationFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegistrationFlowWithDefaults ¶
func NewRegistrationFlowWithDefaults() *RegistrationFlow
NewRegistrationFlowWithDefaults instantiates a new RegistrationFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegistrationFlow) GetActive ¶
func (o *RegistrationFlow) GetActive() CredentialsType
GetActive returns the Active field value if set, zero value otherwise.
func (*RegistrationFlow) GetActiveOk ¶
func (o *RegistrationFlow) GetActiveOk() (*CredentialsType, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationFlow) GetCreatedAt ¶
func (o *RegistrationFlow) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RegistrationFlow) GetCreatedAtOk ¶
func (o *RegistrationFlow) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationFlow) GetExpiresAt ¶
func (o *RegistrationFlow) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*RegistrationFlow) GetExpiresAtOk ¶
func (o *RegistrationFlow) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*RegistrationFlow) GetId ¶
func (o *RegistrationFlow) GetId() string
GetId returns the Id field value
func (*RegistrationFlow) GetIdOk ¶
func (o *RegistrationFlow) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RegistrationFlow) GetIssuedAt ¶
func (o *RegistrationFlow) GetIssuedAt() time.Time
GetIssuedAt returns the IssuedAt field value
func (*RegistrationFlow) GetIssuedAtOk ¶
func (o *RegistrationFlow) GetIssuedAtOk() (*time.Time, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.
func (*RegistrationFlow) GetOauth2LoginChallenge ¶
func (o *RegistrationFlow) GetOauth2LoginChallenge() string
GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.
func (*RegistrationFlow) GetOauth2LoginChallengeOk ¶
func (o *RegistrationFlow) GetOauth2LoginChallengeOk() (*string, bool)
GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationFlow) GetOauth2LoginRequest ¶
func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest
GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.
func (*RegistrationFlow) GetOauth2LoginRequestOk ¶
func (o *RegistrationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationFlow) GetRequestUrl ¶
func (o *RegistrationFlow) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value
func (*RegistrationFlow) GetRequestUrlOk ¶
func (o *RegistrationFlow) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.
func (*RegistrationFlow) GetReturnTo ¶
func (o *RegistrationFlow) GetReturnTo() string
GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (*RegistrationFlow) GetReturnToOk ¶
func (o *RegistrationFlow) GetReturnToOk() (*string, bool)
GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationFlow) GetType ¶
func (o *RegistrationFlow) GetType() FlowType
GetType returns the Type field value
func (*RegistrationFlow) GetTypeOk ¶
func (o *RegistrationFlow) GetTypeOk() (*FlowType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RegistrationFlow) GetUi ¶
func (o *RegistrationFlow) GetUi() UiContainer
GetUi returns the Ui field value
func (*RegistrationFlow) GetUiOk ¶
func (o *RegistrationFlow) GetUiOk() (*UiContainer, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*RegistrationFlow) GetUpdatedAt ¶
func (o *RegistrationFlow) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*RegistrationFlow) GetUpdatedAtOk ¶
func (o *RegistrationFlow) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationFlow) HasActive ¶
func (o *RegistrationFlow) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*RegistrationFlow) HasCreatedAt ¶
func (o *RegistrationFlow) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RegistrationFlow) HasOauth2LoginChallenge ¶
func (o *RegistrationFlow) HasOauth2LoginChallenge() bool
HasOauth2LoginChallenge returns a boolean if a field has been set.
func (*RegistrationFlow) HasOauth2LoginRequest ¶
func (o *RegistrationFlow) HasOauth2LoginRequest() bool
HasOauth2LoginRequest returns a boolean if a field has been set.
func (*RegistrationFlow) HasReturnTo ¶
func (o *RegistrationFlow) HasReturnTo() bool
HasReturnTo returns a boolean if a field has been set.
func (*RegistrationFlow) HasUpdatedAt ¶
func (o *RegistrationFlow) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (RegistrationFlow) MarshalJSON ¶
func (o RegistrationFlow) MarshalJSON() ([]byte, error)
func (*RegistrationFlow) SetActive ¶
func (o *RegistrationFlow) SetActive(v CredentialsType)
SetActive gets a reference to the given CredentialsType and assigns it to the Active field.
func (*RegistrationFlow) SetCreatedAt ¶
func (o *RegistrationFlow) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RegistrationFlow) SetExpiresAt ¶
func (o *RegistrationFlow) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (*RegistrationFlow) SetIssuedAt ¶
func (o *RegistrationFlow) SetIssuedAt(v time.Time)
SetIssuedAt sets field value
func (*RegistrationFlow) SetOauth2LoginChallenge ¶
func (o *RegistrationFlow) SetOauth2LoginChallenge(v string)
SetOauth2LoginChallenge gets a reference to the given string and assigns it to the Oauth2LoginChallenge field.
func (*RegistrationFlow) SetOauth2LoginRequest ¶
func (o *RegistrationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)
SetOauth2LoginRequest gets a reference to the given OAuth2LoginRequest and assigns it to the Oauth2LoginRequest field.
func (*RegistrationFlow) SetRequestUrl ¶
func (o *RegistrationFlow) SetRequestUrl(v string)
SetRequestUrl sets field value
func (*RegistrationFlow) SetReturnTo ¶
func (o *RegistrationFlow) SetReturnTo(v string)
SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.
func (*RegistrationFlow) SetType ¶
func (o *RegistrationFlow) SetType(v FlowType)
SetType sets field value
func (*RegistrationFlow) SetUi ¶
func (o *RegistrationFlow) SetUi(v UiContainer)
SetUi sets field value
func (*RegistrationFlow) SetUpdatedAt ¶
func (o *RegistrationFlow) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type RegistrationTraits ¶
type RegistrationTraits struct { // The identity's email It's optional, have at least one email and mobile Email *string `json:"email,omitempty"` // The identity's mobile It's optional, have at least one email and mobile Mobile *string `json:"mobile,omitempty"` // The identity's type, the value is traits.email or traits.mobile Type string `json:"type"` }
RegistrationTraits struct for RegistrationTraits
func NewRegistrationTraits ¶
func NewRegistrationTraits(type_ string) *RegistrationTraits
NewRegistrationTraits instantiates a new RegistrationTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegistrationTraitsWithDefaults ¶
func NewRegistrationTraitsWithDefaults() *RegistrationTraits
NewRegistrationTraitsWithDefaults instantiates a new RegistrationTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegistrationTraits) GetEmail ¶
func (o *RegistrationTraits) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*RegistrationTraits) GetEmailOk ¶
func (o *RegistrationTraits) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationTraits) GetMobile ¶
func (o *RegistrationTraits) GetMobile() string
GetMobile returns the Mobile field value if set, zero value otherwise.
func (*RegistrationTraits) GetMobileOk ¶
func (o *RegistrationTraits) GetMobileOk() (*string, bool)
GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegistrationTraits) GetType ¶
func (o *RegistrationTraits) GetType() string
GetType returns the Type field value
func (*RegistrationTraits) GetTypeOk ¶
func (o *RegistrationTraits) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RegistrationTraits) HasEmail ¶
func (o *RegistrationTraits) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*RegistrationTraits) HasMobile ¶
func (o *RegistrationTraits) HasMobile() bool
HasMobile returns a boolean if a field has been set.
func (RegistrationTraits) MarshalJSON ¶
func (o RegistrationTraits) MarshalJSON() ([]byte, error)
func (*RegistrationTraits) SetEmail ¶
func (o *RegistrationTraits) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*RegistrationTraits) SetMobile ¶
func (o *RegistrationTraits) SetMobile(v string)
SetMobile gets a reference to the given string and assigns it to the Mobile field.
func (*RegistrationTraits) SetType ¶
func (o *RegistrationTraits) SetType(v string)
SetType sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Session ¶
type Session struct { // Active state. If false the session is no longer active. Active *bool `json:"active,omitempty"` // The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed). AuthenticatedAt *time.Time `json:"authenticated_at,omitempty"` // A list of authenticators which were used to authenticate the session. AuthenticationMethods []SessionAuthenticationMethod `json:"authentication_methods,omitempty"` AuthenticatorAssuranceLevel *AuthenticatorAssuranceLevel `json:"authenticator_assurance_level,omitempty"` // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // The Session Expiry When this session expires at. ExpiresAt *time.Time `json:"expires_at,omitempty"` // Session ID Id string `json:"id"` Identity Identity `json:"identity"` // The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. IssuedAt *time.Time `json:"issued_at,omitempty"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Session A Session
func NewSession ¶
NewSession instantiates a new Session object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSessionWithDefaults ¶
func NewSessionWithDefaults() *Session
NewSessionWithDefaults instantiates a new Session object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Session) GetActiveOk ¶
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetAuthenticatedAt ¶
GetAuthenticatedAt returns the AuthenticatedAt field value if set, zero value otherwise.
func (*Session) GetAuthenticatedAtOk ¶
GetAuthenticatedAtOk returns a tuple with the AuthenticatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetAuthenticationMethods ¶
func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod
GetAuthenticationMethods returns the AuthenticationMethods field value if set, zero value otherwise.
func (*Session) GetAuthenticationMethodsOk ¶
func (o *Session) GetAuthenticationMethodsOk() ([]SessionAuthenticationMethod, bool)
GetAuthenticationMethodsOk returns a tuple with the AuthenticationMethods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetAuthenticatorAssuranceLevel ¶
func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel
GetAuthenticatorAssuranceLevel returns the AuthenticatorAssuranceLevel field value if set, zero value otherwise.
func (*Session) GetAuthenticatorAssuranceLevelOk ¶
func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLevel, bool)
GetAuthenticatorAssuranceLevelOk returns a tuple with the AuthenticatorAssuranceLevel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Session) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*Session) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Session) GetIdentity ¶
GetIdentity returns the Identity field value
func (*Session) GetIdentityOk ¶
GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.
func (*Session) GetIssuedAt ¶
GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.
func (*Session) GetIssuedAtOk ¶
GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Session) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Session) HasAuthenticatedAt ¶
HasAuthenticatedAt returns a boolean if a field has been set.
func (*Session) HasAuthenticationMethods ¶
HasAuthenticationMethods returns a boolean if a field has been set.
func (*Session) HasAuthenticatorAssuranceLevel ¶
HasAuthenticatorAssuranceLevel returns a boolean if a field has been set.
func (*Session) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Session) HasExpiresAt ¶
HasExpiresAt returns a boolean if a field has been set.
func (*Session) HasIssuedAt ¶
HasIssuedAt returns a boolean if a field has been set.
func (*Session) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Session) MarshalJSON ¶
func (*Session) SetActive ¶
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*Session) SetAuthenticatedAt ¶
SetAuthenticatedAt gets a reference to the given time.Time and assigns it to the AuthenticatedAt field.
func (*Session) SetAuthenticationMethods ¶
func (o *Session) SetAuthenticationMethods(v []SessionAuthenticationMethod)
SetAuthenticationMethods gets a reference to the given []SessionAuthenticationMethod and assigns it to the AuthenticationMethods field.
func (*Session) SetAuthenticatorAssuranceLevel ¶
func (o *Session) SetAuthenticatorAssuranceLevel(v AuthenticatorAssuranceLevel)
SetAuthenticatorAssuranceLevel gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the AuthenticatorAssuranceLevel field.
func (*Session) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Session) SetExpiresAt ¶
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
func (*Session) SetIdentity ¶
SetIdentity sets field value
func (*Session) SetIssuedAt ¶
SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.
func (*Session) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type SessionApi ¶
type SessionApi interface { /* * ToSessionRequest # Check Who the Current HTTP Session Belongs To * Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. Additionally when the request it successful it adds the user ID to the 'X-Identity-Authenticated-Identity-Id' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: “`js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSessionRequest(undefined, req.header('cookie')) console.log(session) }) “` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: “`js pseudo-code example ... const session = await client.toSessionRequest("the-session-token") console.log(session) “` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! # This endpoint authenticates users by checking if the `Cookie` HTTP header was set containing an Identity Session Cookie; if the `Authorization: bearer <session-token>` HTTP header was set with a valid Identity Session Token; if the `X-Session-Token` HTTP header was set with a valid Identity Session Token. If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Session Cookie / Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return SessionApiApiToSessionRequestRequest */ ToSessionRequest(ctx context.Context) SessionApiApiToSessionRequestRequest /* * ToSessionRequestExecute executes the request * @return Session */ ToSessionRequestExecute(r SessionApiApiToSessionRequestRequest) (*Session, *http.Response, error) }
type SessionApiApiToSessionRequestRequest ¶
type SessionApiApiToSessionRequestRequest struct { ApiService SessionApi // contains filtered or unexported fields }
func (SessionApiApiToSessionRequestRequest) Cookie ¶
func (r SessionApiApiToSessionRequestRequest) Cookie(cookie string) SessionApiApiToSessionRequestRequest
func (SessionApiApiToSessionRequestRequest) Execute ¶
func (r SessionApiApiToSessionRequestRequest) Execute() (*Session, *http.Response, error)
func (SessionApiApiToSessionRequestRequest) XSessionToken ¶
func (r SessionApiApiToSessionRequestRequest) XSessionToken(xSessionToken string) SessionApiApiToSessionRequestRequest
type SessionApiService ¶
type SessionApiService service
SessionApiService SessionApi service
func (*SessionApiService) ToSessionRequest ¶
func (a *SessionApiService) ToSessionRequest(ctx context.Context) SessionApiApiToSessionRequestRequest
- ToSessionRequest # Check Who the Current HTTP Session Belongs To
- Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.
Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. Additionally when the request it successful it adds the user ID to the 'X-Identity-Authenticated-Identity-Id' header in the response.
If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:
```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSessionRequest(undefined, req.header('cookie'))
console.log(session) }) ```
When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:
```js pseudo-code example ... const session = await client.toSessionRequest("the-session-token")
console.log(session) ```
Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.
This endpoint is useful for:
AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header!
This endpoint authenticates users by checking ¶
if the `Cookie` HTTP header was set containing an Identity Session Cookie; if the `Authorization: bearer <session-token>` HTTP header was set with a valid Identity Session Token; if the `X-Session-Token` HTTP header was set with a valid Identity Session Token.
If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code.
As explained above, this request may fail due to several reasons. The `error.id` can be one of:
`session_inactive`: No active session was found in the request (e.g. no Session Cookie / Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return SessionApiApiToSessionRequestRequest
func (*SessionApiService) ToSessionRequestExecute ¶
func (a *SessionApiService) ToSessionRequestExecute(r SessionApiApiToSessionRequestRequest) (*Session, *http.Response, error)
* Execute executes the request * @return Session
type SessionAuthenticationMethod ¶
type SessionAuthenticationMethod struct { Aal *AuthenticatorAssuranceLevel `json:"aal,omitempty"` // When the authentication challenge was completed. CompletedAt *time.Time `json:"completed_at,omitempty"` Method *CredentialsType `json:"method,omitempty"` }
SessionAuthenticationMethod A singular authenticator used during authentication / login.
func NewSessionAuthenticationMethod ¶
func NewSessionAuthenticationMethod() *SessionAuthenticationMethod
NewSessionAuthenticationMethod instantiates a new SessionAuthenticationMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSessionAuthenticationMethodWithDefaults ¶
func NewSessionAuthenticationMethodWithDefaults() *SessionAuthenticationMethod
NewSessionAuthenticationMethodWithDefaults instantiates a new SessionAuthenticationMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SessionAuthenticationMethod) GetAal ¶
func (o *SessionAuthenticationMethod) GetAal() AuthenticatorAssuranceLevel
GetAal returns the Aal field value if set, zero value otherwise.
func (*SessionAuthenticationMethod) GetAalOk ¶
func (o *SessionAuthenticationMethod) GetAalOk() (*AuthenticatorAssuranceLevel, bool)
GetAalOk returns a tuple with the Aal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SessionAuthenticationMethod) GetCompletedAt ¶
func (o *SessionAuthenticationMethod) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.
func (*SessionAuthenticationMethod) GetCompletedAtOk ¶
func (o *SessionAuthenticationMethod) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SessionAuthenticationMethod) GetMethod ¶
func (o *SessionAuthenticationMethod) GetMethod() CredentialsType
GetMethod returns the Method field value if set, zero value otherwise.
func (*SessionAuthenticationMethod) GetMethodOk ¶
func (o *SessionAuthenticationMethod) GetMethodOk() (*CredentialsType, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SessionAuthenticationMethod) HasAal ¶
func (o *SessionAuthenticationMethod) HasAal() bool
HasAal returns a boolean if a field has been set.
func (*SessionAuthenticationMethod) HasCompletedAt ¶
func (o *SessionAuthenticationMethod) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*SessionAuthenticationMethod) HasMethod ¶
func (o *SessionAuthenticationMethod) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (SessionAuthenticationMethod) MarshalJSON ¶
func (o SessionAuthenticationMethod) MarshalJSON() ([]byte, error)
func (*SessionAuthenticationMethod) SetAal ¶
func (o *SessionAuthenticationMethod) SetAal(v AuthenticatorAssuranceLevel)
SetAal gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the Aal field.
func (*SessionAuthenticationMethod) SetCompletedAt ¶
func (o *SessionAuthenticationMethod) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.
func (*SessionAuthenticationMethod) SetMethod ¶
func (o *SessionAuthenticationMethod) SetMethod(v CredentialsType)
SetMethod gets a reference to the given CredentialsType and assigns it to the Method field.
type SettingsApi ¶
type SettingsApi interface { /* * GetSettingsFlowRequest # Get Settings Flow * When accessing this endpoint through Identity' Public API you must ensure that either the Identity Session Cookie or the Identity Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Identity' Admin API. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Identity Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return SettingsApiApiGetSettingsFlowRequestRequest */ GetSettingsFlowRequest(ctx context.Context) SettingsApiApiGetSettingsFlowRequestRequest /* * GetSettingsFlowRequestExecute executes the request * @return SettingsFlow */ GetSettingsFlowRequestExecute(r SettingsApiApiGetSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error) /* * InitBrowserSettingsFlowRequest # Initialize Settings Flow for Browsers * This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Identity Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return SettingsApiApiInitBrowserSettingsFlowRequestRequest */ InitBrowserSettingsFlowRequest(ctx context.Context) SettingsApiApiInitBrowserSettingsFlowRequestRequest /* * InitBrowserSettingsFlowRequestExecute executes the request * @return SettingsFlow */ InitBrowserSettingsFlowRequestExecute(r SettingsApiApiInitBrowserSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error) /* * SubmitSettingsFlowRequest # Complete Settings Flow * Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Identity Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Identity User Settings & Profile Management Documentation](../self-service/flows/user-settings). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return SettingsApiApiSubmitSettingsFlowRequestRequest */ SubmitSettingsFlowRequest(ctx context.Context) SettingsApiApiSubmitSettingsFlowRequestRequest /* * SubmitSettingsFlowRequestExecute executes the request * @return SettingsFlow */ SubmitSettingsFlowRequestExecute(r SettingsApiApiSubmitSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error) }
type SettingsApiApiGetSettingsFlowRequestRequest ¶
type SettingsApiApiGetSettingsFlowRequestRequest struct { ApiService SettingsApi // contains filtered or unexported fields }
func (SettingsApiApiGetSettingsFlowRequestRequest) Cookie ¶
func (r SettingsApiApiGetSettingsFlowRequestRequest) Cookie(cookie string) SettingsApiApiGetSettingsFlowRequestRequest
func (SettingsApiApiGetSettingsFlowRequestRequest) Execute ¶
func (r SettingsApiApiGetSettingsFlowRequestRequest) Execute() (*SettingsFlow, *http.Response, error)
func (SettingsApiApiGetSettingsFlowRequestRequest) XSessionToken ¶
func (r SettingsApiApiGetSettingsFlowRequestRequest) XSessionToken(xSessionToken string) SettingsApiApiGetSettingsFlowRequestRequest
type SettingsApiApiInitBrowserSettingsFlowRequestRequest ¶
type SettingsApiApiInitBrowserSettingsFlowRequestRequest struct { ApiService SettingsApi // contains filtered or unexported fields }
func (SettingsApiApiInitBrowserSettingsFlowRequestRequest) Execute ¶
func (r SettingsApiApiInitBrowserSettingsFlowRequestRequest) Execute() (*SettingsFlow, *http.Response, error)
func (SettingsApiApiInitBrowserSettingsFlowRequestRequest) ReturnTo ¶
func (r SettingsApiApiInitBrowserSettingsFlowRequestRequest) ReturnTo(returnTo string) SettingsApiApiInitBrowserSettingsFlowRequestRequest
type SettingsApiApiSubmitSettingsFlowRequestRequest ¶
type SettingsApiApiSubmitSettingsFlowRequestRequest struct { ApiService SettingsApi // contains filtered or unexported fields }
func (SettingsApiApiSubmitSettingsFlowRequestRequest) Cookie ¶
func (r SettingsApiApiSubmitSettingsFlowRequestRequest) Cookie(cookie string) SettingsApiApiSubmitSettingsFlowRequestRequest
func (SettingsApiApiSubmitSettingsFlowRequestRequest) Execute ¶
func (r SettingsApiApiSubmitSettingsFlowRequestRequest) Execute() (*SettingsFlow, *http.Response, error)
func (SettingsApiApiSubmitSettingsFlowRequestRequest) SubmitSettingsFlowBody ¶
func (r SettingsApiApiSubmitSettingsFlowRequestRequest) SubmitSettingsFlowBody(submitSettingsFlowBody SubmitSettingsFlowBody) SettingsApiApiSubmitSettingsFlowRequestRequest
func (SettingsApiApiSubmitSettingsFlowRequestRequest) XSessionToken ¶
func (r SettingsApiApiSubmitSettingsFlowRequestRequest) XSessionToken(xSessionToken string) SettingsApiApiSubmitSettingsFlowRequestRequest
type SettingsApiService ¶
type SettingsApiService service
SettingsApiService SettingsApi service
func (*SettingsApiService) GetSettingsFlowRequest ¶
func (a *SettingsApiService) GetSettingsFlowRequest(ctx context.Context) SettingsApiApiGetSettingsFlowRequestRequest
- GetSettingsFlowRequest # Get Settings Flow
- When accessing this endpoint through Identity' Public API you must ensure that either the Identity Session Cookie
or the Identity Session Token are set.
Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.
You can access this endpoint without credentials when using Identity' Admin API.
If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Identity Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead.
More information can be found at
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return SettingsApiApiGetSettingsFlowRequestRequest
func (*SettingsApiService) GetSettingsFlowRequestExecute ¶
func (a *SettingsApiService) GetSettingsFlowRequestExecute(r SettingsApiApiGetSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
* Execute executes the request * @return SettingsFlow
func (*SettingsApiService) InitBrowserSettingsFlowRequest ¶
func (a *SettingsApiService) InitBrowserSettingsFlowRequest(ctx context.Context) SettingsApiApiInitBrowserSettingsFlowRequestRequest
- InitBrowserSettingsFlowRequest # Initialize Settings Flow for Browsers
- This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to
`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Identity Session Cookie is included in the request, a login flow will be initialized.
If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint.
If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set.
Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.
If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return SettingsApiApiInitBrowserSettingsFlowRequestRequest
func (*SettingsApiService) InitBrowserSettingsFlowRequestExecute ¶
func (a *SettingsApiService) InitBrowserSettingsFlowRequestExecute(r SettingsApiApiInitBrowserSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
* Execute executes the request * @return SettingsFlow
func (*SettingsApiService) SubmitSettingsFlowRequest ¶
func (a *SettingsApiService) SubmitSettingsFlowRequest(ctx context.Context) SettingsApiApiSubmitSettingsFlowRequestRequest
- SubmitSettingsFlowRequest # Complete Settings Flow
- Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint
behaves differently for API and browser flows.
API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate.
Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.
Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors.
Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.
If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:
`session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Identity Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.
More information can be found at [Identity User Settings & Profile Management Documentation](../self-service/flows/user-settings).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return SettingsApiApiSubmitSettingsFlowRequestRequest
func (*SettingsApiService) SubmitSettingsFlowRequestExecute ¶
func (a *SettingsApiService) SubmitSettingsFlowRequestExecute(r SettingsApiApiSubmitSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
* Execute executes the request * @return SettingsFlow
type SettingsFlow ¶
type SettingsFlow struct { Active *CredentialsType `json:"active,omitempty"` // CreatedAt is a helper struct field for gobuffalo.pop. CreatedAt *time.Time `json:"created_at,omitempty"` // ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. ExpiresAt time.Time `json:"expires_at"` // ID represents the flow's unique ID. When performing the settings flow, this represents the id in the settings ui's query parameter: http://<selfservice.flows.settings.ui_url>?flow=<id> Id string `json:"id"` Identity Identity `json:"identity"` // IssuedAt is the time (UTC) when the flow occurred. IssuedAt time.Time `json:"issued_at"` // RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example. RequestUrl string `json:"request_url"` // ReturnTo contains the requested return_to URL. ReturnTo *string `json:"return_to,omitempty"` State SettingsState `json:"state"` Type FlowType `json:"type"` Ui UiContainer `json:"ui"` // UpdatedAt is a helper struct field for gobuffalo.pop. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
SettingsFlow This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings)
func NewSettingsFlow ¶
func NewSettingsFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state SettingsState, type_ FlowType, ui UiContainer) *SettingsFlow
NewSettingsFlow instantiates a new SettingsFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSettingsFlowWithDefaults ¶
func NewSettingsFlowWithDefaults() *SettingsFlow
NewSettingsFlowWithDefaults instantiates a new SettingsFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SettingsFlow) GetActive ¶
func (o *SettingsFlow) GetActive() CredentialsType
GetActive returns the Active field value if set, zero value otherwise.
func (*SettingsFlow) GetActiveOk ¶
func (o *SettingsFlow) GetActiveOk() (*CredentialsType, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettingsFlow) GetCreatedAt ¶
func (o *SettingsFlow) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SettingsFlow) GetCreatedAtOk ¶
func (o *SettingsFlow) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettingsFlow) GetExpiresAt ¶
func (o *SettingsFlow) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*SettingsFlow) GetExpiresAtOk ¶
func (o *SettingsFlow) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetIdOk ¶
func (o *SettingsFlow) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetIdentity ¶
func (o *SettingsFlow) GetIdentity() Identity
GetIdentity returns the Identity field value
func (*SettingsFlow) GetIdentityOk ¶
func (o *SettingsFlow) GetIdentityOk() (*Identity, bool)
GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetIssuedAt ¶
func (o *SettingsFlow) GetIssuedAt() time.Time
GetIssuedAt returns the IssuedAt field value
func (*SettingsFlow) GetIssuedAtOk ¶
func (o *SettingsFlow) GetIssuedAtOk() (*time.Time, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetRequestUrl ¶
func (o *SettingsFlow) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value
func (*SettingsFlow) GetRequestUrlOk ¶
func (o *SettingsFlow) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetReturnTo ¶
func (o *SettingsFlow) GetReturnTo() string
GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (*SettingsFlow) GetReturnToOk ¶
func (o *SettingsFlow) GetReturnToOk() (*string, bool)
GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettingsFlow) GetState ¶
func (o *SettingsFlow) GetState() SettingsState
GetState returns the State field value
func (*SettingsFlow) GetStateOk ¶
func (o *SettingsFlow) GetStateOk() (*SettingsState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetType ¶
func (o *SettingsFlow) GetType() FlowType
GetType returns the Type field value
func (*SettingsFlow) GetTypeOk ¶
func (o *SettingsFlow) GetTypeOk() (*FlowType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetUi ¶
func (o *SettingsFlow) GetUi() UiContainer
GetUi returns the Ui field value
func (*SettingsFlow) GetUiOk ¶
func (o *SettingsFlow) GetUiOk() (*UiContainer, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*SettingsFlow) GetUpdatedAt ¶
func (o *SettingsFlow) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*SettingsFlow) GetUpdatedAtOk ¶
func (o *SettingsFlow) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SettingsFlow) HasActive ¶
func (o *SettingsFlow) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*SettingsFlow) HasCreatedAt ¶
func (o *SettingsFlow) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*SettingsFlow) HasReturnTo ¶
func (o *SettingsFlow) HasReturnTo() bool
HasReturnTo returns a boolean if a field has been set.
func (*SettingsFlow) HasUpdatedAt ¶
func (o *SettingsFlow) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (SettingsFlow) MarshalJSON ¶
func (o SettingsFlow) MarshalJSON() ([]byte, error)
func (*SettingsFlow) SetActive ¶
func (o *SettingsFlow) SetActive(v CredentialsType)
SetActive gets a reference to the given CredentialsType and assigns it to the Active field.
func (*SettingsFlow) SetCreatedAt ¶
func (o *SettingsFlow) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*SettingsFlow) SetExpiresAt ¶
func (o *SettingsFlow) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (*SettingsFlow) SetIdentity ¶
func (o *SettingsFlow) SetIdentity(v Identity)
SetIdentity sets field value
func (*SettingsFlow) SetIssuedAt ¶
func (o *SettingsFlow) SetIssuedAt(v time.Time)
SetIssuedAt sets field value
func (*SettingsFlow) SetRequestUrl ¶
func (o *SettingsFlow) SetRequestUrl(v string)
SetRequestUrl sets field value
func (*SettingsFlow) SetReturnTo ¶
func (o *SettingsFlow) SetReturnTo(v string)
SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.
func (*SettingsFlow) SetState ¶
func (o *SettingsFlow) SetState(v SettingsState)
SetState sets field value
func (*SettingsFlow) SetUpdatedAt ¶
func (o *SettingsFlow) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type SettingsMethod ¶
type SettingsMethod string
SettingsMethod the model 'SettingsMethod'
const ( SETTINGSMETHOD_PASSWORD SettingsMethod = "password" SETTINGSMETHOD_PROFILE SettingsMethod = "profile" SETTINGSMETHOD_TOTP SettingsMethod = "totp" )
List of settingsMethod
func NewSettingsMethodFromValue ¶
func NewSettingsMethodFromValue(v string) (*SettingsMethod, error)
NewSettingsMethodFromValue returns a pointer to a valid SettingsMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SettingsMethod) IsValid ¶
func (v SettingsMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SettingsMethod) Ptr ¶
func (v SettingsMethod) Ptr() *SettingsMethod
Ptr returns reference to settingsMethod value
func (*SettingsMethod) UnmarshalJSON ¶
func (v *SettingsMethod) UnmarshalJSON(src []byte) error
type SettingsState ¶
type SettingsState string
SettingsState show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent.
const ( SETTINGSSTATE_SHOW_FORM SettingsState = "show_form" SETTINGSSTATE_SENT SettingsState = "sent" SETTINGSSTATE_SUCCESS SettingsState = "success" )
List of settingsState
func NewSettingsStateFromValue ¶
func NewSettingsStateFromValue(v string) (*SettingsState, error)
NewSettingsStateFromValue returns a pointer to a valid SettingsState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SettingsState) IsValid ¶
func (v SettingsState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SettingsState) Ptr ¶
func (v SettingsState) Ptr() *SettingsState
Ptr returns reference to settingsState value
func (*SettingsState) UnmarshalJSON ¶
func (v *SettingsState) UnmarshalJSON(src []byte) error
type SubmitConsentFlowBody ¶
type SubmitConsentFlowBody struct {
SubmitConsentFlowBodyWithDefault *SubmitConsentFlowBodyWithDefault
}
SubmitConsentFlowBody - struct for SubmitConsentFlowBody
func SubmitConsentFlowBodyWithDefaultAsSubmitConsentFlowBody ¶
func SubmitConsentFlowBodyWithDefaultAsSubmitConsentFlowBody(v *SubmitConsentFlowBodyWithDefault) SubmitConsentFlowBody
SubmitConsentFlowBodyWithDefaultAsSubmitConsentFlowBody is a convenience function that returns SubmitConsentFlowBodyWithDefault wrapped in SubmitConsentFlowBody
func (*SubmitConsentFlowBody) GetActualInstance ¶
func (obj *SubmitConsentFlowBody) GetActualInstance() interface{}
Get the actual instance
func (SubmitConsentFlowBody) MarshalJSON ¶
func (src SubmitConsentFlowBody) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SubmitConsentFlowBody) UnmarshalJSON ¶
func (dst *SubmitConsentFlowBody) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SubmitConsentFlowBodyWithDefault ¶
type SubmitConsentFlowBodyWithDefault struct { // Action is allow or deny. Action string `json:"action"` // Sending the anti-csrf token is only required for browser login flows. CsrfToken *string `json:"csrf_token,omitempty"` // Method should be set to \"consent\". Method string `json:"method"` // Do Not Ask Me If set to true, don't ask me again. NotAsk bool `json:"not_ask"` // scope is selected by the user. Scope []string `json:"scope"` }
SubmitConsentFlowBodyWithDefault struct for SubmitConsentFlowBodyWithDefault
func NewSubmitConsentFlowBodyWithDefault ¶
func NewSubmitConsentFlowBodyWithDefault(action string, method string, notAsk bool, scope []string) *SubmitConsentFlowBodyWithDefault
NewSubmitConsentFlowBodyWithDefault instantiates a new SubmitConsentFlowBodyWithDefault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitConsentFlowBodyWithDefaultWithDefaults ¶
func NewSubmitConsentFlowBodyWithDefaultWithDefaults() *SubmitConsentFlowBodyWithDefault
NewSubmitConsentFlowBodyWithDefaultWithDefaults instantiates a new SubmitConsentFlowBodyWithDefault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitConsentFlowBodyWithDefault) GetAction ¶
func (o *SubmitConsentFlowBodyWithDefault) GetAction() string
GetAction returns the Action field value
func (*SubmitConsentFlowBodyWithDefault) GetActionOk ¶
func (o *SubmitConsentFlowBodyWithDefault) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*SubmitConsentFlowBodyWithDefault) GetCsrfToken ¶
func (o *SubmitConsentFlowBodyWithDefault) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitConsentFlowBodyWithDefault) GetCsrfTokenOk ¶
func (o *SubmitConsentFlowBodyWithDefault) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitConsentFlowBodyWithDefault) GetMethod ¶
func (o *SubmitConsentFlowBodyWithDefault) GetMethod() string
GetMethod returns the Method field value
func (*SubmitConsentFlowBodyWithDefault) GetMethodOk ¶
func (o *SubmitConsentFlowBodyWithDefault) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitConsentFlowBodyWithDefault) GetNotAsk ¶
func (o *SubmitConsentFlowBodyWithDefault) GetNotAsk() bool
GetNotAsk returns the NotAsk field value
func (*SubmitConsentFlowBodyWithDefault) GetNotAskOk ¶
func (o *SubmitConsentFlowBodyWithDefault) GetNotAskOk() (*bool, bool)
GetNotAskOk returns a tuple with the NotAsk field value and a boolean to check if the value has been set.
func (*SubmitConsentFlowBodyWithDefault) GetScope ¶
func (o *SubmitConsentFlowBodyWithDefault) GetScope() []string
GetScope returns the Scope field value
func (*SubmitConsentFlowBodyWithDefault) GetScopeOk ¶
func (o *SubmitConsentFlowBodyWithDefault) GetScopeOk() ([]string, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*SubmitConsentFlowBodyWithDefault) HasCsrfToken ¶
func (o *SubmitConsentFlowBodyWithDefault) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitConsentFlowBodyWithDefault) MarshalJSON ¶
func (o SubmitConsentFlowBodyWithDefault) MarshalJSON() ([]byte, error)
func (*SubmitConsentFlowBodyWithDefault) SetAction ¶
func (o *SubmitConsentFlowBodyWithDefault) SetAction(v string)
SetAction sets field value
func (*SubmitConsentFlowBodyWithDefault) SetCsrfToken ¶
func (o *SubmitConsentFlowBodyWithDefault) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitConsentFlowBodyWithDefault) SetMethod ¶
func (o *SubmitConsentFlowBodyWithDefault) SetMethod(v string)
SetMethod sets field value
func (*SubmitConsentFlowBodyWithDefault) SetNotAsk ¶
func (o *SubmitConsentFlowBodyWithDefault) SetNotAsk(v bool)
SetNotAsk sets field value
func (*SubmitConsentFlowBodyWithDefault) SetScope ¶
func (o *SubmitConsentFlowBodyWithDefault) SetScope(v []string)
SetScope sets field value
type SubmitLoginFlowBody ¶
type SubmitLoginFlowBody struct { SubmitLoginFlowBodyWithOidc *SubmitLoginFlowBodyWithOidc SubmitLoginFlowBodyWithPassword *SubmitLoginFlowBodyWithPassword SubmitLoginFlowBodyWithTotp *SubmitLoginFlowBodyWithTotp }
SubmitLoginFlowBody - struct for SubmitLoginFlowBody
func SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody ¶
func SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithOidc) SubmitLoginFlowBody
SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody is a convenience function that returns SubmitLoginFlowBodyWithOidc wrapped in SubmitLoginFlowBody
func SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody ¶
func SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithPassword) SubmitLoginFlowBody
SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody is a convenience function that returns SubmitLoginFlowBodyWithPassword wrapped in SubmitLoginFlowBody
func SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody ¶
func SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithTotp) SubmitLoginFlowBody
SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody is a convenience function that returns SubmitLoginFlowBodyWithTotp wrapped in SubmitLoginFlowBody
func (*SubmitLoginFlowBody) GetActualInstance ¶
func (obj *SubmitLoginFlowBody) GetActualInstance() interface{}
Get the actual instance
func (SubmitLoginFlowBody) MarshalJSON ¶
func (src SubmitLoginFlowBody) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SubmitLoginFlowBody) UnmarshalJSON ¶
func (dst *SubmitLoginFlowBody) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SubmitLoginFlowBodyWithOidc ¶
type SubmitLoginFlowBodyWithOidc struct { // The CSRF Token CsrfToken *string `json:"csrf_token,omitempty"` // Method to use This field must be set to `oidc` when using the oidc method. Method string `json:"method"` // The provider to register with Provider string `json:"provider"` }
SubmitLoginFlowBodyWithOidc struct for SubmitLoginFlowBodyWithOidc
func NewSubmitLoginFlowBodyWithOidc ¶
func NewSubmitLoginFlowBodyWithOidc(method string, provider string) *SubmitLoginFlowBodyWithOidc
NewSubmitLoginFlowBodyWithOidc instantiates a new SubmitLoginFlowBodyWithOidc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitLoginFlowBodyWithOidcWithDefaults ¶
func NewSubmitLoginFlowBodyWithOidcWithDefaults() *SubmitLoginFlowBodyWithOidc
NewSubmitLoginFlowBodyWithOidcWithDefaults instantiates a new SubmitLoginFlowBodyWithOidc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitLoginFlowBodyWithOidc) GetCsrfToken ¶
func (o *SubmitLoginFlowBodyWithOidc) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitLoginFlowBodyWithOidc) GetCsrfTokenOk ¶
func (o *SubmitLoginFlowBodyWithOidc) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithOidc) GetMethod ¶
func (o *SubmitLoginFlowBodyWithOidc) GetMethod() string
GetMethod returns the Method field value
func (*SubmitLoginFlowBodyWithOidc) GetMethodOk ¶
func (o *SubmitLoginFlowBodyWithOidc) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithOidc) GetProvider ¶
func (o *SubmitLoginFlowBodyWithOidc) GetProvider() string
GetProvider returns the Provider field value
func (*SubmitLoginFlowBodyWithOidc) GetProviderOk ¶
func (o *SubmitLoginFlowBodyWithOidc) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithOidc) HasCsrfToken ¶
func (o *SubmitLoginFlowBodyWithOidc) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitLoginFlowBodyWithOidc) MarshalJSON ¶
func (o SubmitLoginFlowBodyWithOidc) MarshalJSON() ([]byte, error)
func (*SubmitLoginFlowBodyWithOidc) SetCsrfToken ¶
func (o *SubmitLoginFlowBodyWithOidc) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitLoginFlowBodyWithOidc) SetMethod ¶
func (o *SubmitLoginFlowBodyWithOidc) SetMethod(v string)
SetMethod sets field value
func (*SubmitLoginFlowBodyWithOidc) SetProvider ¶
func (o *SubmitLoginFlowBodyWithOidc) SetProvider(v string)
SetProvider sets field value
type SubmitLoginFlowBodyWithPassword ¶
type SubmitLoginFlowBodyWithPassword struct { // Sending the anti-csrf token is only required for browser login flows. CsrfToken *string `json:"csrf_token,omitempty"` // Identifier is the email or username of the user trying to log in. Identifier string `json:"identifier"` // Method should be set to \"password\" when logging in using the identifier and password strategy. Method string `json:"method"` // The user's password. Password string `json:"password"` }
SubmitLoginFlowBodyWithPassword struct for SubmitLoginFlowBodyWithPassword
func NewSubmitLoginFlowBodyWithPassword ¶
func NewSubmitLoginFlowBodyWithPassword(identifier string, method string, password string) *SubmitLoginFlowBodyWithPassword
NewSubmitLoginFlowBodyWithPassword instantiates a new SubmitLoginFlowBodyWithPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitLoginFlowBodyWithPasswordWithDefaults ¶
func NewSubmitLoginFlowBodyWithPasswordWithDefaults() *SubmitLoginFlowBodyWithPassword
NewSubmitLoginFlowBodyWithPasswordWithDefaults instantiates a new SubmitLoginFlowBodyWithPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitLoginFlowBodyWithPassword) GetCsrfToken ¶
func (o *SubmitLoginFlowBodyWithPassword) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitLoginFlowBodyWithPassword) GetCsrfTokenOk ¶
func (o *SubmitLoginFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithPassword) GetIdentifier ¶
func (o *SubmitLoginFlowBodyWithPassword) GetIdentifier() string
GetIdentifier returns the Identifier field value
func (*SubmitLoginFlowBodyWithPassword) GetIdentifierOk ¶
func (o *SubmitLoginFlowBodyWithPassword) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithPassword) GetMethod ¶
func (o *SubmitLoginFlowBodyWithPassword) GetMethod() string
GetMethod returns the Method field value
func (*SubmitLoginFlowBodyWithPassword) GetMethodOk ¶
func (o *SubmitLoginFlowBodyWithPassword) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithPassword) GetPassword ¶
func (o *SubmitLoginFlowBodyWithPassword) GetPassword() string
GetPassword returns the Password field value
func (*SubmitLoginFlowBodyWithPassword) GetPasswordOk ¶
func (o *SubmitLoginFlowBodyWithPassword) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithPassword) HasCsrfToken ¶
func (o *SubmitLoginFlowBodyWithPassword) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitLoginFlowBodyWithPassword) MarshalJSON ¶
func (o SubmitLoginFlowBodyWithPassword) MarshalJSON() ([]byte, error)
func (*SubmitLoginFlowBodyWithPassword) SetCsrfToken ¶
func (o *SubmitLoginFlowBodyWithPassword) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitLoginFlowBodyWithPassword) SetIdentifier ¶
func (o *SubmitLoginFlowBodyWithPassword) SetIdentifier(v string)
SetIdentifier sets field value
func (*SubmitLoginFlowBodyWithPassword) SetMethod ¶
func (o *SubmitLoginFlowBodyWithPassword) SetMethod(v string)
SetMethod sets field value
func (*SubmitLoginFlowBodyWithPassword) SetPassword ¶
func (o *SubmitLoginFlowBodyWithPassword) SetPassword(v string)
SetPassword sets field value
type SubmitLoginFlowBodyWithTotp ¶
type SubmitLoginFlowBodyWithTotp struct { // The ChangeAuthCode recovery_code | totp_code ChangeAuthCode *string `json:"change_auth_code,omitempty"` // Sending the anti-csrf token is only required for browser login flows. CsrfToken *string `json:"csrf_token,omitempty"` // Method should be set to \"totp\" when logging in using the TOTP strategy. Method string `json:"method"` // The Recovery code. RecoveryCode *string `json:"recovery_code,omitempty"` // The TOTP code. TotpCode *string `json:"totp_code,omitempty"` }
SubmitLoginFlowBodyWithTotp struct for SubmitLoginFlowBodyWithTotp
func NewSubmitLoginFlowBodyWithTotp ¶
func NewSubmitLoginFlowBodyWithTotp(method string) *SubmitLoginFlowBodyWithTotp
NewSubmitLoginFlowBodyWithTotp instantiates a new SubmitLoginFlowBodyWithTotp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitLoginFlowBodyWithTotpWithDefaults ¶
func NewSubmitLoginFlowBodyWithTotpWithDefaults() *SubmitLoginFlowBodyWithTotp
NewSubmitLoginFlowBodyWithTotpWithDefaults instantiates a new SubmitLoginFlowBodyWithTotp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitLoginFlowBodyWithTotp) GetChangeAuthCode ¶
func (o *SubmitLoginFlowBodyWithTotp) GetChangeAuthCode() string
GetChangeAuthCode returns the ChangeAuthCode field value if set, zero value otherwise.
func (*SubmitLoginFlowBodyWithTotp) GetChangeAuthCodeOk ¶
func (o *SubmitLoginFlowBodyWithTotp) GetChangeAuthCodeOk() (*string, bool)
GetChangeAuthCodeOk returns a tuple with the ChangeAuthCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithTotp) GetCsrfToken ¶
func (o *SubmitLoginFlowBodyWithTotp) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitLoginFlowBodyWithTotp) GetCsrfTokenOk ¶
func (o *SubmitLoginFlowBodyWithTotp) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithTotp) GetMethod ¶
func (o *SubmitLoginFlowBodyWithTotp) GetMethod() string
GetMethod returns the Method field value
func (*SubmitLoginFlowBodyWithTotp) GetMethodOk ¶
func (o *SubmitLoginFlowBodyWithTotp) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithTotp) GetRecoveryCode ¶
func (o *SubmitLoginFlowBodyWithTotp) GetRecoveryCode() string
GetRecoveryCode returns the RecoveryCode field value if set, zero value otherwise.
func (*SubmitLoginFlowBodyWithTotp) GetRecoveryCodeOk ¶
func (o *SubmitLoginFlowBodyWithTotp) GetRecoveryCodeOk() (*string, bool)
GetRecoveryCodeOk returns a tuple with the RecoveryCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithTotp) GetTotpCode ¶
func (o *SubmitLoginFlowBodyWithTotp) GetTotpCode() string
GetTotpCode returns the TotpCode field value if set, zero value otherwise.
func (*SubmitLoginFlowBodyWithTotp) GetTotpCodeOk ¶
func (o *SubmitLoginFlowBodyWithTotp) GetTotpCodeOk() (*string, bool)
GetTotpCodeOk returns a tuple with the TotpCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowBodyWithTotp) HasChangeAuthCode ¶
func (o *SubmitLoginFlowBodyWithTotp) HasChangeAuthCode() bool
HasChangeAuthCode returns a boolean if a field has been set.
func (*SubmitLoginFlowBodyWithTotp) HasCsrfToken ¶
func (o *SubmitLoginFlowBodyWithTotp) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (*SubmitLoginFlowBodyWithTotp) HasRecoveryCode ¶
func (o *SubmitLoginFlowBodyWithTotp) HasRecoveryCode() bool
HasRecoveryCode returns a boolean if a field has been set.
func (*SubmitLoginFlowBodyWithTotp) HasTotpCode ¶
func (o *SubmitLoginFlowBodyWithTotp) HasTotpCode() bool
HasTotpCode returns a boolean if a field has been set.
func (SubmitLoginFlowBodyWithTotp) MarshalJSON ¶
func (o SubmitLoginFlowBodyWithTotp) MarshalJSON() ([]byte, error)
func (*SubmitLoginFlowBodyWithTotp) SetChangeAuthCode ¶
func (o *SubmitLoginFlowBodyWithTotp) SetChangeAuthCode(v string)
SetChangeAuthCode gets a reference to the given string and assigns it to the ChangeAuthCode field.
func (*SubmitLoginFlowBodyWithTotp) SetCsrfToken ¶
func (o *SubmitLoginFlowBodyWithTotp) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitLoginFlowBodyWithTotp) SetMethod ¶
func (o *SubmitLoginFlowBodyWithTotp) SetMethod(v string)
SetMethod sets field value
func (*SubmitLoginFlowBodyWithTotp) SetRecoveryCode ¶
func (o *SubmitLoginFlowBodyWithTotp) SetRecoveryCode(v string)
SetRecoveryCode gets a reference to the given string and assigns it to the RecoveryCode field.
func (*SubmitLoginFlowBodyWithTotp) SetTotpCode ¶
func (o *SubmitLoginFlowBodyWithTotp) SetTotpCode(v string)
SetTotpCode gets a reference to the given string and assigns it to the TotpCode field.
type SubmitLoginFlowResponse ¶
type SubmitLoginFlowResponse struct { Session Session `json:"session"` // The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! SessionToken *string `json:"session_token,omitempty"` }
SubmitLoginFlowResponse The Response for Login Flows via API
func NewSubmitLoginFlowResponse ¶
func NewSubmitLoginFlowResponse(session Session) *SubmitLoginFlowResponse
NewSubmitLoginFlowResponse instantiates a new SubmitLoginFlowResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitLoginFlowResponseWithDefaults ¶
func NewSubmitLoginFlowResponseWithDefaults() *SubmitLoginFlowResponse
NewSubmitLoginFlowResponseWithDefaults instantiates a new SubmitLoginFlowResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitLoginFlowResponse) GetSession ¶
func (o *SubmitLoginFlowResponse) GetSession() Session
GetSession returns the Session field value
func (*SubmitLoginFlowResponse) GetSessionOk ¶
func (o *SubmitLoginFlowResponse) GetSessionOk() (*Session, bool)
GetSessionOk returns a tuple with the Session field value and a boolean to check if the value has been set.
func (*SubmitLoginFlowResponse) GetSessionToken ¶
func (o *SubmitLoginFlowResponse) GetSessionToken() string
GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (*SubmitLoginFlowResponse) GetSessionTokenOk ¶
func (o *SubmitLoginFlowResponse) GetSessionTokenOk() (*string, bool)
GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitLoginFlowResponse) HasSessionToken ¶
func (o *SubmitLoginFlowResponse) HasSessionToken() bool
HasSessionToken returns a boolean if a field has been set.
func (SubmitLoginFlowResponse) MarshalJSON ¶
func (o SubmitLoginFlowResponse) MarshalJSON() ([]byte, error)
func (*SubmitLoginFlowResponse) SetSession ¶
func (o *SubmitLoginFlowResponse) SetSession(v Session)
SetSession sets field value
func (*SubmitLoginFlowResponse) SetSessionToken ¶
func (o *SubmitLoginFlowResponse) SetSessionToken(v string)
SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.
type SubmitRecoveryFlowBody ¶
type SubmitRecoveryFlowBody struct {
SubmitRecoveryFlowBodyWithCaptcha *SubmitRecoveryFlowBodyWithCaptcha
}
SubmitRecoveryFlowBody - struct for SubmitRecoveryFlowBody
func SubmitRecoveryFlowBodyWithCaptchaAsSubmitRecoveryFlowBody ¶
func SubmitRecoveryFlowBodyWithCaptchaAsSubmitRecoveryFlowBody(v *SubmitRecoveryFlowBodyWithCaptcha) SubmitRecoveryFlowBody
SubmitRecoveryFlowBodyWithCaptchaAsSubmitRecoveryFlowBody is a convenience function that returns SubmitRecoveryFlowBodyWithCaptcha wrapped in SubmitRecoveryFlowBody
func (*SubmitRecoveryFlowBody) GetActualInstance ¶
func (obj *SubmitRecoveryFlowBody) GetActualInstance() interface{}
Get the actual instance
func (SubmitRecoveryFlowBody) MarshalJSON ¶
func (src SubmitRecoveryFlowBody) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SubmitRecoveryFlowBody) UnmarshalJSON ¶
func (dst *SubmitRecoveryFlowBody) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SubmitRecoveryFlowBodyWithCaptcha ¶
type SubmitRecoveryFlowBodyWithCaptcha struct { // Sending the anti-csrf token is only required for browser login flows. CsrfToken *string `json:"csrf_token,omitempty"` // Method supports `captcha` only right now. Method string `json:"method"` // Recovery Token Token *string `json:"token,omitempty"` Traits RecoveryTraits `json:"traits"` }
SubmitRecoveryFlowBodyWithCaptcha struct for SubmitRecoveryFlowBodyWithCaptcha
func NewSubmitRecoveryFlowBodyWithCaptcha ¶
func NewSubmitRecoveryFlowBodyWithCaptcha(method string, traits RecoveryTraits) *SubmitRecoveryFlowBodyWithCaptcha
NewSubmitRecoveryFlowBodyWithCaptcha instantiates a new SubmitRecoveryFlowBodyWithCaptcha object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitRecoveryFlowBodyWithCaptchaWithDefaults ¶
func NewSubmitRecoveryFlowBodyWithCaptchaWithDefaults() *SubmitRecoveryFlowBodyWithCaptcha
NewSubmitRecoveryFlowBodyWithCaptchaWithDefaults instantiates a new SubmitRecoveryFlowBodyWithCaptcha object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitRecoveryFlowBodyWithCaptcha) GetCsrfToken ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitRecoveryFlowBodyWithCaptcha) GetCsrfTokenOk ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitRecoveryFlowBodyWithCaptcha) GetMethod ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetMethod() string
GetMethod returns the Method field value
func (*SubmitRecoveryFlowBodyWithCaptcha) GetMethodOk ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitRecoveryFlowBodyWithCaptcha) GetToken ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetToken() string
GetToken returns the Token field value if set, zero value otherwise.
func (*SubmitRecoveryFlowBodyWithCaptcha) GetTokenOk ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitRecoveryFlowBodyWithCaptcha) GetTraits ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTraits() RecoveryTraits
GetTraits returns the Traits field value
func (*SubmitRecoveryFlowBodyWithCaptcha) GetTraitsOk ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTraitsOk() (*RecoveryTraits, bool)
GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.
func (*SubmitRecoveryFlowBodyWithCaptcha) HasCsrfToken ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (*SubmitRecoveryFlowBodyWithCaptcha) HasToken ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) HasToken() bool
HasToken returns a boolean if a field has been set.
func (SubmitRecoveryFlowBodyWithCaptcha) MarshalJSON ¶
func (o SubmitRecoveryFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
func (*SubmitRecoveryFlowBodyWithCaptcha) SetCsrfToken ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitRecoveryFlowBodyWithCaptcha) SetMethod ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) SetMethod(v string)
SetMethod sets field value
func (*SubmitRecoveryFlowBodyWithCaptcha) SetToken ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) SetToken(v string)
SetToken gets a reference to the given string and assigns it to the Token field.
func (*SubmitRecoveryFlowBodyWithCaptcha) SetTraits ¶
func (o *SubmitRecoveryFlowBodyWithCaptcha) SetTraits(v RecoveryTraits)
SetTraits sets field value
type SubmitRegistrationFlowBody ¶
type SubmitRegistrationFlowBody struct { SubmitRegistrationFlowBodyWithOidc *SubmitRegistrationFlowBodyWithOidc SubmitRegistrationFlowBodyWithPassword *SubmitRegistrationFlowBodyWithPassword }
SubmitRegistrationFlowBody - struct for SubmitRegistrationFlowBody
func SubmitRegistrationFlowBodyWithOidcAsSubmitRegistrationFlowBody ¶
func SubmitRegistrationFlowBodyWithOidcAsSubmitRegistrationFlowBody(v *SubmitRegistrationFlowBodyWithOidc) SubmitRegistrationFlowBody
SubmitRegistrationFlowBodyWithOidcAsSubmitRegistrationFlowBody is a convenience function that returns SubmitRegistrationFlowBodyWithOidc wrapped in SubmitRegistrationFlowBody
func SubmitRegistrationFlowBodyWithPasswordAsSubmitRegistrationFlowBody ¶
func SubmitRegistrationFlowBodyWithPasswordAsSubmitRegistrationFlowBody(v *SubmitRegistrationFlowBodyWithPassword) SubmitRegistrationFlowBody
SubmitRegistrationFlowBodyWithPasswordAsSubmitRegistrationFlowBody is a convenience function that returns SubmitRegistrationFlowBodyWithPassword wrapped in SubmitRegistrationFlowBody
func (*SubmitRegistrationFlowBody) GetActualInstance ¶
func (obj *SubmitRegistrationFlowBody) GetActualInstance() interface{}
Get the actual instance
func (SubmitRegistrationFlowBody) MarshalJSON ¶
func (src SubmitRegistrationFlowBody) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SubmitRegistrationFlowBody) UnmarshalJSON ¶
func (dst *SubmitRegistrationFlowBody) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SubmitRegistrationFlowBodyWithOidc ¶
type SubmitRegistrationFlowBodyWithOidc struct { // The CSRF Token CsrfToken *string `json:"csrf_token,omitempty"` // Method to use This field must be set to `oidc` when using the oidc method. Method string `json:"method"` // The provider to register with Provider string `json:"provider"` Traits RegistrationTraits `json:"traits"` }
SubmitRegistrationFlowBodyWithOidc SubmitRegistrationFlowBodyWithOidc is used to decode the registration form payload when using the oidc method.
func NewSubmitRegistrationFlowBodyWithOidc ¶
func NewSubmitRegistrationFlowBodyWithOidc(method string, provider string, traits RegistrationTraits) *SubmitRegistrationFlowBodyWithOidc
NewSubmitRegistrationFlowBodyWithOidc instantiates a new SubmitRegistrationFlowBodyWithOidc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitRegistrationFlowBodyWithOidcWithDefaults ¶
func NewSubmitRegistrationFlowBodyWithOidcWithDefaults() *SubmitRegistrationFlowBodyWithOidc
NewSubmitRegistrationFlowBodyWithOidcWithDefaults instantiates a new SubmitRegistrationFlowBodyWithOidc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitRegistrationFlowBodyWithOidc) GetCsrfToken ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitRegistrationFlowBodyWithOidc) GetCsrfTokenOk ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithOidc) GetMethod ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetMethod() string
GetMethod returns the Method field value
func (*SubmitRegistrationFlowBodyWithOidc) GetMethodOk ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithOidc) GetProvider ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetProvider() string
GetProvider returns the Provider field value
func (*SubmitRegistrationFlowBodyWithOidc) GetProviderOk ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithOidc) GetTraits ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetTraits() RegistrationTraits
GetTraits returns the Traits field value
func (*SubmitRegistrationFlowBodyWithOidc) GetTraitsOk ¶
func (o *SubmitRegistrationFlowBodyWithOidc) GetTraitsOk() (*RegistrationTraits, bool)
GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithOidc) HasCsrfToken ¶
func (o *SubmitRegistrationFlowBodyWithOidc) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitRegistrationFlowBodyWithOidc) MarshalJSON ¶
func (o SubmitRegistrationFlowBodyWithOidc) MarshalJSON() ([]byte, error)
func (*SubmitRegistrationFlowBodyWithOidc) SetCsrfToken ¶
func (o *SubmitRegistrationFlowBodyWithOidc) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitRegistrationFlowBodyWithOidc) SetMethod ¶
func (o *SubmitRegistrationFlowBodyWithOidc) SetMethod(v string)
SetMethod sets field value
func (*SubmitRegistrationFlowBodyWithOidc) SetProvider ¶
func (o *SubmitRegistrationFlowBodyWithOidc) SetProvider(v string)
SetProvider sets field value
func (*SubmitRegistrationFlowBodyWithOidc) SetTraits ¶
func (o *SubmitRegistrationFlowBodyWithOidc) SetTraits(v RegistrationTraits)
SetTraits sets field value
type SubmitRegistrationFlowBodyWithPassword ¶
type SubmitRegistrationFlowBodyWithPassword struct { // Password to sign the user up with ConfirmPassword string `json:"confirm_password"` // The CSRF Token CsrfToken *string `json:"csrf_token,omitempty"` // Method to use This field must be set to `password` when using the password method. Method string `json:"method"` // Password to sign the user up with Password string `json:"password"` Traits RegistrationTraits `json:"traits"` }
SubmitRegistrationFlowBodyWithPassword SubmitRegistrationFlowBodyWithPassword is used to decode the registration form payload when using the password method.
func NewSubmitRegistrationFlowBodyWithPassword ¶
func NewSubmitRegistrationFlowBodyWithPassword(confirmPassword string, method string, password string, traits RegistrationTraits) *SubmitRegistrationFlowBodyWithPassword
NewSubmitRegistrationFlowBodyWithPassword instantiates a new SubmitRegistrationFlowBodyWithPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitRegistrationFlowBodyWithPasswordWithDefaults ¶
func NewSubmitRegistrationFlowBodyWithPasswordWithDefaults() *SubmitRegistrationFlowBodyWithPassword
NewSubmitRegistrationFlowBodyWithPasswordWithDefaults instantiates a new SubmitRegistrationFlowBodyWithPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitRegistrationFlowBodyWithPassword) GetConfirmPassword ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetConfirmPassword() string
GetConfirmPassword returns the ConfirmPassword field value
func (*SubmitRegistrationFlowBodyWithPassword) GetConfirmPasswordOk ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetConfirmPasswordOk() (*string, bool)
GetConfirmPasswordOk returns a tuple with the ConfirmPassword field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithPassword) GetCsrfToken ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitRegistrationFlowBodyWithPassword) GetCsrfTokenOk ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithPassword) GetMethod ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetMethod() string
GetMethod returns the Method field value
func (*SubmitRegistrationFlowBodyWithPassword) GetMethodOk ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithPassword) GetPassword ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetPassword() string
GetPassword returns the Password field value
func (*SubmitRegistrationFlowBodyWithPassword) GetPasswordOk ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithPassword) GetTraits ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetTraits() RegistrationTraits
GetTraits returns the Traits field value
func (*SubmitRegistrationFlowBodyWithPassword) GetTraitsOk ¶
func (o *SubmitRegistrationFlowBodyWithPassword) GetTraitsOk() (*RegistrationTraits, bool)
GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowBodyWithPassword) HasCsrfToken ¶
func (o *SubmitRegistrationFlowBodyWithPassword) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitRegistrationFlowBodyWithPassword) MarshalJSON ¶
func (o SubmitRegistrationFlowBodyWithPassword) MarshalJSON() ([]byte, error)
func (*SubmitRegistrationFlowBodyWithPassword) SetConfirmPassword ¶
func (o *SubmitRegistrationFlowBodyWithPassword) SetConfirmPassword(v string)
SetConfirmPassword sets field value
func (*SubmitRegistrationFlowBodyWithPassword) SetCsrfToken ¶
func (o *SubmitRegistrationFlowBodyWithPassword) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitRegistrationFlowBodyWithPassword) SetMethod ¶
func (o *SubmitRegistrationFlowBodyWithPassword) SetMethod(v string)
SetMethod sets field value
func (*SubmitRegistrationFlowBodyWithPassword) SetPassword ¶
func (o *SubmitRegistrationFlowBodyWithPassword) SetPassword(v string)
SetPassword sets field value
func (*SubmitRegistrationFlowBodyWithPassword) SetTraits ¶
func (o *SubmitRegistrationFlowBodyWithPassword) SetTraits(v RegistrationTraits)
SetTraits sets field value
type SubmitRegistrationFlowResponse ¶
type SubmitRegistrationFlowResponse struct { Identity Identity `json:"identity"` Session *Session `json:"session,omitempty"` // The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! SessionToken *string `json:"session_token,omitempty"` }
SubmitRegistrationFlowResponse The Response for Registration Flows via API
func NewSubmitRegistrationFlowResponse ¶
func NewSubmitRegistrationFlowResponse(identity Identity) *SubmitRegistrationFlowResponse
NewSubmitRegistrationFlowResponse instantiates a new SubmitRegistrationFlowResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitRegistrationFlowResponseWithDefaults ¶
func NewSubmitRegistrationFlowResponseWithDefaults() *SubmitRegistrationFlowResponse
NewSubmitRegistrationFlowResponseWithDefaults instantiates a new SubmitRegistrationFlowResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitRegistrationFlowResponse) GetIdentity ¶
func (o *SubmitRegistrationFlowResponse) GetIdentity() Identity
GetIdentity returns the Identity field value
func (*SubmitRegistrationFlowResponse) GetIdentityOk ¶
func (o *SubmitRegistrationFlowResponse) GetIdentityOk() (*Identity, bool)
GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowResponse) GetSession ¶
func (o *SubmitRegistrationFlowResponse) GetSession() Session
GetSession returns the Session field value if set, zero value otherwise.
func (*SubmitRegistrationFlowResponse) GetSessionOk ¶
func (o *SubmitRegistrationFlowResponse) GetSessionOk() (*Session, bool)
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowResponse) GetSessionToken ¶
func (o *SubmitRegistrationFlowResponse) GetSessionToken() string
GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (*SubmitRegistrationFlowResponse) GetSessionTokenOk ¶
func (o *SubmitRegistrationFlowResponse) GetSessionTokenOk() (*string, bool)
GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitRegistrationFlowResponse) HasSession ¶
func (o *SubmitRegistrationFlowResponse) HasSession() bool
HasSession returns a boolean if a field has been set.
func (*SubmitRegistrationFlowResponse) HasSessionToken ¶
func (o *SubmitRegistrationFlowResponse) HasSessionToken() bool
HasSessionToken returns a boolean if a field has been set.
func (SubmitRegistrationFlowResponse) MarshalJSON ¶
func (o SubmitRegistrationFlowResponse) MarshalJSON() ([]byte, error)
func (*SubmitRegistrationFlowResponse) SetIdentity ¶
func (o *SubmitRegistrationFlowResponse) SetIdentity(v Identity)
SetIdentity sets field value
func (*SubmitRegistrationFlowResponse) SetSession ¶
func (o *SubmitRegistrationFlowResponse) SetSession(v Session)
SetSession gets a reference to the given Session and assigns it to the Session field.
func (*SubmitRegistrationFlowResponse) SetSessionToken ¶
func (o *SubmitRegistrationFlowResponse) SetSessionToken(v string)
SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.
type SubmitSettingsFlowBody ¶
type SubmitSettingsFlowBody struct { SubmitSettingsFlowBodyWithPassword *SubmitSettingsFlowBodyWithPassword SubmitSettingsFlowBodyWithProfile *SubmitSettingsFlowBodyWithProfile SubmitSettingsFlowBodyWithTotp *SubmitSettingsFlowBodyWithTotp }
SubmitSettingsFlowBody - struct for SubmitSettingsFlowBody
func SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody ¶
func SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithPassword) SubmitSettingsFlowBody
SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody is a convenience function that returns SubmitSettingsFlowBodyWithPassword wrapped in SubmitSettingsFlowBody
func SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody ¶
func SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithProfile) SubmitSettingsFlowBody
SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody is a convenience function that returns SubmitSettingsFlowBodyWithProfile wrapped in SubmitSettingsFlowBody
func SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody ¶
func SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithTotp) SubmitSettingsFlowBody
SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody is a convenience function that returns SubmitSettingsFlowBodyWithTotp wrapped in SubmitSettingsFlowBody
func (*SubmitSettingsFlowBody) GetActualInstance ¶
func (obj *SubmitSettingsFlowBody) GetActualInstance() interface{}
Get the actual instance
func (SubmitSettingsFlowBody) MarshalJSON ¶
func (src SubmitSettingsFlowBody) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SubmitSettingsFlowBody) UnmarshalJSON ¶
func (dst *SubmitSettingsFlowBody) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SubmitSettingsFlowBodyWithPassword ¶
type SubmitSettingsFlowBodyWithPassword struct { // CSRFToken is the anti-CSRF token CsrfToken *string `json:"csrf_token,omitempty"` // Method Should be set to password when trying to update a password. Method string `json:"method"` // Password is the updated password Password string `json:"password"` }
SubmitSettingsFlowBodyWithPassword struct for SubmitSettingsFlowBodyWithPassword
func NewSubmitSettingsFlowBodyWithPassword ¶
func NewSubmitSettingsFlowBodyWithPassword(method string, password string) *SubmitSettingsFlowBodyWithPassword
NewSubmitSettingsFlowBodyWithPassword instantiates a new SubmitSettingsFlowBodyWithPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitSettingsFlowBodyWithPasswordWithDefaults ¶
func NewSubmitSettingsFlowBodyWithPasswordWithDefaults() *SubmitSettingsFlowBodyWithPassword
NewSubmitSettingsFlowBodyWithPasswordWithDefaults instantiates a new SubmitSettingsFlowBodyWithPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitSettingsFlowBodyWithPassword) GetCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithPassword) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitSettingsFlowBodyWithPassword) GetCsrfTokenOk ¶
func (o *SubmitSettingsFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithPassword) GetMethod ¶
func (o *SubmitSettingsFlowBodyWithPassword) GetMethod() string
GetMethod returns the Method field value
func (*SubmitSettingsFlowBodyWithPassword) GetMethodOk ¶
func (o *SubmitSettingsFlowBodyWithPassword) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithPassword) GetPassword ¶
func (o *SubmitSettingsFlowBodyWithPassword) GetPassword() string
GetPassword returns the Password field value
func (*SubmitSettingsFlowBodyWithPassword) GetPasswordOk ¶
func (o *SubmitSettingsFlowBodyWithPassword) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithPassword) HasCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithPassword) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitSettingsFlowBodyWithPassword) MarshalJSON ¶
func (o SubmitSettingsFlowBodyWithPassword) MarshalJSON() ([]byte, error)
func (*SubmitSettingsFlowBodyWithPassword) SetCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithPassword) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitSettingsFlowBodyWithPassword) SetMethod ¶
func (o *SubmitSettingsFlowBodyWithPassword) SetMethod(v string)
SetMethod sets field value
func (*SubmitSettingsFlowBodyWithPassword) SetPassword ¶
func (o *SubmitSettingsFlowBodyWithPassword) SetPassword(v string)
SetPassword sets field value
type SubmitSettingsFlowBodyWithProfile ¶
type SubmitSettingsFlowBodyWithProfile struct { // The Anti-CSRF Token This token is only required when performing browser flows. CsrfToken *string `json:"csrf_token,omitempty"` // Method Should be set to profile when trying to update a profile. Method string `json:"method"` // Token must contain a valid token based on the Token string `json:"token"` Traits IdentityTraits `json:"traits"` }
SubmitSettingsFlowBodyWithProfile struct for SubmitSettingsFlowBodyWithProfile
func NewSubmitSettingsFlowBodyWithProfile ¶
func NewSubmitSettingsFlowBodyWithProfile(method string, token string, traits IdentityTraits) *SubmitSettingsFlowBodyWithProfile
NewSubmitSettingsFlowBodyWithProfile instantiates a new SubmitSettingsFlowBodyWithProfile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitSettingsFlowBodyWithProfileWithDefaults ¶
func NewSubmitSettingsFlowBodyWithProfileWithDefaults() *SubmitSettingsFlowBodyWithProfile
NewSubmitSettingsFlowBodyWithProfileWithDefaults instantiates a new SubmitSettingsFlowBodyWithProfile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitSettingsFlowBodyWithProfile) GetCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitSettingsFlowBodyWithProfile) GetCsrfTokenOk ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithProfile) GetMethod ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetMethod() string
GetMethod returns the Method field value
func (*SubmitSettingsFlowBodyWithProfile) GetMethodOk ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithProfile) GetToken ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetToken() string
GetToken returns the Token field value
func (*SubmitSettingsFlowBodyWithProfile) GetTokenOk ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithProfile) GetTraits ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetTraits() IdentityTraits
GetTraits returns the Traits field value
func (*SubmitSettingsFlowBodyWithProfile) GetTraitsOk ¶
func (o *SubmitSettingsFlowBodyWithProfile) GetTraitsOk() (*IdentityTraits, bool)
GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithProfile) HasCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithProfile) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (SubmitSettingsFlowBodyWithProfile) MarshalJSON ¶
func (o SubmitSettingsFlowBodyWithProfile) MarshalJSON() ([]byte, error)
func (*SubmitSettingsFlowBodyWithProfile) SetCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithProfile) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitSettingsFlowBodyWithProfile) SetMethod ¶
func (o *SubmitSettingsFlowBodyWithProfile) SetMethod(v string)
SetMethod sets field value
func (*SubmitSettingsFlowBodyWithProfile) SetToken ¶
func (o *SubmitSettingsFlowBodyWithProfile) SetToken(v string)
SetToken sets field value
func (*SubmitSettingsFlowBodyWithProfile) SetTraits ¶
func (o *SubmitSettingsFlowBodyWithProfile) SetTraits(v IdentityTraits)
SetTraits sets field value
type SubmitSettingsFlowBodyWithTotp ¶
type SubmitSettingsFlowBodyWithTotp struct { // CSRFToken is the anti-CSRF token CsrfToken *string `json:"csrf_token,omitempty"` // Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. Method string `json:"method"` // RecoveryCodesRegenerate if true will generate new recovery codes RecoveryCodesRegenerate *bool `json:"recovery_codes_regenerate,omitempty"` // Code must contain a valid TOTP based on the TotpCode *string `json:"totp_code,omitempty"` // UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. TotpUnlink *bool `json:"totp_unlink,omitempty"` }
SubmitSettingsFlowBodyWithTotp struct for SubmitSettingsFlowBodyWithTotp
func NewSubmitSettingsFlowBodyWithTotp ¶
func NewSubmitSettingsFlowBodyWithTotp(method string) *SubmitSettingsFlowBodyWithTotp
NewSubmitSettingsFlowBodyWithTotp instantiates a new SubmitSettingsFlowBodyWithTotp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitSettingsFlowBodyWithTotpWithDefaults ¶
func NewSubmitSettingsFlowBodyWithTotpWithDefaults() *SubmitSettingsFlowBodyWithTotp
NewSubmitSettingsFlowBodyWithTotpWithDefaults instantiates a new SubmitSettingsFlowBodyWithTotp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitSettingsFlowBodyWithTotp) GetCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitSettingsFlowBodyWithTotp) GetCsrfTokenOk ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithTotp) GetMethod ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetMethod() string
GetMethod returns the Method field value
func (*SubmitSettingsFlowBodyWithTotp) GetMethodOk ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerate ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerate() bool
GetRecoveryCodesRegenerate returns the RecoveryCodesRegenerate field value if set, zero value otherwise.
func (*SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerateOk ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerateOk() (*bool, bool)
GetRecoveryCodesRegenerateOk returns a tuple with the RecoveryCodesRegenerate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithTotp) GetTotpCode ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetTotpCode() string
GetTotpCode returns the TotpCode field value if set, zero value otherwise.
func (*SubmitSettingsFlowBodyWithTotp) GetTotpCodeOk ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetTotpCodeOk() (*string, bool)
GetTotpCodeOk returns a tuple with the TotpCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithTotp) GetTotpUnlink ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetTotpUnlink() bool
GetTotpUnlink returns the TotpUnlink field value if set, zero value otherwise.
func (*SubmitSettingsFlowBodyWithTotp) GetTotpUnlinkOk ¶
func (o *SubmitSettingsFlowBodyWithTotp) GetTotpUnlinkOk() (*bool, bool)
GetTotpUnlinkOk returns a tuple with the TotpUnlink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitSettingsFlowBodyWithTotp) HasCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithTotp) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (*SubmitSettingsFlowBodyWithTotp) HasRecoveryCodesRegenerate ¶
func (o *SubmitSettingsFlowBodyWithTotp) HasRecoveryCodesRegenerate() bool
HasRecoveryCodesRegenerate returns a boolean if a field has been set.
func (*SubmitSettingsFlowBodyWithTotp) HasTotpCode ¶
func (o *SubmitSettingsFlowBodyWithTotp) HasTotpCode() bool
HasTotpCode returns a boolean if a field has been set.
func (*SubmitSettingsFlowBodyWithTotp) HasTotpUnlink ¶
func (o *SubmitSettingsFlowBodyWithTotp) HasTotpUnlink() bool
HasTotpUnlink returns a boolean if a field has been set.
func (SubmitSettingsFlowBodyWithTotp) MarshalJSON ¶
func (o SubmitSettingsFlowBodyWithTotp) MarshalJSON() ([]byte, error)
func (*SubmitSettingsFlowBodyWithTotp) SetCsrfToken ¶
func (o *SubmitSettingsFlowBodyWithTotp) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitSettingsFlowBodyWithTotp) SetMethod ¶
func (o *SubmitSettingsFlowBodyWithTotp) SetMethod(v string)
SetMethod sets field value
func (*SubmitSettingsFlowBodyWithTotp) SetRecoveryCodesRegenerate ¶
func (o *SubmitSettingsFlowBodyWithTotp) SetRecoveryCodesRegenerate(v bool)
SetRecoveryCodesRegenerate gets a reference to the given bool and assigns it to the RecoveryCodesRegenerate field.
func (*SubmitSettingsFlowBodyWithTotp) SetTotpCode ¶
func (o *SubmitSettingsFlowBodyWithTotp) SetTotpCode(v string)
SetTotpCode gets a reference to the given string and assigns it to the TotpCode field.
func (*SubmitSettingsFlowBodyWithTotp) SetTotpUnlink ¶
func (o *SubmitSettingsFlowBodyWithTotp) SetTotpUnlink(v bool)
SetTotpUnlink gets a reference to the given bool and assigns it to the TotpUnlink field.
type SubmitVerificationFlowBody ¶
type SubmitVerificationFlowBody struct {
SubmitVerificationFlowBodyWithCaptcha *SubmitVerificationFlowBodyWithCaptcha
}
SubmitVerificationFlowBody - struct for SubmitVerificationFlowBody
func SubmitVerificationFlowBodyWithCaptchaAsSubmitVerificationFlowBody ¶
func SubmitVerificationFlowBodyWithCaptchaAsSubmitVerificationFlowBody(v *SubmitVerificationFlowBodyWithCaptcha) SubmitVerificationFlowBody
SubmitVerificationFlowBodyWithCaptchaAsSubmitVerificationFlowBody is a convenience function that returns SubmitVerificationFlowBodyWithCaptcha wrapped in SubmitVerificationFlowBody
func (*SubmitVerificationFlowBody) GetActualInstance ¶
func (obj *SubmitVerificationFlowBody) GetActualInstance() interface{}
Get the actual instance
func (SubmitVerificationFlowBody) MarshalJSON ¶
func (src SubmitVerificationFlowBody) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SubmitVerificationFlowBody) UnmarshalJSON ¶
func (dst *SubmitVerificationFlowBody) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SubmitVerificationFlowBodyWithCaptcha ¶
type SubmitVerificationFlowBodyWithCaptcha struct { // Sending the anti-csrf token is only required for browser login flows. CsrfToken *string `json:"csrf_token,omitempty"` // Method supports `captcha` only right now. Method string `json:"method"` // Verification Token Token *string `json:"token,omitempty"` Traits VerificationTraits `json:"traits"` }
SubmitVerificationFlowBodyWithCaptcha struct for SubmitVerificationFlowBodyWithCaptcha
func NewSubmitVerificationFlowBodyWithCaptcha ¶
func NewSubmitVerificationFlowBodyWithCaptcha(method string, traits VerificationTraits) *SubmitVerificationFlowBodyWithCaptcha
NewSubmitVerificationFlowBodyWithCaptcha instantiates a new SubmitVerificationFlowBodyWithCaptcha object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSubmitVerificationFlowBodyWithCaptchaWithDefaults ¶
func NewSubmitVerificationFlowBodyWithCaptchaWithDefaults() *SubmitVerificationFlowBodyWithCaptcha
NewSubmitVerificationFlowBodyWithCaptchaWithDefaults instantiates a new SubmitVerificationFlowBodyWithCaptcha object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SubmitVerificationFlowBodyWithCaptcha) GetCsrfToken ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.
func (*SubmitVerificationFlowBodyWithCaptcha) GetCsrfTokenOk ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetCsrfTokenOk() (*string, bool)
GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitVerificationFlowBodyWithCaptcha) GetMethod ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetMethod() string
GetMethod returns the Method field value
func (*SubmitVerificationFlowBodyWithCaptcha) GetMethodOk ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*SubmitVerificationFlowBodyWithCaptcha) GetToken ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetToken() string
GetToken returns the Token field value if set, zero value otherwise.
func (*SubmitVerificationFlowBodyWithCaptcha) GetTokenOk ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitVerificationFlowBodyWithCaptcha) GetTraits ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetTraits() VerificationTraits
GetTraits returns the Traits field value
func (*SubmitVerificationFlowBodyWithCaptcha) GetTraitsOk ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) GetTraitsOk() (*VerificationTraits, bool)
GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.
func (*SubmitVerificationFlowBodyWithCaptcha) HasCsrfToken ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (*SubmitVerificationFlowBodyWithCaptcha) HasToken ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) HasToken() bool
HasToken returns a boolean if a field has been set.
func (SubmitVerificationFlowBodyWithCaptcha) MarshalJSON ¶
func (o SubmitVerificationFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)
func (*SubmitVerificationFlowBodyWithCaptcha) SetCsrfToken ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) SetCsrfToken(v string)
SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.
func (*SubmitVerificationFlowBodyWithCaptcha) SetMethod ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) SetMethod(v string)
SetMethod sets field value
func (*SubmitVerificationFlowBodyWithCaptcha) SetToken ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) SetToken(v string)
SetToken gets a reference to the given string and assigns it to the Token field.
func (*SubmitVerificationFlowBodyWithCaptcha) SetTraits ¶
func (o *SubmitVerificationFlowBodyWithCaptcha) SetTraits(v VerificationTraits)
SetTraits sets field value
type UiContainer ¶
type UiContainer struct { // Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. Action string `json:"action"` Messages []UiText `json:"messages,omitempty"` // Method is the form method (e.g. POST) Method string `json:"method"` Nodes []UiNode `json:"nodes"` }
UiContainer Container represents a HTML Form. The container can work with both HTTP Form and JSON requests
func NewUiContainer ¶
func NewUiContainer(action string, method string, nodes []UiNode) *UiContainer
NewUiContainer instantiates a new UiContainer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiContainerWithDefaults ¶
func NewUiContainerWithDefaults() *UiContainer
NewUiContainerWithDefaults instantiates a new UiContainer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiContainer) GetAction ¶
func (o *UiContainer) GetAction() string
GetAction returns the Action field value
func (*UiContainer) GetActionOk ¶
func (o *UiContainer) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*UiContainer) GetMessages ¶
func (o *UiContainer) GetMessages() []UiText
GetMessages returns the Messages field value if set, zero value otherwise.
func (*UiContainer) GetMessagesOk ¶
func (o *UiContainer) GetMessagesOk() ([]UiText, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiContainer) GetMethod ¶
func (o *UiContainer) GetMethod() string
GetMethod returns the Method field value
func (*UiContainer) GetMethodOk ¶
func (o *UiContainer) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*UiContainer) GetNodes ¶
func (o *UiContainer) GetNodes() []UiNode
GetNodes returns the Nodes field value
func (*UiContainer) GetNodesOk ¶
func (o *UiContainer) GetNodesOk() ([]UiNode, bool)
GetNodesOk returns a tuple with the Nodes field value and a boolean to check if the value has been set.
func (*UiContainer) HasMessages ¶
func (o *UiContainer) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (UiContainer) MarshalJSON ¶
func (o UiContainer) MarshalJSON() ([]byte, error)
func (*UiContainer) SetAction ¶
func (o *UiContainer) SetAction(v string)
SetAction sets field value
func (*UiContainer) SetMessages ¶
func (o *UiContainer) SetMessages(v []UiText)
SetMessages gets a reference to the given []UiText and assigns it to the Messages field.
func (*UiContainer) SetMethod ¶
func (o *UiContainer) SetMethod(v string)
SetMethod sets field value
type UiNode ¶
type UiNode struct { Attributes UiNodeAttributes `json:"attributes"` // Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup captcha CaptchaGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup consent ConsentGroup Group string `json:"group"` Messages []UiText `json:"messages"` Meta UiNodeMeta `json:"meta"` // The node's type text Text input Input img Image a Anchor script Script Type string `json:"type"` }
UiNode Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an `<img>` tag, or an `<input element>` but also `some plain text`.
func NewUiNode ¶
func NewUiNode(attributes UiNodeAttributes, group string, messages []UiText, meta UiNodeMeta, type_ string) *UiNode
NewUiNode instantiates a new UiNode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeWithDefaults ¶
func NewUiNodeWithDefaults() *UiNode
NewUiNodeWithDefaults instantiates a new UiNode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNode) GetAttributes ¶
func (o *UiNode) GetAttributes() UiNodeAttributes
GetAttributes returns the Attributes field value
func (*UiNode) GetAttributesOk ¶
func (o *UiNode) GetAttributesOk() (*UiNodeAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*UiNode) GetGroupOk ¶
GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.
func (*UiNode) GetMessages ¶
GetMessages returns the Messages field value
func (*UiNode) GetMessagesOk ¶
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.
func (*UiNode) GetMetaOk ¶
func (o *UiNode) GetMetaOk() (*UiNodeMeta, bool)
GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.
func (*UiNode) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (UiNode) MarshalJSON ¶
func (*UiNode) SetAttributes ¶
func (o *UiNode) SetAttributes(v UiNodeAttributes)
SetAttributes sets field value
type UiNodeAnchorAttributes ¶
type UiNodeAnchorAttributes struct { // The link's href (destination) URL. format: uri Href string `json:"href"` // A unique identifier Id string `json:"id"` // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". NodeType string `json:"node_type"` Title UiText `json:"title"` }
UiNodeAnchorAttributes struct for UiNodeAnchorAttributes
func NewUiNodeAnchorAttributes ¶
func NewUiNodeAnchorAttributes(href string, id string, nodeType string, title UiText) *UiNodeAnchorAttributes
NewUiNodeAnchorAttributes instantiates a new UiNodeAnchorAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeAnchorAttributesWithDefaults ¶
func NewUiNodeAnchorAttributesWithDefaults() *UiNodeAnchorAttributes
NewUiNodeAnchorAttributesWithDefaults instantiates a new UiNodeAnchorAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNodeAnchorAttributes) GetHref ¶
func (o *UiNodeAnchorAttributes) GetHref() string
GetHref returns the Href field value
func (*UiNodeAnchorAttributes) GetHrefOk ¶
func (o *UiNodeAnchorAttributes) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.
func (*UiNodeAnchorAttributes) GetId ¶
func (o *UiNodeAnchorAttributes) GetId() string
GetId returns the Id field value
func (*UiNodeAnchorAttributes) GetIdOk ¶
func (o *UiNodeAnchorAttributes) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UiNodeAnchorAttributes) GetNodeType ¶
func (o *UiNodeAnchorAttributes) GetNodeType() string
GetNodeType returns the NodeType field value
func (*UiNodeAnchorAttributes) GetNodeTypeOk ¶
func (o *UiNodeAnchorAttributes) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*UiNodeAnchorAttributes) GetTitle ¶
func (o *UiNodeAnchorAttributes) GetTitle() UiText
GetTitle returns the Title field value
func (*UiNodeAnchorAttributes) GetTitleOk ¶
func (o *UiNodeAnchorAttributes) GetTitleOk() (*UiText, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (UiNodeAnchorAttributes) MarshalJSON ¶
func (o UiNodeAnchorAttributes) MarshalJSON() ([]byte, error)
func (*UiNodeAnchorAttributes) SetHref ¶
func (o *UiNodeAnchorAttributes) SetHref(v string)
SetHref sets field value
func (*UiNodeAnchorAttributes) SetId ¶
func (o *UiNodeAnchorAttributes) SetId(v string)
SetId sets field value
func (*UiNodeAnchorAttributes) SetNodeType ¶
func (o *UiNodeAnchorAttributes) SetNodeType(v string)
SetNodeType sets field value
func (*UiNodeAnchorAttributes) SetTitle ¶
func (o *UiNodeAnchorAttributes) SetTitle(v UiText)
SetTitle sets field value
type UiNodeAttributes ¶
type UiNodeAttributes struct { UiNodeAnchorAttributes *UiNodeAnchorAttributes UiNodeImageAttributes *UiNodeImageAttributes UiNodeInputAttributes *UiNodeInputAttributes UiNodeScriptAttributes *UiNodeScriptAttributes UiNodeTextAttributes *UiNodeTextAttributes }
UiNodeAttributes - struct for UiNodeAttributes
func UiNodeAnchorAttributesAsUiNodeAttributes ¶
func UiNodeAnchorAttributesAsUiNodeAttributes(v *UiNodeAnchorAttributes) UiNodeAttributes
UiNodeAnchorAttributesAsUiNodeAttributes is a convenience function that returns UiNodeAnchorAttributes wrapped in UiNodeAttributes
func UiNodeImageAttributesAsUiNodeAttributes ¶
func UiNodeImageAttributesAsUiNodeAttributes(v *UiNodeImageAttributes) UiNodeAttributes
UiNodeImageAttributesAsUiNodeAttributes is a convenience function that returns UiNodeImageAttributes wrapped in UiNodeAttributes
func UiNodeInputAttributesAsUiNodeAttributes ¶
func UiNodeInputAttributesAsUiNodeAttributes(v *UiNodeInputAttributes) UiNodeAttributes
UiNodeInputAttributesAsUiNodeAttributes is a convenience function that returns UiNodeInputAttributes wrapped in UiNodeAttributes
func UiNodeScriptAttributesAsUiNodeAttributes ¶
func UiNodeScriptAttributesAsUiNodeAttributes(v *UiNodeScriptAttributes) UiNodeAttributes
UiNodeScriptAttributesAsUiNodeAttributes is a convenience function that returns UiNodeScriptAttributes wrapped in UiNodeAttributes
func UiNodeTextAttributesAsUiNodeAttributes ¶
func UiNodeTextAttributesAsUiNodeAttributes(v *UiNodeTextAttributes) UiNodeAttributes
UiNodeTextAttributesAsUiNodeAttributes is a convenience function that returns UiNodeTextAttributes wrapped in UiNodeAttributes
func (*UiNodeAttributes) GetActualInstance ¶
func (obj *UiNodeAttributes) GetActualInstance() interface{}
Get the actual instance
func (UiNodeAttributes) MarshalJSON ¶
func (src UiNodeAttributes) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*UiNodeAttributes) UnmarshalJSON ¶
func (dst *UiNodeAttributes) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type UiNodeImageAttributes ¶
type UiNodeImageAttributes struct { // Height of the image Height int64 `json:"height"` // A unique identifier Id string `json:"id"` // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". NodeType string `json:"node_type"` // The image's source URL. format: uri Src string `json:"src"` // Width of the image Width int64 `json:"width"` }
UiNodeImageAttributes struct for UiNodeImageAttributes
func NewUiNodeImageAttributes ¶
func NewUiNodeImageAttributes(height int64, id string, nodeType string, src string, width int64) *UiNodeImageAttributes
NewUiNodeImageAttributes instantiates a new UiNodeImageAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeImageAttributesWithDefaults ¶
func NewUiNodeImageAttributesWithDefaults() *UiNodeImageAttributes
NewUiNodeImageAttributesWithDefaults instantiates a new UiNodeImageAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNodeImageAttributes) GetHeight ¶
func (o *UiNodeImageAttributes) GetHeight() int64
GetHeight returns the Height field value
func (*UiNodeImageAttributes) GetHeightOk ¶
func (o *UiNodeImageAttributes) GetHeightOk() (*int64, bool)
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*UiNodeImageAttributes) GetId ¶
func (o *UiNodeImageAttributes) GetId() string
GetId returns the Id field value
func (*UiNodeImageAttributes) GetIdOk ¶
func (o *UiNodeImageAttributes) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UiNodeImageAttributes) GetNodeType ¶
func (o *UiNodeImageAttributes) GetNodeType() string
GetNodeType returns the NodeType field value
func (*UiNodeImageAttributes) GetNodeTypeOk ¶
func (o *UiNodeImageAttributes) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*UiNodeImageAttributes) GetSrc ¶
func (o *UiNodeImageAttributes) GetSrc() string
GetSrc returns the Src field value
func (*UiNodeImageAttributes) GetSrcOk ¶
func (o *UiNodeImageAttributes) GetSrcOk() (*string, bool)
GetSrcOk returns a tuple with the Src field value and a boolean to check if the value has been set.
func (*UiNodeImageAttributes) GetWidth ¶
func (o *UiNodeImageAttributes) GetWidth() int64
GetWidth returns the Width field value
func (*UiNodeImageAttributes) GetWidthOk ¶
func (o *UiNodeImageAttributes) GetWidthOk() (*int64, bool)
GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.
func (UiNodeImageAttributes) MarshalJSON ¶
func (o UiNodeImageAttributes) MarshalJSON() ([]byte, error)
func (*UiNodeImageAttributes) SetHeight ¶
func (o *UiNodeImageAttributes) SetHeight(v int64)
SetHeight sets field value
func (*UiNodeImageAttributes) SetId ¶
func (o *UiNodeImageAttributes) SetId(v string)
SetId sets field value
func (*UiNodeImageAttributes) SetNodeType ¶
func (o *UiNodeImageAttributes) SetNodeType(v string)
SetNodeType sets field value
func (*UiNodeImageAttributes) SetSrc ¶
func (o *UiNodeImageAttributes) SetSrc(v string)
SetSrc sets field value
func (*UiNodeImageAttributes) SetWidth ¶
func (o *UiNodeImageAttributes) SetWidth(v int64)
SetWidth sets field value
type UiNodeInputAttributes ¶
type UiNodeInputAttributes struct { // The input's checked. Checked *bool `json:"checked,omitempty"` // Sets the input's disabled field to true or false. Disabled bool `json:"disabled"` // The input's element id Id string `json:"id"` Label *UiText `json:"label,omitempty"` // The input's element name. Name string `json:"name"` // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". NodeType string `json:"node_type"` // OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Onclick *string `json:"onclick,omitempty"` // The input's pattern. Pattern *string `json:"pattern,omitempty"` // Mark this input field as required. Required bool `json:"required"` Type string `json:"type"` // The input's value. Value interface{} `json:"value,omitempty"` }
UiNodeInputAttributes InputAttributes represents the attributes of an input node
func NewUiNodeInputAttributes ¶
func NewUiNodeInputAttributes(disabled bool, id string, name string, nodeType string, required bool, type_ string) *UiNodeInputAttributes
NewUiNodeInputAttributes instantiates a new UiNodeInputAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeInputAttributesWithDefaults ¶
func NewUiNodeInputAttributesWithDefaults() *UiNodeInputAttributes
NewUiNodeInputAttributesWithDefaults instantiates a new UiNodeInputAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNodeInputAttributes) GetChecked ¶
func (o *UiNodeInputAttributes) GetChecked() bool
GetChecked returns the Checked field value if set, zero value otherwise.
func (*UiNodeInputAttributes) GetCheckedOk ¶
func (o *UiNodeInputAttributes) GetCheckedOk() (*bool, bool)
GetCheckedOk returns a tuple with the Checked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetDisabled ¶
func (o *UiNodeInputAttributes) GetDisabled() bool
GetDisabled returns the Disabled field value
func (*UiNodeInputAttributes) GetDisabledOk ¶
func (o *UiNodeInputAttributes) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetId ¶
func (o *UiNodeInputAttributes) GetId() string
GetId returns the Id field value
func (*UiNodeInputAttributes) GetIdOk ¶
func (o *UiNodeInputAttributes) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetLabel ¶
func (o *UiNodeInputAttributes) GetLabel() UiText
GetLabel returns the Label field value if set, zero value otherwise.
func (*UiNodeInputAttributes) GetLabelOk ¶
func (o *UiNodeInputAttributes) GetLabelOk() (*UiText, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetName ¶
func (o *UiNodeInputAttributes) GetName() string
GetName returns the Name field value
func (*UiNodeInputAttributes) GetNameOk ¶
func (o *UiNodeInputAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetNodeType ¶
func (o *UiNodeInputAttributes) GetNodeType() string
GetNodeType returns the NodeType field value
func (*UiNodeInputAttributes) GetNodeTypeOk ¶
func (o *UiNodeInputAttributes) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetOnclick ¶
func (o *UiNodeInputAttributes) GetOnclick() string
GetOnclick returns the Onclick field value if set, zero value otherwise.
func (*UiNodeInputAttributes) GetOnclickOk ¶
func (o *UiNodeInputAttributes) GetOnclickOk() (*string, bool)
GetOnclickOk returns a tuple with the Onclick field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetPattern ¶
func (o *UiNodeInputAttributes) GetPattern() string
GetPattern returns the Pattern field value if set, zero value otherwise.
func (*UiNodeInputAttributes) GetPatternOk ¶
func (o *UiNodeInputAttributes) GetPatternOk() (*string, bool)
GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetRequired ¶
func (o *UiNodeInputAttributes) GetRequired() bool
GetRequired returns the Required field value
func (*UiNodeInputAttributes) GetRequiredOk ¶
func (o *UiNodeInputAttributes) GetRequiredOk() (*bool, bool)
GetRequiredOk returns a tuple with the Required field value and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetType ¶
func (o *UiNodeInputAttributes) GetType() string
GetType returns the Type field value
func (*UiNodeInputAttributes) GetTypeOk ¶
func (o *UiNodeInputAttributes) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*UiNodeInputAttributes) GetValue ¶
func (o *UiNodeInputAttributes) GetValue() interface{}
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UiNodeInputAttributes) GetValueOk ¶
func (o *UiNodeInputAttributes) GetValueOk() (*interface{}, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UiNodeInputAttributes) HasChecked ¶
func (o *UiNodeInputAttributes) HasChecked() bool
HasChecked returns a boolean if a field has been set.
func (*UiNodeInputAttributes) HasLabel ¶
func (o *UiNodeInputAttributes) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*UiNodeInputAttributes) HasOnclick ¶
func (o *UiNodeInputAttributes) HasOnclick() bool
HasOnclick returns a boolean if a field has been set.
func (*UiNodeInputAttributes) HasPattern ¶
func (o *UiNodeInputAttributes) HasPattern() bool
HasPattern returns a boolean if a field has been set.
func (*UiNodeInputAttributes) HasValue ¶
func (o *UiNodeInputAttributes) HasValue() bool
HasValue returns a boolean if a field has been set.
func (UiNodeInputAttributes) MarshalJSON ¶
func (o UiNodeInputAttributes) MarshalJSON() ([]byte, error)
func (*UiNodeInputAttributes) SetChecked ¶
func (o *UiNodeInputAttributes) SetChecked(v bool)
SetChecked gets a reference to the given bool and assigns it to the Checked field.
func (*UiNodeInputAttributes) SetDisabled ¶
func (o *UiNodeInputAttributes) SetDisabled(v bool)
SetDisabled sets field value
func (*UiNodeInputAttributes) SetId ¶
func (o *UiNodeInputAttributes) SetId(v string)
SetId sets field value
func (*UiNodeInputAttributes) SetLabel ¶
func (o *UiNodeInputAttributes) SetLabel(v UiText)
SetLabel gets a reference to the given UiText and assigns it to the Label field.
func (*UiNodeInputAttributes) SetName ¶
func (o *UiNodeInputAttributes) SetName(v string)
SetName sets field value
func (*UiNodeInputAttributes) SetNodeType ¶
func (o *UiNodeInputAttributes) SetNodeType(v string)
SetNodeType sets field value
func (*UiNodeInputAttributes) SetOnclick ¶
func (o *UiNodeInputAttributes) SetOnclick(v string)
SetOnclick gets a reference to the given string and assigns it to the Onclick field.
func (*UiNodeInputAttributes) SetPattern ¶
func (o *UiNodeInputAttributes) SetPattern(v string)
SetPattern gets a reference to the given string and assigns it to the Pattern field.
func (*UiNodeInputAttributes) SetRequired ¶
func (o *UiNodeInputAttributes) SetRequired(v bool)
SetRequired sets field value
func (*UiNodeInputAttributes) SetType ¶
func (o *UiNodeInputAttributes) SetType(v string)
SetType sets field value
func (*UiNodeInputAttributes) SetValue ¶
func (o *UiNodeInputAttributes) SetValue(v interface{})
SetValue gets a reference to the given interface{} and assigns it to the Value field.
type UiNodeMeta ¶
type UiNodeMeta struct {
Label *UiText `json:"label,omitempty"`
}
UiNodeMeta This might include a label and other information that can optionally be used to render UIs.
func NewUiNodeMeta ¶
func NewUiNodeMeta() *UiNodeMeta
NewUiNodeMeta instantiates a new UiNodeMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeMetaWithDefaults ¶
func NewUiNodeMetaWithDefaults() *UiNodeMeta
NewUiNodeMetaWithDefaults instantiates a new UiNodeMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNodeMeta) GetLabel ¶
func (o *UiNodeMeta) GetLabel() UiText
GetLabel returns the Label field value if set, zero value otherwise.
func (*UiNodeMeta) GetLabelOk ¶
func (o *UiNodeMeta) GetLabelOk() (*UiText, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiNodeMeta) HasLabel ¶
func (o *UiNodeMeta) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (UiNodeMeta) MarshalJSON ¶
func (o UiNodeMeta) MarshalJSON() ([]byte, error)
func (*UiNodeMeta) SetLabel ¶
func (o *UiNodeMeta) SetLabel(v UiText)
SetLabel gets a reference to the given UiText and assigns it to the Label field.
type UiNodeScriptAttributes ¶
type UiNodeScriptAttributes struct { // The script async type Async bool `json:"async"` // The script cross origin policy Crossorigin string `json:"crossorigin"` // A unique identifier Id string `json:"id"` // The script's integrity hash Integrity string `json:"integrity"` // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". NodeType string `json:"node_type"` // Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! Nonce string `json:"nonce"` // The script referrer policy Referrerpolicy string `json:"referrerpolicy"` // The script source Src string `json:"src"` // The script MIME type Type string `json:"type"` }
UiNodeScriptAttributes struct for UiNodeScriptAttributes
func NewUiNodeScriptAttributes ¶
func NewUiNodeScriptAttributes(async bool, crossorigin string, id string, integrity string, nodeType string, nonce string, referrerpolicy string, src string, type_ string) *UiNodeScriptAttributes
NewUiNodeScriptAttributes instantiates a new UiNodeScriptAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeScriptAttributesWithDefaults ¶
func NewUiNodeScriptAttributesWithDefaults() *UiNodeScriptAttributes
NewUiNodeScriptAttributesWithDefaults instantiates a new UiNodeScriptAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNodeScriptAttributes) GetAsync ¶
func (o *UiNodeScriptAttributes) GetAsync() bool
GetAsync returns the Async field value
func (*UiNodeScriptAttributes) GetAsyncOk ¶
func (o *UiNodeScriptAttributes) GetAsyncOk() (*bool, bool)
GetAsyncOk returns a tuple with the Async field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetCrossorigin ¶
func (o *UiNodeScriptAttributes) GetCrossorigin() string
GetCrossorigin returns the Crossorigin field value
func (*UiNodeScriptAttributes) GetCrossoriginOk ¶
func (o *UiNodeScriptAttributes) GetCrossoriginOk() (*string, bool)
GetCrossoriginOk returns a tuple with the Crossorigin field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetId ¶
func (o *UiNodeScriptAttributes) GetId() string
GetId returns the Id field value
func (*UiNodeScriptAttributes) GetIdOk ¶
func (o *UiNodeScriptAttributes) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetIntegrity ¶
func (o *UiNodeScriptAttributes) GetIntegrity() string
GetIntegrity returns the Integrity field value
func (*UiNodeScriptAttributes) GetIntegrityOk ¶
func (o *UiNodeScriptAttributes) GetIntegrityOk() (*string, bool)
GetIntegrityOk returns a tuple with the Integrity field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetNodeType ¶
func (o *UiNodeScriptAttributes) GetNodeType() string
GetNodeType returns the NodeType field value
func (*UiNodeScriptAttributes) GetNodeTypeOk ¶
func (o *UiNodeScriptAttributes) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetNonce ¶
func (o *UiNodeScriptAttributes) GetNonce() string
GetNonce returns the Nonce field value
func (*UiNodeScriptAttributes) GetNonceOk ¶
func (o *UiNodeScriptAttributes) GetNonceOk() (*string, bool)
GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetReferrerpolicy ¶
func (o *UiNodeScriptAttributes) GetReferrerpolicy() string
GetReferrerpolicy returns the Referrerpolicy field value
func (*UiNodeScriptAttributes) GetReferrerpolicyOk ¶
func (o *UiNodeScriptAttributes) GetReferrerpolicyOk() (*string, bool)
GetReferrerpolicyOk returns a tuple with the Referrerpolicy field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetSrc ¶
func (o *UiNodeScriptAttributes) GetSrc() string
GetSrc returns the Src field value
func (*UiNodeScriptAttributes) GetSrcOk ¶
func (o *UiNodeScriptAttributes) GetSrcOk() (*string, bool)
GetSrcOk returns a tuple with the Src field value and a boolean to check if the value has been set.
func (*UiNodeScriptAttributes) GetType ¶
func (o *UiNodeScriptAttributes) GetType() string
GetType returns the Type field value
func (*UiNodeScriptAttributes) GetTypeOk ¶
func (o *UiNodeScriptAttributes) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (UiNodeScriptAttributes) MarshalJSON ¶
func (o UiNodeScriptAttributes) MarshalJSON() ([]byte, error)
func (*UiNodeScriptAttributes) SetAsync ¶
func (o *UiNodeScriptAttributes) SetAsync(v bool)
SetAsync sets field value
func (*UiNodeScriptAttributes) SetCrossorigin ¶
func (o *UiNodeScriptAttributes) SetCrossorigin(v string)
SetCrossorigin sets field value
func (*UiNodeScriptAttributes) SetId ¶
func (o *UiNodeScriptAttributes) SetId(v string)
SetId sets field value
func (*UiNodeScriptAttributes) SetIntegrity ¶
func (o *UiNodeScriptAttributes) SetIntegrity(v string)
SetIntegrity sets field value
func (*UiNodeScriptAttributes) SetNodeType ¶
func (o *UiNodeScriptAttributes) SetNodeType(v string)
SetNodeType sets field value
func (*UiNodeScriptAttributes) SetNonce ¶
func (o *UiNodeScriptAttributes) SetNonce(v string)
SetNonce sets field value
func (*UiNodeScriptAttributes) SetReferrerpolicy ¶
func (o *UiNodeScriptAttributes) SetReferrerpolicy(v string)
SetReferrerpolicy sets field value
func (*UiNodeScriptAttributes) SetSrc ¶
func (o *UiNodeScriptAttributes) SetSrc(v string)
SetSrc sets field value
func (*UiNodeScriptAttributes) SetType ¶
func (o *UiNodeScriptAttributes) SetType(v string)
SetType sets field value
type UiNodeTextAttributes ¶
type UiNodeTextAttributes struct { // A unique identifier Id string `json:"id"` // NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". NodeType string `json:"node_type"` Text UiText `json:"text"` }
UiNodeTextAttributes struct for UiNodeTextAttributes
func NewUiNodeTextAttributes ¶
func NewUiNodeTextAttributes(id string, nodeType string, text UiText) *UiNodeTextAttributes
NewUiNodeTextAttributes instantiates a new UiNodeTextAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiNodeTextAttributesWithDefaults ¶
func NewUiNodeTextAttributesWithDefaults() *UiNodeTextAttributes
NewUiNodeTextAttributesWithDefaults instantiates a new UiNodeTextAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiNodeTextAttributes) GetId ¶
func (o *UiNodeTextAttributes) GetId() string
GetId returns the Id field value
func (*UiNodeTextAttributes) GetIdOk ¶
func (o *UiNodeTextAttributes) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UiNodeTextAttributes) GetNodeType ¶
func (o *UiNodeTextAttributes) GetNodeType() string
GetNodeType returns the NodeType field value
func (*UiNodeTextAttributes) GetNodeTypeOk ¶
func (o *UiNodeTextAttributes) GetNodeTypeOk() (*string, bool)
GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.
func (*UiNodeTextAttributes) GetText ¶
func (o *UiNodeTextAttributes) GetText() UiText
GetText returns the Text field value
func (*UiNodeTextAttributes) GetTextOk ¶
func (o *UiNodeTextAttributes) GetTextOk() (*UiText, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (UiNodeTextAttributes) MarshalJSON ¶
func (o UiNodeTextAttributes) MarshalJSON() ([]byte, error)
func (*UiNodeTextAttributes) SetId ¶
func (o *UiNodeTextAttributes) SetId(v string)
SetId sets field value
func (*UiNodeTextAttributes) SetNodeType ¶
func (o *UiNodeTextAttributes) SetNodeType(v string)
SetNodeType sets field value
func (*UiNodeTextAttributes) SetText ¶
func (o *UiNodeTextAttributes) SetText(v UiText)
SetText sets field value
type UiText ¶
type UiText struct { // The message's context. Useful when customizing messages. Context map[string]interface{} `json:"context,omitempty"` // The message ID. Id string `json:"id"` // The message text. Written in american english. Text string `json:"text"` Type string `json:"type"` }
UiText struct for UiText
func NewUiText ¶
NewUiText instantiates a new UiText object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUiTextWithDefaults ¶
func NewUiTextWithDefaults() *UiText
NewUiTextWithDefaults instantiates a new UiText object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UiText) GetContext ¶
GetContext returns the Context field value if set, zero value otherwise.
func (*UiText) GetContextOk ¶
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UiText) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UiText) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*UiText) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*UiText) HasContext ¶
HasContext returns a boolean if a field has been set.
func (UiText) MarshalJSON ¶
func (*UiText) SetContext ¶
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
type VerifiableAddress ¶
type VerifiableAddress struct { // The ID Id string `json:"id"` // The identifier example foo@user.com Identifier string `json:"identifier"` // Primary Is identifier's primary identity Primary bool `json:"primary"` // Verified Is the identifier been verified Verified bool `json:"verified"` }
VerifiableAddress VerifiableAddress is an identity's verifiable address
func NewVerifiableAddress ¶
func NewVerifiableAddress(id string, identifier string, primary bool, verified bool) *VerifiableAddress
NewVerifiableAddress instantiates a new VerifiableAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerifiableAddressWithDefaults ¶
func NewVerifiableAddressWithDefaults() *VerifiableAddress
NewVerifiableAddressWithDefaults instantiates a new VerifiableAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerifiableAddress) GetId ¶
func (o *VerifiableAddress) GetId() string
GetId returns the Id field value
func (*VerifiableAddress) GetIdOk ¶
func (o *VerifiableAddress) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*VerifiableAddress) GetIdentifier ¶
func (o *VerifiableAddress) GetIdentifier() string
GetIdentifier returns the Identifier field value
func (*VerifiableAddress) GetIdentifierOk ¶
func (o *VerifiableAddress) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.
func (*VerifiableAddress) GetPrimary ¶
func (o *VerifiableAddress) GetPrimary() bool
GetPrimary returns the Primary field value
func (*VerifiableAddress) GetPrimaryOk ¶
func (o *VerifiableAddress) GetPrimaryOk() (*bool, bool)
GetPrimaryOk returns a tuple with the Primary field value and a boolean to check if the value has been set.
func (*VerifiableAddress) GetVerified ¶
func (o *VerifiableAddress) GetVerified() bool
GetVerified returns the Verified field value
func (*VerifiableAddress) GetVerifiedOk ¶
func (o *VerifiableAddress) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field value and a boolean to check if the value has been set.
func (VerifiableAddress) MarshalJSON ¶
func (o VerifiableAddress) MarshalJSON() ([]byte, error)
func (*VerifiableAddress) SetId ¶
func (o *VerifiableAddress) SetId(v string)
SetId sets field value
func (*VerifiableAddress) SetIdentifier ¶
func (o *VerifiableAddress) SetIdentifier(v string)
SetIdentifier sets field value
func (*VerifiableAddress) SetPrimary ¶
func (o *VerifiableAddress) SetPrimary(v bool)
SetPrimary sets field value
func (*VerifiableAddress) SetVerified ¶
func (o *VerifiableAddress) SetVerified(v bool)
SetVerified sets field value
type VerificationApi ¶
type VerificationApi interface { /* * GetVerificationFlowRequest # Get Verification Flow * This endpoint returns a verification flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: “`js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getVerificationFlowRequest(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VerificationApiApiGetVerificationFlowRequestRequest */ GetVerificationFlowRequest(ctx context.Context) VerificationApiApiGetVerificationFlowRequestRequest /* * GetVerificationFlowRequestExecute executes the request * @return VerificationFlow */ GetVerificationFlowRequestExecute(r VerificationApiApiGetVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error) /* * InitBrowserVerificationFlowRequest # Initialize Verification Flow for Browser Clients * This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VerificationApiApiInitBrowserVerificationFlowRequestRequest */ InitBrowserVerificationFlowRequest(ctx context.Context) VerificationApiApiInitBrowserVerificationFlowRequestRequest /* * InitBrowserVerificationFlowRequestExecute executes the request * @return VerificationFlow */ InitBrowserVerificationFlowRequestExecute(r VerificationApiApiInitBrowserVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error) /* * SubmitVerificationFlowRequest # Complete Verification Flow * Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `captcha` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification captcha") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the captcha was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification captcha was invalid. More information can be found at: * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VerificationApiApiSubmitVerificationFlowRequestRequest */ SubmitVerificationFlowRequest(ctx context.Context) VerificationApiApiSubmitVerificationFlowRequestRequest /* * SubmitVerificationFlowRequestExecute executes the request * @return VerificationFlow */ SubmitVerificationFlowRequestExecute(r VerificationApiApiSubmitVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error) }
type VerificationApiApiGetVerificationFlowRequestRequest ¶
type VerificationApiApiGetVerificationFlowRequestRequest struct { ApiService VerificationApi // contains filtered or unexported fields }
func (VerificationApiApiGetVerificationFlowRequestRequest) Execute ¶
func (r VerificationApiApiGetVerificationFlowRequestRequest) Execute() (*VerificationFlow, *http.Response, error)
type VerificationApiApiInitBrowserVerificationFlowRequestRequest ¶
type VerificationApiApiInitBrowserVerificationFlowRequestRequest struct { ApiService VerificationApi // contains filtered or unexported fields }
func (VerificationApiApiInitBrowserVerificationFlowRequestRequest) Execute ¶
func (r VerificationApiApiInitBrowserVerificationFlowRequestRequest) Execute() (*VerificationFlow, *http.Response, error)
func (VerificationApiApiInitBrowserVerificationFlowRequestRequest) LoginChallenge ¶
func (r VerificationApiApiInitBrowserVerificationFlowRequestRequest) LoginChallenge(loginChallenge string) VerificationApiApiInitBrowserVerificationFlowRequestRequest
type VerificationApiApiSubmitVerificationFlowRequestRequest ¶
type VerificationApiApiSubmitVerificationFlowRequestRequest struct { ApiService VerificationApi // contains filtered or unexported fields }
func (VerificationApiApiSubmitVerificationFlowRequestRequest) Execute ¶
func (r VerificationApiApiSubmitVerificationFlowRequestRequest) Execute() (*VerificationFlow, *http.Response, error)
func (VerificationApiApiSubmitVerificationFlowRequestRequest) SubmitVerificationFlowBody ¶
func (r VerificationApiApiSubmitVerificationFlowRequestRequest) SubmitVerificationFlowBody(submitVerificationFlowBody SubmitVerificationFlowBody) VerificationApiApiSubmitVerificationFlowRequestRequest
type VerificationApiService ¶
type VerificationApiService service
VerificationApiService VerificationApi service
func (*VerificationApiService) GetVerificationFlowRequest ¶
func (a *VerificationApiService) GetVerificationFlowRequest(ctx context.Context) VerificationApiApiGetVerificationFlowRequestRequest
- GetVerificationFlowRequest # Get Verification Flow
- This endpoint returns a verification flow's context with, for example, error details and other information.
Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.
If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:
```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getVerificationFlowRequest(req.header('cookie'), req.query['flow'])
res.render('verification', flow) })
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return VerificationApiApiGetVerificationFlowRequestRequest
func (*VerificationApiService) GetVerificationFlowRequestExecute ¶
func (a *VerificationApiService) GetVerificationFlowRequestExecute(r VerificationApiApiGetVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
* Execute executes the request * @return VerificationFlow
func (*VerificationApiService) InitBrowserVerificationFlowRequest ¶
func (a *VerificationApiService) InitBrowserVerificationFlowRequest(ctx context.Context) VerificationApiApiInitBrowserVerificationFlowRequestRequest
- InitBrowserVerificationFlowRequest # Initialize Verification Flow for Browser Clients
- This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to
`selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.
If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.
This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return VerificationApiApiInitBrowserVerificationFlowRequestRequest
func (*VerificationApiService) InitBrowserVerificationFlowRequestExecute ¶
func (a *VerificationApiService) InitBrowserVerificationFlowRequestExecute(r VerificationApiApiInitBrowserVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
* Execute executes the request * @return VerificationFlow
func (*VerificationApiService) SubmitVerificationFlowRequest ¶
func (a *VerificationApiService) SubmitVerificationFlowRequest(ctx context.Context) VerificationApiApiSubmitVerificationFlowRequestRequest
- SubmitVerificationFlowRequest # Complete Verification Flow
- Use this endpoint to complete a verification flow. This endpoint
behaves differently for API and browser flows and has several states:
`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `captcha` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification captcha") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the captcha was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification captcha was invalid.
More information can be found at:
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return VerificationApiApiSubmitVerificationFlowRequestRequest
func (*VerificationApiService) SubmitVerificationFlowRequestExecute ¶
func (a *VerificationApiService) SubmitVerificationFlowRequestExecute(r VerificationApiApiSubmitVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
* Execute executes the request * @return VerificationFlow
type VerificationFlow ¶
type VerificationFlow struct { // CreatedAt is a helper struct field for. CreatedAt *time.Time `json:"created_at,omitempty"` // ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. ExpiresAt *time.Time `json:"expires_at,omitempty"` // ID represents the request's unique ID. When performing the verification flow, this represents the id in the verify ui's query parameter: http://<selfservice.flows.verification.ui_url>?request=<id> type: string Id string `json:"id"` // IssuedAt is the time (UTC) when the request occurred. IssuedAt *time.Time `json:"issued_at,omitempty"` Method *VerificationMethod `json:"method,omitempty"` // OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. Oauth2LoginChallenge *string `json:"oauth2_login_challenge,omitempty"` Oauth2LoginRequest *OAuth2LoginRequest `json:"oauth2_login_request,omitempty"` // RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example. RequestUrl *string `json:"request_url,omitempty"` // ReturnTo contains the requested return_to URL. ReturnTo *string `json:"return_to,omitempty"` State VerificationState `json:"state"` Type FlowType `json:"type"` Ui UiContainer `json:"ui"` // UpdatedAt is a helper struct field for. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
VerificationFlow Used to verify an out-of-band communication channel such as an email address or a phone number.
func NewVerificationFlow ¶
func NewVerificationFlow(id string, state VerificationState, type_ FlowType, ui UiContainer) *VerificationFlow
NewVerificationFlow instantiates a new VerificationFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerificationFlowWithDefaults ¶
func NewVerificationFlowWithDefaults() *VerificationFlow
NewVerificationFlowWithDefaults instantiates a new VerificationFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerificationFlow) GetCreatedAt ¶
func (o *VerificationFlow) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*VerificationFlow) GetCreatedAtOk ¶
func (o *VerificationFlow) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetExpiresAt ¶
func (o *VerificationFlow) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*VerificationFlow) GetExpiresAtOk ¶
func (o *VerificationFlow) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetId ¶
func (o *VerificationFlow) GetId() string
GetId returns the Id field value
func (*VerificationFlow) GetIdOk ¶
func (o *VerificationFlow) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*VerificationFlow) GetIssuedAt ¶
func (o *VerificationFlow) GetIssuedAt() time.Time
GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.
func (*VerificationFlow) GetIssuedAtOk ¶
func (o *VerificationFlow) GetIssuedAtOk() (*time.Time, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetMethod ¶
func (o *VerificationFlow) GetMethod() VerificationMethod
GetMethod returns the Method field value if set, zero value otherwise.
func (*VerificationFlow) GetMethodOk ¶
func (o *VerificationFlow) GetMethodOk() (*VerificationMethod, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetOauth2LoginChallenge ¶
func (o *VerificationFlow) GetOauth2LoginChallenge() string
GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.
func (*VerificationFlow) GetOauth2LoginChallengeOk ¶
func (o *VerificationFlow) GetOauth2LoginChallengeOk() (*string, bool)
GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetOauth2LoginRequest ¶
func (o *VerificationFlow) GetOauth2LoginRequest() OAuth2LoginRequest
GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.
func (*VerificationFlow) GetOauth2LoginRequestOk ¶
func (o *VerificationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetRequestUrl ¶
func (o *VerificationFlow) GetRequestUrl() string
GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.
func (*VerificationFlow) GetRequestUrlOk ¶
func (o *VerificationFlow) GetRequestUrlOk() (*string, bool)
GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetReturnTo ¶
func (o *VerificationFlow) GetReturnTo() string
GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (*VerificationFlow) GetReturnToOk ¶
func (o *VerificationFlow) GetReturnToOk() (*string, bool)
GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) GetState ¶
func (o *VerificationFlow) GetState() VerificationState
GetState returns the State field value
func (*VerificationFlow) GetStateOk ¶
func (o *VerificationFlow) GetStateOk() (*VerificationState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*VerificationFlow) GetType ¶
func (o *VerificationFlow) GetType() FlowType
GetType returns the Type field value
func (*VerificationFlow) GetTypeOk ¶
func (o *VerificationFlow) GetTypeOk() (*FlowType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*VerificationFlow) GetUi ¶
func (o *VerificationFlow) GetUi() UiContainer
GetUi returns the Ui field value
func (*VerificationFlow) GetUiOk ¶
func (o *VerificationFlow) GetUiOk() (*UiContainer, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*VerificationFlow) GetUpdatedAt ¶
func (o *VerificationFlow) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*VerificationFlow) GetUpdatedAtOk ¶
func (o *VerificationFlow) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationFlow) HasCreatedAt ¶
func (o *VerificationFlow) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*VerificationFlow) HasExpiresAt ¶
func (o *VerificationFlow) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*VerificationFlow) HasIssuedAt ¶
func (o *VerificationFlow) HasIssuedAt() bool
HasIssuedAt returns a boolean if a field has been set.
func (*VerificationFlow) HasMethod ¶
func (o *VerificationFlow) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*VerificationFlow) HasOauth2LoginChallenge ¶
func (o *VerificationFlow) HasOauth2LoginChallenge() bool
HasOauth2LoginChallenge returns a boolean if a field has been set.
func (*VerificationFlow) HasOauth2LoginRequest ¶
func (o *VerificationFlow) HasOauth2LoginRequest() bool
HasOauth2LoginRequest returns a boolean if a field has been set.
func (*VerificationFlow) HasRequestUrl ¶
func (o *VerificationFlow) HasRequestUrl() bool
HasRequestUrl returns a boolean if a field has been set.
func (*VerificationFlow) HasReturnTo ¶
func (o *VerificationFlow) HasReturnTo() bool
HasReturnTo returns a boolean if a field has been set.
func (*VerificationFlow) HasUpdatedAt ¶
func (o *VerificationFlow) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (VerificationFlow) MarshalJSON ¶
func (o VerificationFlow) MarshalJSON() ([]byte, error)
func (*VerificationFlow) SetCreatedAt ¶
func (o *VerificationFlow) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*VerificationFlow) SetExpiresAt ¶
func (o *VerificationFlow) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
func (*VerificationFlow) SetIssuedAt ¶
func (o *VerificationFlow) SetIssuedAt(v time.Time)
SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.
func (*VerificationFlow) SetMethod ¶
func (o *VerificationFlow) SetMethod(v VerificationMethod)
SetMethod gets a reference to the given VerificationMethod and assigns it to the Method field.
func (*VerificationFlow) SetOauth2LoginChallenge ¶
func (o *VerificationFlow) SetOauth2LoginChallenge(v string)
SetOauth2LoginChallenge gets a reference to the given string and assigns it to the Oauth2LoginChallenge field.
func (*VerificationFlow) SetOauth2LoginRequest ¶
func (o *VerificationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)
SetOauth2LoginRequest gets a reference to the given OAuth2LoginRequest and assigns it to the Oauth2LoginRequest field.
func (*VerificationFlow) SetRequestUrl ¶
func (o *VerificationFlow) SetRequestUrl(v string)
SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.
func (*VerificationFlow) SetReturnTo ¶
func (o *VerificationFlow) SetReturnTo(v string)
SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.
func (*VerificationFlow) SetState ¶
func (o *VerificationFlow) SetState(v VerificationState)
SetState sets field value
func (*VerificationFlow) SetType ¶
func (o *VerificationFlow) SetType(v FlowType)
SetType sets field value
func (*VerificationFlow) SetUi ¶
func (o *VerificationFlow) SetUi(v UiContainer)
SetUi sets field value
func (*VerificationFlow) SetUpdatedAt ¶
func (o *VerificationFlow) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type VerificationMethod ¶
type VerificationMethod string
VerificationMethod the model 'VerificationMethod'
const (
VERIFICATIONMETHOD_CAPTCHA VerificationMethod = "captcha"
)
List of verificationMethod
func NewVerificationMethodFromValue ¶
func NewVerificationMethodFromValue(v string) (*VerificationMethod, error)
NewVerificationMethodFromValue returns a pointer to a valid VerificationMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (VerificationMethod) IsValid ¶
func (v VerificationMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (VerificationMethod) Ptr ¶
func (v VerificationMethod) Ptr() *VerificationMethod
Ptr returns reference to verificationMethod value
func (*VerificationMethod) UnmarshalJSON ¶
func (v *VerificationMethod) UnmarshalJSON(src []byte) error
type VerificationState ¶
type VerificationState string
VerificationState The state represents the state of the verification flow. ``` choose_method: ask the user to choose a method (e.g. recover account via email) sent: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. ```
const ( VERIFICATIONSTATE_CHOOSE_METHOD VerificationState = "choose_method" VERIFICATIONSTATE_SENT VerificationState = "sent" VERIFICATIONSTATE_PASSED_CHALLENGE VerificationState = "passed_challenge" )
List of verificationState
func NewVerificationStateFromValue ¶
func NewVerificationStateFromValue(v string) (*VerificationState, error)
NewVerificationStateFromValue returns a pointer to a valid VerificationState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (VerificationState) IsValid ¶
func (v VerificationState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (VerificationState) Ptr ¶
func (v VerificationState) Ptr() *VerificationState
Ptr returns reference to verificationState value
func (*VerificationState) UnmarshalJSON ¶
func (v *VerificationState) UnmarshalJSON(src []byte) error
type VerificationTraits ¶
type VerificationTraits struct { // The identity's email It's optional, have at least one email and mobile Email *string `json:"email,omitempty"` // The identity's mobile It's optional, have at least one email and mobile Mobile *string `json:"mobile,omitempty"` // The identity's type, the value is traits.email or traits.mobile Type string `json:"type"` }
VerificationTraits struct for VerificationTraits
func NewVerificationTraits ¶
func NewVerificationTraits(type_ string) *VerificationTraits
NewVerificationTraits instantiates a new VerificationTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerificationTraitsWithDefaults ¶
func NewVerificationTraitsWithDefaults() *VerificationTraits
NewVerificationTraitsWithDefaults instantiates a new VerificationTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerificationTraits) GetEmail ¶
func (o *VerificationTraits) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*VerificationTraits) GetEmailOk ¶
func (o *VerificationTraits) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationTraits) GetMobile ¶
func (o *VerificationTraits) GetMobile() string
GetMobile returns the Mobile field value if set, zero value otherwise.
func (*VerificationTraits) GetMobileOk ¶
func (o *VerificationTraits) GetMobileOk() (*string, bool)
GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerificationTraits) GetType ¶
func (o *VerificationTraits) GetType() string
GetType returns the Type field value
func (*VerificationTraits) GetTypeOk ¶
func (o *VerificationTraits) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*VerificationTraits) HasEmail ¶
func (o *VerificationTraits) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*VerificationTraits) HasMobile ¶
func (o *VerificationTraits) HasMobile() bool
HasMobile returns a boolean if a field has been set.
func (VerificationTraits) MarshalJSON ¶
func (o VerificationTraits) MarshalJSON() ([]byte, error)
func (*VerificationTraits) SetEmail ¶
func (o *VerificationTraits) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*VerificationTraits) SetMobile ¶
func (o *VerificationTraits) SetMobile(v string)
SetMobile gets a reference to the given string and assigns it to the Mobile field.
func (*VerificationTraits) SetType ¶
func (o *VerificationTraits) SetType(v string)
SetType sets field value
Source Files ¶
- api_consent.go
- api_login.go
- api_logout.go
- api_recovery.go
- api_registration.go
- api_session.go
- api_settings.go
- api_verification.go
- client.go
- configuration.go
- model_api_login_flow.go
- model_api_registration_flow.go
- model_authenticator_assurance_level.go
- model_browser_location_change_required_response.go
- model_code.go
- model_consent_flow.go
- model_credentials_type.go
- model_flow_type.go
- model_identity.go
- model_identity_credential.go
- model_identity_credential_identifier.go
- model_identity_credential_identifier_oidc_properties.go
- model_identity_credential_identifier_password_properties.go
- model_identity_state.go
- model_identity_traits.go
- model_init_browser_logout_flow_response.go
- model_json_error_response.go
- model_login_flow.go
- model_o_auth2_client.go
- model_o_auth2_consent_request.go
- model_o_auth2_consent_request_open_id_connect_context.go
- model_o_auth2_login_request.go
- model_recovery_flow.go
- model_recovery_method.go
- model_recovery_state.go
- model_recovery_traits.go
- model_registration_flow.go
- model_registration_traits.go
- model_session.go
- model_session_authentication_method.go
- model_settings_flow.go
- model_settings_method.go
- model_settings_state.go
- model_submit_consent_flow_body.go
- model_submit_consent_flow_body_with_default.go
- model_submit_login_flow_body.go
- model_submit_login_flow_body_with_oidc.go
- model_submit_login_flow_body_with_password.go
- model_submit_login_flow_body_with_totp.go
- model_submit_login_flow_response.go
- model_submit_recovery_flow_body.go
- model_submit_recovery_flow_body_with_captcha.go
- model_submit_registration_flow_body.go
- model_submit_registration_flow_body_with_oidc.go
- model_submit_registration_flow_body_with_password.go
- model_submit_registration_flow_response.go
- model_submit_settings_flow_body.go
- model_submit_settings_flow_body_with_password.go
- model_submit_settings_flow_body_with_profile.go
- model_submit_settings_flow_body_with_totp.go
- model_submit_verification_flow_body.go
- model_submit_verification_flow_body_with_captcha.go
- model_ui_container.go
- model_ui_node.go
- model_ui_node_anchor_attributes.go
- model_ui_node_attributes.go
- model_ui_node_image_attributes.go
- model_ui_node_input_attributes.go
- model_ui_node_meta.go
- model_ui_node_script_attributes.go
- model_ui_node_text_attributes.go
- model_ui_text.go
- model_verifiable_address.go
- model_verification_flow.go
- model_verification_method.go
- model_verification_state.go
- model_verification_traits.go
- response.go
- utils.go