Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func GetOAuth2ScopesForOAuth2(operation string) []string
- func GetRolesForUsernamePassword(operation string) []string
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type ActivateFlowDefinitionNoContent
- type ActivateFlowDefinitionParams
- type ActivateFlowDefinitionRes
- type AttAlreadyCompleted
- func (s *AttAlreadyCompleted) Decode(d *jx.Decoder) error
- func (s *AttAlreadyCompleted) Encode(e *jx.Encoder)
- func (s *AttAlreadyCompleted) GetCode() string
- func (s *AttAlreadyCompleted) GetDetails() OptAttAlreadyCompletedDetails
- func (s *AttAlreadyCompleted) GetMessage() string
- func (s *AttAlreadyCompleted) MarshalJSON() ([]byte, error)
- func (s *AttAlreadyCompleted) SetCode(val string)
- func (s *AttAlreadyCompleted) SetDetails(val OptAttAlreadyCompletedDetails)
- func (s *AttAlreadyCompleted) SetMessage(val string)
- func (s *AttAlreadyCompleted) UnmarshalJSON(data []byte) error
- type AttAlreadyCompletedDetails
- type AttInvalidRequest
- func (s *AttInvalidRequest) Decode(d *jx.Decoder) error
- func (s *AttInvalidRequest) Encode(e *jx.Encoder)
- func (s *AttInvalidRequest) GetCode() string
- func (s *AttInvalidRequest) GetDetails() OptAttInvalidRequestDetails
- func (s *AttInvalidRequest) GetMessage() string
- func (s *AttInvalidRequest) MarshalJSON() ([]byte, error)
- func (s *AttInvalidRequest) SetCode(val string)
- func (s *AttInvalidRequest) SetDetails(val OptAttInvalidRequestDetails)
- func (s *AttInvalidRequest) SetMessage(val string)
- func (s *AttInvalidRequest) UnmarshalJSON(data []byte) error
- type AttInvalidRequestDetails
- type AttInvalidState
- func (s *AttInvalidState) Decode(d *jx.Decoder) error
- func (s *AttInvalidState) Encode(e *jx.Encoder)
- func (s *AttInvalidState) GetCode() string
- func (s *AttInvalidState) GetDetails() OptAttInvalidStateDetails
- func (s *AttInvalidState) GetMessage() string
- func (s *AttInvalidState) MarshalJSON() ([]byte, error)
- func (s *AttInvalidState) SetCode(val string)
- func (s *AttInvalidState) SetDetails(val OptAttInvalidStateDetails)
- func (s *AttInvalidState) SetMessage(val string)
- func (s *AttInvalidState) UnmarshalJSON(data []byte) error
- type AttInvalidStateDetails
- type AttNotCompleted
- func (s *AttNotCompleted) Decode(d *jx.Decoder) error
- func (s *AttNotCompleted) Encode(e *jx.Encoder)
- func (s *AttNotCompleted) GetCode() string
- func (s *AttNotCompleted) GetDetails() OptAttNotCompletedDetails
- func (s *AttNotCompleted) GetMessage() string
- func (s *AttNotCompleted) MarshalJSON() ([]byte, error)
- func (s *AttNotCompleted) SetCode(val string)
- func (s *AttNotCompleted) SetDetails(val OptAttNotCompletedDetails)
- func (s *AttNotCompleted) SetMessage(val string)
- func (s *AttNotCompleted) UnmarshalJSON(data []byte) error
- type AttNotCompletedDetails
- type AttNotFound
- func (s *AttNotFound) Decode(d *jx.Decoder) error
- func (s *AttNotFound) Encode(e *jx.Encoder)
- func (s *AttNotFound) GetCode() string
- func (s *AttNotFound) GetDetails() OptAttNotFoundDetails
- func (s *AttNotFound) GetMessage() string
- func (s *AttNotFound) MarshalJSON() ([]byte, error)
- func (s *AttNotFound) SetCode(val string)
- func (s *AttNotFound) SetDetails(val OptAttNotFoundDetails)
- func (s *AttNotFound) SetMessage(val string)
- func (s *AttNotFound) UnmarshalJSON(data []byte) error
- type AttNotFoundDetails
- type AttProofRejected
- func (s *AttProofRejected) Decode(d *jx.Decoder) error
- func (s *AttProofRejected) Encode(e *jx.Encoder)
- func (s *AttProofRejected) GetCode() string
- func (s *AttProofRejected) GetDetails() OptAttProofRejectedDetails
- func (s *AttProofRejected) GetMessage() string
- func (s *AttProofRejected) MarshalJSON() ([]byte, error)
- func (s *AttProofRejected) SetCode(val string)
- func (s *AttProofRejected) SetDetails(val OptAttProofRejectedDetails)
- func (s *AttProofRejected) SetMessage(val string)
- func (s *AttProofRejected) UnmarshalJSON(data []byte) error
- type AttProofRejectedDetails
- type AttStaleChallenge
- func (s *AttStaleChallenge) Decode(d *jx.Decoder) error
- func (s *AttStaleChallenge) Encode(e *jx.Encoder)
- func (s *AttStaleChallenge) GetCode() string
- func (s *AttStaleChallenge) GetDetails() OptAttStaleChallengeDetails
- func (s *AttStaleChallenge) GetMessage() string
- func (s *AttStaleChallenge) MarshalJSON() ([]byte, error)
- func (s *AttStaleChallenge) SetCode(val string)
- func (s *AttStaleChallenge) SetDetails(val OptAttStaleChallengeDetails)
- func (s *AttStaleChallenge) SetMessage(val string)
- func (s *AttStaleChallenge) UnmarshalJSON(data []byte) error
- type AttStaleChallengeDetails
- type AttemptID
- type AuthAttemptResponse
- func (s *AuthAttemptResponse) Decode(d *jx.Decoder) error
- func (s *AuthAttemptResponse) Encode(e *jx.Encoder)
- func (s *AuthAttemptResponse) GetAttemptID() AttemptID
- func (s *AuthAttemptResponse) GetChallenges() []ChallengeResponse
- func (s *AuthAttemptResponse) GetCompletedFactors() []CompletedFactor
- func (s *AuthAttemptResponse) GetCreatedAt() time.Time
- func (s *AuthAttemptResponse) GetExpiresAt() OptDateTime
- func (s *AuthAttemptResponse) GetProjectID() ProjectID
- func (s *AuthAttemptResponse) GetRequiredFactors() []FactorMethod
- func (s *AuthAttemptResponse) GetSessionID() OptNilSessionID
- func (s *AuthAttemptResponse) GetState() AuthAttemptResponseState
- func (s *AuthAttemptResponse) GetUserID() OptNilUserID
- func (s *AuthAttemptResponse) MarshalJSON() ([]byte, error)
- func (s *AuthAttemptResponse) SetAttemptID(val AttemptID)
- func (s *AuthAttemptResponse) SetChallenges(val []ChallengeResponse)
- func (s *AuthAttemptResponse) SetCompletedFactors(val []CompletedFactor)
- func (s *AuthAttemptResponse) SetCreatedAt(val time.Time)
- func (s *AuthAttemptResponse) SetExpiresAt(val OptDateTime)
- func (s *AuthAttemptResponse) SetProjectID(val ProjectID)
- func (s *AuthAttemptResponse) SetRequiredFactors(val []FactorMethod)
- func (s *AuthAttemptResponse) SetSessionID(val OptNilSessionID)
- func (s *AuthAttemptResponse) SetState(val AuthAttemptResponseState)
- func (s *AuthAttemptResponse) SetUserID(val OptNilUserID)
- func (s *AuthAttemptResponse) UnmarshalJSON(data []byte) error
- func (s *AuthAttemptResponse) Validate() error
- type AuthAttemptResponseState
- func (AuthAttemptResponseState) AllValues() []AuthAttemptResponseState
- func (s *AuthAttemptResponseState) Decode(d *jx.Decoder) error
- func (s AuthAttemptResponseState) Encode(e *jx.Encoder)
- func (s AuthAttemptResponseState) MarshalJSON() ([]byte, error)
- func (s AuthAttemptResponseState) MarshalText() ([]byte, error)
- func (s *AuthAttemptResponseState) UnmarshalJSON(data []byte) error
- func (s *AuthAttemptResponseState) UnmarshalText(data []byte) error
- func (s AuthAttemptResponseState) Validate() error
- type AuthMethod
- func (s *AuthMethod) Decode(d *jx.Decoder) error
- func (s *AuthMethod) Encode(e *jx.Encoder)
- func (s *AuthMethod) GetEnabled() bool
- func (s *AuthMethod) GetPosition() int
- func (s *AuthMethod) MarshalJSON() ([]byte, error)
- func (s *AuthMethod) SetEnabled(val bool)
- func (s *AuthMethod) SetPosition(val int)
- func (s *AuthMethod) UnmarshalJSON(data []byte) error
- func (s *AuthMethod) Validate() error
- type AuthMethods
- func (s *AuthMethods) Decode(d *jx.Decoder) error
- func (s *AuthMethods) Encode(e *jx.Encoder)
- func (s *AuthMethods) GetMagicLink() OptAuthMethod
- func (s *AuthMethods) GetOtp() OptAuthMethod
- func (s *AuthMethods) GetPasskey() OptAuthMethod
- func (s *AuthMethods) GetPassword() OptAuthMethod
- func (s *AuthMethods) GetSSO() OptAuthMethod
- func (s *AuthMethods) MarshalJSON() ([]byte, error)
- func (s *AuthMethods) SetMagicLink(val OptAuthMethod)
- func (s *AuthMethods) SetOtp(val OptAuthMethod)
- func (s *AuthMethods) SetPasskey(val OptAuthMethod)
- func (s *AuthMethods) SetPassword(val OptAuthMethod)
- func (s *AuthMethods) SetSSO(val OptAuthMethod)
- func (s *AuthMethods) UnmarshalJSON(data []byte) error
- func (s *AuthMethods) Validate() error
- type AuthorizeDeviceParams
- type AuthorizeDeviceRes
- type AuthorizeGetFound
- type AuthorizeGetParams
- type AuthorizeGetRes
- type Branding
- func (s *Branding) Decode(d *jx.Decoder) error
- func (s *Branding) Encode(e *jx.Encoder)
- func (s *Branding) GetFontURL() OptURI
- func (s *Branding) GetHeroURL() OptURI
- func (s *Branding) GetLayout() OptBrandingLayout
- func (s *Branding) GetLiquidTemplate() OptString
- func (s *Branding) GetLogoURL() OptURI
- func (s *Branding) MarshalJSON() ([]byte, error)
- func (s *Branding) SetFontURL(val OptURI)
- func (s *Branding) SetHeroURL(val OptURI)
- func (s *Branding) SetLayout(val OptBrandingLayout)
- func (s *Branding) SetLiquidTemplate(val OptString)
- func (s *Branding) SetLogoURL(val OptURI)
- func (s *Branding) UnmarshalJSON(data []byte) error
- func (s *Branding) Validate() error
- type BrandingLayout
- func (BrandingLayout) AllValues() []BrandingLayout
- func (s *BrandingLayout) Decode(d *jx.Decoder) error
- func (s BrandingLayout) Encode(e *jx.Encoder)
- func (s BrandingLayout) MarshalJSON() ([]byte, error)
- func (s BrandingLayout) MarshalText() ([]byte, error)
- func (s *BrandingLayout) UnmarshalJSON(data []byte) error
- func (s *BrandingLayout) UnmarshalText(data []byte) error
- func (s BrandingLayout) Validate() error
- type ChallengeID
- type ChallengeNonce
- type ChallengeResponse
- func (s *ChallengeResponse) Decode(d *jx.Decoder) error
- func (s *ChallengeResponse) Encode(e *jx.Encoder)
- func (s *ChallengeResponse) GetChallengeID() ChallengeID
- func (s *ChallengeResponse) GetCreatedAt() time.Time
- func (s *ChallengeResponse) GetExpiresAt() OptNilDateTime
- func (s *ChallengeResponse) GetMethod() FactorMethod
- func (s *ChallengeResponse) GetPayload() OptChallengeResponsePayload
- func (s *ChallengeResponse) GetState() ChallengeResponseState
- func (s *ChallengeResponse) MarshalJSON() ([]byte, error)
- func (s *ChallengeResponse) SetChallengeID(val ChallengeID)
- func (s *ChallengeResponse) SetCreatedAt(val time.Time)
- func (s *ChallengeResponse) SetExpiresAt(val OptNilDateTime)
- func (s *ChallengeResponse) SetMethod(val FactorMethod)
- func (s *ChallengeResponse) SetPayload(val OptChallengeResponsePayload)
- func (s *ChallengeResponse) SetState(val ChallengeResponseState)
- func (s *ChallengeResponse) UnmarshalJSON(data []byte) error
- func (s *ChallengeResponse) Validate() error
- type ChallengeResponsePayload
- func NewIdentifierChallengePayloadChallengeResponsePayload(v IdentifierChallengePayload) ChallengeResponsePayload
- func NewPasskeyChallengePayloadChallengeResponsePayload(v PasskeyChallengePayload) ChallengeResponsePayload
- func NewPasswordChallengePayloadChallengeResponsePayload(v PasswordChallengePayload) ChallengeResponsePayload
- func (s *ChallengeResponsePayload) Decode(d *jx.Decoder) error
- func (s ChallengeResponsePayload) Encode(e *jx.Encoder)
- func (s ChallengeResponsePayload) GetIdentifierChallengePayload() (v IdentifierChallengePayload, ok bool)
- func (s ChallengeResponsePayload) GetPasskeyChallengePayload() (v PasskeyChallengePayload, ok bool)
- func (s ChallengeResponsePayload) GetPasswordChallengePayload() (v PasswordChallengePayload, ok bool)
- func (s ChallengeResponsePayload) IsIdentifierChallengePayload() bool
- func (s ChallengeResponsePayload) IsPasskeyChallengePayload() bool
- func (s ChallengeResponsePayload) IsPasswordChallengePayload() bool
- func (s ChallengeResponsePayload) MarshalJSON() ([]byte, error)
- func (s *ChallengeResponsePayload) SetIdentifierChallengePayload(v IdentifierChallengePayload)
- func (s *ChallengeResponsePayload) SetPasskeyChallengePayload(v PasskeyChallengePayload)
- func (s *ChallengeResponsePayload) SetPasswordChallengePayload(v PasswordChallengePayload)
- func (s *ChallengeResponsePayload) UnmarshalJSON(data []byte) error
- func (s ChallengeResponsePayload) Validate() error
- type ChallengeResponsePayloadType
- type ChallengeResponseState
- func (ChallengeResponseState) AllValues() []ChallengeResponseState
- func (s *ChallengeResponseState) Decode(d *jx.Decoder) error
- func (s ChallengeResponseState) Encode(e *jx.Encoder)
- func (s ChallengeResponseState) MarshalJSON() ([]byte, error)
- func (s ChallengeResponseState) MarshalText() ([]byte, error)
- func (s *ChallengeResponseState) UnmarshalJSON(data []byte) error
- func (s *ChallengeResponseState) UnmarshalText(data []byte) error
- func (s ChallengeResponseState) Validate() error
- type Client
- func (c *Client) ActivateFlowDefinition(ctx context.Context, params ActivateFlowDefinitionParams) (ActivateFlowDefinitionRes, error)
- func (c *Client) AuthorizeDevice(ctx context.Context, params AuthorizeDeviceParams) (AuthorizeDeviceRes, error)
- func (c *Client) AuthorizeGet(ctx context.Context, params AuthorizeGetParams) (AuthorizeGetRes, error)
- func (c *Client) CreateAuthAttempt(ctx context.Context, request *CreateAuthAttemptRequest) (CreateAuthAttemptRes, error)
- func (c *Client) CreateFlow(ctx context.Context, request *CreateFlowRequest) (CreateFlowRes, error)
- func (c *Client) CreateFlowDefinition(ctx context.Context, request *CreateFlowDefinitionRequest) (CreateFlowDefinitionRes, error)
- func (c *Client) CreateHandoff(ctx context.Context, params CreateHandoffParams) (CreateHandoffRes, error)
- func (c *Client) CreateProject(ctx context.Context, request *CreateProjectRequest) (CreateProjectRes, error)
- func (c *Client) CreateSchema(ctx context.Context, request CreateSchemaReq, params CreateSchemaParams) (CreateSchemaRes, error)
- func (c *Client) CreateSession(ctx context.Context, request *CreateSessionRequest) (CreateSessionRes, error)
- func (c *Client) CreateTeam(ctx context.Context, request *CreateTeamRequest, params CreateTeamParams) (CreateTeamRes, error)
- func (c *Client) CreateUser(ctx context.Context, request *User, params CreateUserParams) (CreateUserRes, error)
- func (c *Client) DeactivateFlowDefinition(ctx context.Context, params DeactivateFlowDefinitionParams) (DeactivateFlowDefinitionRes, error)
- func (c *Client) DeleteFlowDefinition(ctx context.Context, params DeleteFlowDefinitionParams) (DeleteFlowDefinitionRes, error)
- func (c *Client) EndSession(ctx context.Context, params EndSessionParams) (EndSessionRes, error)
- func (c *Client) ExchangeHandoff(ctx context.Context, request *ExchangeRequest, params ExchangeHandoffParams) (ExchangeHandoffRes, error)
- func (c *Client) GetAuthAttempt(ctx context.Context, params GetAuthAttemptParams) (GetAuthAttemptRes, error)
- func (c *Client) GetFlowDefinition(ctx context.Context, params GetFlowDefinitionParams) (GetFlowDefinitionRes, error)
- func (c *Client) GetFlowStep(ctx context.Context, params GetFlowStepParams) (GetFlowStepRes, error)
- func (c *Client) GetHealth(ctx context.Context) (GetHealthRes, error)
- func (c *Client) GetKeys(ctx context.Context) (GetKeysRes, error)
- func (c *Client) GetLive(ctx context.Context) (GetLiveRes, error)
- func (c *Client) GetMySession(ctx context.Context, params GetMySessionParams) (GetMySessionRes, error)
- func (c *Client) GetMyUser(ctx context.Context, params GetMyUserParams) (GetMyUserRes, error)
- func (c *Client) GetOpenIDConfiguration(ctx context.Context) (GetOpenIDConfigurationRes, error)
- func (c *Client) GetProject(ctx context.Context, params GetProjectParams) (GetProjectRes, error)
- func (c *Client) GetReady(ctx context.Context) (GetReadyRes, error)
- func (c *Client) GetSchemaById(ctx context.Context, params GetSchemaByIdParams) (GetSchemaByIdRes, error)
- func (c *Client) GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)
- func (c *Client) GetTeam(ctx context.Context, params GetTeamParams) (GetTeamRes, error)
- func (c *Client) GetToken(ctx context.Context, request *PostTokenRequest) (GetTokenRes, error)
- func (c *Client) GetUserByID(ctx context.Context, params GetUserByIDParams) (GetUserByIDRes, error)
- func (c *Client) GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
- func (c *Client) Introspect(ctx context.Context, request *IntrospectRequest) (IntrospectRes, error)
- func (c *Client) IssueChallenge(ctx context.Context, request *IssueChallengeRequest, ...) (IssueChallengeRes, error)
- func (c *Client) ListFlowDefinitions(ctx context.Context, params ListFlowDefinitionsParams) (ListFlowDefinitionsRes, error)
- func (c *Client) ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)
- func (c *Client) ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)
- func (c *Client) RevokeMySession(ctx context.Context, params RevokeMySessionParams) (RevokeMySessionRes, error)
- func (c *Client) RevokeSession(ctx context.Context, params RevokeSessionParams) (RevokeSessionRes, error)
- func (c *Client) RevokeToken(ctx context.Context, request *RevokeRequest) (RevokeTokenRes, error)
- func (c *Client) SetUserPassword(ctx context.Context, request *SetUserPasswordRequest, ...) (SetUserPasswordRes, error)
- func (c *Client) SubmitFlowEvent(ctx context.Context, request *FlowEventRequest, params SubmitFlowEventParams) (SubmitFlowEventRes, error)
- func (c *Client) SubmitFlowStep(ctx context.Context, request *FlowSubmitRequest, params SubmitFlowStepParams) (SubmitFlowStepRes, error)
- func (c *Client) UpdateFlowDefinition(ctx context.Context, request *FlowDefinitionUpdateRequest, ...) (UpdateFlowDefinitionRes, error)
- func (c *Client) VerifyChallengeProof(ctx context.Context, request *VerifyChallengeRequest, ...) (VerifyChallengeProofRes, error)
- type ClientOption
- type CompletedFactor
- func (s *CompletedFactor) Decode(d *jx.Decoder) error
- func (s *CompletedFactor) Encode(e *jx.Encoder)
- func (s *CompletedFactor) GetMethod() FactorMethod
- func (s *CompletedFactor) GetPayload() OptCompletedFactorPayload
- func (s *CompletedFactor) GetVerifiedAt() time.Time
- func (s *CompletedFactor) MarshalJSON() ([]byte, error)
- func (s *CompletedFactor) SetMethod(val FactorMethod)
- func (s *CompletedFactor) SetPayload(val OptCompletedFactorPayload)
- func (s *CompletedFactor) SetVerifiedAt(val time.Time)
- func (s *CompletedFactor) UnmarshalJSON(data []byte) error
- func (s *CompletedFactor) Validate() error
- type CompletedFactorPayload
- func NewIdentifierFactorPayloadCompletedFactorPayload(v IdentifierFactorPayload) CompletedFactorPayload
- func NewPasskeyFactorPayloadCompletedFactorPayload(v PasskeyFactorPayload) CompletedFactorPayload
- func NewPasswordFactorPayloadCompletedFactorPayload(v PasswordFactorPayload) CompletedFactorPayload
- func (s *CompletedFactorPayload) Decode(d *jx.Decoder) error
- func (s CompletedFactorPayload) Encode(e *jx.Encoder)
- func (s CompletedFactorPayload) GetIdentifierFactorPayload() (v IdentifierFactorPayload, ok bool)
- func (s CompletedFactorPayload) GetPasskeyFactorPayload() (v PasskeyFactorPayload, ok bool)
- func (s CompletedFactorPayload) GetPasswordFactorPayload() (v PasswordFactorPayload, ok bool)
- func (s CompletedFactorPayload) IsIdentifierFactorPayload() bool
- func (s CompletedFactorPayload) IsPasskeyFactorPayload() bool
- func (s CompletedFactorPayload) IsPasswordFactorPayload() bool
- func (s CompletedFactorPayload) MarshalJSON() ([]byte, error)
- func (s *CompletedFactorPayload) SetIdentifierFactorPayload(v IdentifierFactorPayload)
- func (s *CompletedFactorPayload) SetPasskeyFactorPayload(v PasskeyFactorPayload)
- func (s *CompletedFactorPayload) SetPasswordFactorPayload(v PasswordFactorPayload)
- func (s *CompletedFactorPayload) UnmarshalJSON(data []byte) error
- func (s CompletedFactorPayload) Validate() error
- type CompletedFactorPayloadType
- type CreateAuthAttemptErrorResponse
- func (s *CreateAuthAttemptErrorResponse) Decode(d *jx.Decoder) error
- func (s CreateAuthAttemptErrorResponse) Encode(e *jx.Encoder)
- func (s CreateAuthAttemptErrorResponse) GetAttInvalidRequest() (v AttInvalidRequest, ok bool)
- func (s CreateAuthAttemptErrorResponse) GetInternal() (v Internal, ok bool)
- func (s CreateAuthAttemptErrorResponse) IsAttInvalidRequest() bool
- func (s CreateAuthAttemptErrorResponse) IsInternal() bool
- func (s CreateAuthAttemptErrorResponse) MarshalJSON() ([]byte, error)
- func (s *CreateAuthAttemptErrorResponse) SetAttInvalidRequest(v AttInvalidRequest)
- func (s *CreateAuthAttemptErrorResponse) SetInternal(v Internal)
- func (s *CreateAuthAttemptErrorResponse) UnmarshalJSON(data []byte) error
- type CreateAuthAttemptErrorResponseStatusCode
- func (s *CreateAuthAttemptErrorResponseStatusCode) GetResponse() CreateAuthAttemptErrorResponse
- func (s *CreateAuthAttemptErrorResponseStatusCode) GetStatusCode() int
- func (s *CreateAuthAttemptErrorResponseStatusCode) SetResponse(val CreateAuthAttemptErrorResponse)
- func (s *CreateAuthAttemptErrorResponseStatusCode) SetStatusCode(val int)
- type CreateAuthAttemptErrorResponseType
- type CreateAuthAttemptRequest
- func (s *CreateAuthAttemptRequest) Decode(d *jx.Decoder) error
- func (s *CreateAuthAttemptRequest) Encode(e *jx.Encoder)
- func (s *CreateAuthAttemptRequest) GetChallengeNonce() OptChallengeNonce
- func (s *CreateAuthAttemptRequest) GetProjectID() ProjectID
- func (s *CreateAuthAttemptRequest) GetSessionID() OptNilSessionID
- func (s *CreateAuthAttemptRequest) MarshalJSON() ([]byte, error)
- func (s *CreateAuthAttemptRequest) SetChallengeNonce(val OptChallengeNonce)
- func (s *CreateAuthAttemptRequest) SetProjectID(val ProjectID)
- func (s *CreateAuthAttemptRequest) SetSessionID(val OptNilSessionID)
- func (s *CreateAuthAttemptRequest) UnmarshalJSON(data []byte) error
- func (s *CreateAuthAttemptRequest) Validate() error
- type CreateAuthAttemptRes
- type CreateFlowDefinitionBadRequest
- type CreateFlowDefinitionConflict
- type CreateFlowDefinitionRequest
- func (s *CreateFlowDefinitionRequest) Decode(d *jx.Decoder) error
- func (s *CreateFlowDefinitionRequest) Encode(e *jx.Encoder)
- func (s *CreateFlowDefinitionRequest) GetFlowDefinition() FlowDefinition
- func (s *CreateFlowDefinitionRequest) GetProjectID() ProjectID
- func (s *CreateFlowDefinitionRequest) GetSchemaURI() OptSchemaURI
- func (s *CreateFlowDefinitionRequest) MarshalJSON() ([]byte, error)
- func (s *CreateFlowDefinitionRequest) SetFlowDefinition(val FlowDefinition)
- func (s *CreateFlowDefinitionRequest) SetProjectID(val ProjectID)
- func (s *CreateFlowDefinitionRequest) SetSchemaURI(val OptSchemaURI)
- func (s *CreateFlowDefinitionRequest) UnmarshalJSON(data []byte) error
- func (s *CreateFlowDefinitionRequest) Validate() error
- type CreateFlowDefinitionRes
- type CreateFlowRequest
- func (s *CreateFlowRequest) Decode(d *jx.Decoder) error
- func (s *CreateFlowRequest) Encode(e *jx.Encoder)
- func (s *CreateFlowRequest) GetAuthRequestID() OptString
- func (s *CreateFlowRequest) GetChallengeNonce() OptChallengeNonce
- func (s *CreateFlowRequest) GetDryRun() OptBool
- func (s *CreateFlowRequest) GetFlowDefinitionName() OptString
- func (s *CreateFlowRequest) GetHint() OptFlowHint
- func (s *CreateFlowRequest) GetProjectID() ProjectID
- func (s *CreateFlowRequest) GetPurpose() CreateFlowRequestPurpose
- func (s *CreateFlowRequest) GetRedirectURI() OptURI
- func (s *CreateFlowRequest) GetSchemaVersion() OptString
- func (s *CreateFlowRequest) GetSessionID() OptString
- func (s *CreateFlowRequest) MarshalJSON() ([]byte, error)
- func (s *CreateFlowRequest) SetAuthRequestID(val OptString)
- func (s *CreateFlowRequest) SetChallengeNonce(val OptChallengeNonce)
- func (s *CreateFlowRequest) SetDryRun(val OptBool)
- func (s *CreateFlowRequest) SetFlowDefinitionName(val OptString)
- func (s *CreateFlowRequest) SetHint(val OptFlowHint)
- func (s *CreateFlowRequest) SetProjectID(val ProjectID)
- func (s *CreateFlowRequest) SetPurpose(val CreateFlowRequestPurpose)
- func (s *CreateFlowRequest) SetRedirectURI(val OptURI)
- func (s *CreateFlowRequest) SetSchemaVersion(val OptString)
- func (s *CreateFlowRequest) SetSessionID(val OptString)
- func (s *CreateFlowRequest) UnmarshalJSON(data []byte) error
- func (s *CreateFlowRequest) Validate() error
- type CreateFlowRequestPurpose
- func (CreateFlowRequestPurpose) AllValues() []CreateFlowRequestPurpose
- func (s *CreateFlowRequestPurpose) Decode(d *jx.Decoder) error
- func (s CreateFlowRequestPurpose) Encode(e *jx.Encoder)
- func (s CreateFlowRequestPurpose) MarshalJSON() ([]byte, error)
- func (s CreateFlowRequestPurpose) MarshalText() ([]byte, error)
- func (s *CreateFlowRequestPurpose) UnmarshalJSON(data []byte) error
- func (s *CreateFlowRequestPurpose) UnmarshalText(data []byte) error
- func (s CreateFlowRequestPurpose) Validate() error
- type CreateFlowRes
- type CreateHandoffErrorResponse
- func NewAttInvalidStateCreateHandoffErrorResponse(v AttInvalidState) CreateHandoffErrorResponse
- func NewAttNotCompletedCreateHandoffErrorResponse(v AttNotCompleted) CreateHandoffErrorResponse
- func NewAttNotFoundCreateHandoffErrorResponse(v AttNotFound) CreateHandoffErrorResponse
- func NewInternalCreateHandoffErrorResponse(v Internal) CreateHandoffErrorResponse
- func (s *CreateHandoffErrorResponse) Decode(d *jx.Decoder) error
- func (s CreateHandoffErrorResponse) Encode(e *jx.Encoder)
- func (s CreateHandoffErrorResponse) GetAttInvalidState() (v AttInvalidState, ok bool)
- func (s CreateHandoffErrorResponse) GetAttNotCompleted() (v AttNotCompleted, ok bool)
- func (s CreateHandoffErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
- func (s CreateHandoffErrorResponse) GetInternal() (v Internal, ok bool)
- func (s CreateHandoffErrorResponse) IsAttInvalidState() bool
- func (s CreateHandoffErrorResponse) IsAttNotCompleted() bool
- func (s CreateHandoffErrorResponse) IsAttNotFound() bool
- func (s CreateHandoffErrorResponse) IsInternal() bool
- func (s CreateHandoffErrorResponse) MarshalJSON() ([]byte, error)
- func (s *CreateHandoffErrorResponse) SetAttInvalidState(v AttInvalidState)
- func (s *CreateHandoffErrorResponse) SetAttNotCompleted(v AttNotCompleted)
- func (s *CreateHandoffErrorResponse) SetAttNotFound(v AttNotFound)
- func (s *CreateHandoffErrorResponse) SetInternal(v Internal)
- func (s *CreateHandoffErrorResponse) UnmarshalJSON(data []byte) error
- type CreateHandoffErrorResponseStatusCode
- func (s *CreateHandoffErrorResponseStatusCode) GetResponse() CreateHandoffErrorResponse
- func (s *CreateHandoffErrorResponseStatusCode) GetStatusCode() int
- func (s *CreateHandoffErrorResponseStatusCode) SetResponse(val CreateHandoffErrorResponse)
- func (s *CreateHandoffErrorResponseStatusCode) SetStatusCode(val int)
- type CreateHandoffErrorResponseType
- type CreateHandoffParams
- type CreateHandoffRes
- type CreateProjectRequest
- func (s *CreateProjectRequest) Decode(d *jx.Decoder) error
- func (s *CreateProjectRequest) Encode(e *jx.Encoder)
- func (s *CreateProjectRequest) GetPreviewOrigins() []string
- func (s *CreateProjectRequest) MarshalJSON() ([]byte, error)
- func (s *CreateProjectRequest) SetPreviewOrigins(val []string)
- func (s *CreateProjectRequest) UnmarshalJSON(data []byte) error
- type CreateProjectRes
- type CreateProjectResponse
- func (s *CreateProjectResponse) Decode(d *jx.Decoder) error
- func (s *CreateProjectResponse) Encode(e *jx.Encoder)
- func (s *CreateProjectResponse) GetCreatedAt() time.Time
- func (s *CreateProjectResponse) GetID() string
- func (s *CreateProjectResponse) GetPreviewOrigins() []string
- func (s *CreateProjectResponse) GetPreviewSecret() string
- func (s *CreateProjectResponse) GetProjectSecret() string
- func (s *CreateProjectResponse) MarshalJSON() ([]byte, error)
- func (s *CreateProjectResponse) SetCreatedAt(val time.Time)
- func (s *CreateProjectResponse) SetID(val string)
- func (s *CreateProjectResponse) SetPreviewOrigins(val []string)
- func (s *CreateProjectResponse) SetPreviewSecret(val string)
- func (s *CreateProjectResponse) SetProjectSecret(val string)
- func (s *CreateProjectResponse) UnmarshalJSON(data []byte) error
- func (s *CreateProjectResponse) Validate() error
- type CreateSchemaBadRequest
- type CreateSchemaConflict
- type CreateSchemaParams
- type CreateSchemaReq
- func (s *CreateSchemaReq) Decode(d *jx.Decoder) error
- func (s CreateSchemaReq) Encode(e *jx.Encoder)
- func (s CreateSchemaReq) GetSchemaURL() (v SchemaURL, ok bool)
- func (s CreateSchemaReq) GetUserSchema() (v UserSchema, ok bool)
- func (s CreateSchemaReq) IsSchemaURL() bool
- func (s CreateSchemaReq) IsUserSchema() bool
- func (s CreateSchemaReq) MarshalJSON() ([]byte, error)
- func (s *CreateSchemaReq) SetSchemaURL(v SchemaURL)
- func (s *CreateSchemaReq) SetUserSchema(v UserSchema)
- func (s *CreateSchemaReq) UnmarshalJSON(data []byte) error
- func (s CreateSchemaReq) Validate() error
- type CreateSchemaReqType
- type CreateSchemaRes
- type CreateSchemaResponse
- func (s *CreateSchemaResponse) Decode(d *jx.Decoder) error
- func (s *CreateSchemaResponse) Encode(e *jx.Encoder)
- func (s *CreateSchemaResponse) GetID() string
- func (s *CreateSchemaResponse) MarshalJSON() ([]byte, error)
- func (s *CreateSchemaResponse) SetID(val string)
- func (s *CreateSchemaResponse) UnmarshalJSON(data []byte) error
- type CreateSessionRequest
- func (s *CreateSessionRequest) Decode(d *jx.Decoder) error
- func (s *CreateSessionRequest) Encode(e *jx.Encoder)
- func (s *CreateSessionRequest) GetProjectID() ProjectID
- func (s *CreateSessionRequest) GetUserAgent() OptCreateSessionRequestUserAgent
- func (s *CreateSessionRequest) MarshalJSON() ([]byte, error)
- func (s *CreateSessionRequest) SetProjectID(val ProjectID)
- func (s *CreateSessionRequest) SetUserAgent(val OptCreateSessionRequestUserAgent)
- func (s *CreateSessionRequest) UnmarshalJSON(data []byte) error
- func (s *CreateSessionRequest) Validate() error
- type CreateSessionRequestUserAgent
- func (s *CreateSessionRequestUserAgent) Decode(d *jx.Decoder) error
- func (s *CreateSessionRequestUserAgent) Encode(e *jx.Encoder)
- func (s *CreateSessionRequestUserAgent) GetAdditionalProps() CreateSessionRequestUserAgentAdditional
- func (s *CreateSessionRequestUserAgent) GetFingerprint() OptString
- func (s *CreateSessionRequestUserAgent) GetIP() OptString
- func (s *CreateSessionRequestUserAgent) MarshalJSON() ([]byte, error)
- func (s *CreateSessionRequestUserAgent) SetAdditionalProps(val CreateSessionRequestUserAgentAdditional)
- func (s *CreateSessionRequestUserAgent) SetFingerprint(val OptString)
- func (s *CreateSessionRequestUserAgent) SetIP(val OptString)
- func (s *CreateSessionRequestUserAgent) UnmarshalJSON(data []byte) error
- type CreateSessionRequestUserAgentAdditional
- func (s *CreateSessionRequestUserAgentAdditional) Decode(d *jx.Decoder) error
- func (s CreateSessionRequestUserAgentAdditional) Encode(e *jx.Encoder)
- func (s CreateSessionRequestUserAgentAdditional) MarshalJSON() ([]byte, error)
- func (s *CreateSessionRequestUserAgentAdditional) UnmarshalJSON(data []byte) error
- type CreateSessionRes
- type CreateTeamBadRequest
- type CreateTeamParams
- type CreateTeamRequest
- type CreateTeamRes
- type CreateTeamResponse
- func (s *CreateTeamResponse) Decode(d *jx.Decoder) error
- func (s *CreateTeamResponse) Encode(e *jx.Encoder)
- func (s *CreateTeamResponse) GetCreatedAt() time.Time
- func (s *CreateTeamResponse) GetID() string
- func (s *CreateTeamResponse) MarshalJSON() ([]byte, error)
- func (s *CreateTeamResponse) SetCreatedAt(val time.Time)
- func (s *CreateTeamResponse) SetID(val string)
- func (s *CreateTeamResponse) UnmarshalJSON(data []byte) error
- type CreateTeamTooManyRequests
- type CreateUserBadRequest
- type CreateUserConflict
- type CreateUserForbidden
- type CreateUserParams
- type CreateUserRes
- type CreateUserResponse
- func (s *CreateUserResponse) Decode(d *jx.Decoder) error
- func (s *CreateUserResponse) Encode(e *jx.Encoder)
- func (s *CreateUserResponse) GetAdditionalProps() CreateUserResponseAdditional
- func (s *CreateUserResponse) GetID() string
- func (s *CreateUserResponse) MarshalJSON() ([]byte, error)
- func (s *CreateUserResponse) SetAdditionalProps(val CreateUserResponseAdditional)
- func (s *CreateUserResponse) SetID(val string)
- func (s *CreateUserResponse) UnmarshalJSON(data []byte) error
- type CreateUserResponseAdditional
- type CreateUserUnauthorized
- type DeactivateFlowDefinitionBadRequest
- type DeactivateFlowDefinitionConflict
- type DeactivateFlowDefinitionNoContent
- type DeactivateFlowDefinitionParams
- type DeactivateFlowDefinitionRes
- type DeleteFlowDefinitionNoContent
- type DeleteFlowDefinitionParams
- type DeleteFlowDefinitionRes
- type DeviceAuthorizationResponse
- func (s *DeviceAuthorizationResponse) Decode(d *jx.Decoder) error
- func (s *DeviceAuthorizationResponse) Encode(e *jx.Encoder)
- func (s *DeviceAuthorizationResponse) GetDeviceCode() OptString
- func (s *DeviceAuthorizationResponse) GetExpiresIn() OptInt
- func (s *DeviceAuthorizationResponse) GetInterval() OptInt
- func (s *DeviceAuthorizationResponse) GetUserCode() OptString
- func (s *DeviceAuthorizationResponse) GetVerificationURI() OptString
- func (s *DeviceAuthorizationResponse) GetVerificationURIComplete() OptString
- func (s *DeviceAuthorizationResponse) MarshalJSON() ([]byte, error)
- func (s *DeviceAuthorizationResponse) SetDeviceCode(val OptString)
- func (s *DeviceAuthorizationResponse) SetExpiresIn(val OptInt)
- func (s *DeviceAuthorizationResponse) SetInterval(val OptInt)
- func (s *DeviceAuthorizationResponse) SetUserCode(val OptString)
- func (s *DeviceAuthorizationResponse) SetVerificationURI(val OptString)
- func (s *DeviceAuthorizationResponse) SetVerificationURIComplete(val OptString)
- func (s *DeviceAuthorizationResponse) UnmarshalJSON(data []byte) error
- type EndSessionNoContent
- type EndSessionParams
- type EndSessionRes
- type ErrorCode
- type ErrorDetails
- func (s *ErrorDetails) Decode(d *jx.Decoder) error
- func (s *ErrorDetails) Encode(e *jx.Encoder)
- func (s *ErrorDetails) GetCode() ErrorCode
- func (s *ErrorDetails) GetDetails() OptErrorDetailsDetails
- func (s *ErrorDetails) GetMessage() string
- func (s *ErrorDetails) MarshalJSON() ([]byte, error)
- func (s *ErrorDetails) SetCode(val ErrorCode)
- func (s *ErrorDetails) SetDetails(val OptErrorDetailsDetails)
- func (s *ErrorDetails) SetMessage(val string)
- func (s *ErrorDetails) UnmarshalJSON(data []byte) error
- type ErrorDetailsDetails
- type ErrorDetailsStatusCode
- type ErrorHandler
- type ExchangeHandoffBadRequest
- type ExchangeHandoffGone
- type ExchangeHandoffParams
- type ExchangeHandoffRes
- type ExchangeHandoffUnauthorized
- type ExchangeRequest
- func (s *ExchangeRequest) Decode(d *jx.Decoder) error
- func (s *ExchangeRequest) Encode(e *jx.Encoder)
- func (s *ExchangeRequest) GetHandoffToken() string
- func (s *ExchangeRequest) GetTTL() OptDuration
- func (s *ExchangeRequest) MarshalJSON() ([]byte, error)
- func (s *ExchangeRequest) SetHandoffToken(val string)
- func (s *ExchangeRequest) SetTTL(val OptDuration)
- func (s *ExchangeRequest) UnmarshalJSON(data []byte) error
- type FactorMethod
- func (FactorMethod) AllValues() []FactorMethod
- func (s *FactorMethod) Decode(d *jx.Decoder) error
- func (s FactorMethod) Encode(e *jx.Encoder)
- func (s FactorMethod) MarshalJSON() ([]byte, error)
- func (s FactorMethod) MarshalText() ([]byte, error)
- func (s *FactorMethod) UnmarshalJSON(data []byte) error
- func (s *FactorMethod) UnmarshalText(data []byte) error
- func (s FactorMethod) Validate() error
- type Field
- func (s *Field) Decode(d *jx.Decoder) error
- func (s *Field) Encode(e *jx.Encoder)
- func (s *Field) GetName() string
- func (s *Field) GetRequired() OptBool
- func (s *Field) GetTextKey() string
- func (s *Field) GetType() FieldType
- func (s *Field) GetValidation() OptFieldValidation
- func (s *Field) GetValue() jx.Raw
- func (s *Field) MarshalJSON() ([]byte, error)
- func (s *Field) SetName(val string)
- func (s *Field) SetRequired(val OptBool)
- func (s *Field) SetTextKey(val string)
- func (s *Field) SetType(val FieldType)
- func (s *Field) SetValidation(val OptFieldValidation)
- func (s *Field) SetValue(val jx.Raw)
- func (s *Field) UnmarshalJSON(data []byte) error
- func (s *Field) Validate() error
- type FieldType
- func (FieldType) AllValues() []FieldType
- func (s *FieldType) Decode(d *jx.Decoder) error
- func (s FieldType) Encode(e *jx.Encoder)
- func (s FieldType) MarshalJSON() ([]byte, error)
- func (s FieldType) MarshalText() ([]byte, error)
- func (s *FieldType) UnmarshalJSON(data []byte) error
- func (s *FieldType) UnmarshalText(data []byte) error
- func (s FieldType) Validate() error
- type FieldValidation
- func (s *FieldValidation) Decode(d *jx.Decoder) error
- func (s *FieldValidation) Encode(e *jx.Encoder)
- func (s *FieldValidation) GetEnum() []string
- func (s *FieldValidation) GetFormat() OptFieldValidationFormat
- func (s *FieldValidation) GetMaxLength() OptInt
- func (s *FieldValidation) GetMinLength() OptInt
- func (s *FieldValidation) MarshalJSON() ([]byte, error)
- func (s *FieldValidation) SetEnum(val []string)
- func (s *FieldValidation) SetFormat(val OptFieldValidationFormat)
- func (s *FieldValidation) SetMaxLength(val OptInt)
- func (s *FieldValidation) SetMinLength(val OptInt)
- func (s *FieldValidation) UnmarshalJSON(data []byte) error
- func (s *FieldValidation) Validate() error
- type FieldValidationFormat
- func (FieldValidationFormat) AllValues() []FieldValidationFormat
- func (s *FieldValidationFormat) Decode(d *jx.Decoder) error
- func (s FieldValidationFormat) Encode(e *jx.Encoder)
- func (s FieldValidationFormat) MarshalJSON() ([]byte, error)
- func (s FieldValidationFormat) MarshalText() ([]byte, error)
- func (s *FieldValidationFormat) UnmarshalJSON(data []byte) error
- func (s *FieldValidationFormat) UnmarshalText(data []byte) error
- func (s FieldValidationFormat) Validate() error
- type FlowAudience
- func (s *FlowAudience) Decode(d *jx.Decoder) error
- func (s *FlowAudience) Encode(e *jx.Encoder)
- func (s *FlowAudience) GetAppIds() []string
- func (s *FlowAudience) GetTeamIds() []string
- func (s *FlowAudience) MarshalJSON() ([]byte, error)
- func (s *FlowAudience) SetAppIds(val []string)
- func (s *FlowAudience) SetTeamIds(val []string)
- func (s *FlowAudience) UnmarshalJSON(data []byte) error
- type FlowDefinition
- func (s *FlowDefinition) Decode(d *jx.Decoder) error
- func (s *FlowDefinition) Encode(e *jx.Encoder)
- func (s *FlowDefinition) GetAudience() OptFlowAudience
- func (s *FlowDefinition) GetName() string
- func (s *FlowDefinition) GetPurposes() FlowDefinitionPurposes
- func (s *FlowDefinition) GetStatus() OptFlowDefinitionStatus
- func (s *FlowDefinition) GetSteps() []FlowDefinitionStep
- func (s *FlowDefinition) GetUserSchema() url.URL
- func (s *FlowDefinition) MarshalJSON() ([]byte, error)
- func (s *FlowDefinition) SetAudience(val OptFlowAudience)
- func (s *FlowDefinition) SetName(val string)
- func (s *FlowDefinition) SetPurposes(val FlowDefinitionPurposes)
- func (s *FlowDefinition) SetStatus(val OptFlowDefinitionStatus)
- func (s *FlowDefinition) SetSteps(val []FlowDefinitionStep)
- func (s *FlowDefinition) SetUserSchema(val url.URL)
- func (s *FlowDefinition) UnmarshalJSON(data []byte) error
- func (s *FlowDefinition) Validate() error
- type FlowDefinitionDetailResponse
- func (s *FlowDefinitionDetailResponse) Decode(d *jx.Decoder) error
- func (s *FlowDefinitionDetailResponse) Encode(e *jx.Encoder)
- func (s *FlowDefinitionDetailResponse) GetCreatedAt() time.Time
- func (s *FlowDefinitionDetailResponse) GetFlowDefinition() FlowDefinition
- func (s *FlowDefinitionDetailResponse) GetID() string
- func (s *FlowDefinitionDetailResponse) GetProjectID() string
- func (s *FlowDefinitionDetailResponse) GetStatus() FlowDefinitionStatus
- func (s *FlowDefinitionDetailResponse) GetUpdatedAt() time.Time
- func (s *FlowDefinitionDetailResponse) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionDetailResponse) SetCreatedAt(val time.Time)
- func (s *FlowDefinitionDetailResponse) SetFlowDefinition(val FlowDefinition)
- func (s *FlowDefinitionDetailResponse) SetID(val string)
- func (s *FlowDefinitionDetailResponse) SetProjectID(val string)
- func (s *FlowDefinitionDetailResponse) SetStatus(val FlowDefinitionStatus)
- func (s *FlowDefinitionDetailResponse) SetUpdatedAt(val time.Time)
- func (s *FlowDefinitionDetailResponse) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionDetailResponse) Validate() error
- type FlowDefinitionListResponse
- func (s *FlowDefinitionListResponse) Decode(d *jx.Decoder) error
- func (s *FlowDefinitionListResponse) Encode(e *jx.Encoder)
- func (s *FlowDefinitionListResponse) GetFlowDefinitions() []FlowDefinitionResponse
- func (s *FlowDefinitionListResponse) GetNextPageToken() OptNilPageToken
- func (s *FlowDefinitionListResponse) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionListResponse) SetFlowDefinitions(val []FlowDefinitionResponse)
- func (s *FlowDefinitionListResponse) SetNextPageToken(val OptNilPageToken)
- func (s *FlowDefinitionListResponse) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionListResponse) Validate() error
- type FlowDefinitionPurposes
- type FlowDefinitionResponse
- func (s *FlowDefinitionResponse) Decode(d *jx.Decoder) error
- func (s *FlowDefinitionResponse) Encode(e *jx.Encoder)
- func (s *FlowDefinitionResponse) GetCreatedAt() time.Time
- func (s *FlowDefinitionResponse) GetID() string
- func (s *FlowDefinitionResponse) GetName() string
- func (s *FlowDefinitionResponse) GetProjectID() string
- func (s *FlowDefinitionResponse) GetSchemaURI() OptURI
- func (s *FlowDefinitionResponse) GetStatus() FlowDefinitionStatus
- func (s *FlowDefinitionResponse) GetUpdatedAt() time.Time
- func (s *FlowDefinitionResponse) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionResponse) SetCreatedAt(val time.Time)
- func (s *FlowDefinitionResponse) SetID(val string)
- func (s *FlowDefinitionResponse) SetName(val string)
- func (s *FlowDefinitionResponse) SetProjectID(val string)
- func (s *FlowDefinitionResponse) SetSchemaURI(val OptURI)
- func (s *FlowDefinitionResponse) SetStatus(val FlowDefinitionStatus)
- func (s *FlowDefinitionResponse) SetUpdatedAt(val time.Time)
- func (s *FlowDefinitionResponse) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionResponse) Validate() error
- type FlowDefinitionStatus
- func (FlowDefinitionStatus) AllValues() []FlowDefinitionStatus
- func (s *FlowDefinitionStatus) Decode(d *jx.Decoder) error
- func (s FlowDefinitionStatus) Encode(e *jx.Encoder)
- func (s FlowDefinitionStatus) MarshalJSON() ([]byte, error)
- func (s FlowDefinitionStatus) MarshalText() ([]byte, error)
- func (s *FlowDefinitionStatus) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionStatus) UnmarshalText(data []byte) error
- func (s FlowDefinitionStatus) Validate() error
- type FlowDefinitionStep
- func (s *FlowDefinitionStep) Decode(d *jx.Decoder) error
- func (s *FlowDefinitionStep) Encode(e *jx.Encoder)
- func (s *FlowDefinitionStep) GetActions() []StepAction
- func (s *FlowDefinitionStep) GetComplete() OptFlowDefinitionStepComplete
- func (s *FlowDefinitionStep) GetFields() []string
- func (s *FlowDefinitionStep) GetGates() OptFlowDefinitionStepGates
- func (s *FlowDefinitionStep) GetName() string
- func (s *FlowDefinitionStep) GetOnSuccess() OptFlowDefinitionStepOnSuccess
- func (s *FlowDefinitionStep) GetSSOProviders() []SSOProvider
- func (s *FlowDefinitionStep) GetTransitions() OptFlowDefinitionStepTransitions
- func (s *FlowDefinitionStep) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionStep) SetActions(val []StepAction)
- func (s *FlowDefinitionStep) SetComplete(val OptFlowDefinitionStepComplete)
- func (s *FlowDefinitionStep) SetFields(val []string)
- func (s *FlowDefinitionStep) SetGates(val OptFlowDefinitionStepGates)
- func (s *FlowDefinitionStep) SetName(val string)
- func (s *FlowDefinitionStep) SetOnSuccess(val OptFlowDefinitionStepOnSuccess)
- func (s *FlowDefinitionStep) SetSSOProviders(val []SSOProvider)
- func (s *FlowDefinitionStep) SetTransitions(val OptFlowDefinitionStepTransitions)
- func (s *FlowDefinitionStep) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionStep) Validate() error
- type FlowDefinitionStepComplete
- func (FlowDefinitionStepComplete) AllValues() []FlowDefinitionStepComplete
- func (s *FlowDefinitionStepComplete) Decode(d *jx.Decoder) error
- func (s FlowDefinitionStepComplete) Encode(e *jx.Encoder)
- func (s FlowDefinitionStepComplete) MarshalJSON() ([]byte, error)
- func (s FlowDefinitionStepComplete) MarshalText() ([]byte, error)
- func (s *FlowDefinitionStepComplete) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionStepComplete) UnmarshalText(data []byte) error
- func (s FlowDefinitionStepComplete) Validate() error
- type FlowDefinitionStepGates
- type FlowDefinitionStepOnSuccess
- func (FlowDefinitionStepOnSuccess) AllValues() []FlowDefinitionStepOnSuccess
- func (s *FlowDefinitionStepOnSuccess) Decode(d *jx.Decoder) error
- func (s FlowDefinitionStepOnSuccess) Encode(e *jx.Encoder)
- func (s FlowDefinitionStepOnSuccess) MarshalJSON() ([]byte, error)
- func (s FlowDefinitionStepOnSuccess) MarshalText() ([]byte, error)
- func (s *FlowDefinitionStepOnSuccess) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionStepOnSuccess) UnmarshalText(data []byte) error
- func (s FlowDefinitionStepOnSuccess) Validate() error
- type FlowDefinitionStepTransitions
- func (s *FlowDefinitionStepTransitions) Decode(d *jx.Decoder) error
- func (s FlowDefinitionStepTransitions) Encode(e *jx.Encoder)
- func (s FlowDefinitionStepTransitions) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionStepTransitions) UnmarshalJSON(data []byte) error
- func (s FlowDefinitionStepTransitions) Validate() error
- type FlowDefinitionStepTransitionsItem
- func (s *FlowDefinitionStepTransitionsItem) Decode(d *jx.Decoder) error
- func (s *FlowDefinitionStepTransitionsItem) Encode(e *jx.Encoder)
- func (s *FlowDefinitionStepTransitionsItem) GetAction() OptNilFlowDefinitionStepTransitionsItemAction
- func (s *FlowDefinitionStepTransitionsItem) GetTarget() string
- func (s *FlowDefinitionStepTransitionsItem) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionStepTransitionsItem) SetAction(val OptNilFlowDefinitionStepTransitionsItemAction)
- func (s *FlowDefinitionStepTransitionsItem) SetTarget(val string)
- func (s *FlowDefinitionStepTransitionsItem) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionStepTransitionsItem) Validate() error
- type FlowDefinitionStepTransitionsItemAction
- func (FlowDefinitionStepTransitionsItemAction) AllValues() []FlowDefinitionStepTransitionsItemAction
- func (s *FlowDefinitionStepTransitionsItemAction) Decode(d *jx.Decoder) error
- func (s FlowDefinitionStepTransitionsItemAction) Encode(e *jx.Encoder)
- func (s FlowDefinitionStepTransitionsItemAction) MarshalJSON() ([]byte, error)
- func (s FlowDefinitionStepTransitionsItemAction) MarshalText() ([]byte, error)
- func (s *FlowDefinitionStepTransitionsItemAction) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionStepTransitionsItemAction) UnmarshalText(data []byte) error
- func (s FlowDefinitionStepTransitionsItemAction) Validate() error
- type FlowDefinitionUpdateRequest
- func (s *FlowDefinitionUpdateRequest) Decode(d *jx.Decoder) error
- func (s *FlowDefinitionUpdateRequest) Encode(e *jx.Encoder)
- func (s *FlowDefinitionUpdateRequest) GetFlowDefinition() FlowDefinition
- func (s *FlowDefinitionUpdateRequest) GetSchemaURI() OptSchemaURI
- func (s *FlowDefinitionUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *FlowDefinitionUpdateRequest) SetFlowDefinition(val FlowDefinition)
- func (s *FlowDefinitionUpdateRequest) SetSchemaURI(val OptSchemaURI)
- func (s *FlowDefinitionUpdateRequest) UnmarshalJSON(data []byte) error
- func (s *FlowDefinitionUpdateRequest) Validate() error
- type FlowEventRequest
- func (s *FlowEventRequest) Decode(d *jx.Decoder) error
- func (s *FlowEventRequest) Encode(e *jx.Encoder)
- func (s *FlowEventRequest) GetPayload() OptFlowEventRequestPayload
- func (s *FlowEventRequest) GetSessionToken() OptString
- func (s *FlowEventRequest) GetType() FlowEventRequestType
- func (s *FlowEventRequest) MarshalJSON() ([]byte, error)
- func (s *FlowEventRequest) SetPayload(val OptFlowEventRequestPayload)
- func (s *FlowEventRequest) SetSessionToken(val OptString)
- func (s *FlowEventRequest) SetType(val FlowEventRequestType)
- func (s *FlowEventRequest) UnmarshalJSON(data []byte) error
- func (s *FlowEventRequest) Validate() error
- type FlowEventRequestPayload
- type FlowEventRequestType
- func (FlowEventRequestType) AllValues() []FlowEventRequestType
- func (s *FlowEventRequestType) Decode(d *jx.Decoder) error
- func (s FlowEventRequestType) Encode(e *jx.Encoder)
- func (s FlowEventRequestType) MarshalJSON() ([]byte, error)
- func (s FlowEventRequestType) MarshalText() ([]byte, error)
- func (s *FlowEventRequestType) UnmarshalJSON(data []byte) error
- func (s *FlowEventRequestType) UnmarshalText(data []byte) error
- func (s FlowEventRequestType) Validate() error
- type FlowHint
- func (s *FlowHint) Decode(d *jx.Decoder) error
- func (s *FlowHint) Encode(e *jx.Encoder)
- func (s *FlowHint) GetAppID() OptString
- func (s *FlowHint) GetLoginName() OptString
- func (s *FlowHint) GetTeamID() OptString
- func (s *FlowHint) GetUserSchemaID() OptString
- func (s *FlowHint) MarshalJSON() ([]byte, error)
- func (s *FlowHint) SetAppID(val OptString)
- func (s *FlowHint) SetLoginName(val OptString)
- func (s *FlowHint) SetTeamID(val OptString)
- func (s *FlowHint) SetUserSchemaID(val OptString)
- func (s *FlowHint) UnmarshalJSON(data []byte) error
- type FlowResponse
- func (s *FlowResponse) Decode(d *jx.Decoder) error
- func (s *FlowResponse) Encode(e *jx.Encoder)
- func (s *FlowResponse) GetBranding() OptBranding
- func (s *FlowResponse) GetHandoffToken() OptString
- func (s *FlowResponse) GetHandoffTokenExpiresAt() OptDateTime
- func (s *FlowResponse) GetID() string
- func (s *FlowResponse) GetRedirectURI() OptURI
- func (s *FlowResponse) GetSessionID() string
- func (s *FlowResponse) GetSessionToken() OptString
- func (s *FlowResponse) GetStep() FlowStep
- func (s *FlowResponse) MarshalJSON() ([]byte, error)
- func (s *FlowResponse) SetBranding(val OptBranding)
- func (s *FlowResponse) SetHandoffToken(val OptString)
- func (s *FlowResponse) SetHandoffTokenExpiresAt(val OptDateTime)
- func (s *FlowResponse) SetID(val string)
- func (s *FlowResponse) SetRedirectURI(val OptURI)
- func (s *FlowResponse) SetSessionID(val string)
- func (s *FlowResponse) SetSessionToken(val OptString)
- func (s *FlowResponse) SetStep(val FlowStep)
- func (s *FlowResponse) UnmarshalJSON(data []byte) error
- func (s *FlowResponse) Validate() error
- type FlowResponseHeaders
- type FlowStep
- func (s *FlowStep) Decode(d *jx.Decoder) error
- func (s *FlowStep) Encode(e *jx.Encoder)
- func (s *FlowStep) GetActions() []StepAction
- func (s *FlowStep) GetChallenge() OptFlowStepChallenge
- func (s *FlowStep) GetComplete() OptFlowStepComplete
- func (s *FlowStep) GetError() OptNilString
- func (s *FlowStep) GetFields() []Field
- func (s *FlowStep) GetGates() FlowStepGates
- func (s *FlowStep) GetName() string
- func (s *FlowStep) GetRedirectURL() OptURI
- func (s *FlowStep) GetSSOProviders() []SSOProvider
- func (s *FlowStep) GetTexts() OptStepTexts
- func (s *FlowStep) MarshalJSON() ([]byte, error)
- func (s *FlowStep) SetActions(val []StepAction)
- func (s *FlowStep) SetChallenge(val OptFlowStepChallenge)
- func (s *FlowStep) SetComplete(val OptFlowStepComplete)
- func (s *FlowStep) SetError(val OptNilString)
- func (s *FlowStep) SetFields(val []Field)
- func (s *FlowStep) SetGates(val FlowStepGates)
- func (s *FlowStep) SetName(val string)
- func (s *FlowStep) SetRedirectURL(val OptURI)
- func (s *FlowStep) SetSSOProviders(val []SSOProvider)
- func (s *FlowStep) SetTexts(val OptStepTexts)
- func (s *FlowStep) UnmarshalJSON(data []byte) error
- func (s *FlowStep) Validate() error
- type FlowStepChallenge
- func (s *FlowStepChallenge) Decode(d *jx.Decoder) error
- func (s *FlowStepChallenge) Encode(e *jx.Encoder)
- func (s *FlowStepChallenge) GetChallengeID() OptString
- func (s *FlowStepChallenge) GetMethod() OptFlowStepChallengeMethod
- func (s *FlowStepChallenge) GetOptions() OptFlowStepChallengeOptions
- func (s *FlowStepChallenge) MarshalJSON() ([]byte, error)
- func (s *FlowStepChallenge) SetChallengeID(val OptString)
- func (s *FlowStepChallenge) SetMethod(val OptFlowStepChallengeMethod)
- func (s *FlowStepChallenge) SetOptions(val OptFlowStepChallengeOptions)
- func (s *FlowStepChallenge) UnmarshalJSON(data []byte) error
- func (s *FlowStepChallenge) Validate() error
- type FlowStepChallengeMethod
- func (FlowStepChallengeMethod) AllValues() []FlowStepChallengeMethod
- func (s *FlowStepChallengeMethod) Decode(d *jx.Decoder) error
- func (s FlowStepChallengeMethod) Encode(e *jx.Encoder)
- func (s FlowStepChallengeMethod) MarshalJSON() ([]byte, error)
- func (s FlowStepChallengeMethod) MarshalText() ([]byte, error)
- func (s *FlowStepChallengeMethod) UnmarshalJSON(data []byte) error
- func (s *FlowStepChallengeMethod) UnmarshalText(data []byte) error
- func (s FlowStepChallengeMethod) Validate() error
- type FlowStepChallengeOptions
- type FlowStepComplete
- func (FlowStepComplete) AllValues() []FlowStepComplete
- func (s *FlowStepComplete) Decode(d *jx.Decoder) error
- func (s FlowStepComplete) Encode(e *jx.Encoder)
- func (s FlowStepComplete) MarshalJSON() ([]byte, error)
- func (s FlowStepComplete) MarshalText() ([]byte, error)
- func (s *FlowStepComplete) UnmarshalJSON(data []byte) error
- func (s *FlowStepComplete) UnmarshalText(data []byte) error
- func (s FlowStepComplete) Validate() error
- type FlowStepGates
- type FlowSubmitRequest
- func (s *FlowSubmitRequest) Decode(d *jx.Decoder) error
- func (s *FlowSubmitRequest) Encode(e *jx.Encoder)
- func (s *FlowSubmitRequest) GetAction() string
- func (s *FlowSubmitRequest) GetChallengeResponse() OptFlowSubmitRequestChallengeResponse
- func (s *FlowSubmitRequest) GetFields() OptFlowSubmitRequestFields
- func (s *FlowSubmitRequest) GetGateProofs() OptFlowSubmitRequestGateProofs
- func (s *FlowSubmitRequest) GetSSOProviderID() OptString
- func (s *FlowSubmitRequest) GetSessionToken() OptString
- func (s *FlowSubmitRequest) MarshalJSON() ([]byte, error)
- func (s *FlowSubmitRequest) SetAction(val string)
- func (s *FlowSubmitRequest) SetChallengeResponse(val OptFlowSubmitRequestChallengeResponse)
- func (s *FlowSubmitRequest) SetFields(val OptFlowSubmitRequestFields)
- func (s *FlowSubmitRequest) SetGateProofs(val OptFlowSubmitRequestGateProofs)
- func (s *FlowSubmitRequest) SetSSOProviderID(val OptString)
- func (s *FlowSubmitRequest) SetSessionToken(val OptString)
- func (s *FlowSubmitRequest) UnmarshalJSON(data []byte) error
- type FlowSubmitRequestChallengeResponse
- func (s *FlowSubmitRequestChallengeResponse) Decode(d *jx.Decoder) error
- func (s *FlowSubmitRequestChallengeResponse) Encode(e *jx.Encoder)
- func (s *FlowSubmitRequestChallengeResponse) GetChallengeID() OptString
- func (s *FlowSubmitRequestChallengeResponse) GetMethod() OptString
- func (s *FlowSubmitRequestChallengeResponse) GetProof() OptFlowSubmitRequestChallengeResponseProof
- func (s *FlowSubmitRequestChallengeResponse) MarshalJSON() ([]byte, error)
- func (s *FlowSubmitRequestChallengeResponse) SetChallengeID(val OptString)
- func (s *FlowSubmitRequestChallengeResponse) SetMethod(val OptString)
- func (s *FlowSubmitRequestChallengeResponse) SetProof(val OptFlowSubmitRequestChallengeResponseProof)
- func (s *FlowSubmitRequestChallengeResponse) UnmarshalJSON(data []byte) error
- type FlowSubmitRequestChallengeResponseProof
- func (s *FlowSubmitRequestChallengeResponseProof) Decode(d *jx.Decoder) error
- func (s FlowSubmitRequestChallengeResponseProof) Encode(e *jx.Encoder)
- func (s FlowSubmitRequestChallengeResponseProof) MarshalJSON() ([]byte, error)
- func (s *FlowSubmitRequestChallengeResponseProof) UnmarshalJSON(data []byte) error
- type FlowSubmitRequestFields
- type FlowSubmitRequestGateProofs
- type Gate
- func (s *Gate) Decode(d *jx.Decoder) error
- func (s *Gate) Encode(e *jx.Encoder)
- func (s *Gate) GetConfig() OptGateConfig
- func (s *Gate) GetKind() GateKind
- func (s *Gate) GetProvider() string
- func (s *Gate) MarshalJSON() ([]byte, error)
- func (s *Gate) SetConfig(val OptGateConfig)
- func (s *Gate) SetKind(val GateKind)
- func (s *Gate) SetProvider(val string)
- func (s *Gate) UnmarshalJSON(data []byte) error
- func (s *Gate) Validate() error
- type GateConfig
- type GateKind
- func (GateKind) AllValues() []GateKind
- func (s *GateKind) Decode(d *jx.Decoder) error
- func (s GateKind) Encode(e *jx.Encoder)
- func (s GateKind) MarshalJSON() ([]byte, error)
- func (s GateKind) MarshalText() ([]byte, error)
- func (s *GateKind) UnmarshalJSON(data []byte) error
- func (s *GateKind) UnmarshalText(data []byte) error
- func (s GateKind) Validate() error
- type GetAuthAttemptErrorResponse
- func (s *GetAuthAttemptErrorResponse) Decode(d *jx.Decoder) error
- func (s GetAuthAttemptErrorResponse) Encode(e *jx.Encoder)
- func (s GetAuthAttemptErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
- func (s GetAuthAttemptErrorResponse) GetInternal() (v Internal, ok bool)
- func (s GetAuthAttemptErrorResponse) IsAttNotFound() bool
- func (s GetAuthAttemptErrorResponse) IsInternal() bool
- func (s GetAuthAttemptErrorResponse) MarshalJSON() ([]byte, error)
- func (s *GetAuthAttemptErrorResponse) SetAttNotFound(v AttNotFound)
- func (s *GetAuthAttemptErrorResponse) SetInternal(v Internal)
- func (s *GetAuthAttemptErrorResponse) UnmarshalJSON(data []byte) error
- type GetAuthAttemptErrorResponseStatusCode
- func (s *GetAuthAttemptErrorResponseStatusCode) GetResponse() GetAuthAttemptErrorResponse
- func (s *GetAuthAttemptErrorResponseStatusCode) GetStatusCode() int
- func (s *GetAuthAttemptErrorResponseStatusCode) SetResponse(val GetAuthAttemptErrorResponse)
- func (s *GetAuthAttemptErrorResponseStatusCode) SetStatusCode(val int)
- type GetAuthAttemptErrorResponseType
- type GetAuthAttemptParams
- type GetAuthAttemptRes
- type GetFlowDefinitionParams
- type GetFlowDefinitionRes
- type GetFlowStepGone
- type GetFlowStepNotFound
- type GetFlowStepParams
- type GetFlowStepRes
- type GetHealthOK
- type GetHealthRes
- type GetKeysRes
- type GetLiveOK
- type GetLiveRes
- type GetMySessionNotFound
- type GetMySessionParams
- type GetMySessionRes
- type GetMySessionUnauthorized
- type GetMyUserOK
- type GetMyUserParams
- type GetMyUserRes
- type GetOpenIDConfigurationRes
- type GetProjectNotFound
- type GetProjectParams
- type GetProjectRes
- type GetProjectResponse
- func (s *GetProjectResponse) Decode(d *jx.Decoder) error
- func (s *GetProjectResponse) Encode(e *jx.Encoder)
- func (s *GetProjectResponse) GetCreatedAt() time.Time
- func (s *GetProjectResponse) GetID() string
- func (s *GetProjectResponse) GetUpdatedAt() time.Time
- func (s *GetProjectResponse) MarshalJSON() ([]byte, error)
- func (s *GetProjectResponse) SetCreatedAt(val time.Time)
- func (s *GetProjectResponse) SetID(val string)
- func (s *GetProjectResponse) SetUpdatedAt(val time.Time)
- func (s *GetProjectResponse) UnmarshalJSON(data []byte) error
- type GetProjectUnauthorized
- type GetReadyOK
- type GetReadyRes
- type GetSchemaByIdBadRequest
- type GetSchemaByIdNotFound
- type GetSchemaByIdOK
- func (s *GetSchemaByIdOK) Decode(d *jx.Decoder) error
- func (s GetSchemaByIdOK) Encode(e *jx.Encoder)
- func (s GetSchemaByIdOK) GetUserSchema() (v UserSchema, ok bool)
- func (s GetSchemaByIdOK) IsUserSchema() bool
- func (s GetSchemaByIdOK) MarshalJSON() ([]byte, error)
- func (s *GetSchemaByIdOK) SetUserSchema(v UserSchema)
- func (s *GetSchemaByIdOK) UnmarshalJSON(data []byte) error
- func (s GetSchemaByIdOK) Validate() error
- type GetSchemaByIdOKType
- type GetSchemaByIdParams
- type GetSchemaByIdRes
- type GetSessionNotFound
- type GetSessionParams
- type GetSessionRes
- type GetSessionUnauthorized
- type GetTeamNotFound
- type GetTeamParams
- type GetTeamRes
- type GetTeamResponse
- func (s *GetTeamResponse) Decode(d *jx.Decoder) error
- func (s *GetTeamResponse) Encode(e *jx.Encoder)
- func (s *GetTeamResponse) GetCreatedAt() time.Time
- func (s *GetTeamResponse) GetID() string
- func (s *GetTeamResponse) GetUpdatedAt() time.Time
- func (s *GetTeamResponse) MarshalJSON() ([]byte, error)
- func (s *GetTeamResponse) SetCreatedAt(val time.Time)
- func (s *GetTeamResponse) SetID(val string)
- func (s *GetTeamResponse) SetUpdatedAt(val time.Time)
- func (s *GetTeamResponse) UnmarshalJSON(data []byte) error
- type GetTeamUnauthorized
- type GetTokenRes
- type GetUserByIDNotFound
- type GetUserByIDOK
- type GetUserByIDParams
- type GetUserByIDRes
- type GetUserByIDUnauthorized
- type GetUserInfoOK
- func (s *GetUserInfoOK) Decode(d *jx.Decoder) error
- func (s *GetUserInfoOK) Encode(e *jx.Encoder)
- func (s *GetUserInfoOK) GetEmail() OptString
- func (s *GetUserInfoOK) GetFamilyName() OptString
- func (s *GetUserInfoOK) GetGivenName() OptString
- func (s *GetUserInfoOK) GetName() OptString
- func (s *GetUserInfoOK) GetPicture() OptURI
- func (s *GetUserInfoOK) GetPreferredUsername() OptString
- func (s *GetUserInfoOK) GetSub() OptString
- func (s *GetUserInfoOK) MarshalJSON() ([]byte, error)
- func (s *GetUserInfoOK) SetEmail(val OptString)
- func (s *GetUserInfoOK) SetFamilyName(val OptString)
- func (s *GetUserInfoOK) SetGivenName(val OptString)
- func (s *GetUserInfoOK) SetName(val OptString)
- func (s *GetUserInfoOK) SetPicture(val OptURI)
- func (s *GetUserInfoOK) SetPreferredUsername(val OptString)
- func (s *GetUserInfoOK) SetSub(val OptString)
- func (s *GetUserInfoOK) UnmarshalJSON(data []byte) error
- func (s *GetUserInfoOK) Validate() error
- type GetUserInfoRes
- type Handler
- type HandoffResponse
- func (s *HandoffResponse) Decode(d *jx.Decoder) error
- func (s *HandoffResponse) Encode(e *jx.Encoder)
- func (s *HandoffResponse) GetExpiresAt() time.Time
- func (s *HandoffResponse) GetHandoffToken() string
- func (s *HandoffResponse) MarshalJSON() ([]byte, error)
- func (s *HandoffResponse) SetExpiresAt(val time.Time)
- func (s *HandoffResponse) SetHandoffToken(val string)
- func (s *HandoffResponse) UnmarshalJSON(data []byte) error
- type IdentifierChallengePayload
- type IdentifierFactorPayload
- func (s *IdentifierFactorPayload) Decode(d *jx.Decoder) error
- func (s *IdentifierFactorPayload) Encode(e *jx.Encoder)
- func (s *IdentifierFactorPayload) GetUserID() UserID
- func (s *IdentifierFactorPayload) MarshalJSON() ([]byte, error)
- func (s *IdentifierFactorPayload) SetUserID(val UserID)
- func (s *IdentifierFactorPayload) UnmarshalJSON(data []byte) error
- func (s *IdentifierFactorPayload) Validate() error
- type IdentifierProof
- func (s *IdentifierProof) Decode(d *jx.Decoder) error
- func (s *IdentifierProof) Encode(e *jx.Encoder)
- func (s *IdentifierProof) GetLoginName() string
- func (s *IdentifierProof) MarshalJSON() ([]byte, error)
- func (s *IdentifierProof) SetLoginName(val string)
- func (s *IdentifierProof) UnmarshalJSON(data []byte) error
- type Internal
- func (s *Internal) Decode(d *jx.Decoder) error
- func (s *Internal) Encode(e *jx.Encoder)
- func (s *Internal) GetCode() string
- func (s *Internal) GetDetails() OptInternalDetails
- func (s *Internal) GetMessage() string
- func (s *Internal) MarshalJSON() ([]byte, error)
- func (s *Internal) SetCode(val string)
- func (s *Internal) SetDetails(val OptInternalDetails)
- func (s *Internal) SetMessage(val string)
- func (s *Internal) UnmarshalJSON(data []byte) error
- type InternalDetails
- type IntrospectRequest
- type IntrospectRes
- type IntrospectResponse
- func (s *IntrospectResponse) Decode(d *jx.Decoder) error
- func (s *IntrospectResponse) Encode(e *jx.Encoder)
- func (s *IntrospectResponse) GetActive() OptBool
- func (s *IntrospectResponse) GetAud() OptString
- func (s *IntrospectResponse) GetClientID() OptString
- func (s *IntrospectResponse) GetExp() OptInt
- func (s *IntrospectResponse) GetIat() OptInt
- func (s *IntrospectResponse) GetIss() OptString
- func (s *IntrospectResponse) GetJti() OptString
- func (s *IntrospectResponse) GetNbf() OptInt
- func (s *IntrospectResponse) GetScope() OptString
- func (s *IntrospectResponse) GetSub() OptString
- func (s *IntrospectResponse) GetTokenType() OptString
- func (s *IntrospectResponse) GetUsername() OptString
- func (s *IntrospectResponse) MarshalJSON() ([]byte, error)
- func (s *IntrospectResponse) SetActive(val OptBool)
- func (s *IntrospectResponse) SetAud(val OptString)
- func (s *IntrospectResponse) SetClientID(val OptString)
- func (s *IntrospectResponse) SetExp(val OptInt)
- func (s *IntrospectResponse) SetIat(val OptInt)
- func (s *IntrospectResponse) SetIss(val OptString)
- func (s *IntrospectResponse) SetJti(val OptString)
- func (s *IntrospectResponse) SetNbf(val OptInt)
- func (s *IntrospectResponse) SetScope(val OptString)
- func (s *IntrospectResponse) SetSub(val OptString)
- func (s *IntrospectResponse) SetTokenType(val OptString)
- func (s *IntrospectResponse) SetUsername(val OptString)
- func (s *IntrospectResponse) UnmarshalJSON(data []byte) error
- type Invoker
- type IssueChallengeErrorResponse
- func NewAttAlreadyCompletedIssueChallengeErrorResponse(v AttAlreadyCompleted) IssueChallengeErrorResponse
- func NewAttInvalidRequestIssueChallengeErrorResponse(v AttInvalidRequest) IssueChallengeErrorResponse
- func NewAttInvalidStateIssueChallengeErrorResponse(v AttInvalidState) IssueChallengeErrorResponse
- func NewAttNotFoundIssueChallengeErrorResponse(v AttNotFound) IssueChallengeErrorResponse
- func NewInternalIssueChallengeErrorResponse(v Internal) IssueChallengeErrorResponse
- func (s *IssueChallengeErrorResponse) Decode(d *jx.Decoder) error
- func (s IssueChallengeErrorResponse) Encode(e *jx.Encoder)
- func (s IssueChallengeErrorResponse) GetAttAlreadyCompleted() (v AttAlreadyCompleted, ok bool)
- func (s IssueChallengeErrorResponse) GetAttInvalidRequest() (v AttInvalidRequest, ok bool)
- func (s IssueChallengeErrorResponse) GetAttInvalidState() (v AttInvalidState, ok bool)
- func (s IssueChallengeErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
- func (s IssueChallengeErrorResponse) GetInternal() (v Internal, ok bool)
- func (s IssueChallengeErrorResponse) IsAttAlreadyCompleted() bool
- func (s IssueChallengeErrorResponse) IsAttInvalidRequest() bool
- func (s IssueChallengeErrorResponse) IsAttInvalidState() bool
- func (s IssueChallengeErrorResponse) IsAttNotFound() bool
- func (s IssueChallengeErrorResponse) IsInternal() bool
- func (s IssueChallengeErrorResponse) MarshalJSON() ([]byte, error)
- func (s *IssueChallengeErrorResponse) SetAttAlreadyCompleted(v AttAlreadyCompleted)
- func (s *IssueChallengeErrorResponse) SetAttInvalidRequest(v AttInvalidRequest)
- func (s *IssueChallengeErrorResponse) SetAttInvalidState(v AttInvalidState)
- func (s *IssueChallengeErrorResponse) SetAttNotFound(v AttNotFound)
- func (s *IssueChallengeErrorResponse) SetInternal(v Internal)
- func (s *IssueChallengeErrorResponse) UnmarshalJSON(data []byte) error
- type IssueChallengeErrorResponseStatusCode
- func (s *IssueChallengeErrorResponseStatusCode) GetResponse() IssueChallengeErrorResponse
- func (s *IssueChallengeErrorResponseStatusCode) GetStatusCode() int
- func (s *IssueChallengeErrorResponseStatusCode) SetResponse(val IssueChallengeErrorResponse)
- func (s *IssueChallengeErrorResponseStatusCode) SetStatusCode(val int)
- type IssueChallengeErrorResponseType
- type IssueChallengeParams
- type IssueChallengeRequest
- func (s *IssueChallengeRequest) Decode(d *jx.Decoder) error
- func (s *IssueChallengeRequest) Encode(e *jx.Encoder)
- func (s *IssueChallengeRequest) GetMethod() FactorMethod
- func (s *IssueChallengeRequest) GetPasskeyOptions() OptIssueChallengeRequestPasskeyOptions
- func (s *IssueChallengeRequest) MarshalJSON() ([]byte, error)
- func (s *IssueChallengeRequest) SetMethod(val FactorMethod)
- func (s *IssueChallengeRequest) SetPasskeyOptions(val OptIssueChallengeRequestPasskeyOptions)
- func (s *IssueChallengeRequest) UnmarshalJSON(data []byte) error
- func (s *IssueChallengeRequest) Validate() error
- type IssueChallengeRequestPasskeyOptions
- func (s *IssueChallengeRequestPasskeyOptions) Decode(d *jx.Decoder) error
- func (s *IssueChallengeRequestPasskeyOptions) Encode(e *jx.Encoder)
- func (s *IssueChallengeRequestPasskeyOptions) GetRpID() OptString
- func (s *IssueChallengeRequestPasskeyOptions) GetRpOrigins() []url.URL
- func (s *IssueChallengeRequestPasskeyOptions) GetUserVerification() OptIssueChallengeRequestPasskeyOptionsUserVerification
- func (s *IssueChallengeRequestPasskeyOptions) MarshalJSON() ([]byte, error)
- func (s *IssueChallengeRequestPasskeyOptions) SetRpID(val OptString)
- func (s *IssueChallengeRequestPasskeyOptions) SetRpOrigins(val []url.URL)
- func (s *IssueChallengeRequestPasskeyOptions) SetUserVerification(val OptIssueChallengeRequestPasskeyOptionsUserVerification)
- func (s *IssueChallengeRequestPasskeyOptions) UnmarshalJSON(data []byte) error
- func (s *IssueChallengeRequestPasskeyOptions) Validate() error
- type IssueChallengeRequestPasskeyOptionsUserVerification
- func (IssueChallengeRequestPasskeyOptionsUserVerification) AllValues() []IssueChallengeRequestPasskeyOptionsUserVerification
- func (s *IssueChallengeRequestPasskeyOptionsUserVerification) Decode(d *jx.Decoder) error
- func (s IssueChallengeRequestPasskeyOptionsUserVerification) Encode(e *jx.Encoder)
- func (s IssueChallengeRequestPasskeyOptionsUserVerification) MarshalJSON() ([]byte, error)
- func (s IssueChallengeRequestPasskeyOptionsUserVerification) MarshalText() ([]byte, error)
- func (s *IssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalJSON(data []byte) error
- func (s *IssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalText(data []byte) error
- func (s IssueChallengeRequestPasskeyOptionsUserVerification) Validate() error
- type IssueChallengeRes
- type KeysResponse
- func (s *KeysResponse) Decode(d *jx.Decoder) error
- func (s *KeysResponse) Encode(e *jx.Encoder)
- func (s *KeysResponse) GetKeys() []KeysResponseKeysItem
- func (s *KeysResponse) MarshalJSON() ([]byte, error)
- func (s *KeysResponse) SetKeys(val []KeysResponseKeysItem)
- func (s *KeysResponse) UnmarshalJSON(data []byte) error
- type KeysResponseKeysItem
- func (s *KeysResponseKeysItem) Decode(d *jx.Decoder) error
- func (s *KeysResponseKeysItem) Encode(e *jx.Encoder)
- func (s *KeysResponseKeysItem) GetAlg() OptString
- func (s *KeysResponseKeysItem) GetCrv() OptString
- func (s *KeysResponseKeysItem) GetD() OptString
- func (s *KeysResponseKeysItem) GetDp() OptString
- func (s *KeysResponseKeysItem) GetDq() OptString
- func (s *KeysResponseKeysItem) GetE() OptString
- func (s *KeysResponseKeysItem) GetK() OptString
- func (s *KeysResponseKeysItem) GetKid() OptString
- func (s *KeysResponseKeysItem) GetKty() OptString
- func (s *KeysResponseKeysItem) GetN() OptString
- func (s *KeysResponseKeysItem) GetP() OptString
- func (s *KeysResponseKeysItem) GetQ() OptString
- func (s *KeysResponseKeysItem) GetQi() OptString
- func (s *KeysResponseKeysItem) GetUse() OptString
- func (s *KeysResponseKeysItem) GetX() OptString
- func (s *KeysResponseKeysItem) GetX5c() []string
- func (s *KeysResponseKeysItem) GetX5t() OptString
- func (s *KeysResponseKeysItem) GetX5tS256() OptString
- func (s *KeysResponseKeysItem) GetX5u() OptString
- func (s *KeysResponseKeysItem) GetY() OptString
- func (s *KeysResponseKeysItem) MarshalJSON() ([]byte, error)
- func (s *KeysResponseKeysItem) SetAlg(val OptString)
- func (s *KeysResponseKeysItem) SetCrv(val OptString)
- func (s *KeysResponseKeysItem) SetD(val OptString)
- func (s *KeysResponseKeysItem) SetDp(val OptString)
- func (s *KeysResponseKeysItem) SetDq(val OptString)
- func (s *KeysResponseKeysItem) SetE(val OptString)
- func (s *KeysResponseKeysItem) SetK(val OptString)
- func (s *KeysResponseKeysItem) SetKid(val OptString)
- func (s *KeysResponseKeysItem) SetKty(val OptString)
- func (s *KeysResponseKeysItem) SetN(val OptString)
- func (s *KeysResponseKeysItem) SetP(val OptString)
- func (s *KeysResponseKeysItem) SetQ(val OptString)
- func (s *KeysResponseKeysItem) SetQi(val OptString)
- func (s *KeysResponseKeysItem) SetUse(val OptString)
- func (s *KeysResponseKeysItem) SetX(val OptString)
- func (s *KeysResponseKeysItem) SetX5c(val []string)
- func (s *KeysResponseKeysItem) SetX5t(val OptString)
- func (s *KeysResponseKeysItem) SetX5tS256(val OptString)
- func (s *KeysResponseKeysItem) SetX5u(val OptString)
- func (s *KeysResponseKeysItem) SetY(val OptString)
- func (s *KeysResponseKeysItem) UnmarshalJSON(data []byte) error
- type Labeler
- type ListFlowDefinitionsParams
- type ListFlowDefinitionsPurpose
- type ListFlowDefinitionsRes
- type ListSessionsBadRequest
- type ListSessionsForbidden
- type ListSessionsParams
- type ListSessionsRes
- type ListSessionsState
- type ListSessionsUnauthorized
- type ListUsersBadRequest
- type ListUsersInternalServerError
- type ListUsersOKApplicationJSON
- func (s *ListUsersOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListUsersOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListUsersOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListUsersOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListUsersOKApplicationJSON) Validate() error
- type ListUsersOKItem
- type ListUsersParams
- type ListUsersRes
- type Middleware
- type OAuth2
- type OpenidConfiguration
- func (s *OpenidConfiguration) Decode(d *jx.Decoder) error
- func (s *OpenidConfiguration) Encode(e *jx.Encoder)
- func (s *OpenidConfiguration) GetAcrValuesSupported() []string
- func (s *OpenidConfiguration) GetAuthorizationEndpoint() url.URL
- func (s *OpenidConfiguration) GetClaimTypesSupported() []OpenidConfigurationClaimTypesSupportedItem
- func (s *OpenidConfiguration) GetClaimsLocalesSupported() []string
- func (s *OpenidConfiguration) GetClaimsParameterSupported() OptBool
- func (s *OpenidConfiguration) GetClaimsSupported() []string
- func (s *OpenidConfiguration) GetDisplayValuesSupported() []OpenidConfigurationDisplayValuesSupportedItem
- func (s *OpenidConfiguration) GetGrantTypesSupported() []string
- func (s *OpenidConfiguration) GetIDTokenEncryptionAlgValuesSupported() []string
- func (s *OpenidConfiguration) GetIDTokenEncryptionEncValuesSupported() []string
- func (s *OpenidConfiguration) GetIDTokenSigningAlgValuesSupported() []string
- func (s *OpenidConfiguration) GetIssuer() url.URL
- func (s *OpenidConfiguration) GetJwksURI() url.URL
- func (s *OpenidConfiguration) GetOpPolicyURI() OptURI
- func (s *OpenidConfiguration) GetOpTosURI() OptURI
- func (s *OpenidConfiguration) GetRegistrationEndpoint() OptURI
- func (s *OpenidConfiguration) GetRequestObjectEncryptionAlgValuesSupported() []string
- func (s *OpenidConfiguration) GetRequestObjectEncryptionEncValuesSupported() []string
- func (s *OpenidConfiguration) GetRequestObjectSigningAlgValuesSupported() []string
- func (s *OpenidConfiguration) GetRequestParameterSupported() OptBool
- func (s *OpenidConfiguration) GetRequestURIParameterSupported() OptBool
- func (s *OpenidConfiguration) GetRequireRequestURIRegistration() OptBool
- func (s *OpenidConfiguration) GetResponseModesSupported() []string
- func (s *OpenidConfiguration) GetResponseTypesSupported() []string
- func (s *OpenidConfiguration) GetScopesSupported() []string
- func (s *OpenidConfiguration) GetServiceDocumentation() OptURI
- func (s *OpenidConfiguration) GetSubjectTypesSupported() []OpenidConfigurationSubjectTypesSupportedItem
- func (s *OpenidConfiguration) GetTokenEndpoint() OptURI
- func (s *OpenidConfiguration) GetTokenEndpointAuthMethodsSupported() []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem
- func (s *OpenidConfiguration) GetTokenEndpointAuthSigningAlgValuesSupported() []string
- func (s *OpenidConfiguration) GetUILocalesSupported() []string
- func (s *OpenidConfiguration) GetUserinfoEncryptionAlgValuesSupported() []string
- func (s *OpenidConfiguration) GetUserinfoEncryptionEncValuesSupported() []string
- func (s *OpenidConfiguration) GetUserinfoEndpoint() OptURI
- func (s *OpenidConfiguration) GetUserinfoSigningAlgValuesSupported() []string
- func (s *OpenidConfiguration) MarshalJSON() ([]byte, error)
- func (s *OpenidConfiguration) SetAcrValuesSupported(val []string)
- func (s *OpenidConfiguration) SetAuthorizationEndpoint(val url.URL)
- func (s *OpenidConfiguration) SetClaimTypesSupported(val []OpenidConfigurationClaimTypesSupportedItem)
- func (s *OpenidConfiguration) SetClaimsLocalesSupported(val []string)
- func (s *OpenidConfiguration) SetClaimsParameterSupported(val OptBool)
- func (s *OpenidConfiguration) SetClaimsSupported(val []string)
- func (s *OpenidConfiguration) SetDisplayValuesSupported(val []OpenidConfigurationDisplayValuesSupportedItem)
- func (s *OpenidConfiguration) SetGrantTypesSupported(val []string)
- func (s *OpenidConfiguration) SetIDTokenEncryptionAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) SetIDTokenEncryptionEncValuesSupported(val []string)
- func (s *OpenidConfiguration) SetIDTokenSigningAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) SetIssuer(val url.URL)
- func (s *OpenidConfiguration) SetJwksURI(val url.URL)
- func (s *OpenidConfiguration) SetOpPolicyURI(val OptURI)
- func (s *OpenidConfiguration) SetOpTosURI(val OptURI)
- func (s *OpenidConfiguration) SetRegistrationEndpoint(val OptURI)
- func (s *OpenidConfiguration) SetRequestObjectEncryptionAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) SetRequestObjectEncryptionEncValuesSupported(val []string)
- func (s *OpenidConfiguration) SetRequestObjectSigningAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) SetRequestParameterSupported(val OptBool)
- func (s *OpenidConfiguration) SetRequestURIParameterSupported(val OptBool)
- func (s *OpenidConfiguration) SetRequireRequestURIRegistration(val OptBool)
- func (s *OpenidConfiguration) SetResponseModesSupported(val []string)
- func (s *OpenidConfiguration) SetResponseTypesSupported(val []string)
- func (s *OpenidConfiguration) SetScopesSupported(val []string)
- func (s *OpenidConfiguration) SetServiceDocumentation(val OptURI)
- func (s *OpenidConfiguration) SetSubjectTypesSupported(val []OpenidConfigurationSubjectTypesSupportedItem)
- func (s *OpenidConfiguration) SetTokenEndpoint(val OptURI)
- func (s *OpenidConfiguration) SetTokenEndpointAuthMethodsSupported(val []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem)
- func (s *OpenidConfiguration) SetTokenEndpointAuthSigningAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) SetUILocalesSupported(val []string)
- func (s *OpenidConfiguration) SetUserinfoEncryptionAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) SetUserinfoEncryptionEncValuesSupported(val []string)
- func (s *OpenidConfiguration) SetUserinfoEndpoint(val OptURI)
- func (s *OpenidConfiguration) SetUserinfoSigningAlgValuesSupported(val []string)
- func (s *OpenidConfiguration) UnmarshalJSON(data []byte) error
- func (s *OpenidConfiguration) Validate() error
- type OpenidConfigurationClaimTypesSupportedItem
- func (OpenidConfigurationClaimTypesSupportedItem) AllValues() []OpenidConfigurationClaimTypesSupportedItem
- func (s *OpenidConfigurationClaimTypesSupportedItem) Decode(d *jx.Decoder) error
- func (s OpenidConfigurationClaimTypesSupportedItem) Encode(e *jx.Encoder)
- func (s OpenidConfigurationClaimTypesSupportedItem) MarshalJSON() ([]byte, error)
- func (s OpenidConfigurationClaimTypesSupportedItem) MarshalText() ([]byte, error)
- func (s *OpenidConfigurationClaimTypesSupportedItem) UnmarshalJSON(data []byte) error
- func (s *OpenidConfigurationClaimTypesSupportedItem) UnmarshalText(data []byte) error
- func (s OpenidConfigurationClaimTypesSupportedItem) Validate() error
- type OpenidConfigurationDisplayValuesSupportedItem
- func (OpenidConfigurationDisplayValuesSupportedItem) AllValues() []OpenidConfigurationDisplayValuesSupportedItem
- func (s *OpenidConfigurationDisplayValuesSupportedItem) Decode(d *jx.Decoder) error
- func (s OpenidConfigurationDisplayValuesSupportedItem) Encode(e *jx.Encoder)
- func (s OpenidConfigurationDisplayValuesSupportedItem) MarshalJSON() ([]byte, error)
- func (s OpenidConfigurationDisplayValuesSupportedItem) MarshalText() ([]byte, error)
- func (s *OpenidConfigurationDisplayValuesSupportedItem) UnmarshalJSON(data []byte) error
- func (s *OpenidConfigurationDisplayValuesSupportedItem) UnmarshalText(data []byte) error
- func (s OpenidConfigurationDisplayValuesSupportedItem) Validate() error
- type OpenidConfigurationSubjectTypesSupportedItem
- func (OpenidConfigurationSubjectTypesSupportedItem) AllValues() []OpenidConfigurationSubjectTypesSupportedItem
- func (s *OpenidConfigurationSubjectTypesSupportedItem) Decode(d *jx.Decoder) error
- func (s OpenidConfigurationSubjectTypesSupportedItem) Encode(e *jx.Encoder)
- func (s OpenidConfigurationSubjectTypesSupportedItem) MarshalJSON() ([]byte, error)
- func (s OpenidConfigurationSubjectTypesSupportedItem) MarshalText() ([]byte, error)
- func (s *OpenidConfigurationSubjectTypesSupportedItem) UnmarshalJSON(data []byte) error
- func (s *OpenidConfigurationSubjectTypesSupportedItem) UnmarshalText(data []byte) error
- func (s OpenidConfigurationSubjectTypesSupportedItem) Validate() error
- type OpenidConfigurationTokenEndpointAuthMethodsSupportedItem
- func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) AllValues() []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem
- func (s *OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Decode(d *jx.Decoder) error
- func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Encode(e *jx.Encoder)
- func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) MarshalJSON() ([]byte, error)
- func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) MarshalText() ([]byte, error)
- func (s *OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) UnmarshalJSON(data []byte) error
- func (s *OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) UnmarshalText(data []byte) error
- func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Validate() error
- type OperationName
- type OptAttAlreadyCompletedDetails
- func (o *OptAttAlreadyCompletedDetails) Decode(d *jx.Decoder) error
- func (o OptAttAlreadyCompletedDetails) Encode(e *jx.Encoder)
- func (o OptAttAlreadyCompletedDetails) Get() (v AttAlreadyCompletedDetails, ok bool)
- func (o OptAttAlreadyCompletedDetails) IsSet() bool
- func (s OptAttAlreadyCompletedDetails) MarshalJSON() ([]byte, error)
- func (o OptAttAlreadyCompletedDetails) Or(d AttAlreadyCompletedDetails) AttAlreadyCompletedDetails
- func (o *OptAttAlreadyCompletedDetails) Reset()
- func (o *OptAttAlreadyCompletedDetails) SetTo(v AttAlreadyCompletedDetails)
- func (s *OptAttAlreadyCompletedDetails) UnmarshalJSON(data []byte) error
- type OptAttInvalidRequestDetails
- func (o *OptAttInvalidRequestDetails) Decode(d *jx.Decoder) error
- func (o OptAttInvalidRequestDetails) Encode(e *jx.Encoder)
- func (o OptAttInvalidRequestDetails) Get() (v AttInvalidRequestDetails, ok bool)
- func (o OptAttInvalidRequestDetails) IsSet() bool
- func (s OptAttInvalidRequestDetails) MarshalJSON() ([]byte, error)
- func (o OptAttInvalidRequestDetails) Or(d AttInvalidRequestDetails) AttInvalidRequestDetails
- func (o *OptAttInvalidRequestDetails) Reset()
- func (o *OptAttInvalidRequestDetails) SetTo(v AttInvalidRequestDetails)
- func (s *OptAttInvalidRequestDetails) UnmarshalJSON(data []byte) error
- type OptAttInvalidStateDetails
- func (o *OptAttInvalidStateDetails) Decode(d *jx.Decoder) error
- func (o OptAttInvalidStateDetails) Encode(e *jx.Encoder)
- func (o OptAttInvalidStateDetails) Get() (v AttInvalidStateDetails, ok bool)
- func (o OptAttInvalidStateDetails) IsSet() bool
- func (s OptAttInvalidStateDetails) MarshalJSON() ([]byte, error)
- func (o OptAttInvalidStateDetails) Or(d AttInvalidStateDetails) AttInvalidStateDetails
- func (o *OptAttInvalidStateDetails) Reset()
- func (o *OptAttInvalidStateDetails) SetTo(v AttInvalidStateDetails)
- func (s *OptAttInvalidStateDetails) UnmarshalJSON(data []byte) error
- type OptAttNotCompletedDetails
- func (o *OptAttNotCompletedDetails) Decode(d *jx.Decoder) error
- func (o OptAttNotCompletedDetails) Encode(e *jx.Encoder)
- func (o OptAttNotCompletedDetails) Get() (v AttNotCompletedDetails, ok bool)
- func (o OptAttNotCompletedDetails) IsSet() bool
- func (s OptAttNotCompletedDetails) MarshalJSON() ([]byte, error)
- func (o OptAttNotCompletedDetails) Or(d AttNotCompletedDetails) AttNotCompletedDetails
- func (o *OptAttNotCompletedDetails) Reset()
- func (o *OptAttNotCompletedDetails) SetTo(v AttNotCompletedDetails)
- func (s *OptAttNotCompletedDetails) UnmarshalJSON(data []byte) error
- type OptAttNotFoundDetails
- func (o *OptAttNotFoundDetails) Decode(d *jx.Decoder) error
- func (o OptAttNotFoundDetails) Encode(e *jx.Encoder)
- func (o OptAttNotFoundDetails) Get() (v AttNotFoundDetails, ok bool)
- func (o OptAttNotFoundDetails) IsSet() bool
- func (s OptAttNotFoundDetails) MarshalJSON() ([]byte, error)
- func (o OptAttNotFoundDetails) Or(d AttNotFoundDetails) AttNotFoundDetails
- func (o *OptAttNotFoundDetails) Reset()
- func (o *OptAttNotFoundDetails) SetTo(v AttNotFoundDetails)
- func (s *OptAttNotFoundDetails) UnmarshalJSON(data []byte) error
- type OptAttProofRejectedDetails
- func (o *OptAttProofRejectedDetails) Decode(d *jx.Decoder) error
- func (o OptAttProofRejectedDetails) Encode(e *jx.Encoder)
- func (o OptAttProofRejectedDetails) Get() (v AttProofRejectedDetails, ok bool)
- func (o OptAttProofRejectedDetails) IsSet() bool
- func (s OptAttProofRejectedDetails) MarshalJSON() ([]byte, error)
- func (o OptAttProofRejectedDetails) Or(d AttProofRejectedDetails) AttProofRejectedDetails
- func (o *OptAttProofRejectedDetails) Reset()
- func (o *OptAttProofRejectedDetails) SetTo(v AttProofRejectedDetails)
- func (s *OptAttProofRejectedDetails) UnmarshalJSON(data []byte) error
- type OptAttStaleChallengeDetails
- func (o *OptAttStaleChallengeDetails) Decode(d *jx.Decoder) error
- func (o OptAttStaleChallengeDetails) Encode(e *jx.Encoder)
- func (o OptAttStaleChallengeDetails) Get() (v AttStaleChallengeDetails, ok bool)
- func (o OptAttStaleChallengeDetails) IsSet() bool
- func (s OptAttStaleChallengeDetails) MarshalJSON() ([]byte, error)
- func (o OptAttStaleChallengeDetails) Or(d AttStaleChallengeDetails) AttStaleChallengeDetails
- func (o *OptAttStaleChallengeDetails) Reset()
- func (o *OptAttStaleChallengeDetails) SetTo(v AttStaleChallengeDetails)
- func (s *OptAttStaleChallengeDetails) UnmarshalJSON(data []byte) error
- type OptAuthMethod
- func (o *OptAuthMethod) Decode(d *jx.Decoder) error
- func (o OptAuthMethod) Encode(e *jx.Encoder)
- func (o OptAuthMethod) Get() (v AuthMethod, ok bool)
- func (o OptAuthMethod) IsSet() bool
- func (s OptAuthMethod) MarshalJSON() ([]byte, error)
- func (o OptAuthMethod) Or(d AuthMethod) AuthMethod
- func (o *OptAuthMethod) Reset()
- func (o *OptAuthMethod) SetTo(v AuthMethod)
- func (s *OptAuthMethod) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptBranding
- func (o *OptBranding) Decode(d *jx.Decoder) error
- func (o OptBranding) Encode(e *jx.Encoder)
- func (o OptBranding) Get() (v Branding, ok bool)
- func (o OptBranding) IsSet() bool
- func (s OptBranding) MarshalJSON() ([]byte, error)
- func (o OptBranding) Or(d Branding) Branding
- func (o *OptBranding) Reset()
- func (o *OptBranding) SetTo(v Branding)
- func (s *OptBranding) UnmarshalJSON(data []byte) error
- type OptBrandingLayout
- func (o *OptBrandingLayout) Decode(d *jx.Decoder) error
- func (o OptBrandingLayout) Encode(e *jx.Encoder)
- func (o OptBrandingLayout) Get() (v BrandingLayout, ok bool)
- func (o OptBrandingLayout) IsSet() bool
- func (s OptBrandingLayout) MarshalJSON() ([]byte, error)
- func (o OptBrandingLayout) Or(d BrandingLayout) BrandingLayout
- func (o *OptBrandingLayout) Reset()
- func (o *OptBrandingLayout) SetTo(v BrandingLayout)
- func (s *OptBrandingLayout) UnmarshalJSON(data []byte) error
- type OptChallengeNonce
- func (o *OptChallengeNonce) Decode(d *jx.Decoder) error
- func (o OptChallengeNonce) Encode(e *jx.Encoder)
- func (o OptChallengeNonce) Get() (v ChallengeNonce, ok bool)
- func (o OptChallengeNonce) IsSet() bool
- func (s OptChallengeNonce) MarshalJSON() ([]byte, error)
- func (o OptChallengeNonce) Or(d ChallengeNonce) ChallengeNonce
- func (o *OptChallengeNonce) Reset()
- func (o *OptChallengeNonce) SetTo(v ChallengeNonce)
- func (s *OptChallengeNonce) UnmarshalJSON(data []byte) error
- type OptChallengeResponsePayload
- func (o *OptChallengeResponsePayload) Decode(d *jx.Decoder) error
- func (o OptChallengeResponsePayload) Encode(e *jx.Encoder)
- func (o OptChallengeResponsePayload) Get() (v ChallengeResponsePayload, ok bool)
- func (o OptChallengeResponsePayload) IsSet() bool
- func (s OptChallengeResponsePayload) MarshalJSON() ([]byte, error)
- func (o OptChallengeResponsePayload) Or(d ChallengeResponsePayload) ChallengeResponsePayload
- func (o *OptChallengeResponsePayload) Reset()
- func (o *OptChallengeResponsePayload) SetTo(v ChallengeResponsePayload)
- func (s *OptChallengeResponsePayload) UnmarshalJSON(data []byte) error
- type OptCompletedFactorPayload
- func (o *OptCompletedFactorPayload) Decode(d *jx.Decoder) error
- func (o OptCompletedFactorPayload) Encode(e *jx.Encoder)
- func (o OptCompletedFactorPayload) Get() (v CompletedFactorPayload, ok bool)
- func (o OptCompletedFactorPayload) IsSet() bool
- func (s OptCompletedFactorPayload) MarshalJSON() ([]byte, error)
- func (o OptCompletedFactorPayload) Or(d CompletedFactorPayload) CompletedFactorPayload
- func (o *OptCompletedFactorPayload) Reset()
- func (o *OptCompletedFactorPayload) SetTo(v CompletedFactorPayload)
- func (s *OptCompletedFactorPayload) UnmarshalJSON(data []byte) error
- type OptCreateSessionRequestUserAgent
- func (o *OptCreateSessionRequestUserAgent) Decode(d *jx.Decoder) error
- func (o OptCreateSessionRequestUserAgent) Encode(e *jx.Encoder)
- func (o OptCreateSessionRequestUserAgent) Get() (v CreateSessionRequestUserAgent, ok bool)
- func (o OptCreateSessionRequestUserAgent) IsSet() bool
- func (s OptCreateSessionRequestUserAgent) MarshalJSON() ([]byte, error)
- func (o OptCreateSessionRequestUserAgent) Or(d CreateSessionRequestUserAgent) CreateSessionRequestUserAgent
- func (o *OptCreateSessionRequestUserAgent) Reset()
- func (o *OptCreateSessionRequestUserAgent) SetTo(v CreateSessionRequestUserAgent)
- func (s *OptCreateSessionRequestUserAgent) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptDuration
- func (o *OptDuration) Decode(d *jx.Decoder, format func(*jx.Decoder) (ogenx.ISODuration, error)) error
- func (o OptDuration) Encode(e *jx.Encoder, format func(*jx.Encoder, ogenx.ISODuration))
- func (o OptDuration) Get() (v ogenx.ISODuration, ok bool)
- func (o OptDuration) IsSet() bool
- func (s OptDuration) MarshalJSON() ([]byte, error)
- func (o OptDuration) Or(d ogenx.ISODuration) ogenx.ISODuration
- func (o *OptDuration) Reset()
- func (o *OptDuration) SetTo(v ogenx.ISODuration)
- func (s *OptDuration) UnmarshalJSON(data []byte) error
- type OptErrorDetailsDetails
- func (o *OptErrorDetailsDetails) Decode(d *jx.Decoder) error
- func (o OptErrorDetailsDetails) Encode(e *jx.Encoder)
- func (o OptErrorDetailsDetails) Get() (v ErrorDetailsDetails, ok bool)
- func (o OptErrorDetailsDetails) IsSet() bool
- func (s OptErrorDetailsDetails) MarshalJSON() ([]byte, error)
- func (o OptErrorDetailsDetails) Or(d ErrorDetailsDetails) ErrorDetailsDetails
- func (o *OptErrorDetailsDetails) Reset()
- func (o *OptErrorDetailsDetails) SetTo(v ErrorDetailsDetails)
- func (s *OptErrorDetailsDetails) UnmarshalJSON(data []byte) error
- type OptFieldValidation
- func (o *OptFieldValidation) Decode(d *jx.Decoder) error
- func (o OptFieldValidation) Encode(e *jx.Encoder)
- func (o OptFieldValidation) Get() (v FieldValidation, ok bool)
- func (o OptFieldValidation) IsSet() bool
- func (s OptFieldValidation) MarshalJSON() ([]byte, error)
- func (o OptFieldValidation) Or(d FieldValidation) FieldValidation
- func (o *OptFieldValidation) Reset()
- func (o *OptFieldValidation) SetTo(v FieldValidation)
- func (s *OptFieldValidation) UnmarshalJSON(data []byte) error
- type OptFieldValidationFormat
- func (o *OptFieldValidationFormat) Decode(d *jx.Decoder) error
- func (o OptFieldValidationFormat) Encode(e *jx.Encoder)
- func (o OptFieldValidationFormat) Get() (v FieldValidationFormat, ok bool)
- func (o OptFieldValidationFormat) IsSet() bool
- func (s OptFieldValidationFormat) MarshalJSON() ([]byte, error)
- func (o OptFieldValidationFormat) Or(d FieldValidationFormat) FieldValidationFormat
- func (o *OptFieldValidationFormat) Reset()
- func (o *OptFieldValidationFormat) SetTo(v FieldValidationFormat)
- func (s *OptFieldValidationFormat) UnmarshalJSON(data []byte) error
- type OptFlowAudience
- func (o *OptFlowAudience) Decode(d *jx.Decoder) error
- func (o OptFlowAudience) Encode(e *jx.Encoder)
- func (o OptFlowAudience) Get() (v FlowAudience, ok bool)
- func (o OptFlowAudience) IsSet() bool
- func (s OptFlowAudience) MarshalJSON() ([]byte, error)
- func (o OptFlowAudience) Or(d FlowAudience) FlowAudience
- func (o *OptFlowAudience) Reset()
- func (o *OptFlowAudience) SetTo(v FlowAudience)
- func (s *OptFlowAudience) UnmarshalJSON(data []byte) error
- type OptFlowDefinitionStatus
- func (o *OptFlowDefinitionStatus) Decode(d *jx.Decoder) error
- func (o OptFlowDefinitionStatus) Encode(e *jx.Encoder)
- func (o OptFlowDefinitionStatus) Get() (v FlowDefinitionStatus, ok bool)
- func (o OptFlowDefinitionStatus) IsSet() bool
- func (s OptFlowDefinitionStatus) MarshalJSON() ([]byte, error)
- func (o OptFlowDefinitionStatus) Or(d FlowDefinitionStatus) FlowDefinitionStatus
- func (o *OptFlowDefinitionStatus) Reset()
- func (o *OptFlowDefinitionStatus) SetTo(v FlowDefinitionStatus)
- func (s *OptFlowDefinitionStatus) UnmarshalJSON(data []byte) error
- type OptFlowDefinitionStepComplete
- func (o *OptFlowDefinitionStepComplete) Decode(d *jx.Decoder) error
- func (o OptFlowDefinitionStepComplete) Encode(e *jx.Encoder)
- func (o OptFlowDefinitionStepComplete) Get() (v FlowDefinitionStepComplete, ok bool)
- func (o OptFlowDefinitionStepComplete) IsSet() bool
- func (s OptFlowDefinitionStepComplete) MarshalJSON() ([]byte, error)
- func (o OptFlowDefinitionStepComplete) Or(d FlowDefinitionStepComplete) FlowDefinitionStepComplete
- func (o *OptFlowDefinitionStepComplete) Reset()
- func (o *OptFlowDefinitionStepComplete) SetTo(v FlowDefinitionStepComplete)
- func (s *OptFlowDefinitionStepComplete) UnmarshalJSON(data []byte) error
- type OptFlowDefinitionStepGates
- func (o *OptFlowDefinitionStepGates) Decode(d *jx.Decoder) error
- func (o OptFlowDefinitionStepGates) Encode(e *jx.Encoder)
- func (o OptFlowDefinitionStepGates) Get() (v FlowDefinitionStepGates, ok bool)
- func (o OptFlowDefinitionStepGates) IsSet() bool
- func (s OptFlowDefinitionStepGates) MarshalJSON() ([]byte, error)
- func (o OptFlowDefinitionStepGates) Or(d FlowDefinitionStepGates) FlowDefinitionStepGates
- func (o *OptFlowDefinitionStepGates) Reset()
- func (o *OptFlowDefinitionStepGates) SetTo(v FlowDefinitionStepGates)
- func (s *OptFlowDefinitionStepGates) UnmarshalJSON(data []byte) error
- type OptFlowDefinitionStepOnSuccess
- func (o *OptFlowDefinitionStepOnSuccess) Decode(d *jx.Decoder) error
- func (o OptFlowDefinitionStepOnSuccess) Encode(e *jx.Encoder)
- func (o OptFlowDefinitionStepOnSuccess) Get() (v FlowDefinitionStepOnSuccess, ok bool)
- func (o OptFlowDefinitionStepOnSuccess) IsSet() bool
- func (s OptFlowDefinitionStepOnSuccess) MarshalJSON() ([]byte, error)
- func (o OptFlowDefinitionStepOnSuccess) Or(d FlowDefinitionStepOnSuccess) FlowDefinitionStepOnSuccess
- func (o *OptFlowDefinitionStepOnSuccess) Reset()
- func (o *OptFlowDefinitionStepOnSuccess) SetTo(v FlowDefinitionStepOnSuccess)
- func (s *OptFlowDefinitionStepOnSuccess) UnmarshalJSON(data []byte) error
- type OptFlowDefinitionStepTransitions
- func (o *OptFlowDefinitionStepTransitions) Decode(d *jx.Decoder) error
- func (o OptFlowDefinitionStepTransitions) Encode(e *jx.Encoder)
- func (o OptFlowDefinitionStepTransitions) Get() (v FlowDefinitionStepTransitions, ok bool)
- func (o OptFlowDefinitionStepTransitions) IsSet() bool
- func (s OptFlowDefinitionStepTransitions) MarshalJSON() ([]byte, error)
- func (o OptFlowDefinitionStepTransitions) Or(d FlowDefinitionStepTransitions) FlowDefinitionStepTransitions
- func (o *OptFlowDefinitionStepTransitions) Reset()
- func (o *OptFlowDefinitionStepTransitions) SetTo(v FlowDefinitionStepTransitions)
- func (s *OptFlowDefinitionStepTransitions) UnmarshalJSON(data []byte) error
- type OptFlowEventRequestPayload
- func (o *OptFlowEventRequestPayload) Decode(d *jx.Decoder) error
- func (o OptFlowEventRequestPayload) Encode(e *jx.Encoder)
- func (o OptFlowEventRequestPayload) Get() (v FlowEventRequestPayload, ok bool)
- func (o OptFlowEventRequestPayload) IsSet() bool
- func (s OptFlowEventRequestPayload) MarshalJSON() ([]byte, error)
- func (o OptFlowEventRequestPayload) Or(d FlowEventRequestPayload) FlowEventRequestPayload
- func (o *OptFlowEventRequestPayload) Reset()
- func (o *OptFlowEventRequestPayload) SetTo(v FlowEventRequestPayload)
- func (s *OptFlowEventRequestPayload) UnmarshalJSON(data []byte) error
- type OptFlowHint
- func (o *OptFlowHint) Decode(d *jx.Decoder) error
- func (o OptFlowHint) Encode(e *jx.Encoder)
- func (o OptFlowHint) Get() (v FlowHint, ok bool)
- func (o OptFlowHint) IsSet() bool
- func (s OptFlowHint) MarshalJSON() ([]byte, error)
- func (o OptFlowHint) Or(d FlowHint) FlowHint
- func (o *OptFlowHint) Reset()
- func (o *OptFlowHint) SetTo(v FlowHint)
- func (s *OptFlowHint) UnmarshalJSON(data []byte) error
- type OptFlowStepChallenge
- func (o *OptFlowStepChallenge) Decode(d *jx.Decoder) error
- func (o OptFlowStepChallenge) Encode(e *jx.Encoder)
- func (o OptFlowStepChallenge) Get() (v FlowStepChallenge, ok bool)
- func (o OptFlowStepChallenge) IsSet() bool
- func (s OptFlowStepChallenge) MarshalJSON() ([]byte, error)
- func (o OptFlowStepChallenge) Or(d FlowStepChallenge) FlowStepChallenge
- func (o *OptFlowStepChallenge) Reset()
- func (o *OptFlowStepChallenge) SetTo(v FlowStepChallenge)
- func (s *OptFlowStepChallenge) UnmarshalJSON(data []byte) error
- type OptFlowStepChallengeMethod
- func (o *OptFlowStepChallengeMethod) Decode(d *jx.Decoder) error
- func (o OptFlowStepChallengeMethod) Encode(e *jx.Encoder)
- func (o OptFlowStepChallengeMethod) Get() (v FlowStepChallengeMethod, ok bool)
- func (o OptFlowStepChallengeMethod) IsSet() bool
- func (s OptFlowStepChallengeMethod) MarshalJSON() ([]byte, error)
- func (o OptFlowStepChallengeMethod) Or(d FlowStepChallengeMethod) FlowStepChallengeMethod
- func (o *OptFlowStepChallengeMethod) Reset()
- func (o *OptFlowStepChallengeMethod) SetTo(v FlowStepChallengeMethod)
- func (s *OptFlowStepChallengeMethod) UnmarshalJSON(data []byte) error
- type OptFlowStepChallengeOptions
- func (o *OptFlowStepChallengeOptions) Decode(d *jx.Decoder) error
- func (o OptFlowStepChallengeOptions) Encode(e *jx.Encoder)
- func (o OptFlowStepChallengeOptions) Get() (v FlowStepChallengeOptions, ok bool)
- func (o OptFlowStepChallengeOptions) IsSet() bool
- func (s OptFlowStepChallengeOptions) MarshalJSON() ([]byte, error)
- func (o OptFlowStepChallengeOptions) Or(d FlowStepChallengeOptions) FlowStepChallengeOptions
- func (o *OptFlowStepChallengeOptions) Reset()
- func (o *OptFlowStepChallengeOptions) SetTo(v FlowStepChallengeOptions)
- func (s *OptFlowStepChallengeOptions) UnmarshalJSON(data []byte) error
- type OptFlowStepComplete
- func (o *OptFlowStepComplete) Decode(d *jx.Decoder) error
- func (o OptFlowStepComplete) Encode(e *jx.Encoder)
- func (o OptFlowStepComplete) Get() (v FlowStepComplete, ok bool)
- func (o OptFlowStepComplete) IsSet() bool
- func (s OptFlowStepComplete) MarshalJSON() ([]byte, error)
- func (o OptFlowStepComplete) Or(d FlowStepComplete) FlowStepComplete
- func (o *OptFlowStepComplete) Reset()
- func (o *OptFlowStepComplete) SetTo(v FlowStepComplete)
- func (s *OptFlowStepComplete) UnmarshalJSON(data []byte) error
- type OptFlowSubmitRequestChallengeResponse
- func (o *OptFlowSubmitRequestChallengeResponse) Decode(d *jx.Decoder) error
- func (o OptFlowSubmitRequestChallengeResponse) Encode(e *jx.Encoder)
- func (o OptFlowSubmitRequestChallengeResponse) Get() (v FlowSubmitRequestChallengeResponse, ok bool)
- func (o OptFlowSubmitRequestChallengeResponse) IsSet() bool
- func (s OptFlowSubmitRequestChallengeResponse) MarshalJSON() ([]byte, error)
- func (o OptFlowSubmitRequestChallengeResponse) Or(d FlowSubmitRequestChallengeResponse) FlowSubmitRequestChallengeResponse
- func (o *OptFlowSubmitRequestChallengeResponse) Reset()
- func (o *OptFlowSubmitRequestChallengeResponse) SetTo(v FlowSubmitRequestChallengeResponse)
- func (s *OptFlowSubmitRequestChallengeResponse) UnmarshalJSON(data []byte) error
- type OptFlowSubmitRequestChallengeResponseProof
- func (o *OptFlowSubmitRequestChallengeResponseProof) Decode(d *jx.Decoder) error
- func (o OptFlowSubmitRequestChallengeResponseProof) Encode(e *jx.Encoder)
- func (o OptFlowSubmitRequestChallengeResponseProof) Get() (v FlowSubmitRequestChallengeResponseProof, ok bool)
- func (o OptFlowSubmitRequestChallengeResponseProof) IsSet() bool
- func (s OptFlowSubmitRequestChallengeResponseProof) MarshalJSON() ([]byte, error)
- func (o OptFlowSubmitRequestChallengeResponseProof) Or(d FlowSubmitRequestChallengeResponseProof) FlowSubmitRequestChallengeResponseProof
- func (o *OptFlowSubmitRequestChallengeResponseProof) Reset()
- func (o *OptFlowSubmitRequestChallengeResponseProof) SetTo(v FlowSubmitRequestChallengeResponseProof)
- func (s *OptFlowSubmitRequestChallengeResponseProof) UnmarshalJSON(data []byte) error
- type OptFlowSubmitRequestFields
- func (o *OptFlowSubmitRequestFields) Decode(d *jx.Decoder) error
- func (o OptFlowSubmitRequestFields) Encode(e *jx.Encoder)
- func (o OptFlowSubmitRequestFields) Get() (v FlowSubmitRequestFields, ok bool)
- func (o OptFlowSubmitRequestFields) IsSet() bool
- func (s OptFlowSubmitRequestFields) MarshalJSON() ([]byte, error)
- func (o OptFlowSubmitRequestFields) Or(d FlowSubmitRequestFields) FlowSubmitRequestFields
- func (o *OptFlowSubmitRequestFields) Reset()
- func (o *OptFlowSubmitRequestFields) SetTo(v FlowSubmitRequestFields)
- func (s *OptFlowSubmitRequestFields) UnmarshalJSON(data []byte) error
- type OptFlowSubmitRequestGateProofs
- func (o *OptFlowSubmitRequestGateProofs) Decode(d *jx.Decoder) error
- func (o OptFlowSubmitRequestGateProofs) Encode(e *jx.Encoder)
- func (o OptFlowSubmitRequestGateProofs) Get() (v FlowSubmitRequestGateProofs, ok bool)
- func (o OptFlowSubmitRequestGateProofs) IsSet() bool
- func (s OptFlowSubmitRequestGateProofs) MarshalJSON() ([]byte, error)
- func (o OptFlowSubmitRequestGateProofs) Or(d FlowSubmitRequestGateProofs) FlowSubmitRequestGateProofs
- func (o *OptFlowSubmitRequestGateProofs) Reset()
- func (o *OptFlowSubmitRequestGateProofs) SetTo(v FlowSubmitRequestGateProofs)
- func (s *OptFlowSubmitRequestGateProofs) UnmarshalJSON(data []byte) error
- type OptGateConfig
- func (o *OptGateConfig) Decode(d *jx.Decoder) error
- func (o OptGateConfig) Encode(e *jx.Encoder)
- func (o OptGateConfig) Get() (v GateConfig, ok bool)
- func (o OptGateConfig) IsSet() bool
- func (s OptGateConfig) MarshalJSON() ([]byte, error)
- func (o OptGateConfig) Or(d GateConfig) GateConfig
- func (o *OptGateConfig) Reset()
- func (o *OptGateConfig) SetTo(v GateConfig)
- func (s *OptGateConfig) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInternalDetails
- func (o *OptInternalDetails) Decode(d *jx.Decoder) error
- func (o OptInternalDetails) Encode(e *jx.Encoder)
- func (o OptInternalDetails) Get() (v InternalDetails, ok bool)
- func (o OptInternalDetails) IsSet() bool
- func (s OptInternalDetails) MarshalJSON() ([]byte, error)
- func (o OptInternalDetails) Or(d InternalDetails) InternalDetails
- func (o *OptInternalDetails) Reset()
- func (o *OptInternalDetails) SetTo(v InternalDetails)
- func (s *OptInternalDetails) UnmarshalJSON(data []byte) error
- type OptIssueChallengeRequestPasskeyOptions
- func (o *OptIssueChallengeRequestPasskeyOptions) Decode(d *jx.Decoder) error
- func (o OptIssueChallengeRequestPasskeyOptions) Encode(e *jx.Encoder)
- func (o OptIssueChallengeRequestPasskeyOptions) Get() (v IssueChallengeRequestPasskeyOptions, ok bool)
- func (o OptIssueChallengeRequestPasskeyOptions) IsSet() bool
- func (s OptIssueChallengeRequestPasskeyOptions) MarshalJSON() ([]byte, error)
- func (o OptIssueChallengeRequestPasskeyOptions) Or(d IssueChallengeRequestPasskeyOptions) IssueChallengeRequestPasskeyOptions
- func (o *OptIssueChallengeRequestPasskeyOptions) Reset()
- func (o *OptIssueChallengeRequestPasskeyOptions) SetTo(v IssueChallengeRequestPasskeyOptions)
- func (s *OptIssueChallengeRequestPasskeyOptions) UnmarshalJSON(data []byte) error
- type OptIssueChallengeRequestPasskeyOptionsUserVerification
- func (o *OptIssueChallengeRequestPasskeyOptionsUserVerification) Decode(d *jx.Decoder) error
- func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) Encode(e *jx.Encoder)
- func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) Get() (v IssueChallengeRequestPasskeyOptionsUserVerification, ok bool)
- func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) IsSet() bool
- func (s OptIssueChallengeRequestPasskeyOptionsUserVerification) MarshalJSON() ([]byte, error)
- func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) Or(d IssueChallengeRequestPasskeyOptionsUserVerification) IssueChallengeRequestPasskeyOptionsUserVerification
- func (o *OptIssueChallengeRequestPasskeyOptionsUserVerification) Reset()
- func (o *OptIssueChallengeRequestPasskeyOptionsUserVerification) SetTo(v IssueChallengeRequestPasskeyOptionsUserVerification)
- func (s *OptIssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalJSON(data []byte) error
- type OptListFlowDefinitionsPurpose
- func (o OptListFlowDefinitionsPurpose) Get() (v ListFlowDefinitionsPurpose, ok bool)
- func (o OptListFlowDefinitionsPurpose) IsSet() bool
- func (o OptListFlowDefinitionsPurpose) Or(d ListFlowDefinitionsPurpose) ListFlowDefinitionsPurpose
- func (o *OptListFlowDefinitionsPurpose) Reset()
- func (o *OptListFlowDefinitionsPurpose) SetTo(v ListFlowDefinitionsPurpose)
- type OptListSessionsState
- type OptNilDateTime
- func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptNilDateTime) Get() (v time.Time, ok bool)
- func (o OptNilDateTime) IsNull() bool
- func (o OptNilDateTime) IsSet() bool
- func (s OptNilDateTime) MarshalJSON() ([]byte, error)
- func (o OptNilDateTime) Or(d time.Time) time.Time
- func (o *OptNilDateTime) Reset()
- func (o *OptNilDateTime) SetTo(v time.Time)
- func (o *OptNilDateTime) SetToNull()
- func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
- type OptNilFlowDefinitionStepTransitionsItemAction
- func (o *OptNilFlowDefinitionStepTransitionsItemAction) Decode(d *jx.Decoder) error
- func (o OptNilFlowDefinitionStepTransitionsItemAction) Encode(e *jx.Encoder)
- func (o OptNilFlowDefinitionStepTransitionsItemAction) Get() (v FlowDefinitionStepTransitionsItemAction, ok bool)
- func (o OptNilFlowDefinitionStepTransitionsItemAction) IsNull() bool
- func (o OptNilFlowDefinitionStepTransitionsItemAction) IsSet() bool
- func (s OptNilFlowDefinitionStepTransitionsItemAction) MarshalJSON() ([]byte, error)
- func (o OptNilFlowDefinitionStepTransitionsItemAction) Or(d FlowDefinitionStepTransitionsItemAction) FlowDefinitionStepTransitionsItemAction
- func (o *OptNilFlowDefinitionStepTransitionsItemAction) Reset()
- func (o *OptNilFlowDefinitionStepTransitionsItemAction) SetTo(v FlowDefinitionStepTransitionsItemAction)
- func (o *OptNilFlowDefinitionStepTransitionsItemAction) SetToNull()
- func (s *OptNilFlowDefinitionStepTransitionsItemAction) UnmarshalJSON(data []byte) error
- type OptNilPageToken
- func (o *OptNilPageToken) Decode(d *jx.Decoder) error
- func (o OptNilPageToken) Encode(e *jx.Encoder)
- func (o OptNilPageToken) Get() (v PageToken, ok bool)
- func (o OptNilPageToken) IsNull() bool
- func (o OptNilPageToken) IsSet() bool
- func (s OptNilPageToken) MarshalJSON() ([]byte, error)
- func (o OptNilPageToken) Or(d PageToken) PageToken
- func (o *OptNilPageToken) Reset()
- func (o *OptNilPageToken) SetTo(v PageToken)
- func (o *OptNilPageToken) SetToNull()
- func (s *OptNilPageToken) UnmarshalJSON(data []byte) error
- type OptNilSessionID
- func (o *OptNilSessionID) Decode(d *jx.Decoder) error
- func (o OptNilSessionID) Encode(e *jx.Encoder)
- func (o OptNilSessionID) Get() (v SessionID, ok bool)
- func (o OptNilSessionID) IsNull() bool
- func (o OptNilSessionID) IsSet() bool
- func (s OptNilSessionID) MarshalJSON() ([]byte, error)
- func (o OptNilSessionID) Or(d SessionID) SessionID
- func (o *OptNilSessionID) Reset()
- func (o *OptNilSessionID) SetTo(v SessionID)
- func (o *OptNilSessionID) SetToNull()
- func (s *OptNilSessionID) UnmarshalJSON(data []byte) error
- type OptNilSessionResponseMetadata
- func (o *OptNilSessionResponseMetadata) Decode(d *jx.Decoder) error
- func (o OptNilSessionResponseMetadata) Encode(e *jx.Encoder)
- func (o OptNilSessionResponseMetadata) Get() (v SessionResponseMetadata, ok bool)
- func (o OptNilSessionResponseMetadata) IsNull() bool
- func (o OptNilSessionResponseMetadata) IsSet() bool
- func (s OptNilSessionResponseMetadata) MarshalJSON() ([]byte, error)
- func (o OptNilSessionResponseMetadata) Or(d SessionResponseMetadata) SessionResponseMetadata
- func (o *OptNilSessionResponseMetadata) Reset()
- func (o *OptNilSessionResponseMetadata) SetTo(v SessionResponseMetadata)
- func (o *OptNilSessionResponseMetadata) SetToNull()
- func (s *OptNilSessionResponseMetadata) UnmarshalJSON(data []byte) error
- type OptNilSessionResponseUserAgent
- func (o *OptNilSessionResponseUserAgent) Decode(d *jx.Decoder) error
- func (o OptNilSessionResponseUserAgent) Encode(e *jx.Encoder)
- func (o OptNilSessionResponseUserAgent) Get() (v SessionResponseUserAgent, ok bool)
- func (o OptNilSessionResponseUserAgent) IsNull() bool
- func (o OptNilSessionResponseUserAgent) IsSet() bool
- func (s OptNilSessionResponseUserAgent) MarshalJSON() ([]byte, error)
- func (o OptNilSessionResponseUserAgent) Or(d SessionResponseUserAgent) SessionResponseUserAgent
- func (o *OptNilSessionResponseUserAgent) Reset()
- func (o *OptNilSessionResponseUserAgent) SetTo(v SessionResponseUserAgent)
- func (o *OptNilSessionResponseUserAgent) SetToNull()
- func (s *OptNilSessionResponseUserAgent) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptNilUserID
- func (o *OptNilUserID) Decode(d *jx.Decoder) error
- func (o OptNilUserID) Encode(e *jx.Encoder)
- func (o OptNilUserID) Get() (v UserID, ok bool)
- func (o OptNilUserID) IsNull() bool
- func (o OptNilUserID) IsSet() bool
- func (s OptNilUserID) MarshalJSON() ([]byte, error)
- func (o OptNilUserID) Or(d UserID) UserID
- func (o *OptNilUserID) Reset()
- func (o *OptNilUserID) SetTo(v UserID)
- func (o *OptNilUserID) SetToNull()
- func (s *OptNilUserID) UnmarshalJSON(data []byte) error
- type OptNilUserPropertyXMinusUnique
- func (o *OptNilUserPropertyXMinusUnique) Decode(d *jx.Decoder) error
- func (o OptNilUserPropertyXMinusUnique) Encode(e *jx.Encoder)
- func (o OptNilUserPropertyXMinusUnique) Get() (v UserPropertyXMinusUnique, ok bool)
- func (o OptNilUserPropertyXMinusUnique) IsNull() bool
- func (o OptNilUserPropertyXMinusUnique) IsSet() bool
- func (s OptNilUserPropertyXMinusUnique) MarshalJSON() ([]byte, error)
- func (o OptNilUserPropertyXMinusUnique) Or(d UserPropertyXMinusUnique) UserPropertyXMinusUnique
- func (o *OptNilUserPropertyXMinusUnique) Reset()
- func (o *OptNilUserPropertyXMinusUnique) SetTo(v UserPropertyXMinusUnique)
- func (o *OptNilUserPropertyXMinusUnique) SetToNull()
- func (s *OptNilUserPropertyXMinusUnique) UnmarshalJSON(data []byte) error
- type OptPageToken
- type OptPasskeyChallengePayloadPublicKeyUserVerification
- func (o *OptPasskeyChallengePayloadPublicKeyUserVerification) Decode(d *jx.Decoder) error
- func (o OptPasskeyChallengePayloadPublicKeyUserVerification) Encode(e *jx.Encoder)
- func (o OptPasskeyChallengePayloadPublicKeyUserVerification) Get() (v PasskeyChallengePayloadPublicKeyUserVerification, ok bool)
- func (o OptPasskeyChallengePayloadPublicKeyUserVerification) IsSet() bool
- func (s OptPasskeyChallengePayloadPublicKeyUserVerification) MarshalJSON() ([]byte, error)
- func (o OptPasskeyChallengePayloadPublicKeyUserVerification) Or(d PasskeyChallengePayloadPublicKeyUserVerification) PasskeyChallengePayloadPublicKeyUserVerification
- func (o *OptPasskeyChallengePayloadPublicKeyUserVerification) Reset()
- func (o *OptPasskeyChallengePayloadPublicKeyUserVerification) SetTo(v PasskeyChallengePayloadPublicKeyUserVerification)
- func (s *OptPasskeyChallengePayloadPublicKeyUserVerification) UnmarshalJSON(data []byte) error
- type OptPasskeyFactorPayloadAuthenticatorAttachment
- func (o *OptPasskeyFactorPayloadAuthenticatorAttachment) Decode(d *jx.Decoder) error
- func (o OptPasskeyFactorPayloadAuthenticatorAttachment) Encode(e *jx.Encoder)
- func (o OptPasskeyFactorPayloadAuthenticatorAttachment) Get() (v PasskeyFactorPayloadAuthenticatorAttachment, ok bool)
- func (o OptPasskeyFactorPayloadAuthenticatorAttachment) IsSet() bool
- func (s OptPasskeyFactorPayloadAuthenticatorAttachment) MarshalJSON() ([]byte, error)
- func (o OptPasskeyFactorPayloadAuthenticatorAttachment) Or(d PasskeyFactorPayloadAuthenticatorAttachment) PasskeyFactorPayloadAuthenticatorAttachment
- func (o *OptPasskeyFactorPayloadAuthenticatorAttachment) Reset()
- func (o *OptPasskeyFactorPayloadAuthenticatorAttachment) SetTo(v PasskeyFactorPayloadAuthenticatorAttachment)
- func (s *OptPasskeyFactorPayloadAuthenticatorAttachment) UnmarshalJSON(data []byte) error
- type OptPostTokenRequestGrantType
- func (o OptPostTokenRequestGrantType) Get() (v PostTokenRequestGrantType, ok bool)
- func (o OptPostTokenRequestGrantType) IsSet() bool
- func (o OptPostTokenRequestGrantType) Or(d PostTokenRequestGrantType) PostTokenRequestGrantType
- func (o *OptPostTokenRequestGrantType) Reset()
- func (o *OptPostTokenRequestGrantType) SetTo(v PostTokenRequestGrantType)
- type OptSchemaURI
- func (o *OptSchemaURI) Decode(d *jx.Decoder) error
- func (o OptSchemaURI) Encode(e *jx.Encoder)
- func (o OptSchemaURI) Get() (v SchemaURI, ok bool)
- func (o OptSchemaURI) IsSet() bool
- func (s OptSchemaURI) MarshalJSON() ([]byte, error)
- func (o OptSchemaURI) Or(d SchemaURI) SchemaURI
- func (o *OptSchemaURI) Reset()
- func (o *OptSchemaURI) SetTo(v SchemaURI)
- func (s *OptSchemaURI) UnmarshalJSON(data []byte) error
- type OptStepTexts
- func (o *OptStepTexts) Decode(d *jx.Decoder) error
- func (o OptStepTexts) Encode(e *jx.Encoder)
- func (o OptStepTexts) Get() (v StepTexts, ok bool)
- func (o OptStepTexts) IsSet() bool
- func (s OptStepTexts) MarshalJSON() ([]byte, error)
- func (o OptStepTexts) Or(d StepTexts) StepTexts
- func (o *OptStepTexts) Reset()
- func (o *OptStepTexts) SetTo(v StepTexts)
- func (s *OptStepTexts) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptTeamID
- type OptURI
- func (o *OptURI) Decode(d *jx.Decoder) error
- func (o OptURI) Encode(e *jx.Encoder)
- func (o OptURI) Get() (v url.URL, ok bool)
- func (o OptURI) IsSet() bool
- func (s OptURI) MarshalJSON() ([]byte, error)
- func (o OptURI) Or(d url.URL) url.URL
- func (o *OptURI) Reset()
- func (o *OptURI) SetTo(v url.URL)
- func (s *OptURI) UnmarshalJSON(data []byte) error
- type OptUserID
- func (o *OptUserID) Decode(d *jx.Decoder) error
- func (o OptUserID) Encode(e *jx.Encoder)
- func (o OptUserID) Get() (v UserID, ok bool)
- func (o OptUserID) IsSet() bool
- func (s OptUserID) MarshalJSON() ([]byte, error)
- func (o OptUserID) Or(d UserID) UserID
- func (o *OptUserID) Reset()
- func (o *OptUserID) SetTo(v UserID)
- func (s *OptUserID) UnmarshalJSON(data []byte) error
- type OptUserNotFoundDetails
- func (o *OptUserNotFoundDetails) Decode(d *jx.Decoder) error
- func (o OptUserNotFoundDetails) Encode(e *jx.Encoder)
- func (o OptUserNotFoundDetails) Get() (v UserNotFoundDetails, ok bool)
- func (o OptUserNotFoundDetails) IsSet() bool
- func (s OptUserNotFoundDetails) MarshalJSON() ([]byte, error)
- func (o OptUserNotFoundDetails) Or(d UserNotFoundDetails) UserNotFoundDetails
- func (o *OptUserNotFoundDetails) Reset()
- func (o *OptUserNotFoundDetails) SetTo(v UserNotFoundDetails)
- func (s *OptUserNotFoundDetails) UnmarshalJSON(data []byte) error
- type OptUserPropertyProperties
- func (o *OptUserPropertyProperties) Decode(d *jx.Decoder) error
- func (o OptUserPropertyProperties) Encode(e *jx.Encoder)
- func (o OptUserPropertyProperties) Get() (v UserPropertyProperties, ok bool)
- func (o OptUserPropertyProperties) IsSet() bool
- func (s OptUserPropertyProperties) MarshalJSON() ([]byte, error)
- func (o OptUserPropertyProperties) Or(d UserPropertyProperties) UserPropertyProperties
- func (o *OptUserPropertyProperties) Reset()
- func (o *OptUserPropertyProperties) SetTo(v UserPropertyProperties)
- func (s *OptUserPropertyProperties) UnmarshalJSON(data []byte) error
- type OptUserSchemaProperties
- func (o *OptUserSchemaProperties) Decode(d *jx.Decoder) error
- func (o OptUserSchemaProperties) Encode(e *jx.Encoder)
- func (o OptUserSchemaProperties) Get() (v UserSchemaProperties, ok bool)
- func (o OptUserSchemaProperties) IsSet() bool
- func (s OptUserSchemaProperties) MarshalJSON() ([]byte, error)
- func (o OptUserSchemaProperties) Or(d UserSchemaProperties) UserSchemaProperties
- func (o *OptUserSchemaProperties) Reset()
- func (o *OptUserSchemaProperties) SetTo(v UserSchemaProperties)
- func (s *OptUserSchemaProperties) UnmarshalJSON(data []byte) error
- type Option
- type PageToken
- type PasskeyChallengePayload
- func (s *PasskeyChallengePayload) Decode(d *jx.Decoder) error
- func (s *PasskeyChallengePayload) Encode(e *jx.Encoder)
- func (s *PasskeyChallengePayload) GetPublicKey() PasskeyChallengePayloadPublicKey
- func (s *PasskeyChallengePayload) MarshalJSON() ([]byte, error)
- func (s *PasskeyChallengePayload) SetPublicKey(val PasskeyChallengePayloadPublicKey)
- func (s *PasskeyChallengePayload) UnmarshalJSON(data []byte) error
- func (s *PasskeyChallengePayload) Validate() error
- type PasskeyChallengePayloadPublicKey
- func (s *PasskeyChallengePayloadPublicKey) Decode(d *jx.Decoder) error
- func (s *PasskeyChallengePayloadPublicKey) Encode(e *jx.Encoder)
- func (s *PasskeyChallengePayloadPublicKey) GetAllowedCredentials() []PasskeyChallengePayloadPublicKeyAllowedCredentialsItem
- func (s *PasskeyChallengePayloadPublicKey) GetChallenge() string
- func (s *PasskeyChallengePayloadPublicKey) GetRpID() OptString
- func (s *PasskeyChallengePayloadPublicKey) GetUserVerification() OptPasskeyChallengePayloadPublicKeyUserVerification
- func (s *PasskeyChallengePayloadPublicKey) MarshalJSON() ([]byte, error)
- func (s *PasskeyChallengePayloadPublicKey) SetAllowedCredentials(val []PasskeyChallengePayloadPublicKeyAllowedCredentialsItem)
- func (s *PasskeyChallengePayloadPublicKey) SetChallenge(val string)
- func (s *PasskeyChallengePayloadPublicKey) SetRpID(val OptString)
- func (s *PasskeyChallengePayloadPublicKey) SetUserVerification(val OptPasskeyChallengePayloadPublicKeyUserVerification)
- func (s *PasskeyChallengePayloadPublicKey) UnmarshalJSON(data []byte) error
- func (s *PasskeyChallengePayloadPublicKey) Validate() error
- type PasskeyChallengePayloadPublicKeyAllowedCredentialsItem
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Decode(d *jx.Decoder) error
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Encode(e *jx.Encoder)
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) GetID() string
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) GetType() PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) MarshalJSON() ([]byte, error)
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) SetID(val string)
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) SetType(val PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType)
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) UnmarshalJSON(data []byte) error
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Validate() error
- type PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType
- func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) AllValues() []PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Decode(d *jx.Decoder) error
- func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Encode(e *jx.Encoder)
- func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) MarshalJSON() ([]byte, error)
- func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) MarshalText() ([]byte, error)
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) UnmarshalJSON(data []byte) error
- func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) UnmarshalText(data []byte) error
- func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Validate() error
- type PasskeyChallengePayloadPublicKeyUserVerification
- func (PasskeyChallengePayloadPublicKeyUserVerification) AllValues() []PasskeyChallengePayloadPublicKeyUserVerification
- func (s *PasskeyChallengePayloadPublicKeyUserVerification) Decode(d *jx.Decoder) error
- func (s PasskeyChallengePayloadPublicKeyUserVerification) Encode(e *jx.Encoder)
- func (s PasskeyChallengePayloadPublicKeyUserVerification) MarshalJSON() ([]byte, error)
- func (s PasskeyChallengePayloadPublicKeyUserVerification) MarshalText() ([]byte, error)
- func (s *PasskeyChallengePayloadPublicKeyUserVerification) UnmarshalJSON(data []byte) error
- func (s *PasskeyChallengePayloadPublicKeyUserVerification) UnmarshalText(data []byte) error
- func (s PasskeyChallengePayloadPublicKeyUserVerification) Validate() error
- type PasskeyFactorPayload
- func (s *PasskeyFactorPayload) Decode(d *jx.Decoder) error
- func (s *PasskeyFactorPayload) Encode(e *jx.Encoder)
- func (s *PasskeyFactorPayload) GetAuthenticatorAttachment() OptPasskeyFactorPayloadAuthenticatorAttachment
- func (s *PasskeyFactorPayload) GetBackupEligible() OptBool
- func (s *PasskeyFactorPayload) GetBackupState() OptBool
- func (s *PasskeyFactorPayload) GetCredentialID() string
- func (s *PasskeyFactorPayload) GetUserVerified() bool
- func (s *PasskeyFactorPayload) MarshalJSON() ([]byte, error)
- func (s *PasskeyFactorPayload) SetAuthenticatorAttachment(val OptPasskeyFactorPayloadAuthenticatorAttachment)
- func (s *PasskeyFactorPayload) SetBackupEligible(val OptBool)
- func (s *PasskeyFactorPayload) SetBackupState(val OptBool)
- func (s *PasskeyFactorPayload) SetCredentialID(val string)
- func (s *PasskeyFactorPayload) SetUserVerified(val bool)
- func (s *PasskeyFactorPayload) UnmarshalJSON(data []byte) error
- func (s *PasskeyFactorPayload) Validate() error
- type PasskeyFactorPayloadAuthenticatorAttachment
- func (PasskeyFactorPayloadAuthenticatorAttachment) AllValues() []PasskeyFactorPayloadAuthenticatorAttachment
- func (s *PasskeyFactorPayloadAuthenticatorAttachment) Decode(d *jx.Decoder) error
- func (s PasskeyFactorPayloadAuthenticatorAttachment) Encode(e *jx.Encoder)
- func (s PasskeyFactorPayloadAuthenticatorAttachment) MarshalJSON() ([]byte, error)
- func (s PasskeyFactorPayloadAuthenticatorAttachment) MarshalText() ([]byte, error)
- func (s *PasskeyFactorPayloadAuthenticatorAttachment) UnmarshalJSON(data []byte) error
- func (s *PasskeyFactorPayloadAuthenticatorAttachment) UnmarshalText(data []byte) error
- func (s PasskeyFactorPayloadAuthenticatorAttachment) Validate() error
- type PasskeyProof
- func (s *PasskeyProof) Decode(d *jx.Decoder) error
- func (s *PasskeyProof) Encode(e *jx.Encoder)
- func (s *PasskeyProof) GetPasskey() PasskeyProofPasskey
- func (s *PasskeyProof) MarshalJSON() ([]byte, error)
- func (s *PasskeyProof) SetPasskey(val PasskeyProofPasskey)
- func (s *PasskeyProof) UnmarshalJSON(data []byte) error
- type PasskeyProofPasskey
- func (s *PasskeyProofPasskey) Decode(d *jx.Decoder) error
- func (s *PasskeyProofPasskey) Encode(e *jx.Encoder)
- func (s *PasskeyProofPasskey) GetAssertion() PasskeyProofPasskeyAssertion
- func (s *PasskeyProofPasskey) MarshalJSON() ([]byte, error)
- func (s *PasskeyProofPasskey) SetAssertion(val PasskeyProofPasskeyAssertion)
- func (s *PasskeyProofPasskey) UnmarshalJSON(data []byte) error
- type PasskeyProofPasskeyAssertion
- type PasswordChallengePayload
- type PasswordFactorPayload
- type PasswordProof
- func (s *PasswordProof) Decode(d *jx.Decoder) error
- func (s *PasswordProof) Encode(e *jx.Encoder)
- func (s *PasswordProof) GetPassword() string
- func (s *PasswordProof) MarshalJSON() ([]byte, error)
- func (s *PasswordProof) SetPassword(val string)
- func (s *PasswordProof) UnmarshalJSON(data []byte) error
- type PostTokenRequest
- func (s *PostTokenRequest) GetClientAssertion() OptString
- func (s *PostTokenRequest) GetClientAssertionType() OptString
- func (s *PostTokenRequest) GetClientID() OptString
- func (s *PostTokenRequest) GetClientSecret() OptString
- func (s *PostTokenRequest) GetCode() OptString
- func (s *PostTokenRequest) GetCodeVerifier() OptString
- func (s *PostTokenRequest) GetGrantType() OptPostTokenRequestGrantType
- func (s *PostTokenRequest) GetRedirectURI() OptURI
- func (s *PostTokenRequest) SetClientAssertion(val OptString)
- func (s *PostTokenRequest) SetClientAssertionType(val OptString)
- func (s *PostTokenRequest) SetClientID(val OptString)
- func (s *PostTokenRequest) SetClientSecret(val OptString)
- func (s *PostTokenRequest) SetCode(val OptString)
- func (s *PostTokenRequest) SetCodeVerifier(val OptString)
- func (s *PostTokenRequest) SetGrantType(val OptPostTokenRequestGrantType)
- func (s *PostTokenRequest) SetRedirectURI(val OptURI)
- func (s *PostTokenRequest) Validate() error
- type PostTokenRequestGrantType
- type ProjectID
- type RevokeMySessionConflict
- type RevokeMySessionNoContent
- type RevokeMySessionNotFound
- type RevokeMySessionParams
- type RevokeMySessionRes
- type RevokeMySessionUnauthorized
- type RevokeRequest
- type RevokeSessionConflict
- type RevokeSessionNoContent
- type RevokeSessionNotFound
- type RevokeSessionParams
- type RevokeSessionRes
- type RevokeSessionUnauthorized
- type RevokeTokenOK
- type RevokeTokenRes
- type Route
- type SSOProvider
- func (s *SSOProvider) Decode(d *jx.Decoder) error
- func (s *SSOProvider) Encode(e *jx.Encoder)
- func (s *SSOProvider) GetID() string
- func (s *SSOProvider) GetName() string
- func (s *SSOProvider) GetTemplate() string
- func (s *SSOProvider) MarshalJSON() ([]byte, error)
- func (s *SSOProvider) SetID(val string)
- func (s *SSOProvider) SetName(val string)
- func (s *SSOProvider) SetTemplate(val string)
- func (s *SSOProvider) UnmarshalJSON(data []byte) error
- type SchemaURI
- type SchemaURL
- func (s *SchemaURL) Decode(d *jx.Decoder) error
- func (s *SchemaURL) Encode(e *jx.Encoder)
- func (s *SchemaURL) GetKind() string
- func (s *SchemaURL) GetURL() url.URL
- func (s *SchemaURL) MarshalJSON() ([]byte, error)
- func (s *SchemaURL) SetKind(val string)
- func (s *SchemaURL) SetURL(val url.URL)
- func (s *SchemaURL) UnmarshalJSON(data []byte) error
- type SecurityHandler
- type SecuritySource
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SessionID
- type SessionListResponse
- func (s *SessionListResponse) Decode(d *jx.Decoder) error
- func (s *SessionListResponse) Encode(e *jx.Encoder)
- func (s *SessionListResponse) GetNextPageToken() OptNilPageToken
- func (s *SessionListResponse) GetSessions() []SessionResponse
- func (s *SessionListResponse) MarshalJSON() ([]byte, error)
- func (s *SessionListResponse) SetNextPageToken(val OptNilPageToken)
- func (s *SessionListResponse) SetSessions(val []SessionResponse)
- func (s *SessionListResponse) UnmarshalJSON(data []byte) error
- func (s *SessionListResponse) Validate() error
- type SessionResponse
- func (s *SessionResponse) Decode(d *jx.Decoder) error
- func (s *SessionResponse) Encode(e *jx.Encoder)
- func (s *SessionResponse) GetAssuranceLevels() []string
- func (s *SessionResponse) GetCreatedAt() time.Time
- func (s *SessionResponse) GetExpiresAt() time.Time
- func (s *SessionResponse) GetFactors() []CompletedFactor
- func (s *SessionResponse) GetMetadata() OptNilSessionResponseMetadata
- func (s *SessionResponse) GetProjectID() ProjectID
- func (s *SessionResponse) GetSessionID() SessionID
- func (s *SessionResponse) GetState() SessionResponseState
- func (s *SessionResponse) GetUserAgent() OptNilSessionResponseUserAgent
- func (s *SessionResponse) GetUserID() OptNilUserID
- func (s *SessionResponse) MarshalJSON() ([]byte, error)
- func (s *SessionResponse) SetAssuranceLevels(val []string)
- func (s *SessionResponse) SetCreatedAt(val time.Time)
- func (s *SessionResponse) SetExpiresAt(val time.Time)
- func (s *SessionResponse) SetFactors(val []CompletedFactor)
- func (s *SessionResponse) SetMetadata(val OptNilSessionResponseMetadata)
- func (s *SessionResponse) SetProjectID(val ProjectID)
- func (s *SessionResponse) SetSessionID(val SessionID)
- func (s *SessionResponse) SetState(val SessionResponseState)
- func (s *SessionResponse) SetUserAgent(val OptNilSessionResponseUserAgent)
- func (s *SessionResponse) SetUserID(val OptNilUserID)
- func (s *SessionResponse) UnmarshalJSON(data []byte) error
- func (s *SessionResponse) Validate() error
- type SessionResponseMetadata
- type SessionResponseState
- func (SessionResponseState) AllValues() []SessionResponseState
- func (s *SessionResponseState) Decode(d *jx.Decoder) error
- func (s SessionResponseState) Encode(e *jx.Encoder)
- func (s SessionResponseState) MarshalJSON() ([]byte, error)
- func (s SessionResponseState) MarshalText() ([]byte, error)
- func (s *SessionResponseState) UnmarshalJSON(data []byte) error
- func (s *SessionResponseState) UnmarshalText(data []byte) error
- func (s SessionResponseState) Validate() error
- type SessionResponseUserAgent
- func (s *SessionResponseUserAgent) Decode(d *jx.Decoder) error
- func (s *SessionResponseUserAgent) Encode(e *jx.Encoder)
- func (s *SessionResponseUserAgent) GetAdditionalProps() SessionResponseUserAgentAdditional
- func (s *SessionResponseUserAgent) GetFingerprint() OptString
- func (s *SessionResponseUserAgent) GetIP() OptString
- func (s *SessionResponseUserAgent) MarshalJSON() ([]byte, error)
- func (s *SessionResponseUserAgent) SetAdditionalProps(val SessionResponseUserAgentAdditional)
- func (s *SessionResponseUserAgent) SetFingerprint(val OptString)
- func (s *SessionResponseUserAgent) SetIP(val OptString)
- func (s *SessionResponseUserAgent) UnmarshalJSON(data []byte) error
- type SessionResponseUserAgentAdditional
- type SessionWithTokenResponse
- func (s *SessionWithTokenResponse) Decode(d *jx.Decoder) error
- func (s *SessionWithTokenResponse) Encode(e *jx.Encoder)
- func (s *SessionWithTokenResponse) GetSession() SessionResponse
- func (s *SessionWithTokenResponse) GetSessionToken() string
- func (s *SessionWithTokenResponse) MarshalJSON() ([]byte, error)
- func (s *SessionWithTokenResponse) SetSession(val SessionResponse)
- func (s *SessionWithTokenResponse) SetSessionToken(val string)
- func (s *SessionWithTokenResponse) UnmarshalJSON(data []byte) error
- func (s *SessionWithTokenResponse) Validate() error
- type SessionWithTokenResponseHeaders
- func (s *SessionWithTokenResponseHeaders) GetResponse() SessionWithTokenResponse
- func (s *SessionWithTokenResponseHeaders) GetSetCookie() string
- func (s *SessionWithTokenResponseHeaders) SetResponse(val SessionWithTokenResponse)
- func (s *SessionWithTokenResponseHeaders) SetSetCookie(val string)
- func (s *SessionWithTokenResponseHeaders) Validate() error
- type SetUserPasswordBadRequest
- type SetUserPasswordInternalServerError
- type SetUserPasswordNoContent
- type SetUserPasswordNotFound
- type SetUserPasswordParams
- type SetUserPasswordRequest
- func (s *SetUserPasswordRequest) Decode(d *jx.Decoder) error
- func (s *SetUserPasswordRequest) Encode(e *jx.Encoder)
- func (s *SetUserPasswordRequest) GetIsChangeRequired() OptBool
- func (s *SetUserPasswordRequest) GetPassword() string
- func (s *SetUserPasswordRequest) MarshalJSON() ([]byte, error)
- func (s *SetUserPasswordRequest) SetIsChangeRequired(val OptBool)
- func (s *SetUserPasswordRequest) SetPassword(val string)
- func (s *SetUserPasswordRequest) UnmarshalJSON(data []byte) error
- type SetUserPasswordRes
- type StepAction
- func (s *StepAction) Decode(d *jx.Decoder) error
- func (s *StepAction) Encode(e *jx.Encoder)
- func (s *StepAction) GetKind() StepActionKind
- func (s *StepAction) GetName() string
- func (s *StepAction) GetPrimary() OptBool
- func (s *StepAction) GetTextKey() OptString
- func (s *StepAction) MarshalJSON() ([]byte, error)
- func (s *StepAction) SetKind(val StepActionKind)
- func (s *StepAction) SetName(val string)
- func (s *StepAction) SetPrimary(val OptBool)
- func (s *StepAction) SetTextKey(val OptString)
- func (s *StepAction) UnmarshalJSON(data []byte) error
- func (s *StepAction) Validate() error
- type StepActionKind
- func (StepActionKind) AllValues() []StepActionKind
- func (s *StepActionKind) Decode(d *jx.Decoder) error
- func (s StepActionKind) Encode(e *jx.Encoder)
- func (s StepActionKind) MarshalJSON() ([]byte, error)
- func (s StepActionKind) MarshalText() ([]byte, error)
- func (s *StepActionKind) UnmarshalJSON(data []byte) error
- func (s *StepActionKind) UnmarshalText(data []byte) error
- func (s StepActionKind) Validate() error
- type StepTexts
- func (s *StepTexts) Decode(d *jx.Decoder) error
- func (s *StepTexts) Encode(e *jx.Encoder)
- func (s *StepTexts) GetDescriptionKey() OptNilString
- func (s *StepTexts) GetTitleKey() OptString
- func (s *StepTexts) MarshalJSON() ([]byte, error)
- func (s *StepTexts) SetDescriptionKey(val OptNilString)
- func (s *StepTexts) SetTitleKey(val OptString)
- func (s *StepTexts) UnmarshalJSON(data []byte) error
- type SubmitFlowEventBadRequest
- type SubmitFlowEventNoContent
- type SubmitFlowEventNotFound
- type SubmitFlowEventParams
- type SubmitFlowEventRes
- type SubmitFlowStepBadRequest
- type SubmitFlowStepOK
- type SubmitFlowStepParams
- type SubmitFlowStepRes
- type TeamID
- type TokenResponse
- func (s *TokenResponse) Decode(d *jx.Decoder) error
- func (s *TokenResponse) Encode(e *jx.Encoder)
- func (s *TokenResponse) GetAccessToken() OptString
- func (s *TokenResponse) GetExpiresIn() OptInt
- func (s *TokenResponse) GetRefreshToken() OptString
- func (s *TokenResponse) GetTokenType() OptString
- func (s *TokenResponse) MarshalJSON() ([]byte, error)
- func (s *TokenResponse) SetAccessToken(val OptString)
- func (s *TokenResponse) SetExpiresIn(val OptInt)
- func (s *TokenResponse) SetRefreshToken(val OptString)
- func (s *TokenResponse) SetTokenType(val OptString)
- func (s *TokenResponse) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) ActivateFlowDefinition(ctx context.Context, params ActivateFlowDefinitionParams) (r ActivateFlowDefinitionRes, _ error)
- func (UnimplementedHandler) AuthorizeDevice(ctx context.Context, params AuthorizeDeviceParams) (r AuthorizeDeviceRes, _ error)
- func (UnimplementedHandler) AuthorizeGet(ctx context.Context, params AuthorizeGetParams) (r AuthorizeGetRes, _ error)
- func (UnimplementedHandler) CreateAuthAttempt(ctx context.Context, req *CreateAuthAttemptRequest) (r CreateAuthAttemptRes, _ error)
- func (UnimplementedHandler) CreateFlow(ctx context.Context, req *CreateFlowRequest) (r CreateFlowRes, _ error)
- func (UnimplementedHandler) CreateFlowDefinition(ctx context.Context, req *CreateFlowDefinitionRequest) (r CreateFlowDefinitionRes, _ error)
- func (UnimplementedHandler) CreateHandoff(ctx context.Context, params CreateHandoffParams) (r CreateHandoffRes, _ error)
- func (UnimplementedHandler) CreateProject(ctx context.Context, req *CreateProjectRequest) (r CreateProjectRes, _ error)
- func (UnimplementedHandler) CreateSchema(ctx context.Context, req CreateSchemaReq, params CreateSchemaParams) (r CreateSchemaRes, _ error)
- func (UnimplementedHandler) CreateSession(ctx context.Context, req *CreateSessionRequest) (r CreateSessionRes, _ error)
- func (UnimplementedHandler) CreateTeam(ctx context.Context, req *CreateTeamRequest, params CreateTeamParams) (r CreateTeamRes, _ error)
- func (UnimplementedHandler) CreateUser(ctx context.Context, req *User, params CreateUserParams) (r CreateUserRes, _ error)
- func (UnimplementedHandler) DeactivateFlowDefinition(ctx context.Context, params DeactivateFlowDefinitionParams) (r DeactivateFlowDefinitionRes, _ error)
- func (UnimplementedHandler) DeleteFlowDefinition(ctx context.Context, params DeleteFlowDefinitionParams) (r DeleteFlowDefinitionRes, _ error)
- func (UnimplementedHandler) EndSession(ctx context.Context, params EndSessionParams) (r EndSessionRes, _ error)
- func (UnimplementedHandler) ExchangeHandoff(ctx context.Context, req *ExchangeRequest, params ExchangeHandoffParams) (r ExchangeHandoffRes, _ error)
- func (UnimplementedHandler) GetAuthAttempt(ctx context.Context, params GetAuthAttemptParams) (r GetAuthAttemptRes, _ error)
- func (UnimplementedHandler) GetFlowDefinition(ctx context.Context, params GetFlowDefinitionParams) (r GetFlowDefinitionRes, _ error)
- func (UnimplementedHandler) GetFlowStep(ctx context.Context, params GetFlowStepParams) (r GetFlowStepRes, _ error)
- func (UnimplementedHandler) GetHealth(ctx context.Context) (r GetHealthRes, _ error)
- func (UnimplementedHandler) GetKeys(ctx context.Context) (r GetKeysRes, _ error)
- func (UnimplementedHandler) GetLive(ctx context.Context) (r GetLiveRes, _ error)
- func (UnimplementedHandler) GetMySession(ctx context.Context, params GetMySessionParams) (r GetMySessionRes, _ error)
- func (UnimplementedHandler) GetMyUser(ctx context.Context, params GetMyUserParams) (r GetMyUserRes, _ error)
- func (UnimplementedHandler) GetOpenIDConfiguration(ctx context.Context) (r GetOpenIDConfigurationRes, _ error)
- func (UnimplementedHandler) GetProject(ctx context.Context, params GetProjectParams) (r GetProjectRes, _ error)
- func (UnimplementedHandler) GetReady(ctx context.Context) (r GetReadyRes, _ error)
- func (UnimplementedHandler) GetSchemaById(ctx context.Context, params GetSchemaByIdParams) (r GetSchemaByIdRes, _ error)
- func (UnimplementedHandler) GetSession(ctx context.Context, params GetSessionParams) (r GetSessionRes, _ error)
- func (UnimplementedHandler) GetTeam(ctx context.Context, params GetTeamParams) (r GetTeamRes, _ error)
- func (UnimplementedHandler) GetToken(ctx context.Context, req *PostTokenRequest) (r GetTokenRes, _ error)
- func (UnimplementedHandler) GetUserByID(ctx context.Context, params GetUserByIDParams) (r GetUserByIDRes, _ error)
- func (UnimplementedHandler) GetUserInfo(ctx context.Context) (r GetUserInfoRes, _ error)
- func (UnimplementedHandler) Introspect(ctx context.Context, req *IntrospectRequest) (r IntrospectRes, _ error)
- func (UnimplementedHandler) IssueChallenge(ctx context.Context, req *IssueChallengeRequest, params IssueChallengeParams) (r IssueChallengeRes, _ error)
- func (UnimplementedHandler) ListFlowDefinitions(ctx context.Context, params ListFlowDefinitionsParams) (r ListFlowDefinitionsRes, _ error)
- func (UnimplementedHandler) ListSessions(ctx context.Context, params ListSessionsParams) (r ListSessionsRes, _ error)
- func (UnimplementedHandler) ListUsers(ctx context.Context, params ListUsersParams) (r ListUsersRes, _ error)
- func (UnimplementedHandler) RevokeMySession(ctx context.Context, params RevokeMySessionParams) (r RevokeMySessionRes, _ error)
- func (UnimplementedHandler) RevokeSession(ctx context.Context, params RevokeSessionParams) (r RevokeSessionRes, _ error)
- func (UnimplementedHandler) RevokeToken(ctx context.Context, req *RevokeRequest) (r RevokeTokenRes, _ error)
- func (UnimplementedHandler) SetUserPassword(ctx context.Context, req *SetUserPasswordRequest, params SetUserPasswordParams) (r SetUserPasswordRes, _ error)
- func (UnimplementedHandler) SubmitFlowEvent(ctx context.Context, req *FlowEventRequest, params SubmitFlowEventParams) (r SubmitFlowEventRes, _ error)
- func (UnimplementedHandler) SubmitFlowStep(ctx context.Context, req *FlowSubmitRequest, params SubmitFlowStepParams) (r SubmitFlowStepRes, _ error)
- func (UnimplementedHandler) UpdateFlowDefinition(ctx context.Context, req *FlowDefinitionUpdateRequest, ...) (r UpdateFlowDefinitionRes, _ error)
- func (UnimplementedHandler) VerifyChallengeProof(ctx context.Context, req *VerifyChallengeRequest, ...) (r VerifyChallengeProofRes, _ error)
- type UpdateFlowDefinitionBadRequest
- type UpdateFlowDefinitionNotFound
- type UpdateFlowDefinitionParams
- type UpdateFlowDefinitionRes
- type User
- func (s *User) Decode(d *jx.Decoder) error
- func (s *User) Encode(e *jx.Encoder)
- func (s *User) GetAdditionalProps() UserAdditional
- func (s *User) GetSchema() string
- func (s *User) MarshalJSON() ([]byte, error)
- func (s *User) SetAdditionalProps(val UserAdditional)
- func (s *User) SetSchema(val string)
- func (s *User) UnmarshalJSON(data []byte) error
- type UserAdditional
- type UserID
- type UserNotFound
- func (s *UserNotFound) Decode(d *jx.Decoder) error
- func (s *UserNotFound) Encode(e *jx.Encoder)
- func (s *UserNotFound) GetCode() string
- func (s *UserNotFound) GetDetails() OptUserNotFoundDetails
- func (s *UserNotFound) GetMessage() string
- func (s *UserNotFound) MarshalJSON() ([]byte, error)
- func (s *UserNotFound) SetCode(val string)
- func (s *UserNotFound) SetDetails(val OptUserNotFoundDetails)
- func (s *UserNotFound) SetMessage(val string)
- func (s *UserNotFound) UnmarshalJSON(data []byte) error
- type UserNotFoundDetails
- type UserProperty
- func (s *UserProperty) Decode(d *jx.Decoder) error
- func (s *UserProperty) Encode(e *jx.Encoder)
- func (s *UserProperty) GetAdditionalProps() UserPropertyAdditional
- func (s *UserProperty) GetProperties() OptUserPropertyProperties
- func (s *UserProperty) GetXMinusClaim() OptNilString
- func (s *UserProperty) GetXMinusEditable() OptBool
- func (s *UserProperty) GetXMinusMfa() OptBool
- func (s *UserProperty) GetXMinusSensitive() OptBool
- func (s *UserProperty) GetXMinusUnique() OptNilUserPropertyXMinusUnique
- func (s *UserProperty) GetXMinusVerify() OptNilString
- func (s *UserProperty) MarshalJSON() ([]byte, error)
- func (s *UserProperty) SetAdditionalProps(val UserPropertyAdditional)
- func (s *UserProperty) SetProperties(val OptUserPropertyProperties)
- func (s *UserProperty) SetXMinusClaim(val OptNilString)
- func (s *UserProperty) SetXMinusEditable(val OptBool)
- func (s *UserProperty) SetXMinusMfa(val OptBool)
- func (s *UserProperty) SetXMinusSensitive(val OptBool)
- func (s *UserProperty) SetXMinusUnique(val OptNilUserPropertyXMinusUnique)
- func (s *UserProperty) SetXMinusVerify(val OptNilString)
- func (s *UserProperty) UnmarshalJSON(data []byte) error
- func (s *UserProperty) Validate() error
- type UserPropertyAdditional
- type UserPropertyProperties
- type UserPropertyXMinusUnique
- func (UserPropertyXMinusUnique) AllValues() []UserPropertyXMinusUnique
- func (s *UserPropertyXMinusUnique) Decode(d *jx.Decoder) error
- func (s UserPropertyXMinusUnique) Encode(e *jx.Encoder)
- func (s UserPropertyXMinusUnique) MarshalJSON() ([]byte, error)
- func (s UserPropertyXMinusUnique) MarshalText() ([]byte, error)
- func (s *UserPropertyXMinusUnique) UnmarshalJSON(data []byte) error
- func (s *UserPropertyXMinusUnique) UnmarshalText(data []byte) error
- func (s UserPropertyXMinusUnique) Validate() error
- type UserSchema
- func (s *UserSchema) Decode(d *jx.Decoder) error
- func (s *UserSchema) Encode(e *jx.Encoder)
- func (s *UserSchema) GetAdditionalProps() UserSchemaAdditional
- func (s *UserSchema) GetID() url.URL
- func (s *UserSchema) GetKind() string
- func (s *UserSchema) GetMetaSchema() url.URL
- func (s *UserSchema) GetProperties() OptUserSchemaProperties
- func (s *UserSchema) GetSchema() OptString
- func (s *UserSchema) GetXMinusAuthMinusMethods() AuthMethods
- func (s *UserSchema) MarshalJSON() ([]byte, error)
- func (s *UserSchema) SetAdditionalProps(val UserSchemaAdditional)
- func (s *UserSchema) SetID(val url.URL)
- func (s *UserSchema) SetKind(val string)
- func (s *UserSchema) SetMetaSchema(val url.URL)
- func (s *UserSchema) SetProperties(val OptUserSchemaProperties)
- func (s *UserSchema) SetSchema(val OptString)
- func (s *UserSchema) SetXMinusAuthMinusMethods(val AuthMethods)
- func (s *UserSchema) UnmarshalJSON(data []byte) error
- func (s *UserSchema) Validate() error
- type UserSchemaAdditional
- type UserSchemaProperties
- type UsernamePassword
- type VerifyChallengeProofErrorResponse
- func NewAttAlreadyCompletedVerifyChallengeProofErrorResponse(v AttAlreadyCompleted) VerifyChallengeProofErrorResponse
- func NewAttInvalidRequestVerifyChallengeProofErrorResponse(v AttInvalidRequest) VerifyChallengeProofErrorResponse
- func NewAttInvalidStateVerifyChallengeProofErrorResponse(v AttInvalidState) VerifyChallengeProofErrorResponse
- func NewAttNotFoundVerifyChallengeProofErrorResponse(v AttNotFound) VerifyChallengeProofErrorResponse
- func NewAttProofRejectedVerifyChallengeProofErrorResponse(v AttProofRejected) VerifyChallengeProofErrorResponse
- func NewAttStaleChallengeVerifyChallengeProofErrorResponse(v AttStaleChallenge) VerifyChallengeProofErrorResponse
- func NewInternalVerifyChallengeProofErrorResponse(v Internal) VerifyChallengeProofErrorResponse
- func (s *VerifyChallengeProofErrorResponse) Decode(d *jx.Decoder) error
- func (s VerifyChallengeProofErrorResponse) Encode(e *jx.Encoder)
- func (s VerifyChallengeProofErrorResponse) GetAttAlreadyCompleted() (v AttAlreadyCompleted, ok bool)
- func (s VerifyChallengeProofErrorResponse) GetAttInvalidRequest() (v AttInvalidRequest, ok bool)
- func (s VerifyChallengeProofErrorResponse) GetAttInvalidState() (v AttInvalidState, ok bool)
- func (s VerifyChallengeProofErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
- func (s VerifyChallengeProofErrorResponse) GetAttProofRejected() (v AttProofRejected, ok bool)
- func (s VerifyChallengeProofErrorResponse) GetAttStaleChallenge() (v AttStaleChallenge, ok bool)
- func (s VerifyChallengeProofErrorResponse) GetInternal() (v Internal, ok bool)
- func (s VerifyChallengeProofErrorResponse) IsAttAlreadyCompleted() bool
- func (s VerifyChallengeProofErrorResponse) IsAttInvalidRequest() bool
- func (s VerifyChallengeProofErrorResponse) IsAttInvalidState() bool
- func (s VerifyChallengeProofErrorResponse) IsAttNotFound() bool
- func (s VerifyChallengeProofErrorResponse) IsAttProofRejected() bool
- func (s VerifyChallengeProofErrorResponse) IsAttStaleChallenge() bool
- func (s VerifyChallengeProofErrorResponse) IsInternal() bool
- func (s VerifyChallengeProofErrorResponse) MarshalJSON() ([]byte, error)
- func (s *VerifyChallengeProofErrorResponse) SetAttAlreadyCompleted(v AttAlreadyCompleted)
- func (s *VerifyChallengeProofErrorResponse) SetAttInvalidRequest(v AttInvalidRequest)
- func (s *VerifyChallengeProofErrorResponse) SetAttInvalidState(v AttInvalidState)
- func (s *VerifyChallengeProofErrorResponse) SetAttNotFound(v AttNotFound)
- func (s *VerifyChallengeProofErrorResponse) SetAttProofRejected(v AttProofRejected)
- func (s *VerifyChallengeProofErrorResponse) SetAttStaleChallenge(v AttStaleChallenge)
- func (s *VerifyChallengeProofErrorResponse) SetInternal(v Internal)
- func (s *VerifyChallengeProofErrorResponse) UnmarshalJSON(data []byte) error
- type VerifyChallengeProofErrorResponseStatusCode
- func (s *VerifyChallengeProofErrorResponseStatusCode) GetResponse() VerifyChallengeProofErrorResponse
- func (s *VerifyChallengeProofErrorResponseStatusCode) GetStatusCode() int
- func (s *VerifyChallengeProofErrorResponseStatusCode) SetResponse(val VerifyChallengeProofErrorResponse)
- func (s *VerifyChallengeProofErrorResponseStatusCode) SetStatusCode(val int)
- type VerifyChallengeProofErrorResponseType
- type VerifyChallengeProofParams
- type VerifyChallengeProofRes
- type VerifyChallengeRequest
- func (s *VerifyChallengeRequest) Decode(d *jx.Decoder) error
- func (s *VerifyChallengeRequest) Encode(e *jx.Encoder)
- func (s *VerifyChallengeRequest) GetOneOf() VerifyChallengeRequestSum
- func (s *VerifyChallengeRequest) MarshalJSON() ([]byte, error)
- func (s *VerifyChallengeRequest) SetOneOf(val VerifyChallengeRequestSum)
- func (s *VerifyChallengeRequest) UnmarshalJSON(data []byte) error
- type VerifyChallengeRequestSum
- func (s *VerifyChallengeRequestSum) Decode(d *jx.Decoder) error
- func (s VerifyChallengeRequestSum) Encode(e *jx.Encoder)
- func (s VerifyChallengeRequestSum) GetIdentifierProof() (v IdentifierProof, ok bool)
- func (s VerifyChallengeRequestSum) GetPasskeyProof() (v PasskeyProof, ok bool)
- func (s VerifyChallengeRequestSum) GetPasswordProof() (v PasswordProof, ok bool)
- func (s VerifyChallengeRequestSum) IsIdentifierProof() bool
- func (s VerifyChallengeRequestSum) IsPasskeyProof() bool
- func (s VerifyChallengeRequestSum) IsPasswordProof() bool
- func (s VerifyChallengeRequestSum) MarshalJSON() ([]byte, error)
- func (s *VerifyChallengeRequestSum) SetIdentifierProof(v IdentifierProof)
- func (s *VerifyChallengeRequestSum) SetPasskeyProof(v PasskeyProof)
- func (s *VerifyChallengeRequestSum) SetPasswordProof(v PasswordProof)
- func (s *VerifyChallengeRequestSum) UnmarshalJSON(data []byte) error
- type VerifyChallengeRequestSumType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOAuth2ScopesForOAuth2 ¶
GetOAuth2ScopesForOAuth2 returns the required OAuth2 scopes for the given operation.
This is useful for token exchange scenarios where you need to know which scopes to request when obtaining a token for a downstream API call.
Example:
requiredScopes := GetOAuth2ScopesForOAuth2(AddPetOperation) token := exchangeTokenWithScopes(requiredScopes, "https://api.example.com")
Returns nil if the operation has no scope requirements or if the operation is unknown.
func GetRolesForUsernamePassword ¶
GetRolesForUsernamePassword returns the required roles for the given operation.
This is useful for authorization scenarios where you need to know which roles are required for an operation.
Example:
requiredRoles := GetRolesForUsernamePassword(AddPetOperation)
Returns nil if the operation has no role requirements or if the operation is unknown.
Types ¶
type ActivateFlowDefinitionNoContent ¶
type ActivateFlowDefinitionNoContent struct{}
ActivateFlowDefinitionNoContent is response for ActivateFlowDefinition operation.
type ActivateFlowDefinitionParams ¶
type ActivateFlowDefinitionParams struct {
// The id returned by the POST /flow_definitions endpoint.
ID string
// The unique identifier of the project.
ProjectID ProjectID
}
ActivateFlowDefinitionParams is parameters of activateFlowDefinition operation.
type ActivateFlowDefinitionRes ¶
type ActivateFlowDefinitionRes interface {
// contains filtered or unexported methods
}
type AttAlreadyCompleted ¶
type AttAlreadyCompleted struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttAlreadyCompletedDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttAlreadyCompleted) Decode ¶
func (s *AttAlreadyCompleted) Decode(d *jx.Decoder) error
Decode decodes AttAlreadyCompleted from json.
func (*AttAlreadyCompleted) Encode ¶
func (s *AttAlreadyCompleted) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttAlreadyCompleted) GetCode ¶
func (s *AttAlreadyCompleted) GetCode() string
GetCode returns the value of Code.
func (*AttAlreadyCompleted) GetDetails ¶
func (s *AttAlreadyCompleted) GetDetails() OptAttAlreadyCompletedDetails
GetDetails returns the value of Details.
func (*AttAlreadyCompleted) GetMessage ¶
func (s *AttAlreadyCompleted) GetMessage() string
GetMessage returns the value of Message.
func (*AttAlreadyCompleted) MarshalJSON ¶
func (s *AttAlreadyCompleted) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttAlreadyCompleted) SetCode ¶
func (s *AttAlreadyCompleted) SetCode(val string)
SetCode sets the value of Code.
func (*AttAlreadyCompleted) SetDetails ¶
func (s *AttAlreadyCompleted) SetDetails(val OptAttAlreadyCompletedDetails)
SetDetails sets the value of Details.
func (*AttAlreadyCompleted) SetMessage ¶
func (s *AttAlreadyCompleted) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttAlreadyCompleted) UnmarshalJSON ¶
func (s *AttAlreadyCompleted) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttAlreadyCompletedDetails ¶
Additional error-specific context.
func (*AttAlreadyCompletedDetails) Decode ¶
func (s *AttAlreadyCompletedDetails) Decode(d *jx.Decoder) error
Decode decodes AttAlreadyCompletedDetails from json.
func (AttAlreadyCompletedDetails) Encode ¶
func (s AttAlreadyCompletedDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttAlreadyCompletedDetails) MarshalJSON ¶
func (s AttAlreadyCompletedDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttAlreadyCompletedDetails) UnmarshalJSON ¶
func (s *AttAlreadyCompletedDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttInvalidRequest ¶
type AttInvalidRequest struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttInvalidRequestDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttInvalidRequest) Decode ¶
func (s *AttInvalidRequest) Decode(d *jx.Decoder) error
Decode decodes AttInvalidRequest from json.
func (*AttInvalidRequest) Encode ¶
func (s *AttInvalidRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttInvalidRequest) GetCode ¶
func (s *AttInvalidRequest) GetCode() string
GetCode returns the value of Code.
func (*AttInvalidRequest) GetDetails ¶
func (s *AttInvalidRequest) GetDetails() OptAttInvalidRequestDetails
GetDetails returns the value of Details.
func (*AttInvalidRequest) GetMessage ¶
func (s *AttInvalidRequest) GetMessage() string
GetMessage returns the value of Message.
func (*AttInvalidRequest) MarshalJSON ¶
func (s *AttInvalidRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttInvalidRequest) SetCode ¶
func (s *AttInvalidRequest) SetCode(val string)
SetCode sets the value of Code.
func (*AttInvalidRequest) SetDetails ¶
func (s *AttInvalidRequest) SetDetails(val OptAttInvalidRequestDetails)
SetDetails sets the value of Details.
func (*AttInvalidRequest) SetMessage ¶
func (s *AttInvalidRequest) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttInvalidRequest) UnmarshalJSON ¶
func (s *AttInvalidRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttInvalidRequestDetails ¶
Additional error-specific context.
func (*AttInvalidRequestDetails) Decode ¶
func (s *AttInvalidRequestDetails) Decode(d *jx.Decoder) error
Decode decodes AttInvalidRequestDetails from json.
func (AttInvalidRequestDetails) Encode ¶
func (s AttInvalidRequestDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttInvalidRequestDetails) MarshalJSON ¶
func (s AttInvalidRequestDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttInvalidRequestDetails) UnmarshalJSON ¶
func (s *AttInvalidRequestDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttInvalidState ¶
type AttInvalidState struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttInvalidStateDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttInvalidState) Decode ¶
func (s *AttInvalidState) Decode(d *jx.Decoder) error
Decode decodes AttInvalidState from json.
func (*AttInvalidState) Encode ¶
func (s *AttInvalidState) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttInvalidState) GetCode ¶
func (s *AttInvalidState) GetCode() string
GetCode returns the value of Code.
func (*AttInvalidState) GetDetails ¶
func (s *AttInvalidState) GetDetails() OptAttInvalidStateDetails
GetDetails returns the value of Details.
func (*AttInvalidState) GetMessage ¶
func (s *AttInvalidState) GetMessage() string
GetMessage returns the value of Message.
func (*AttInvalidState) MarshalJSON ¶
func (s *AttInvalidState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttInvalidState) SetCode ¶
func (s *AttInvalidState) SetCode(val string)
SetCode sets the value of Code.
func (*AttInvalidState) SetDetails ¶
func (s *AttInvalidState) SetDetails(val OptAttInvalidStateDetails)
SetDetails sets the value of Details.
func (*AttInvalidState) SetMessage ¶
func (s *AttInvalidState) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttInvalidState) UnmarshalJSON ¶
func (s *AttInvalidState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttInvalidStateDetails ¶
Additional error-specific context.
func (*AttInvalidStateDetails) Decode ¶
func (s *AttInvalidStateDetails) Decode(d *jx.Decoder) error
Decode decodes AttInvalidStateDetails from json.
func (AttInvalidStateDetails) Encode ¶
func (s AttInvalidStateDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttInvalidStateDetails) MarshalJSON ¶
func (s AttInvalidStateDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttInvalidStateDetails) UnmarshalJSON ¶
func (s *AttInvalidStateDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttNotCompleted ¶
type AttNotCompleted struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttNotCompletedDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttNotCompleted) Decode ¶
func (s *AttNotCompleted) Decode(d *jx.Decoder) error
Decode decodes AttNotCompleted from json.
func (*AttNotCompleted) Encode ¶
func (s *AttNotCompleted) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttNotCompleted) GetCode ¶
func (s *AttNotCompleted) GetCode() string
GetCode returns the value of Code.
func (*AttNotCompleted) GetDetails ¶
func (s *AttNotCompleted) GetDetails() OptAttNotCompletedDetails
GetDetails returns the value of Details.
func (*AttNotCompleted) GetMessage ¶
func (s *AttNotCompleted) GetMessage() string
GetMessage returns the value of Message.
func (*AttNotCompleted) MarshalJSON ¶
func (s *AttNotCompleted) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttNotCompleted) SetCode ¶
func (s *AttNotCompleted) SetCode(val string)
SetCode sets the value of Code.
func (*AttNotCompleted) SetDetails ¶
func (s *AttNotCompleted) SetDetails(val OptAttNotCompletedDetails)
SetDetails sets the value of Details.
func (*AttNotCompleted) SetMessage ¶
func (s *AttNotCompleted) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttNotCompleted) UnmarshalJSON ¶
func (s *AttNotCompleted) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttNotCompletedDetails ¶
Additional error-specific context.
func (*AttNotCompletedDetails) Decode ¶
func (s *AttNotCompletedDetails) Decode(d *jx.Decoder) error
Decode decodes AttNotCompletedDetails from json.
func (AttNotCompletedDetails) Encode ¶
func (s AttNotCompletedDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttNotCompletedDetails) MarshalJSON ¶
func (s AttNotCompletedDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttNotCompletedDetails) UnmarshalJSON ¶
func (s *AttNotCompletedDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttNotFound ¶
type AttNotFound struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttNotFoundDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttNotFound) Decode ¶
func (s *AttNotFound) Decode(d *jx.Decoder) error
Decode decodes AttNotFound from json.
func (*AttNotFound) Encode ¶
func (s *AttNotFound) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttNotFound) GetCode ¶
func (s *AttNotFound) GetCode() string
GetCode returns the value of Code.
func (*AttNotFound) GetDetails ¶
func (s *AttNotFound) GetDetails() OptAttNotFoundDetails
GetDetails returns the value of Details.
func (*AttNotFound) GetMessage ¶
func (s *AttNotFound) GetMessage() string
GetMessage returns the value of Message.
func (*AttNotFound) MarshalJSON ¶
func (s *AttNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttNotFound) SetCode ¶
func (s *AttNotFound) SetCode(val string)
SetCode sets the value of Code.
func (*AttNotFound) SetDetails ¶
func (s *AttNotFound) SetDetails(val OptAttNotFoundDetails)
SetDetails sets the value of Details.
func (*AttNotFound) SetMessage ¶
func (s *AttNotFound) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttNotFound) UnmarshalJSON ¶
func (s *AttNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttNotFoundDetails ¶
Additional error-specific context.
func (*AttNotFoundDetails) Decode ¶
func (s *AttNotFoundDetails) Decode(d *jx.Decoder) error
Decode decodes AttNotFoundDetails from json.
func (AttNotFoundDetails) Encode ¶
func (s AttNotFoundDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttNotFoundDetails) MarshalJSON ¶
func (s AttNotFoundDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttNotFoundDetails) UnmarshalJSON ¶
func (s *AttNotFoundDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttProofRejected ¶
type AttProofRejected struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttProofRejectedDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttProofRejected) Decode ¶
func (s *AttProofRejected) Decode(d *jx.Decoder) error
Decode decodes AttProofRejected from json.
func (*AttProofRejected) Encode ¶
func (s *AttProofRejected) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttProofRejected) GetCode ¶
func (s *AttProofRejected) GetCode() string
GetCode returns the value of Code.
func (*AttProofRejected) GetDetails ¶
func (s *AttProofRejected) GetDetails() OptAttProofRejectedDetails
GetDetails returns the value of Details.
func (*AttProofRejected) GetMessage ¶
func (s *AttProofRejected) GetMessage() string
GetMessage returns the value of Message.
func (*AttProofRejected) MarshalJSON ¶
func (s *AttProofRejected) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttProofRejected) SetCode ¶
func (s *AttProofRejected) SetCode(val string)
SetCode sets the value of Code.
func (*AttProofRejected) SetDetails ¶
func (s *AttProofRejected) SetDetails(val OptAttProofRejectedDetails)
SetDetails sets the value of Details.
func (*AttProofRejected) SetMessage ¶
func (s *AttProofRejected) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttProofRejected) UnmarshalJSON ¶
func (s *AttProofRejected) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttProofRejectedDetails ¶
Additional error-specific context.
func (*AttProofRejectedDetails) Decode ¶
func (s *AttProofRejectedDetails) Decode(d *jx.Decoder) error
Decode decodes AttProofRejectedDetails from json.
func (AttProofRejectedDetails) Encode ¶
func (s AttProofRejectedDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttProofRejectedDetails) MarshalJSON ¶
func (s AttProofRejectedDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttProofRejectedDetails) UnmarshalJSON ¶
func (s *AttProofRejectedDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttStaleChallenge ¶
type AttStaleChallenge struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptAttStaleChallengeDetails `json:"details"`
}
Merged schema. Ref: #
func (*AttStaleChallenge) Decode ¶
func (s *AttStaleChallenge) Decode(d *jx.Decoder) error
Decode decodes AttStaleChallenge from json.
func (*AttStaleChallenge) Encode ¶
func (s *AttStaleChallenge) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AttStaleChallenge) GetCode ¶
func (s *AttStaleChallenge) GetCode() string
GetCode returns the value of Code.
func (*AttStaleChallenge) GetDetails ¶
func (s *AttStaleChallenge) GetDetails() OptAttStaleChallengeDetails
GetDetails returns the value of Details.
func (*AttStaleChallenge) GetMessage ¶
func (s *AttStaleChallenge) GetMessage() string
GetMessage returns the value of Message.
func (*AttStaleChallenge) MarshalJSON ¶
func (s *AttStaleChallenge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttStaleChallenge) SetCode ¶
func (s *AttStaleChallenge) SetCode(val string)
SetCode sets the value of Code.
func (*AttStaleChallenge) SetDetails ¶
func (s *AttStaleChallenge) SetDetails(val OptAttStaleChallengeDetails)
SetDetails sets the value of Details.
func (*AttStaleChallenge) SetMessage ¶
func (s *AttStaleChallenge) SetMessage(val string)
SetMessage sets the value of Message.
func (*AttStaleChallenge) UnmarshalJSON ¶
func (s *AttStaleChallenge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttStaleChallengeDetails ¶
Additional error-specific context.
func (*AttStaleChallengeDetails) Decode ¶
func (s *AttStaleChallengeDetails) Decode(d *jx.Decoder) error
Decode decodes AttStaleChallengeDetails from json.
func (AttStaleChallengeDetails) Encode ¶
func (s AttStaleChallengeDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AttStaleChallengeDetails) MarshalJSON ¶
func (s AttStaleChallengeDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AttStaleChallengeDetails) UnmarshalJSON ¶
func (s *AttStaleChallengeDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AttemptID ¶
type AttemptID string
func (AttemptID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*AttemptID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type AuthAttemptResponse ¶
type AuthAttemptResponse struct {
AttemptID AttemptID `json:"attempt_id"`
ProjectID ProjectID `json:"project_id"`
// Overall state of the authentication attempt:
// - `in_progress`: factors are still being collected; continue issuing challenges.
// - `completed`: all required factors have been verified; the attempt is ready for handoff.
// - `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.
// - `expired`: the 15-minute TTL has been exceeded.
State AuthAttemptResponseState `json:"state"`
// The session being authenticated into. Either newly created or passed in on POST.
// For step-up (re-auth), this is the existing session_id provided on creation.
SessionID OptNilSessionID `json:"session_id"`
// The user ID, if known at this point in the flow.
// Null until an identifier challenge has been verified.
UserID OptNilUserID `json:"user_id"`
// The authentication factor methods that the project policy requires in order
// to complete this attempt. Computed by the server from the project's auth policy.
// Clients should use this to determine which challenges still need to be issued.
RequiredFactors []FactorMethod `json:"required_factors"`
// The factors that have been successfully verified in this attempt so far.
// Each item includes method-specific metadata in the payload field.
// The flow engine uses verified_at timestamps to enforce time-based policies, such as
// requiring password verification within the last 5 minutes for step-up auth to
// access sensitive operations.
// A factor appears here once its challenge reaches `verified` state.
CompletedFactors []CompletedFactor `json:"completed_factors"`
// All challenges issued within this attempt, in creation order.
// Use this to track the state of each factor challenge (pending, verified, failed, expired).
Challenges []ChallengeResponse `json:"challenges"`
// When this attempt expires (15-minute TTL from creation).
ExpiresAt OptDateTime `json:"expires_at"`
// When this attempt was created.
CreatedAt time.Time `json:"created_at"`
}
The current state of an authentication attempt. An attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round. It accepts factor challenges, verifies proofs, and completes into a handoff token. Clients drive the attempt by: 1. Issuing challenges: POST /auth_attempts/{attempt_id}/challenges 2. Verifying proofs: POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify 3. Completing: POST /auth_attempts/{attempt_id}/handoff. Ref: #
func (*AuthAttemptResponse) Decode ¶
func (s *AuthAttemptResponse) Decode(d *jx.Decoder) error
Decode decodes AuthAttemptResponse from json.
func (*AuthAttemptResponse) Encode ¶
func (s *AuthAttemptResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AuthAttemptResponse) GetAttemptID ¶
func (s *AuthAttemptResponse) GetAttemptID() AttemptID
GetAttemptID returns the value of AttemptID.
func (*AuthAttemptResponse) GetChallenges ¶
func (s *AuthAttemptResponse) GetChallenges() []ChallengeResponse
GetChallenges returns the value of Challenges.
func (*AuthAttemptResponse) GetCompletedFactors ¶
func (s *AuthAttemptResponse) GetCompletedFactors() []CompletedFactor
GetCompletedFactors returns the value of CompletedFactors.
func (*AuthAttemptResponse) GetCreatedAt ¶
func (s *AuthAttemptResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*AuthAttemptResponse) GetExpiresAt ¶
func (s *AuthAttemptResponse) GetExpiresAt() OptDateTime
GetExpiresAt returns the value of ExpiresAt.
func (*AuthAttemptResponse) GetProjectID ¶
func (s *AuthAttemptResponse) GetProjectID() ProjectID
GetProjectID returns the value of ProjectID.
func (*AuthAttemptResponse) GetRequiredFactors ¶
func (s *AuthAttemptResponse) GetRequiredFactors() []FactorMethod
GetRequiredFactors returns the value of RequiredFactors.
func (*AuthAttemptResponse) GetSessionID ¶
func (s *AuthAttemptResponse) GetSessionID() OptNilSessionID
GetSessionID returns the value of SessionID.
func (*AuthAttemptResponse) GetState ¶
func (s *AuthAttemptResponse) GetState() AuthAttemptResponseState
GetState returns the value of State.
func (*AuthAttemptResponse) GetUserID ¶
func (s *AuthAttemptResponse) GetUserID() OptNilUserID
GetUserID returns the value of UserID.
func (*AuthAttemptResponse) MarshalJSON ¶
func (s *AuthAttemptResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuthAttemptResponse) SetAttemptID ¶
func (s *AuthAttemptResponse) SetAttemptID(val AttemptID)
SetAttemptID sets the value of AttemptID.
func (*AuthAttemptResponse) SetChallenges ¶
func (s *AuthAttemptResponse) SetChallenges(val []ChallengeResponse)
SetChallenges sets the value of Challenges.
func (*AuthAttemptResponse) SetCompletedFactors ¶
func (s *AuthAttemptResponse) SetCompletedFactors(val []CompletedFactor)
SetCompletedFactors sets the value of CompletedFactors.
func (*AuthAttemptResponse) SetCreatedAt ¶
func (s *AuthAttemptResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*AuthAttemptResponse) SetExpiresAt ¶
func (s *AuthAttemptResponse) SetExpiresAt(val OptDateTime)
SetExpiresAt sets the value of ExpiresAt.
func (*AuthAttemptResponse) SetProjectID ¶
func (s *AuthAttemptResponse) SetProjectID(val ProjectID)
SetProjectID sets the value of ProjectID.
func (*AuthAttemptResponse) SetRequiredFactors ¶
func (s *AuthAttemptResponse) SetRequiredFactors(val []FactorMethod)
SetRequiredFactors sets the value of RequiredFactors.
func (*AuthAttemptResponse) SetSessionID ¶
func (s *AuthAttemptResponse) SetSessionID(val OptNilSessionID)
SetSessionID sets the value of SessionID.
func (*AuthAttemptResponse) SetState ¶
func (s *AuthAttemptResponse) SetState(val AuthAttemptResponseState)
SetState sets the value of State.
func (*AuthAttemptResponse) SetUserID ¶
func (s *AuthAttemptResponse) SetUserID(val OptNilUserID)
SetUserID sets the value of UserID.
func (*AuthAttemptResponse) UnmarshalJSON ¶
func (s *AuthAttemptResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AuthAttemptResponse) Validate ¶
func (s *AuthAttemptResponse) Validate() error
type AuthAttemptResponseState ¶
type AuthAttemptResponseState string
Overall state of the authentication attempt: - `in_progress`: factors are still being collected; continue issuing challenges. - `completed`: all required factors have been verified; the attempt is ready for handoff. - `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued. - `expired`: the 15-minute TTL has been exceeded.
const ( AuthAttemptResponseStateInProgress AuthAttemptResponseState = "in_progress" AuthAttemptResponseStateCompleted AuthAttemptResponseState = "completed" AuthAttemptResponseStateFailed AuthAttemptResponseState = "failed" AuthAttemptResponseStateExpired AuthAttemptResponseState = "expired" )
func (AuthAttemptResponseState) AllValues ¶
func (AuthAttemptResponseState) AllValues() []AuthAttemptResponseState
AllValues returns all AuthAttemptResponseState values.
func (*AuthAttemptResponseState) Decode ¶
func (s *AuthAttemptResponseState) Decode(d *jx.Decoder) error
Decode decodes AuthAttemptResponseState from json.
func (AuthAttemptResponseState) Encode ¶
func (s AuthAttemptResponseState) Encode(e *jx.Encoder)
Encode encodes AuthAttemptResponseState as json.
func (AuthAttemptResponseState) MarshalJSON ¶
func (s AuthAttemptResponseState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AuthAttemptResponseState) MarshalText ¶
func (s AuthAttemptResponseState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AuthAttemptResponseState) UnmarshalJSON ¶
func (s *AuthAttemptResponseState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AuthAttemptResponseState) UnmarshalText ¶
func (s *AuthAttemptResponseState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AuthAttemptResponseState) Validate ¶
func (s AuthAttemptResponseState) Validate() error
type AuthMethod ¶
type AuthMethod struct {
// Whether the authentication method is enabled or not.
Enabled bool `json:"enabled"`
// The position of the authentication method in the list of supported methods.
Position int `json:"position"`
}
Ref: #
func (*AuthMethod) Decode ¶
func (s *AuthMethod) Decode(d *jx.Decoder) error
Decode decodes AuthMethod from json.
func (*AuthMethod) Encode ¶
func (s *AuthMethod) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AuthMethod) GetEnabled ¶
func (s *AuthMethod) GetEnabled() bool
GetEnabled returns the value of Enabled.
func (*AuthMethod) GetPosition ¶
func (s *AuthMethod) GetPosition() int
GetPosition returns the value of Position.
func (*AuthMethod) MarshalJSON ¶
func (s *AuthMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuthMethod) SetEnabled ¶
func (s *AuthMethod) SetEnabled(val bool)
SetEnabled sets the value of Enabled.
func (*AuthMethod) SetPosition ¶
func (s *AuthMethod) SetPosition(val int)
SetPosition sets the value of Position.
func (*AuthMethod) UnmarshalJSON ¶
func (s *AuthMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AuthMethod) Validate ¶
func (s *AuthMethod) Validate() error
type AuthMethods ¶
type AuthMethods struct {
Password OptAuthMethod `json:"password"`
Passkey OptAuthMethod `json:"passkey"`
MagicLink OptAuthMethod `json:"magic_link"`
SSO OptAuthMethod `json:"sso"`
Otp OptAuthMethod `json:"otp"`
}
A list of authentication methods supported by the user definition. Ref: #
func (*AuthMethods) Decode ¶
func (s *AuthMethods) Decode(d *jx.Decoder) error
Decode decodes AuthMethods from json.
func (*AuthMethods) Encode ¶
func (s *AuthMethods) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AuthMethods) GetMagicLink ¶
func (s *AuthMethods) GetMagicLink() OptAuthMethod
GetMagicLink returns the value of MagicLink.
func (*AuthMethods) GetOtp ¶
func (s *AuthMethods) GetOtp() OptAuthMethod
GetOtp returns the value of Otp.
func (*AuthMethods) GetPasskey ¶
func (s *AuthMethods) GetPasskey() OptAuthMethod
GetPasskey returns the value of Passkey.
func (*AuthMethods) GetPassword ¶
func (s *AuthMethods) GetPassword() OptAuthMethod
GetPassword returns the value of Password.
func (*AuthMethods) GetSSO ¶
func (s *AuthMethods) GetSSO() OptAuthMethod
GetSSO returns the value of SSO.
func (*AuthMethods) MarshalJSON ¶
func (s *AuthMethods) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuthMethods) SetMagicLink ¶
func (s *AuthMethods) SetMagicLink(val OptAuthMethod)
SetMagicLink sets the value of MagicLink.
func (*AuthMethods) SetOtp ¶
func (s *AuthMethods) SetOtp(val OptAuthMethod)
SetOtp sets the value of Otp.
func (*AuthMethods) SetPasskey ¶
func (s *AuthMethods) SetPasskey(val OptAuthMethod)
SetPasskey sets the value of Passkey.
func (*AuthMethods) SetPassword ¶
func (s *AuthMethods) SetPassword(val OptAuthMethod)
SetPassword sets the value of Password.
func (*AuthMethods) SetSSO ¶
func (s *AuthMethods) SetSSO(val OptAuthMethod)
SetSSO sets the value of SSO.
func (*AuthMethods) UnmarshalJSON ¶
func (s *AuthMethods) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AuthMethods) Validate ¶
func (s *AuthMethods) Validate() error
type AuthorizeDeviceParams ¶
type AuthorizeDeviceParams struct {
// The client ID of the application that is requesting authorization.
// This is a required parameter and must match the client ID of a
// registered application.
ClientID string
// The scope parameter is used to specify the permissions that the client
// is requesting. This is a space delimited list of scopes. For example,
// you could use this to request access to the user's profile information or
// to request permission to access certain APIs on behalf of the user.
Scope OptString `json:",omitempty,omitzero"`
}
AuthorizeDeviceParams is parameters of authorizeDevice operation.
type AuthorizeDeviceRes ¶
type AuthorizeDeviceRes interface {
// contains filtered or unexported methods
}
type AuthorizeGetFound ¶
type AuthorizeGetFound struct{}
AuthorizeGetFound is response for AuthorizeGet operation.
type AuthorizeGetParams ¶
type AuthorizeGetParams struct {
// A space delimited list of Authentication Class References. This can be
// used to specify certain authentication methods or level of assurance
// that is required for the authentication. For example, you could use
// this to require multi-factor authentication.
AcrValues OptString `json:",omitempty,omitzero"`
// The client ID of the application that is requesting authorization.
// This is a required parameter and must match the client ID of a
// registered application.
ClientID string
// The code challenge is a cryptographic string used in the PKCE (Proof
// Key for Code Exchange) flow to enhance security.
CodeChallenge OptString `json:",omitempty,omitzero"`
// The code challenge method is used in conjunction with the code challenge
// in the PKCE flow. It specifies the method used to generate the code
// challenge. Common values are "S256" for SHA-256 hashing and "plain"
// for no hashing.
CodeChallengeMethod OptString `json:",omitempty,omitzero"`
// The display parameter is used to specify how the authorization server
// should display the authentication and consent user interface. Common
// values include "page" for a full-page display, "popup" for a popup
// window, and "touch" for a mobile-optimized display.
Display OptString `json:",omitempty,omitzero"`
// The ID token hint is a previously issued ID token that can be used to
// pre-fill the authentication form or to provide information about the
// user to the authorization server. This can be useful for single sign-on
// scenarios or for providing a smoother user experience.
IDTokenHint OptString `json:",omitempty,omitzero"`
// The login hint is a hint to the authorization server about the login
// identifier of the user. This can be used to pre-fill the username or
// email field in the authentication form, making it easier for the user
// to log in.
LoginHint OptString `json:",omitempty,omitzero"`
// The max age parameter specifies the maximum amount of time in seconds
// that has passed since the user last authenticated. If the user has not
// authenticated within this time frame, they will be required to re-authenticate.
MaxAge OptInt `json:",omitempty,omitzero"`
// The nonce parameter is a random string that is used to associate a client
// session with an ID token and to mitigate replay attacks. The authorization
// server should include this value in the ID token that it issues, and the
// client should verify that the value in the ID token matches the value it
// sent in the authorization request.
Nonce OptString `json:",omitempty,omitzero"`
// The prompt parameter is used to specify whether the authorization server
// should prompt the user for re-authentication and consent. Common values
// include "none" for no prompts, "login" to prompt for re-authentication,
// "consent" to prompt for user consent, and "select_account" to prompt
// the user to select an account if they are logged in with multiple accounts.
Prompt OptString `json:",omitempty,omitzero"`
// The redirect URI is the URI to which the authorization server will redirect
// the user after they have authorized or denied the request. This must match
// one of the redirect URIs registered for the client application.
RedirectURI OptString `json:",omitempty,omitzero"`
// The response mode parameter specifies how the authorization server should
// return the authorization response. Common values include "query" to return
// parameters in the query string, "fragment" to return parameters in the URL
// fragment, and "form_post" to return parameters in an HTTP POST request.
ResponseMode OptString `json:",omitempty,omitzero"`
// The response type parameter specifies the type of response that the client
// is expecting from the authorization server. Common values include "code"
// for the authorization code flow, "token" for the implicit flow, and "id_token"
// for OpenID Connect authentication.
ResponseType string
// The scope parameter is used to specify the permissions that the client is
// requesting from the user. This is a space-delimited list of scope values,
// and the authorization server will use this information to determine what
// access to grant to the client application.
Scope OptString `json:",omitempty,omitzero"`
// The state parameter is a random string that is used to maintain state between
// the authorization request and the callback. It is used to prevent cross-site
// request forgery (CSRF) attacks by ensuring that the response received from the
// authorization server corresponds to the request that was sent.
State OptString `json:",omitempty,omitzero"`
// The ui_locales parameter is used to specify the preferred languages and scripts
// for the user interface that the authorization server should display. This is a
// space-delimited list of BCP47 language tag values, and it can be used to provide
// a localized user experience for users from different regions and language
// preferences.
UILocales OptString `json:",omitempty,omitzero"`
}
AuthorizeGetParams is parameters of authorizeGet operation.
type AuthorizeGetRes ¶
type AuthorizeGetRes interface {
// contains filtered or unexported methods
}
type Branding ¶
type Branding struct {
// Layout preset selector. The default.liquid master template uses this
// to branch into layout variants. Customers who eject the template
// can ignore this field entirely.
Layout OptBrandingLayout `json:"layout"`
// The LiquidJS template string for rendering this step. The orchestrator
// parses this template, injects the capability dictionaries as context,
// and renders the output HTML into its Shadow DOM.
LiquidTemplate OptString `json:"liquid_template"`
// Team logo URL.
LogoURL OptURI `json:"logo_url"`
// Custom font URL (e.g., Google Fonts CSS).
FontURL OptURI `json:"font_url"`
// Hero/background image URL (used by split layout).
HeroURL OptURI `json:"hero_url"`
}
Resolved branding configuration. Inherited from the app → team → project hierarchy at flow creation time (most specific wins). Read-only projection — branding is configured via the Team/App Branding API, not the Flow API. Ref: #
func (*Branding) GetFontURL ¶
GetFontURL returns the value of FontURL.
func (*Branding) GetHeroURL ¶
GetHeroURL returns the value of HeroURL.
func (*Branding) GetLayout ¶
func (s *Branding) GetLayout() OptBrandingLayout
GetLayout returns the value of Layout.
func (*Branding) GetLiquidTemplate ¶
GetLiquidTemplate returns the value of LiquidTemplate.
func (*Branding) GetLogoURL ¶
GetLogoURL returns the value of LogoURL.
func (*Branding) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Branding) SetFontURL ¶
SetFontURL sets the value of FontURL.
func (*Branding) SetHeroURL ¶
SetHeroURL sets the value of HeroURL.
func (*Branding) SetLayout ¶
func (s *Branding) SetLayout(val OptBrandingLayout)
SetLayout sets the value of Layout.
func (*Branding) SetLiquidTemplate ¶
SetLiquidTemplate sets the value of LiquidTemplate.
func (*Branding) SetLogoURL ¶
SetLogoURL sets the value of LogoURL.
func (*Branding) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type BrandingLayout ¶
type BrandingLayout string
Layout preset selector. The default.liquid master template uses this to branch into layout variants. Customers who eject the template can ignore this field entirely.
const ( BrandingLayoutCentered BrandingLayout = "centered" BrandingLayoutSplit BrandingLayout = "split" )
func (BrandingLayout) AllValues ¶
func (BrandingLayout) AllValues() []BrandingLayout
AllValues returns all BrandingLayout values.
func (*BrandingLayout) Decode ¶
func (s *BrandingLayout) Decode(d *jx.Decoder) error
Decode decodes BrandingLayout from json.
func (BrandingLayout) Encode ¶
func (s BrandingLayout) Encode(e *jx.Encoder)
Encode encodes BrandingLayout as json.
func (BrandingLayout) MarshalJSON ¶
func (s BrandingLayout) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BrandingLayout) MarshalText ¶
func (s BrandingLayout) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BrandingLayout) UnmarshalJSON ¶
func (s *BrandingLayout) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BrandingLayout) UnmarshalText ¶
func (s *BrandingLayout) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BrandingLayout) Validate ¶
func (s BrandingLayout) Validate() error
type ChallengeID ¶
type ChallengeID string
func (*ChallengeID) Decode ¶
func (s *ChallengeID) Decode(d *jx.Decoder) error
Decode decodes ChallengeID from json.
func (ChallengeID) Encode ¶
func (s ChallengeID) Encode(e *jx.Encoder)
Encode encodes ChallengeID as json.
func (ChallengeID) MarshalJSON ¶
func (s ChallengeID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ChallengeID) UnmarshalJSON ¶
func (s *ChallengeID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ChallengeID) Validate ¶
func (s ChallengeID) Validate() error
type ChallengeNonce ¶
type ChallengeNonce string
func (*ChallengeNonce) Decode ¶
func (s *ChallengeNonce) Decode(d *jx.Decoder) error
Decode decodes ChallengeNonce from json.
func (ChallengeNonce) Encode ¶
func (s ChallengeNonce) Encode(e *jx.Encoder)
Encode encodes ChallengeNonce as json.
func (ChallengeNonce) MarshalJSON ¶
func (s ChallengeNonce) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ChallengeNonce) UnmarshalJSON ¶
func (s *ChallengeNonce) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ChallengeResponse ¶
type ChallengeResponse struct {
ChallengeID ChallengeID `json:"challenge_id"`
// The authentication method this challenge represents.
// Determines which proof is expected in verify.
Method FactorMethod `json:"method"`
// Current state of this challenge:
// - `pending`: awaiting proof submission
// - `failed`: proof rejected (invalid credential, wrong code, etc.)
// - `expired`: challenge TTL exceeded without verification.
State ChallengeResponseState `json:"state"`
// When this challenge was issued.
CreatedAt time.Time `json:"created_at"`
// When this challenge expires.
ExpiresAt OptNilDateTime `json:"expires_at"`
// Method-specific challenge data. Structure depends on the `method` field.
// - `identifier`, `password`: null (no additional data needed)
// - `passkey`: WebAuthn challenge and credential options
// - `idp`: Authorization URL and provider information.
Payload OptChallengeResponsePayload `json:"payload"`
}
A factor challenge issued within an authentication attempt. A challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.). The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify. Ref: #
func (*ChallengeResponse) Decode ¶
func (s *ChallengeResponse) Decode(d *jx.Decoder) error
Decode decodes ChallengeResponse from json.
func (*ChallengeResponse) Encode ¶
func (s *ChallengeResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ChallengeResponse) GetChallengeID ¶
func (s *ChallengeResponse) GetChallengeID() ChallengeID
GetChallengeID returns the value of ChallengeID.
func (*ChallengeResponse) GetCreatedAt ¶
func (s *ChallengeResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*ChallengeResponse) GetExpiresAt ¶
func (s *ChallengeResponse) GetExpiresAt() OptNilDateTime
GetExpiresAt returns the value of ExpiresAt.
func (*ChallengeResponse) GetMethod ¶
func (s *ChallengeResponse) GetMethod() FactorMethod
GetMethod returns the value of Method.
func (*ChallengeResponse) GetPayload ¶
func (s *ChallengeResponse) GetPayload() OptChallengeResponsePayload
GetPayload returns the value of Payload.
func (*ChallengeResponse) GetState ¶
func (s *ChallengeResponse) GetState() ChallengeResponseState
GetState returns the value of State.
func (*ChallengeResponse) MarshalJSON ¶
func (s *ChallengeResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ChallengeResponse) SetChallengeID ¶
func (s *ChallengeResponse) SetChallengeID(val ChallengeID)
SetChallengeID sets the value of ChallengeID.
func (*ChallengeResponse) SetCreatedAt ¶
func (s *ChallengeResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*ChallengeResponse) SetExpiresAt ¶
func (s *ChallengeResponse) SetExpiresAt(val OptNilDateTime)
SetExpiresAt sets the value of ExpiresAt.
func (*ChallengeResponse) SetMethod ¶
func (s *ChallengeResponse) SetMethod(val FactorMethod)
SetMethod sets the value of Method.
func (*ChallengeResponse) SetPayload ¶
func (s *ChallengeResponse) SetPayload(val OptChallengeResponsePayload)
SetPayload sets the value of Payload.
func (*ChallengeResponse) SetState ¶
func (s *ChallengeResponse) SetState(val ChallengeResponseState)
SetState sets the value of State.
func (*ChallengeResponse) UnmarshalJSON ¶
func (s *ChallengeResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ChallengeResponse) Validate ¶
func (s *ChallengeResponse) Validate() error
type ChallengeResponsePayload ¶
type ChallengeResponsePayload struct {
Type ChallengeResponsePayloadType // switch on this field
IdentifierChallengePayload IdentifierChallengePayload
PasswordChallengePayload PasswordChallengePayload
PasskeyChallengePayload PasskeyChallengePayload
}
Method-specific challenge data. Structure depends on the `method` field. - `identifier`, `password`: null (no additional data needed) - `passkey`: WebAuthn challenge and credential options - `idp`: Authorization URL and provider information. ChallengeResponsePayload represents sum type.
func NewIdentifierChallengePayloadChallengeResponsePayload ¶
func NewIdentifierChallengePayloadChallengeResponsePayload(v IdentifierChallengePayload) ChallengeResponsePayload
NewIdentifierChallengePayloadChallengeResponsePayload returns new ChallengeResponsePayload from IdentifierChallengePayload.
func NewPasskeyChallengePayloadChallengeResponsePayload ¶
func NewPasskeyChallengePayloadChallengeResponsePayload(v PasskeyChallengePayload) ChallengeResponsePayload
NewPasskeyChallengePayloadChallengeResponsePayload returns new ChallengeResponsePayload from PasskeyChallengePayload.
func NewPasswordChallengePayloadChallengeResponsePayload ¶
func NewPasswordChallengePayloadChallengeResponsePayload(v PasswordChallengePayload) ChallengeResponsePayload
NewPasswordChallengePayloadChallengeResponsePayload returns new ChallengeResponsePayload from PasswordChallengePayload.
func (*ChallengeResponsePayload) Decode ¶
func (s *ChallengeResponsePayload) Decode(d *jx.Decoder) error
Decode decodes ChallengeResponsePayload from json.
func (ChallengeResponsePayload) Encode ¶
func (s ChallengeResponsePayload) Encode(e *jx.Encoder)
Encode encodes ChallengeResponsePayload as json.
func (ChallengeResponsePayload) GetIdentifierChallengePayload ¶
func (s ChallengeResponsePayload) GetIdentifierChallengePayload() (v IdentifierChallengePayload, ok bool)
GetIdentifierChallengePayload returns IdentifierChallengePayload and true boolean if ChallengeResponsePayload is IdentifierChallengePayload.
func (ChallengeResponsePayload) GetPasskeyChallengePayload ¶
func (s ChallengeResponsePayload) GetPasskeyChallengePayload() (v PasskeyChallengePayload, ok bool)
GetPasskeyChallengePayload returns PasskeyChallengePayload and true boolean if ChallengeResponsePayload is PasskeyChallengePayload.
func (ChallengeResponsePayload) GetPasswordChallengePayload ¶
func (s ChallengeResponsePayload) GetPasswordChallengePayload() (v PasswordChallengePayload, ok bool)
GetPasswordChallengePayload returns PasswordChallengePayload and true boolean if ChallengeResponsePayload is PasswordChallengePayload.
func (ChallengeResponsePayload) IsIdentifierChallengePayload ¶
func (s ChallengeResponsePayload) IsIdentifierChallengePayload() bool
IsIdentifierChallengePayload reports whether ChallengeResponsePayload is IdentifierChallengePayload.
func (ChallengeResponsePayload) IsPasskeyChallengePayload ¶
func (s ChallengeResponsePayload) IsPasskeyChallengePayload() bool
IsPasskeyChallengePayload reports whether ChallengeResponsePayload is PasskeyChallengePayload.
func (ChallengeResponsePayload) IsPasswordChallengePayload ¶
func (s ChallengeResponsePayload) IsPasswordChallengePayload() bool
IsPasswordChallengePayload reports whether ChallengeResponsePayload is PasswordChallengePayload.
func (ChallengeResponsePayload) MarshalJSON ¶
func (s ChallengeResponsePayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ChallengeResponsePayload) SetIdentifierChallengePayload ¶
func (s *ChallengeResponsePayload) SetIdentifierChallengePayload(v IdentifierChallengePayload)
SetIdentifierChallengePayload sets ChallengeResponsePayload to IdentifierChallengePayload.
func (*ChallengeResponsePayload) SetPasskeyChallengePayload ¶
func (s *ChallengeResponsePayload) SetPasskeyChallengePayload(v PasskeyChallengePayload)
SetPasskeyChallengePayload sets ChallengeResponsePayload to PasskeyChallengePayload.
func (*ChallengeResponsePayload) SetPasswordChallengePayload ¶
func (s *ChallengeResponsePayload) SetPasswordChallengePayload(v PasswordChallengePayload)
SetPasswordChallengePayload sets ChallengeResponsePayload to PasswordChallengePayload.
func (*ChallengeResponsePayload) UnmarshalJSON ¶
func (s *ChallengeResponsePayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ChallengeResponsePayload) Validate ¶
func (s ChallengeResponsePayload) Validate() error
type ChallengeResponsePayloadType ¶
type ChallengeResponsePayloadType string
ChallengeResponsePayloadType is oneOf type of ChallengeResponsePayload.
const ( IdentifierChallengePayloadChallengeResponsePayload ChallengeResponsePayloadType = "identifier" PasswordChallengePayloadChallengeResponsePayload ChallengeResponsePayloadType = "password" PasskeyChallengePayloadChallengeResponsePayload ChallengeResponsePayloadType = "passkey" )
Possible values for ChallengeResponsePayloadType.
type ChallengeResponseState ¶
type ChallengeResponseState string
Current state of this challenge: - `pending`: awaiting proof submission - `failed`: proof rejected (invalid credential, wrong code, etc.) - `expired`: challenge TTL exceeded without verification.
const ( ChallengeResponseStatePending ChallengeResponseState = "pending" ChallengeResponseStateFailed ChallengeResponseState = "failed" ChallengeResponseStateExpired ChallengeResponseState = "expired" )
func (ChallengeResponseState) AllValues ¶
func (ChallengeResponseState) AllValues() []ChallengeResponseState
AllValues returns all ChallengeResponseState values.
func (*ChallengeResponseState) Decode ¶
func (s *ChallengeResponseState) Decode(d *jx.Decoder) error
Decode decodes ChallengeResponseState from json.
func (ChallengeResponseState) Encode ¶
func (s ChallengeResponseState) Encode(e *jx.Encoder)
Encode encodes ChallengeResponseState as json.
func (ChallengeResponseState) MarshalJSON ¶
func (s ChallengeResponseState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ChallengeResponseState) MarshalText ¶
func (s ChallengeResponseState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ChallengeResponseState) UnmarshalJSON ¶
func (s *ChallengeResponseState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ChallengeResponseState) UnmarshalText ¶
func (s *ChallengeResponseState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ChallengeResponseState) Validate ¶
func (s ChallengeResponseState) Validate() error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) ActivateFlowDefinition ¶
func (c *Client) ActivateFlowDefinition(ctx context.Context, params ActivateFlowDefinitionParams) (ActivateFlowDefinitionRes, error)
ActivateFlowDefinition invokes activateFlowDefinition operation.
Activate a flow definition by transitioning it from a `draft` state to an `active` state. Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
POST /flow_definitions/{id}/activate
func (*Client) AuthorizeDevice ¶
func (c *Client) AuthorizeDevice(ctx context.Context, params AuthorizeDeviceParams) (AuthorizeDeviceRes, error)
AuthorizeDevice invokes authorizeDevice operation.
Authorize a device.
GET /auth/device-authorization
func (*Client) AuthorizeGet ¶
func (c *Client) AuthorizeGet(ctx context.Context, params AuthorizeGetParams) (AuthorizeGetRes, error)
AuthorizeGet invokes authorizeGet operation.
Authorize a user.
GET /auth/authorize
func (*Client) CreateAuthAttempt ¶
func (c *Client) CreateAuthAttempt(ctx context.Context, request *CreateAuthAttemptRequest) (CreateAuthAttemptRes, error)
CreateAuthAttempt invokes createAuthAttempt operation.
Starts a new authentication attempt. This is the entry point for the auth_attempts state machine. An attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round. It accepts factor challenges, verifies proofs, and completes into a session or handoff token. Accepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth, also include session_id to add factors to an existing session.
POST /auth_attempts
func (*Client) CreateFlow ¶
func (c *Client) CreateFlow(ctx context.Context, request *CreateFlowRequest) (CreateFlowRes, error)
CreateFlow invokes createFlow operation.
Resolves a flow definition based on purpose + audience context and returns the first capability step. Creates a new session implicitly unless `session_id` is provided (for step-up / reauth on an existing session). The response contains an `id` field — the flow handle. Use it as the path parameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls. The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing the flow's orchestration state (current step, collected data, history). The server is stateless between requests — all flow state lives in this cookie. The browser sends it automatically on subsequent requests.
POST /flow
func (*Client) CreateFlowDefinition ¶
func (c *Client) CreateFlowDefinition(ctx context.Context, request *CreateFlowDefinitionRequest) (CreateFlowDefinitionRes, error)
CreateFlowDefinition invokes createFlowDefinition operation.
Creates a new flow definition. Flow definitions are templates that define the sequence of steps (capabilities) for a particular user journey (e.g., registration, login, password reset). Flow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.
POST /flow_definitions
func (*Client) CreateHandoff ¶
func (c *Client) CreateHandoff(ctx context.Context, params CreateHandoffParams) (CreateHandoffRes, error)
CreateHandoff invokes createHandoff operation.
Completes the authentication attempt and mints a `handoff_token`. Call this after all required factors have been verified and the attempt is in `completed` state. The handoff token is short-lived (≤60 seconds) and must be exchanged at POST /sessions/exchange to receive the final session and session_token. The handoff token is: - Single-use (atomic exchange, no retry) - Audience-bound (requires matching project key for exchange) - Idempotency-safe within a 5-minute window (see conventions).
POST /auth_attempts/{attempt_id}/handoff
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, request *CreateProjectRequest) (CreateProjectRes, error)
CreateProject invokes createProject operation.
Create project.
POST /projects
func (*Client) CreateSchema ¶
func (c *Client) CreateSchema(ctx context.Context, request CreateSchemaReq, params CreateSchemaParams) (CreateSchemaRes, error)
CreateSchema invokes createSchema operation.
Create a new schema. The schema definition must include a unique $id field, which will be used to identify the schema in future requests. The $id must be a valid URI and should ideally point to the location where the schema can be accessed. The schema can either be a concrete schema, e.g. a user schema, or a schema-url which will be resolved by the server.
POST /schemas
func (*Client) CreateSession ¶
func (c *Client) CreateSession(ctx context.Context, request *CreateSessionRequest) (CreateSessionRes, error)
CreateSession invokes createSession operation.
Creates an anonymous session shell with no user and no factors (`state: building`). This is optional — an `auth_attempt` will create a session implicitly if none is provided. Use this explicitly when you want to: - Pre-allocate a `session_id` before the user is known, so device/telemetry signals can be correlated with the eventual authenticated session from the start. - Track anonymous state (bot detection, device fingerprint) that survives until authentication. The returned `session_token` authorises GET and DELETE on this session. It is superseded when a handoff exchange completes — clients must replace it at that point. Anonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured full session TTL when the first authentication factor is written via a completing `auth_attempt`.
POST /sessions
func (*Client) CreateTeam ¶
func (c *Client) CreateTeam(ctx context.Context, request *CreateTeamRequest, params CreateTeamParams) (CreateTeamRes, error)
CreateTeam invokes createTeam operation.
Create team.
POST /teams
func (*Client) CreateUser ¶
func (c *Client) CreateUser(ctx context.Context, request *User, params CreateUserParams) (CreateUserRes, error)
CreateUser invokes createUser operation.
Create user.
POST /users
func (*Client) DeactivateFlowDefinition ¶
func (c *Client) DeactivateFlowDefinition(ctx context.Context, params DeactivateFlowDefinitionParams) (DeactivateFlowDefinitionRes, error)
DeactivateFlowDefinition invokes deactivateFlowDefinition operation.
Deactivates a flow definition in the `active` state by transitioning it to the `draft` state. Flow definitions in `draft` state cannot be used to start new flows. Existing flows that use the deactivated flow definition must gracefully handle this. Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
POST /flow_definitions/{id}/deactivate
func (*Client) DeleteFlowDefinition ¶
func (c *Client) DeleteFlowDefinition(ctx context.Context, params DeleteFlowDefinitionParams) (DeleteFlowDefinitionRes, error)
DeleteFlowDefinition invokes deleteFlowDefinition operation.
Delete a flow definition by id. If the flow definition is currently being used by a flow, the deletion will fail. If the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.
DELETE /flow_definitions/{id}
func (*Client) EndSession ¶
func (c *Client) EndSession(ctx context.Context, params EndSessionParams) (EndSessionRes, error)
EndSession invokes endSession operation.
End a session.
GET /auth/end-session
func (*Client) ExchangeHandoff ¶
func (c *Client) ExchangeHandoff(ctx context.Context, request *ExchangeRequest, params ExchangeHandoffParams) (ExchangeHandoffRes, error)
ExchangeHandoff invokes exchangeHandoff operation.
Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff` and returns the resulting session and a `session_token`. The server resolves the originating `auth_attempt` from the token and then: | Originating auth_attempt | Outcome | |---|---| | No `session_id` | A new authenticated session is **created**. | | `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. | | `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. | The response shape is identical in all three cases. The `session_token` supersedes any previously issued `session_token` for the same session. Clients must replace their stored token at this point. Requires a project service key (OAuth2 client credentials).
POST /sessions/exchange
func (*Client) GetAuthAttempt ¶
func (c *Client) GetAuthAttempt(ctx context.Context, params GetAuthAttemptParams) (GetAuthAttemptRes, error)
GetAuthAttempt invokes getAuthAttempt operation.
Polls the current state of an authentication attempt. Returns the attempt's state, available factors for the next challenge, challenges issued so far, and any errors preventing progress. Use this for polling during long-running factor verifications (e.g., waiting for a federated IdP callback or a device flow).
GET /auth_attempts/{attempt_id}
func (*Client) GetFlowDefinition ¶
func (c *Client) GetFlowDefinition(ctx context.Context, params GetFlowDefinitionParams) (GetFlowDefinitionRes, error)
GetFlowDefinition invokes getFlowDefinition operation.
Get a flow definition by id.
GET /flow_definitions/{id}
func (*Client) GetFlowStep ¶
func (c *Client) GetFlowStep(ctx context.Context, params GetFlowStepParams) (GetFlowStepRes, error)
GetFlowStep invokes getFlowStep operation.
Returns the current capability step without advancing the state machine. Useful for page reloads or re-rendering after a network error.
GET /flow/{id}
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context) (GetHealthRes, error)
GetHealth invokes getHealth operation.
Check whether the server is healthy.
GET /healthz
func (*Client) GetKeys ¶
func (c *Client) GetKeys(ctx context.Context) (GetKeysRes, error)
GetKeys invokes getKeys operation.
Get public keys.
GET /auth/keys
func (*Client) GetLive ¶
func (c *Client) GetLive(ctx context.Context) (GetLiveRes, error)
GetLive invokes getLive operation.
Check whether the server is started.
GET /livez
func (*Client) GetMySession ¶
func (c *Client) GetMySession(ctx context.Context, params GetMySessionParams) (GetMySessionRes, error)
GetMySession invokes getMySession operation.
Returns the current state of the current session including its factors and all currently satisfied assurance levels. `assurance_levels[]` may shrink over time as factor freshness windows expire, without the session itself expiring. Use step-up authentication (a new `auth_attempt` against the same `session_id`) to restore a dropped assurance level.
GET /sessions/me
func (*Client) GetMyUser ¶
func (c *Client) GetMyUser(ctx context.Context, params GetMyUserParams) (GetMyUserRes, error)
GetMyUser invokes getMyUser operation.
Get my user information.
GET /users/me
func (*Client) GetOpenIDConfiguration ¶
func (c *Client) GetOpenIDConfiguration(ctx context.Context) (GetOpenIDConfigurationRes, error)
GetOpenIDConfiguration invokes getOpenIDConfiguration operation.
Retrieve the OpenID Connect configuration.
GET /.well-known/openid-configuration
func (*Client) GetProject ¶
func (c *Client) GetProject(ctx context.Context, params GetProjectParams) (GetProjectRes, error)
GetProject invokes getProject operation.
Returns the current state of a project.
GET /projects/{project_id}
func (*Client) GetReady ¶
func (c *Client) GetReady(ctx context.Context) (GetReadyRes, error)
GetReady invokes getReady operation.
Check whether the server is ready to accept requests.
GET /readyz
func (*Client) GetSchemaById ¶
func (c *Client) GetSchemaById(ctx context.Context, params GetSchemaByIdParams) (GetSchemaByIdRes, error)
GetSchemaById invokes getSchemaById operation.
Get a schema by its ID. This will return the default revision of the schema.
GET /schemas/{id}
func (*Client) GetSession ¶
func (c *Client) GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)
GetSession invokes getSession operation.
Returns the current state of a session including its factors and all currently satisfied assurance levels. `assurance_levels[]` may shrink over time as factor freshness windows expire, without the session itself expiring. Use step-up authentication (a new `auth_attempt` against the same `session_id`) to restore a dropped assurance level.
GET /sessions/{session_id}
func (*Client) GetTeam ¶
func (c *Client) GetTeam(ctx context.Context, params GetTeamParams) (GetTeamRes, error)
GetTeam invokes getTeam operation.
Returns the current state of a team.
GET /teams/{team_id}
func (*Client) GetToken ¶
func (c *Client) GetToken(ctx context.Context, request *PostTokenRequest) (GetTokenRes, error)
GetToken invokes getToken operation.
Get access token.
POST /auth/token
func (*Client) GetUserByID ¶
func (c *Client) GetUserByID(ctx context.Context, params GetUserByIDParams) (GetUserByIDRes, error)
GetUserByID invokes GetUserByID operation.
Get user by ID.
GET /users/{user_id}
func (*Client) GetUserInfo ¶
func (c *Client) GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
GetUserInfo invokes getUserInfo operation.
Get user info.
GET /auth/userinfo
func (*Client) Introspect ¶
func (c *Client) Introspect(ctx context.Context, request *IntrospectRequest) (IntrospectRes, error)
Introspect invokes introspect operation.
Introspect a token.
POST /auth/introspect
func (*Client) IssueChallenge ¶
func (c *Client) IssueChallenge(ctx context.Context, request *IssueChallengeRequest, params IssueChallengeParams) (IssueChallengeRes, error)
IssueChallenge invokes issueChallenge operation.
Issues a single-factor verification challenge within an auth attempt. This advances the authentication state machine by requesting a specific factor method (password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details including method, metadata, and any UI hints. The client then verifies the proof by calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
POST /auth_attempts/{attempt_id}/challenges
func (*Client) ListFlowDefinitions ¶
func (c *Client) ListFlowDefinitions(ctx context.Context, params ListFlowDefinitionsParams) (ListFlowDefinitionsRes, error)
ListFlowDefinitions invokes listFlowDefinitions operation.
Retrieves a list of all flow definitions. This endpoint can be used to view existing flow definitions and their configurations.
GET /flow_definitions
func (*Client) ListSessions ¶
func (c *Client) ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)
ListSessions invokes listSessions operation.
Returns a paginated list of sessions for a project. Requires a project service key (OAuth2 client credentials).
GET /sessions
func (*Client) ListUsers ¶
func (c *Client) ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)
ListUsers invokes listUsers operation.
List users.
GET /users
func (*Client) RevokeMySession ¶
func (c *Client) RevokeMySession(ctx context.Context, params RevokeMySessionParams) (RevokeMySessionRes, error)
RevokeMySession invokes revokeMySession operation.
Revokes the session immediately (`state: revoked`). This is the logout operation. The __nextgen_session cookie issued at creation (or superseded by a handoff exchange) is required. After revocation, any tokens derived from this session are invalidated including the cookie itself,
which is cleared in the response.
DELETE /sessions/me
func (*Client) RevokeSession ¶
func (c *Client) RevokeSession(ctx context.Context, params RevokeSessionParams) (RevokeSessionRes, error)
RevokeSession invokes revokeSession operation.
Revokes the session immediately (`state: revoked`). This is the logout operation. The session_token issued at creation (or superseded by a handoff exchange) is required. After revocation, any tokens derived from this session are invalidated.
DELETE /sessions/{session_id}
func (*Client) RevokeToken ¶
func (c *Client) RevokeToken(ctx context.Context, request *RevokeRequest) (RevokeTokenRes, error)
RevokeToken invokes revokeToken operation.
Revoke an access token or refresh token.
POST /auth/revoke
func (*Client) SetUserPassword ¶
func (c *Client) SetUserPassword(ctx context.Context, request *SetUserPasswordRequest, params SetUserPasswordParams) (SetUserPasswordRes, error)
SetUserPassword invokes setUserPassword operation.
Set user password.
PUT /users/{user_id}/password
func (*Client) SubmitFlowEvent ¶
func (c *Client) SubmitFlowEvent(ctx context.Context, request *FlowEventRequest, params SubmitFlowEventParams) (SubmitFlowEventRes, error)
SubmitFlowEvent invokes submitFlowEvent operation.
Submits telemetry or fingerprint data from the frontend. Does not advance the state machine. Used for risk evaluation.
POST /flow/{id}/event
func (*Client) SubmitFlowStep ¶
func (c *Client) SubmitFlowStep(ctx context.Context, request *FlowSubmitRequest, params SubmitFlowStepParams) (SubmitFlowStepRes, error)
SubmitFlowStep invokes submitFlowStep operation.
Submits user input for the current step. The server validates, processes (e.g., verifies a credential), advances the state machine through any invisible steps, and returns the next visible step. The response sets an updated encrypted `HttpOnly` cookie (`_zflow`) with the new flow state. The server is stateless — all orchestration state is carried in this cookie between requests. **Important:** The `id` in the response may differ from the `id` used in the request. This happens when a flow pivots (pushes a new flow onto the stack) or when a stacked flow completes (auto-pops to the parent flow). Always use the `id` from the latest response for the next request. ## Flow completion When `step.type` is `complete`, the flow is terminal. The `step.behavior` field tells the frontend what to do: | `behavior` | Action | |------------- |------------------------------------------------------------| | `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). | | `show` | Render the step as a success screen (e.g., registration). | A `complete` step is only returned when the **entire flow stack** is done. If a stacked flow (e.g., recovery pivoted from login) finishes, the server auto-pops to the parent flow and returns the parent's next step — the frontend never sees a `complete` for intermediate flows.
POST /flow/{id}/submit
func (*Client) UpdateFlowDefinition ¶
func (c *Client) UpdateFlowDefinition(ctx context.Context, request *FlowDefinitionUpdateRequest, params UpdateFlowDefinitionParams) (UpdateFlowDefinitionRes, error)
UpdateFlowDefinition invokes updateFlowDefinition operation.
Update a flow definition by id. This endpoint replaces the existing flow definition. If `flow_definition.status` is omitted, the current status is preserved.
PUT /flow_definitions/{id}
func (*Client) VerifyChallengeProof ¶
func (c *Client) VerifyChallengeProof(ctx context.Context, request *VerifyChallengeRequest, params VerifyChallengeProofParams) (VerifyChallengeProofRes, error)
VerifyChallengeProof invokes verifyChallengeProof operation.
Submits a proof (credential, code, assertion) to verify a factor challenge. The proof format depends on the challenge method. For example: - `password` method: { password: "…" } - `totp` method: { totp: { code: "123456" } } - `passkey` method: { passkey: { assertion: "…" } } - `recovery_code` method: { recovery_code: "…" } On successful verification, the factor is written to the auth attempt. The attempt moves to the next pending challenge or completes if all required factors are verified.
POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type CompletedFactor ¶
type CompletedFactor struct {
// The authentication method that was verified.
Method FactorMethod `json:"method"`
// When this factor was successfully verified.
VerifiedAt time.Time `json:"verified_at"`
// Method-specific factor metadata. Structure depends on the `method` field.
// - `identifier`: includes user_id
// - `password`: no additional data
// - `passkey`: includes credential details and verification flags.
Payload OptCompletedFactorPayload `json:"payload"`
}
A successfully verified authentication factor with verification metadata. Method-specific details are included in the `payload` field. Ref: #
func (*CompletedFactor) Decode ¶
func (s *CompletedFactor) Decode(d *jx.Decoder) error
Decode decodes CompletedFactor from json.
func (*CompletedFactor) Encode ¶
func (s *CompletedFactor) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompletedFactor) GetMethod ¶
func (s *CompletedFactor) GetMethod() FactorMethod
GetMethod returns the value of Method.
func (*CompletedFactor) GetPayload ¶
func (s *CompletedFactor) GetPayload() OptCompletedFactorPayload
GetPayload returns the value of Payload.
func (*CompletedFactor) GetVerifiedAt ¶
func (s *CompletedFactor) GetVerifiedAt() time.Time
GetVerifiedAt returns the value of VerifiedAt.
func (*CompletedFactor) MarshalJSON ¶
func (s *CompletedFactor) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletedFactor) SetMethod ¶
func (s *CompletedFactor) SetMethod(val FactorMethod)
SetMethod sets the value of Method.
func (*CompletedFactor) SetPayload ¶
func (s *CompletedFactor) SetPayload(val OptCompletedFactorPayload)
SetPayload sets the value of Payload.
func (*CompletedFactor) SetVerifiedAt ¶
func (s *CompletedFactor) SetVerifiedAt(val time.Time)
SetVerifiedAt sets the value of VerifiedAt.
func (*CompletedFactor) UnmarshalJSON ¶
func (s *CompletedFactor) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CompletedFactor) Validate ¶
func (s *CompletedFactor) Validate() error
type CompletedFactorPayload ¶
type CompletedFactorPayload struct {
Type CompletedFactorPayloadType // switch on this field
IdentifierFactorPayload IdentifierFactorPayload
PasswordFactorPayload PasswordFactorPayload
PasskeyFactorPayload PasskeyFactorPayload
}
Method-specific factor metadata. Structure depends on the `method` field. - `identifier`: includes user_id - `password`: no additional data - `passkey`: includes credential details and verification flags. CompletedFactorPayload represents sum type.
func NewIdentifierFactorPayloadCompletedFactorPayload ¶
func NewIdentifierFactorPayloadCompletedFactorPayload(v IdentifierFactorPayload) CompletedFactorPayload
NewIdentifierFactorPayloadCompletedFactorPayload returns new CompletedFactorPayload from IdentifierFactorPayload.
func NewPasskeyFactorPayloadCompletedFactorPayload ¶
func NewPasskeyFactorPayloadCompletedFactorPayload(v PasskeyFactorPayload) CompletedFactorPayload
NewPasskeyFactorPayloadCompletedFactorPayload returns new CompletedFactorPayload from PasskeyFactorPayload.
func NewPasswordFactorPayloadCompletedFactorPayload ¶
func NewPasswordFactorPayloadCompletedFactorPayload(v PasswordFactorPayload) CompletedFactorPayload
NewPasswordFactorPayloadCompletedFactorPayload returns new CompletedFactorPayload from PasswordFactorPayload.
func (*CompletedFactorPayload) Decode ¶
func (s *CompletedFactorPayload) Decode(d *jx.Decoder) error
Decode decodes CompletedFactorPayload from json.
func (CompletedFactorPayload) Encode ¶
func (s CompletedFactorPayload) Encode(e *jx.Encoder)
Encode encodes CompletedFactorPayload as json.
func (CompletedFactorPayload) GetIdentifierFactorPayload ¶
func (s CompletedFactorPayload) GetIdentifierFactorPayload() (v IdentifierFactorPayload, ok bool)
GetIdentifierFactorPayload returns IdentifierFactorPayload and true boolean if CompletedFactorPayload is IdentifierFactorPayload.
func (CompletedFactorPayload) GetPasskeyFactorPayload ¶
func (s CompletedFactorPayload) GetPasskeyFactorPayload() (v PasskeyFactorPayload, ok bool)
GetPasskeyFactorPayload returns PasskeyFactorPayload and true boolean if CompletedFactorPayload is PasskeyFactorPayload.
func (CompletedFactorPayload) GetPasswordFactorPayload ¶
func (s CompletedFactorPayload) GetPasswordFactorPayload() (v PasswordFactorPayload, ok bool)
GetPasswordFactorPayload returns PasswordFactorPayload and true boolean if CompletedFactorPayload is PasswordFactorPayload.
func (CompletedFactorPayload) IsIdentifierFactorPayload ¶
func (s CompletedFactorPayload) IsIdentifierFactorPayload() bool
IsIdentifierFactorPayload reports whether CompletedFactorPayload is IdentifierFactorPayload.
func (CompletedFactorPayload) IsPasskeyFactorPayload ¶
func (s CompletedFactorPayload) IsPasskeyFactorPayload() bool
IsPasskeyFactorPayload reports whether CompletedFactorPayload is PasskeyFactorPayload.
func (CompletedFactorPayload) IsPasswordFactorPayload ¶
func (s CompletedFactorPayload) IsPasswordFactorPayload() bool
IsPasswordFactorPayload reports whether CompletedFactorPayload is PasswordFactorPayload.
func (CompletedFactorPayload) MarshalJSON ¶
func (s CompletedFactorPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletedFactorPayload) SetIdentifierFactorPayload ¶
func (s *CompletedFactorPayload) SetIdentifierFactorPayload(v IdentifierFactorPayload)
SetIdentifierFactorPayload sets CompletedFactorPayload to IdentifierFactorPayload.
func (*CompletedFactorPayload) SetPasskeyFactorPayload ¶
func (s *CompletedFactorPayload) SetPasskeyFactorPayload(v PasskeyFactorPayload)
SetPasskeyFactorPayload sets CompletedFactorPayload to PasskeyFactorPayload.
func (*CompletedFactorPayload) SetPasswordFactorPayload ¶
func (s *CompletedFactorPayload) SetPasswordFactorPayload(v PasswordFactorPayload)
SetPasswordFactorPayload sets CompletedFactorPayload to PasswordFactorPayload.
func (*CompletedFactorPayload) UnmarshalJSON ¶
func (s *CompletedFactorPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (CompletedFactorPayload) Validate ¶
func (s CompletedFactorPayload) Validate() error
type CompletedFactorPayloadType ¶
type CompletedFactorPayloadType string
CompletedFactorPayloadType is oneOf type of CompletedFactorPayload.
const ( IdentifierFactorPayloadCompletedFactorPayload CompletedFactorPayloadType = "identifier" PasswordFactorPayloadCompletedFactorPayload CompletedFactorPayloadType = "password" PasskeyFactorPayloadCompletedFactorPayload CompletedFactorPayloadType = "passkey" )
Possible values for CompletedFactorPayloadType.
type CreateAuthAttemptErrorResponse ¶
type CreateAuthAttemptErrorResponse struct {
Type CreateAuthAttemptErrorResponseType // switch on this field
AttInvalidRequest AttInvalidRequest
Internal Internal
}
CreateAuthAttemptErrorResponse represents sum type.
func NewAttInvalidRequestCreateAuthAttemptErrorResponse ¶
func NewAttInvalidRequestCreateAuthAttemptErrorResponse(v AttInvalidRequest) CreateAuthAttemptErrorResponse
NewAttInvalidRequestCreateAuthAttemptErrorResponse returns new CreateAuthAttemptErrorResponse from AttInvalidRequest.
func NewInternalCreateAuthAttemptErrorResponse ¶
func NewInternalCreateAuthAttemptErrorResponse(v Internal) CreateAuthAttemptErrorResponse
NewInternalCreateAuthAttemptErrorResponse returns new CreateAuthAttemptErrorResponse from Internal.
func (*CreateAuthAttemptErrorResponse) Decode ¶
func (s *CreateAuthAttemptErrorResponse) Decode(d *jx.Decoder) error
Decode decodes CreateAuthAttemptErrorResponse from json.
func (CreateAuthAttemptErrorResponse) Encode ¶
func (s CreateAuthAttemptErrorResponse) Encode(e *jx.Encoder)
Encode encodes CreateAuthAttemptErrorResponse as json.
func (CreateAuthAttemptErrorResponse) GetAttInvalidRequest ¶
func (s CreateAuthAttemptErrorResponse) GetAttInvalidRequest() (v AttInvalidRequest, ok bool)
GetAttInvalidRequest returns AttInvalidRequest and true boolean if CreateAuthAttemptErrorResponse is AttInvalidRequest.
func (CreateAuthAttemptErrorResponse) GetInternal ¶
func (s CreateAuthAttemptErrorResponse) GetInternal() (v Internal, ok bool)
GetInternal returns Internal and true boolean if CreateAuthAttemptErrorResponse is Internal.
func (CreateAuthAttemptErrorResponse) IsAttInvalidRequest ¶
func (s CreateAuthAttemptErrorResponse) IsAttInvalidRequest() bool
IsAttInvalidRequest reports whether CreateAuthAttemptErrorResponse is AttInvalidRequest.
func (CreateAuthAttemptErrorResponse) IsInternal ¶
func (s CreateAuthAttemptErrorResponse) IsInternal() bool
IsInternal reports whether CreateAuthAttemptErrorResponse is Internal.
func (CreateAuthAttemptErrorResponse) MarshalJSON ¶
func (s CreateAuthAttemptErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateAuthAttemptErrorResponse) SetAttInvalidRequest ¶
func (s *CreateAuthAttemptErrorResponse) SetAttInvalidRequest(v AttInvalidRequest)
SetAttInvalidRequest sets CreateAuthAttemptErrorResponse to AttInvalidRequest.
func (*CreateAuthAttemptErrorResponse) SetInternal ¶
func (s *CreateAuthAttemptErrorResponse) SetInternal(v Internal)
SetInternal sets CreateAuthAttemptErrorResponse to Internal.
func (*CreateAuthAttemptErrorResponse) UnmarshalJSON ¶
func (s *CreateAuthAttemptErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateAuthAttemptErrorResponseStatusCode ¶
type CreateAuthAttemptErrorResponseStatusCode struct {
StatusCode int
Response CreateAuthAttemptErrorResponse
}
CreateAuthAttemptErrorResponseStatusCode wraps CreateAuthAttemptErrorResponse with StatusCode.
func (*CreateAuthAttemptErrorResponseStatusCode) GetResponse ¶
func (s *CreateAuthAttemptErrorResponseStatusCode) GetResponse() CreateAuthAttemptErrorResponse
GetResponse returns the value of Response.
func (*CreateAuthAttemptErrorResponseStatusCode) GetStatusCode ¶
func (s *CreateAuthAttemptErrorResponseStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*CreateAuthAttemptErrorResponseStatusCode) SetResponse ¶
func (s *CreateAuthAttemptErrorResponseStatusCode) SetResponse(val CreateAuthAttemptErrorResponse)
SetResponse sets the value of Response.
func (*CreateAuthAttemptErrorResponseStatusCode) SetStatusCode ¶
func (s *CreateAuthAttemptErrorResponseStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type CreateAuthAttemptErrorResponseType ¶
type CreateAuthAttemptErrorResponseType string
CreateAuthAttemptErrorResponseType is oneOf type of CreateAuthAttemptErrorResponse.
const ( AttInvalidRequestCreateAuthAttemptErrorResponse CreateAuthAttemptErrorResponseType = "att.invalid_request" InternalCreateAuthAttemptErrorResponse CreateAuthAttemptErrorResponseType = "internal" )
Possible values for CreateAuthAttemptErrorResponseType.
type CreateAuthAttemptRequest ¶
type CreateAuthAttemptRequest struct {
ProjectID ProjectID `json:"project_id"`
ChallengeNonce OptChallengeNonce `json:"challenge_nonce"`
// Optional. If provided, this attempt adds factors to an existing session (step-up auth).
// If omitted, a new session is created implicitly on successful handoff.
SessionID OptNilSessionID `json:"session_id"`
}
Request to create a new authentication attempt. Ref: #
func (*CreateAuthAttemptRequest) Decode ¶
func (s *CreateAuthAttemptRequest) Decode(d *jx.Decoder) error
Decode decodes CreateAuthAttemptRequest from json.
func (*CreateAuthAttemptRequest) Encode ¶
func (s *CreateAuthAttemptRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateAuthAttemptRequest) GetChallengeNonce ¶
func (s *CreateAuthAttemptRequest) GetChallengeNonce() OptChallengeNonce
GetChallengeNonce returns the value of ChallengeNonce.
func (*CreateAuthAttemptRequest) GetProjectID ¶
func (s *CreateAuthAttemptRequest) GetProjectID() ProjectID
GetProjectID returns the value of ProjectID.
func (*CreateAuthAttemptRequest) GetSessionID ¶
func (s *CreateAuthAttemptRequest) GetSessionID() OptNilSessionID
GetSessionID returns the value of SessionID.
func (*CreateAuthAttemptRequest) MarshalJSON ¶
func (s *CreateAuthAttemptRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateAuthAttemptRequest) SetChallengeNonce ¶
func (s *CreateAuthAttemptRequest) SetChallengeNonce(val OptChallengeNonce)
SetChallengeNonce sets the value of ChallengeNonce.
func (*CreateAuthAttemptRequest) SetProjectID ¶
func (s *CreateAuthAttemptRequest) SetProjectID(val ProjectID)
SetProjectID sets the value of ProjectID.
func (*CreateAuthAttemptRequest) SetSessionID ¶
func (s *CreateAuthAttemptRequest) SetSessionID(val OptNilSessionID)
SetSessionID sets the value of SessionID.
func (*CreateAuthAttemptRequest) UnmarshalJSON ¶
func (s *CreateAuthAttemptRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateAuthAttemptRequest) Validate ¶
func (s *CreateAuthAttemptRequest) Validate() error
type CreateAuthAttemptRes ¶
type CreateAuthAttemptRes interface {
// contains filtered or unexported methods
}
type CreateFlowDefinitionBadRequest ¶
type CreateFlowDefinitionBadRequest ErrorDetails
func (*CreateFlowDefinitionBadRequest) Decode ¶
func (s *CreateFlowDefinitionBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateFlowDefinitionBadRequest from json.
func (*CreateFlowDefinitionBadRequest) Encode ¶
func (s *CreateFlowDefinitionBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateFlowDefinitionBadRequest as json.
func (*CreateFlowDefinitionBadRequest) MarshalJSON ¶
func (s *CreateFlowDefinitionBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateFlowDefinitionBadRequest) UnmarshalJSON ¶
func (s *CreateFlowDefinitionBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateFlowDefinitionConflict ¶
type CreateFlowDefinitionConflict ErrorDetails
func (*CreateFlowDefinitionConflict) Decode ¶
func (s *CreateFlowDefinitionConflict) Decode(d *jx.Decoder) error
Decode decodes CreateFlowDefinitionConflict from json.
func (*CreateFlowDefinitionConflict) Encode ¶
func (s *CreateFlowDefinitionConflict) Encode(e *jx.Encoder)
Encode encodes CreateFlowDefinitionConflict as json.
func (*CreateFlowDefinitionConflict) MarshalJSON ¶
func (s *CreateFlowDefinitionConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateFlowDefinitionConflict) UnmarshalJSON ¶
func (s *CreateFlowDefinitionConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateFlowDefinitionRequest ¶
type CreateFlowDefinitionRequest struct {
ProjectID ProjectID `json:"project_id"`
SchemaURI OptSchemaURI `json:"schema_uri"`
FlowDefinition FlowDefinition `json:"flow_definition"`
}
Creates a flow definition. The flow definition is created in an `active` state by default. The status can also be set via the `status` attribute in the flow definition payload. Ref: #
func (*CreateFlowDefinitionRequest) Decode ¶
func (s *CreateFlowDefinitionRequest) Decode(d *jx.Decoder) error
Decode decodes CreateFlowDefinitionRequest from json.
func (*CreateFlowDefinitionRequest) Encode ¶
func (s *CreateFlowDefinitionRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateFlowDefinitionRequest) GetFlowDefinition ¶
func (s *CreateFlowDefinitionRequest) GetFlowDefinition() FlowDefinition
GetFlowDefinition returns the value of FlowDefinition.
func (*CreateFlowDefinitionRequest) GetProjectID ¶
func (s *CreateFlowDefinitionRequest) GetProjectID() ProjectID
GetProjectID returns the value of ProjectID.
func (*CreateFlowDefinitionRequest) GetSchemaURI ¶
func (s *CreateFlowDefinitionRequest) GetSchemaURI() OptSchemaURI
GetSchemaURI returns the value of SchemaURI.
func (*CreateFlowDefinitionRequest) MarshalJSON ¶
func (s *CreateFlowDefinitionRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateFlowDefinitionRequest) SetFlowDefinition ¶
func (s *CreateFlowDefinitionRequest) SetFlowDefinition(val FlowDefinition)
SetFlowDefinition sets the value of FlowDefinition.
func (*CreateFlowDefinitionRequest) SetProjectID ¶
func (s *CreateFlowDefinitionRequest) SetProjectID(val ProjectID)
SetProjectID sets the value of ProjectID.
func (*CreateFlowDefinitionRequest) SetSchemaURI ¶
func (s *CreateFlowDefinitionRequest) SetSchemaURI(val OptSchemaURI)
SetSchemaURI sets the value of SchemaURI.
func (*CreateFlowDefinitionRequest) UnmarshalJSON ¶
func (s *CreateFlowDefinitionRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateFlowDefinitionRequest) Validate ¶
func (s *CreateFlowDefinitionRequest) Validate() error
type CreateFlowDefinitionRes ¶
type CreateFlowDefinitionRes interface {
// contains filtered or unexported methods
}
type CreateFlowRequest ¶
type CreateFlowRequest struct {
ProjectID ProjectID `json:"project_id"`
Purpose CreateFlowRequestPurpose `json:"purpose"`
// Name of a specific flow definition to use.
// When omitted, the engine selects the best-matching definition
// based on purpose + audience context.
FlowDefinitionName OptString `json:"flow_definition_name"`
// Set to true to simulate the flow without actually creating any
// user or session. Useful for testing and validation of flow definitions.
// This requires setting the `flow_definition_name` property as well.
DryRun OptBool `json:"dry_run"`
// Semver version of the flow definition JSON Schema to use.
// When omitted, the latest version is used.
SchemaVersion OptString `json:"schema_version"`
ChallengeNonce OptChallengeNonce `json:"challenge_nonce"`
// Existing session to attach to (for step-up / reauth).
// Omit to let the flow create a new session implicitly.
SessionID OptString `json:"session_id"`
// OIDC/SAML auth request ID (links flow to protocol request).
AuthRequestID OptString `json:"auth_request_id"`
RedirectURI OptURI `json:"redirect_uri"`
Hint OptFlowHint `json:"hint"`
}
Ref: #
func (*CreateFlowRequest) Decode ¶
func (s *CreateFlowRequest) Decode(d *jx.Decoder) error
Decode decodes CreateFlowRequest from json.
func (*CreateFlowRequest) Encode ¶
func (s *CreateFlowRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateFlowRequest) GetAuthRequestID ¶
func (s *CreateFlowRequest) GetAuthRequestID() OptString
GetAuthRequestID returns the value of AuthRequestID.
func (*CreateFlowRequest) GetChallengeNonce ¶
func (s *CreateFlowRequest) GetChallengeNonce() OptChallengeNonce
GetChallengeNonce returns the value of ChallengeNonce.
func (*CreateFlowRequest) GetDryRun ¶
func (s *CreateFlowRequest) GetDryRun() OptBool
GetDryRun returns the value of DryRun.
func (*CreateFlowRequest) GetFlowDefinitionName ¶
func (s *CreateFlowRequest) GetFlowDefinitionName() OptString
GetFlowDefinitionName returns the value of FlowDefinitionName.
func (*CreateFlowRequest) GetHint ¶
func (s *CreateFlowRequest) GetHint() OptFlowHint
GetHint returns the value of Hint.
func (*CreateFlowRequest) GetProjectID ¶
func (s *CreateFlowRequest) GetProjectID() ProjectID
GetProjectID returns the value of ProjectID.
func (*CreateFlowRequest) GetPurpose ¶
func (s *CreateFlowRequest) GetPurpose() CreateFlowRequestPurpose
GetPurpose returns the value of Purpose.
func (*CreateFlowRequest) GetRedirectURI ¶
func (s *CreateFlowRequest) GetRedirectURI() OptURI
GetRedirectURI returns the value of RedirectURI.
func (*CreateFlowRequest) GetSchemaVersion ¶
func (s *CreateFlowRequest) GetSchemaVersion() OptString
GetSchemaVersion returns the value of SchemaVersion.
func (*CreateFlowRequest) GetSessionID ¶
func (s *CreateFlowRequest) GetSessionID() OptString
GetSessionID returns the value of SessionID.
func (*CreateFlowRequest) MarshalJSON ¶
func (s *CreateFlowRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateFlowRequest) SetAuthRequestID ¶
func (s *CreateFlowRequest) SetAuthRequestID(val OptString)
SetAuthRequestID sets the value of AuthRequestID.
func (*CreateFlowRequest) SetChallengeNonce ¶
func (s *CreateFlowRequest) SetChallengeNonce(val OptChallengeNonce)
SetChallengeNonce sets the value of ChallengeNonce.
func (*CreateFlowRequest) SetDryRun ¶
func (s *CreateFlowRequest) SetDryRun(val OptBool)
SetDryRun sets the value of DryRun.
func (*CreateFlowRequest) SetFlowDefinitionName ¶
func (s *CreateFlowRequest) SetFlowDefinitionName(val OptString)
SetFlowDefinitionName sets the value of FlowDefinitionName.
func (*CreateFlowRequest) SetHint ¶
func (s *CreateFlowRequest) SetHint(val OptFlowHint)
SetHint sets the value of Hint.
func (*CreateFlowRequest) SetProjectID ¶
func (s *CreateFlowRequest) SetProjectID(val ProjectID)
SetProjectID sets the value of ProjectID.
func (*CreateFlowRequest) SetPurpose ¶
func (s *CreateFlowRequest) SetPurpose(val CreateFlowRequestPurpose)
SetPurpose sets the value of Purpose.
func (*CreateFlowRequest) SetRedirectURI ¶
func (s *CreateFlowRequest) SetRedirectURI(val OptURI)
SetRedirectURI sets the value of RedirectURI.
func (*CreateFlowRequest) SetSchemaVersion ¶
func (s *CreateFlowRequest) SetSchemaVersion(val OptString)
SetSchemaVersion sets the value of SchemaVersion.
func (*CreateFlowRequest) SetSessionID ¶
func (s *CreateFlowRequest) SetSessionID(val OptString)
SetSessionID sets the value of SessionID.
func (*CreateFlowRequest) UnmarshalJSON ¶
func (s *CreateFlowRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateFlowRequest) Validate ¶
func (s *CreateFlowRequest) Validate() error
type CreateFlowRequestPurpose ¶
type CreateFlowRequestPurpose string
const ( CreateFlowRequestPurposeLogin CreateFlowRequestPurpose = "login" CreateFlowRequestPurposeRegister CreateFlowRequestPurpose = "register" CreateFlowRequestPurposeRecovery CreateFlowRequestPurpose = "recovery" CreateFlowRequestPurposeProfiling CreateFlowRequestPurpose = "profiling" CreateFlowRequestPurposeReauth CreateFlowRequestPurpose = "reauth" CreateFlowRequestPurposeLinkAccount CreateFlowRequestPurpose = "link_account" )
func (CreateFlowRequestPurpose) AllValues ¶
func (CreateFlowRequestPurpose) AllValues() []CreateFlowRequestPurpose
AllValues returns all CreateFlowRequestPurpose values.
func (*CreateFlowRequestPurpose) Decode ¶
func (s *CreateFlowRequestPurpose) Decode(d *jx.Decoder) error
Decode decodes CreateFlowRequestPurpose from json.
func (CreateFlowRequestPurpose) Encode ¶
func (s CreateFlowRequestPurpose) Encode(e *jx.Encoder)
Encode encodes CreateFlowRequestPurpose as json.
func (CreateFlowRequestPurpose) MarshalJSON ¶
func (s CreateFlowRequestPurpose) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateFlowRequestPurpose) MarshalText ¶
func (s CreateFlowRequestPurpose) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateFlowRequestPurpose) UnmarshalJSON ¶
func (s *CreateFlowRequestPurpose) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateFlowRequestPurpose) UnmarshalText ¶
func (s *CreateFlowRequestPurpose) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateFlowRequestPurpose) Validate ¶
func (s CreateFlowRequestPurpose) Validate() error
type CreateFlowRes ¶
type CreateFlowRes interface {
// contains filtered or unexported methods
}
type CreateHandoffErrorResponse ¶
type CreateHandoffErrorResponse struct {
Type CreateHandoffErrorResponseType // switch on this field
AttNotFound AttNotFound
AttInvalidState AttInvalidState
AttNotCompleted AttNotCompleted
Internal Internal
}
CreateHandoffErrorResponse represents sum type.
func NewAttInvalidStateCreateHandoffErrorResponse ¶
func NewAttInvalidStateCreateHandoffErrorResponse(v AttInvalidState) CreateHandoffErrorResponse
NewAttInvalidStateCreateHandoffErrorResponse returns new CreateHandoffErrorResponse from AttInvalidState.
func NewAttNotCompletedCreateHandoffErrorResponse ¶
func NewAttNotCompletedCreateHandoffErrorResponse(v AttNotCompleted) CreateHandoffErrorResponse
NewAttNotCompletedCreateHandoffErrorResponse returns new CreateHandoffErrorResponse from AttNotCompleted.
func NewAttNotFoundCreateHandoffErrorResponse ¶
func NewAttNotFoundCreateHandoffErrorResponse(v AttNotFound) CreateHandoffErrorResponse
NewAttNotFoundCreateHandoffErrorResponse returns new CreateHandoffErrorResponse from AttNotFound.
func NewInternalCreateHandoffErrorResponse ¶
func NewInternalCreateHandoffErrorResponse(v Internal) CreateHandoffErrorResponse
NewInternalCreateHandoffErrorResponse returns new CreateHandoffErrorResponse from Internal.
func (*CreateHandoffErrorResponse) Decode ¶
func (s *CreateHandoffErrorResponse) Decode(d *jx.Decoder) error
Decode decodes CreateHandoffErrorResponse from json.
func (CreateHandoffErrorResponse) Encode ¶
func (s CreateHandoffErrorResponse) Encode(e *jx.Encoder)
Encode encodes CreateHandoffErrorResponse as json.
func (CreateHandoffErrorResponse) GetAttInvalidState ¶
func (s CreateHandoffErrorResponse) GetAttInvalidState() (v AttInvalidState, ok bool)
GetAttInvalidState returns AttInvalidState and true boolean if CreateHandoffErrorResponse is AttInvalidState.
func (CreateHandoffErrorResponse) GetAttNotCompleted ¶
func (s CreateHandoffErrorResponse) GetAttNotCompleted() (v AttNotCompleted, ok bool)
GetAttNotCompleted returns AttNotCompleted and true boolean if CreateHandoffErrorResponse is AttNotCompleted.
func (CreateHandoffErrorResponse) GetAttNotFound ¶
func (s CreateHandoffErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
GetAttNotFound returns AttNotFound and true boolean if CreateHandoffErrorResponse is AttNotFound.
func (CreateHandoffErrorResponse) GetInternal ¶
func (s CreateHandoffErrorResponse) GetInternal() (v Internal, ok bool)
GetInternal returns Internal and true boolean if CreateHandoffErrorResponse is Internal.
func (CreateHandoffErrorResponse) IsAttInvalidState ¶
func (s CreateHandoffErrorResponse) IsAttInvalidState() bool
IsAttInvalidState reports whether CreateHandoffErrorResponse is AttInvalidState.
func (CreateHandoffErrorResponse) IsAttNotCompleted ¶
func (s CreateHandoffErrorResponse) IsAttNotCompleted() bool
IsAttNotCompleted reports whether CreateHandoffErrorResponse is AttNotCompleted.
func (CreateHandoffErrorResponse) IsAttNotFound ¶
func (s CreateHandoffErrorResponse) IsAttNotFound() bool
IsAttNotFound reports whether CreateHandoffErrorResponse is AttNotFound.
func (CreateHandoffErrorResponse) IsInternal ¶
func (s CreateHandoffErrorResponse) IsInternal() bool
IsInternal reports whether CreateHandoffErrorResponse is Internal.
func (CreateHandoffErrorResponse) MarshalJSON ¶
func (s CreateHandoffErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateHandoffErrorResponse) SetAttInvalidState ¶
func (s *CreateHandoffErrorResponse) SetAttInvalidState(v AttInvalidState)
SetAttInvalidState sets CreateHandoffErrorResponse to AttInvalidState.
func (*CreateHandoffErrorResponse) SetAttNotCompleted ¶
func (s *CreateHandoffErrorResponse) SetAttNotCompleted(v AttNotCompleted)
SetAttNotCompleted sets CreateHandoffErrorResponse to AttNotCompleted.
func (*CreateHandoffErrorResponse) SetAttNotFound ¶
func (s *CreateHandoffErrorResponse) SetAttNotFound(v AttNotFound)
SetAttNotFound sets CreateHandoffErrorResponse to AttNotFound.
func (*CreateHandoffErrorResponse) SetInternal ¶
func (s *CreateHandoffErrorResponse) SetInternal(v Internal)
SetInternal sets CreateHandoffErrorResponse to Internal.
func (*CreateHandoffErrorResponse) UnmarshalJSON ¶
func (s *CreateHandoffErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateHandoffErrorResponseStatusCode ¶
type CreateHandoffErrorResponseStatusCode struct {
StatusCode int
Response CreateHandoffErrorResponse
}
CreateHandoffErrorResponseStatusCode wraps CreateHandoffErrorResponse with StatusCode.
func (*CreateHandoffErrorResponseStatusCode) GetResponse ¶
func (s *CreateHandoffErrorResponseStatusCode) GetResponse() CreateHandoffErrorResponse
GetResponse returns the value of Response.
func (*CreateHandoffErrorResponseStatusCode) GetStatusCode ¶
func (s *CreateHandoffErrorResponseStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*CreateHandoffErrorResponseStatusCode) SetResponse ¶
func (s *CreateHandoffErrorResponseStatusCode) SetResponse(val CreateHandoffErrorResponse)
SetResponse sets the value of Response.
func (*CreateHandoffErrorResponseStatusCode) SetStatusCode ¶
func (s *CreateHandoffErrorResponseStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type CreateHandoffErrorResponseType ¶
type CreateHandoffErrorResponseType string
CreateHandoffErrorResponseType is oneOf type of CreateHandoffErrorResponse.
const ( AttNotFoundCreateHandoffErrorResponse CreateHandoffErrorResponseType = "att.not_found" AttInvalidStateCreateHandoffErrorResponse CreateHandoffErrorResponseType = "att.invalid_state" AttNotCompletedCreateHandoffErrorResponse CreateHandoffErrorResponseType = "att.not_completed" InternalCreateHandoffErrorResponse CreateHandoffErrorResponseType = "internal" )
Possible values for CreateHandoffErrorResponseType.
type CreateHandoffParams ¶
type CreateHandoffParams struct {
// The unique identifier of the authentication attempt.
AttemptID AttemptID
// Optional retry key for safe retries of the call.
// Retries carrying the same key within the call window return the cached
// payload without creating a new resource. See details in the endpoint description.
IdempotencyKey OptString `json:",omitempty,omitzero"`
}
CreateHandoffParams is parameters of createHandoff operation.
type CreateHandoffRes ¶
type CreateHandoffRes interface {
// contains filtered or unexported methods
}
type CreateProjectRequest ¶
type CreateProjectRequest struct {
// Origins which are allowed for previewing and testing the project.
PreviewOrigins []string `json:"previewOrigins"`
}
Ref: #
func (*CreateProjectRequest) Decode ¶
func (s *CreateProjectRequest) Decode(d *jx.Decoder) error
Decode decodes CreateProjectRequest from json.
func (*CreateProjectRequest) Encode ¶
func (s *CreateProjectRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateProjectRequest) GetPreviewOrigins ¶
func (s *CreateProjectRequest) GetPreviewOrigins() []string
GetPreviewOrigins returns the value of PreviewOrigins.
func (*CreateProjectRequest) MarshalJSON ¶
func (s *CreateProjectRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectRequest) SetPreviewOrigins ¶
func (s *CreateProjectRequest) SetPreviewOrigins(val []string)
SetPreviewOrigins sets the value of PreviewOrigins.
func (*CreateProjectRequest) UnmarshalJSON ¶
func (s *CreateProjectRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectRes ¶
type CreateProjectRes interface {
// contains filtered or unexported methods
}
type CreateProjectResponse ¶
type CreateProjectResponse struct {
// The unique identifier of the project.
ID string `json:"id"`
// Secret which can be used for authentication when modifying the project.
ProjectSecret string `json:"projectSecret"`
// Secret which can be used for previewing and testing the project.
PreviewSecret string `json:"previewSecret"`
// Origins which are allowed for previewing and testing the project.
PreviewOrigins []string `json:"previewOrigins"`
// The time when the project was created.
CreatedAt time.Time `json:"createdAt"`
}
Ref: #
func (*CreateProjectResponse) Decode ¶
func (s *CreateProjectResponse) Decode(d *jx.Decoder) error
Decode decodes CreateProjectResponse from json.
func (*CreateProjectResponse) Encode ¶
func (s *CreateProjectResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateProjectResponse) GetCreatedAt ¶
func (s *CreateProjectResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*CreateProjectResponse) GetID ¶
func (s *CreateProjectResponse) GetID() string
GetID returns the value of ID.
func (*CreateProjectResponse) GetPreviewOrigins ¶
func (s *CreateProjectResponse) GetPreviewOrigins() []string
GetPreviewOrigins returns the value of PreviewOrigins.
func (*CreateProjectResponse) GetPreviewSecret ¶
func (s *CreateProjectResponse) GetPreviewSecret() string
GetPreviewSecret returns the value of PreviewSecret.
func (*CreateProjectResponse) GetProjectSecret ¶
func (s *CreateProjectResponse) GetProjectSecret() string
GetProjectSecret returns the value of ProjectSecret.
func (*CreateProjectResponse) MarshalJSON ¶
func (s *CreateProjectResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectResponse) SetCreatedAt ¶
func (s *CreateProjectResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*CreateProjectResponse) SetID ¶
func (s *CreateProjectResponse) SetID(val string)
SetID sets the value of ID.
func (*CreateProjectResponse) SetPreviewOrigins ¶
func (s *CreateProjectResponse) SetPreviewOrigins(val []string)
SetPreviewOrigins sets the value of PreviewOrigins.
func (*CreateProjectResponse) SetPreviewSecret ¶
func (s *CreateProjectResponse) SetPreviewSecret(val string)
SetPreviewSecret sets the value of PreviewSecret.
func (*CreateProjectResponse) SetProjectSecret ¶
func (s *CreateProjectResponse) SetProjectSecret(val string)
SetProjectSecret sets the value of ProjectSecret.
func (*CreateProjectResponse) UnmarshalJSON ¶
func (s *CreateProjectResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateProjectResponse) Validate ¶
func (s *CreateProjectResponse) Validate() error
type CreateSchemaBadRequest ¶
type CreateSchemaBadRequest ErrorDetails
func (*CreateSchemaBadRequest) Decode ¶
func (s *CreateSchemaBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateSchemaBadRequest from json.
func (*CreateSchemaBadRequest) Encode ¶
func (s *CreateSchemaBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateSchemaBadRequest as json.
func (*CreateSchemaBadRequest) MarshalJSON ¶
func (s *CreateSchemaBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSchemaBadRequest) UnmarshalJSON ¶
func (s *CreateSchemaBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSchemaConflict ¶
type CreateSchemaConflict ErrorDetails
func (*CreateSchemaConflict) Decode ¶
func (s *CreateSchemaConflict) Decode(d *jx.Decoder) error
Decode decodes CreateSchemaConflict from json.
func (*CreateSchemaConflict) Encode ¶
func (s *CreateSchemaConflict) Encode(e *jx.Encoder)
Encode encodes CreateSchemaConflict as json.
func (*CreateSchemaConflict) MarshalJSON ¶
func (s *CreateSchemaConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSchemaConflict) UnmarshalJSON ¶
func (s *CreateSchemaConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSchemaParams ¶
type CreateSchemaParams struct {
// The unique identifier of the project.
ProjectID ProjectID
// The unique identifier of the team.
TeamID OptTeamID `json:",omitempty,omitzero"`
}
CreateSchemaParams is parameters of createSchema operation.
type CreateSchemaReq ¶
type CreateSchemaReq struct {
Type CreateSchemaReqType // switch on this field
UserSchema UserSchema
SchemaURL SchemaURL
}
CreateSchemaReq represents sum type.
func NewSchemaURLCreateSchemaReq ¶
func NewSchemaURLCreateSchemaReq(v SchemaURL) CreateSchemaReq
NewSchemaURLCreateSchemaReq returns new CreateSchemaReq from SchemaURL.
func NewUserSchemaCreateSchemaReq ¶
func NewUserSchemaCreateSchemaReq(v UserSchema) CreateSchemaReq
NewUserSchemaCreateSchemaReq returns new CreateSchemaReq from UserSchema.
func (*CreateSchemaReq) Decode ¶
func (s *CreateSchemaReq) Decode(d *jx.Decoder) error
Decode decodes CreateSchemaReq from json.
func (CreateSchemaReq) Encode ¶
func (s CreateSchemaReq) Encode(e *jx.Encoder)
Encode encodes CreateSchemaReq as json.
func (CreateSchemaReq) GetSchemaURL ¶
func (s CreateSchemaReq) GetSchemaURL() (v SchemaURL, ok bool)
GetSchemaURL returns SchemaURL and true boolean if CreateSchemaReq is SchemaURL.
func (CreateSchemaReq) GetUserSchema ¶
func (s CreateSchemaReq) GetUserSchema() (v UserSchema, ok bool)
GetUserSchema returns UserSchema and true boolean if CreateSchemaReq is UserSchema.
func (CreateSchemaReq) IsSchemaURL ¶
func (s CreateSchemaReq) IsSchemaURL() bool
IsSchemaURL reports whether CreateSchemaReq is SchemaURL.
func (CreateSchemaReq) IsUserSchema ¶
func (s CreateSchemaReq) IsUserSchema() bool
IsUserSchema reports whether CreateSchemaReq is UserSchema.
func (CreateSchemaReq) MarshalJSON ¶
func (s CreateSchemaReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSchemaReq) SetSchemaURL ¶
func (s *CreateSchemaReq) SetSchemaURL(v SchemaURL)
SetSchemaURL sets CreateSchemaReq to SchemaURL.
func (*CreateSchemaReq) SetUserSchema ¶
func (s *CreateSchemaReq) SetUserSchema(v UserSchema)
SetUserSchema sets CreateSchemaReq to UserSchema.
func (*CreateSchemaReq) UnmarshalJSON ¶
func (s *CreateSchemaReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (CreateSchemaReq) Validate ¶
func (s CreateSchemaReq) Validate() error
type CreateSchemaReqType ¶
type CreateSchemaReqType string
CreateSchemaReqType is oneOf type of CreateSchemaReq.
const ( UserSchemaCreateSchemaReq CreateSchemaReqType = "user-schema" SchemaURLCreateSchemaReq CreateSchemaReqType = "schema-url" )
Possible values for CreateSchemaReqType.
type CreateSchemaRes ¶
type CreateSchemaRes interface {
// contains filtered or unexported methods
}
type CreateSchemaResponse ¶
type CreateSchemaResponse struct {
// The ID of the created schema.
ID string `json:"id"`
}
Ref: #
func (*CreateSchemaResponse) Decode ¶
func (s *CreateSchemaResponse) Decode(d *jx.Decoder) error
Decode decodes CreateSchemaResponse from json.
func (*CreateSchemaResponse) Encode ¶
func (s *CreateSchemaResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSchemaResponse) GetID ¶
func (s *CreateSchemaResponse) GetID() string
GetID returns the value of ID.
func (*CreateSchemaResponse) MarshalJSON ¶
func (s *CreateSchemaResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSchemaResponse) SetID ¶
func (s *CreateSchemaResponse) SetID(val string)
SetID sets the value of ID.
func (*CreateSchemaResponse) UnmarshalJSON ¶
func (s *CreateSchemaResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSessionRequest ¶
type CreateSessionRequest struct {
ProjectID ProjectID `json:"project_id"`
// Optional user agent / device context to attach to the session.
// Useful for correlating telemetry and device signals with the eventual
// authenticated session from the start.
UserAgent OptCreateSessionRequestUserAgent `json:"user_agent"`
}
Request to create an anonymous session shell. Ref: #
func (*CreateSessionRequest) Decode ¶
func (s *CreateSessionRequest) Decode(d *jx.Decoder) error
Decode decodes CreateSessionRequest from json.
func (*CreateSessionRequest) Encode ¶
func (s *CreateSessionRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSessionRequest) GetProjectID ¶
func (s *CreateSessionRequest) GetProjectID() ProjectID
GetProjectID returns the value of ProjectID.
func (*CreateSessionRequest) GetUserAgent ¶
func (s *CreateSessionRequest) GetUserAgent() OptCreateSessionRequestUserAgent
GetUserAgent returns the value of UserAgent.
func (*CreateSessionRequest) MarshalJSON ¶
func (s *CreateSessionRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSessionRequest) SetProjectID ¶
func (s *CreateSessionRequest) SetProjectID(val ProjectID)
SetProjectID sets the value of ProjectID.
func (*CreateSessionRequest) SetUserAgent ¶
func (s *CreateSessionRequest) SetUserAgent(val OptCreateSessionRequestUserAgent)
SetUserAgent sets the value of UserAgent.
func (*CreateSessionRequest) UnmarshalJSON ¶
func (s *CreateSessionRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateSessionRequest) Validate ¶
func (s *CreateSessionRequest) Validate() error
type CreateSessionRequestUserAgent ¶
type CreateSessionRequestUserAgent struct {
// Client-supplied device fingerprint.
Fingerprint OptString `json:"fingerprint"`
// IP address of the client.
IP OptString `json:"ip"`
AdditionalProps CreateSessionRequestUserAgentAdditional
}
Optional user agent / device context to attach to the session. Useful for correlating telemetry and device signals with the eventual authenticated session from the start.
func (*CreateSessionRequestUserAgent) Decode ¶
func (s *CreateSessionRequestUserAgent) Decode(d *jx.Decoder) error
Decode decodes CreateSessionRequestUserAgent from json.
func (*CreateSessionRequestUserAgent) Encode ¶
func (s *CreateSessionRequestUserAgent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateSessionRequestUserAgent) GetAdditionalProps ¶
func (s *CreateSessionRequestUserAgent) GetAdditionalProps() CreateSessionRequestUserAgentAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateSessionRequestUserAgent) GetFingerprint ¶
func (s *CreateSessionRequestUserAgent) GetFingerprint() OptString
GetFingerprint returns the value of Fingerprint.
func (*CreateSessionRequestUserAgent) GetIP ¶
func (s *CreateSessionRequestUserAgent) GetIP() OptString
GetIP returns the value of IP.
func (*CreateSessionRequestUserAgent) MarshalJSON ¶
func (s *CreateSessionRequestUserAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSessionRequestUserAgent) SetAdditionalProps ¶
func (s *CreateSessionRequestUserAgent) SetAdditionalProps(val CreateSessionRequestUserAgentAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateSessionRequestUserAgent) SetFingerprint ¶
func (s *CreateSessionRequestUserAgent) SetFingerprint(val OptString)
SetFingerprint sets the value of Fingerprint.
func (*CreateSessionRequestUserAgent) SetIP ¶
func (s *CreateSessionRequestUserAgent) SetIP(val OptString)
SetIP sets the value of IP.
func (*CreateSessionRequestUserAgent) UnmarshalJSON ¶
func (s *CreateSessionRequestUserAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSessionRequestUserAgentAdditional ¶
func (*CreateSessionRequestUserAgentAdditional) Decode ¶
func (s *CreateSessionRequestUserAgentAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateSessionRequestUserAgentAdditional from json.
func (CreateSessionRequestUserAgentAdditional) Encode ¶
func (s CreateSessionRequestUserAgentAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateSessionRequestUserAgentAdditional) MarshalJSON ¶
func (s CreateSessionRequestUserAgentAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateSessionRequestUserAgentAdditional) UnmarshalJSON ¶
func (s *CreateSessionRequestUserAgentAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateSessionRes ¶
type CreateSessionRes interface {
// contains filtered or unexported methods
}
type CreateTeamBadRequest ¶
type CreateTeamBadRequest ErrorDetails
func (*CreateTeamBadRequest) Decode ¶
func (s *CreateTeamBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateTeamBadRequest from json.
func (*CreateTeamBadRequest) Encode ¶
func (s *CreateTeamBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateTeamBadRequest as json.
func (*CreateTeamBadRequest) MarshalJSON ¶
func (s *CreateTeamBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTeamBadRequest) UnmarshalJSON ¶
func (s *CreateTeamBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateTeamParams ¶
type CreateTeamParams struct {
// The unique identifier of the project.
ProjectID ProjectID
}
CreateTeamParams is parameters of createTeam operation.
type CreateTeamRequest ¶
type CreateTeamRequest struct{}
Ref: #
func (*CreateTeamRequest) Decode ¶
func (s *CreateTeamRequest) Decode(d *jx.Decoder) error
Decode decodes CreateTeamRequest from json.
func (*CreateTeamRequest) Encode ¶
func (s *CreateTeamRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTeamRequest) MarshalJSON ¶
func (s *CreateTeamRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTeamRequest) UnmarshalJSON ¶
func (s *CreateTeamRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateTeamRes ¶
type CreateTeamRes interface {
// contains filtered or unexported methods
}
type CreateTeamResponse ¶
type CreateTeamResponse struct {
// The unique identifier of the team.
ID string `json:"id"`
// The time when the team was created.
CreatedAt time.Time `json:"createdAt"`
}
Ref: #
func (*CreateTeamResponse) Decode ¶
func (s *CreateTeamResponse) Decode(d *jx.Decoder) error
Decode decodes CreateTeamResponse from json.
func (*CreateTeamResponse) Encode ¶
func (s *CreateTeamResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateTeamResponse) GetCreatedAt ¶
func (s *CreateTeamResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*CreateTeamResponse) GetID ¶
func (s *CreateTeamResponse) GetID() string
GetID returns the value of ID.
func (*CreateTeamResponse) MarshalJSON ¶
func (s *CreateTeamResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTeamResponse) SetCreatedAt ¶
func (s *CreateTeamResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*CreateTeamResponse) SetID ¶
func (s *CreateTeamResponse) SetID(val string)
SetID sets the value of ID.
func (*CreateTeamResponse) UnmarshalJSON ¶
func (s *CreateTeamResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateTeamTooManyRequests ¶
type CreateTeamTooManyRequests ErrorDetails
func (*CreateTeamTooManyRequests) Decode ¶
func (s *CreateTeamTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes CreateTeamTooManyRequests from json.
func (*CreateTeamTooManyRequests) Encode ¶
func (s *CreateTeamTooManyRequests) Encode(e *jx.Encoder)
Encode encodes CreateTeamTooManyRequests as json.
func (*CreateTeamTooManyRequests) MarshalJSON ¶
func (s *CreateTeamTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateTeamTooManyRequests) UnmarshalJSON ¶
func (s *CreateTeamTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateUserBadRequest ¶
type CreateUserBadRequest ErrorDetails
func (*CreateUserBadRequest) Decode ¶
func (s *CreateUserBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateUserBadRequest from json.
func (*CreateUserBadRequest) Encode ¶
func (s *CreateUserBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateUserBadRequest as json.
func (*CreateUserBadRequest) MarshalJSON ¶
func (s *CreateUserBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUserBadRequest) UnmarshalJSON ¶
func (s *CreateUserBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateUserConflict ¶
type CreateUserConflict ErrorDetails
func (*CreateUserConflict) Decode ¶
func (s *CreateUserConflict) Decode(d *jx.Decoder) error
Decode decodes CreateUserConflict from json.
func (*CreateUserConflict) Encode ¶
func (s *CreateUserConflict) Encode(e *jx.Encoder)
Encode encodes CreateUserConflict as json.
func (*CreateUserConflict) MarshalJSON ¶
func (s *CreateUserConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUserConflict) UnmarshalJSON ¶
func (s *CreateUserConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateUserForbidden ¶
type CreateUserForbidden ErrorDetails
func (*CreateUserForbidden) Decode ¶
func (s *CreateUserForbidden) Decode(d *jx.Decoder) error
Decode decodes CreateUserForbidden from json.
func (*CreateUserForbidden) Encode ¶
func (s *CreateUserForbidden) Encode(e *jx.Encoder)
Encode encodes CreateUserForbidden as json.
func (*CreateUserForbidden) MarshalJSON ¶
func (s *CreateUserForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUserForbidden) UnmarshalJSON ¶
func (s *CreateUserForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateUserParams ¶
type CreateUserParams struct {
// The unique identifier of the project.
ProjectID ProjectID
// The unique identifier of the team.
TeamID OptTeamID `json:",omitempty,omitzero"`
}
CreateUserParams is parameters of createUser operation.
type CreateUserRes ¶
type CreateUserRes interface {
// contains filtered or unexported methods
}
type CreateUserResponse ¶
type CreateUserResponse struct {
// The unique identifier of the created user.
ID string `json:"id"`
AdditionalProps CreateUserResponseAdditional
}
The content of this response is determined by the configured schema for users. Ref: #
func (*CreateUserResponse) Decode ¶
func (s *CreateUserResponse) Decode(d *jx.Decoder) error
Decode decodes CreateUserResponse from json.
func (*CreateUserResponse) Encode ¶
func (s *CreateUserResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateUserResponse) GetAdditionalProps ¶
func (s *CreateUserResponse) GetAdditionalProps() CreateUserResponseAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateUserResponse) GetID ¶
func (s *CreateUserResponse) GetID() string
GetID returns the value of ID.
func (*CreateUserResponse) MarshalJSON ¶
func (s *CreateUserResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUserResponse) SetAdditionalProps ¶
func (s *CreateUserResponse) SetAdditionalProps(val CreateUserResponseAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateUserResponse) SetID ¶
func (s *CreateUserResponse) SetID(val string)
SetID sets the value of ID.
func (*CreateUserResponse) UnmarshalJSON ¶
func (s *CreateUserResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateUserResponseAdditional ¶
func (*CreateUserResponseAdditional) Decode ¶
func (s *CreateUserResponseAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateUserResponseAdditional from json.
func (CreateUserResponseAdditional) Encode ¶
func (s CreateUserResponseAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateUserResponseAdditional) MarshalJSON ¶
func (s CreateUserResponseAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUserResponseAdditional) UnmarshalJSON ¶
func (s *CreateUserResponseAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateUserUnauthorized ¶
type CreateUserUnauthorized ErrorDetails
func (*CreateUserUnauthorized) Decode ¶
func (s *CreateUserUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CreateUserUnauthorized from json.
func (*CreateUserUnauthorized) Encode ¶
func (s *CreateUserUnauthorized) Encode(e *jx.Encoder)
Encode encodes CreateUserUnauthorized as json.
func (*CreateUserUnauthorized) MarshalJSON ¶
func (s *CreateUserUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateUserUnauthorized) UnmarshalJSON ¶
func (s *CreateUserUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeactivateFlowDefinitionBadRequest ¶
type DeactivateFlowDefinitionBadRequest ErrorDetails
func (*DeactivateFlowDefinitionBadRequest) Decode ¶
func (s *DeactivateFlowDefinitionBadRequest) Decode(d *jx.Decoder) error
Decode decodes DeactivateFlowDefinitionBadRequest from json.
func (*DeactivateFlowDefinitionBadRequest) Encode ¶
func (s *DeactivateFlowDefinitionBadRequest) Encode(e *jx.Encoder)
Encode encodes DeactivateFlowDefinitionBadRequest as json.
func (*DeactivateFlowDefinitionBadRequest) MarshalJSON ¶
func (s *DeactivateFlowDefinitionBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeactivateFlowDefinitionBadRequest) UnmarshalJSON ¶
func (s *DeactivateFlowDefinitionBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeactivateFlowDefinitionConflict ¶
type DeactivateFlowDefinitionConflict ErrorDetails
func (*DeactivateFlowDefinitionConflict) Decode ¶
func (s *DeactivateFlowDefinitionConflict) Decode(d *jx.Decoder) error
Decode decodes DeactivateFlowDefinitionConflict from json.
func (*DeactivateFlowDefinitionConflict) Encode ¶
func (s *DeactivateFlowDefinitionConflict) Encode(e *jx.Encoder)
Encode encodes DeactivateFlowDefinitionConflict as json.
func (*DeactivateFlowDefinitionConflict) MarshalJSON ¶
func (s *DeactivateFlowDefinitionConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeactivateFlowDefinitionConflict) UnmarshalJSON ¶
func (s *DeactivateFlowDefinitionConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeactivateFlowDefinitionNoContent ¶
type DeactivateFlowDefinitionNoContent struct{}
DeactivateFlowDefinitionNoContent is response for DeactivateFlowDefinition operation.
type DeactivateFlowDefinitionParams ¶
type DeactivateFlowDefinitionParams struct {
// The id returned by the POST /flow_definitions endpoint.
ID string
// The unique identifier of the project.
ProjectID ProjectID
}
DeactivateFlowDefinitionParams is parameters of deactivateFlowDefinition operation.
type DeactivateFlowDefinitionRes ¶
type DeactivateFlowDefinitionRes interface {
// contains filtered or unexported methods
}
type DeleteFlowDefinitionNoContent ¶
type DeleteFlowDefinitionNoContent struct{}
DeleteFlowDefinitionNoContent is response for DeleteFlowDefinition operation.
type DeleteFlowDefinitionParams ¶
type DeleteFlowDefinitionParams struct {
// The id returned by the POST /flow_definitions endpoint.
ID string
// The project id to filter by.
ProjectID ProjectID
}
DeleteFlowDefinitionParams is parameters of deleteFlowDefinition operation.
type DeleteFlowDefinitionRes ¶
type DeleteFlowDefinitionRes interface {
// contains filtered or unexported methods
}
type DeviceAuthorizationResponse ¶
type DeviceAuthorizationResponse struct {
// The device code that the client will use to poll for authorization.
DeviceCode OptString `json:"device_code"`
// The number of seconds until the device code expires.
ExpiresIn OptInt `json:"expires_in"`
// The minimum amount of time in seconds that the client should wait
// between polling requests.
Interval OptInt `json:"interval"`
// The user code that the user will enter to authorize the device.
UserCode OptString `json:"user_code"`
// The URI where the user will enter the user code to authorize the device.
VerificationURI OptString `json:"verification_uri"`
// The complete URI with the user code included, which the user can visit
// to authorize the device.
VerificationURIComplete OptString `json:"verification_uri_complete"`
}
Ref: #
func (*DeviceAuthorizationResponse) Decode ¶
func (s *DeviceAuthorizationResponse) Decode(d *jx.Decoder) error
Decode decodes DeviceAuthorizationResponse from json.
func (*DeviceAuthorizationResponse) Encode ¶
func (s *DeviceAuthorizationResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeviceAuthorizationResponse) GetDeviceCode ¶
func (s *DeviceAuthorizationResponse) GetDeviceCode() OptString
GetDeviceCode returns the value of DeviceCode.
func (*DeviceAuthorizationResponse) GetExpiresIn ¶
func (s *DeviceAuthorizationResponse) GetExpiresIn() OptInt
GetExpiresIn returns the value of ExpiresIn.
func (*DeviceAuthorizationResponse) GetInterval ¶
func (s *DeviceAuthorizationResponse) GetInterval() OptInt
GetInterval returns the value of Interval.
func (*DeviceAuthorizationResponse) GetUserCode ¶
func (s *DeviceAuthorizationResponse) GetUserCode() OptString
GetUserCode returns the value of UserCode.
func (*DeviceAuthorizationResponse) GetVerificationURI ¶
func (s *DeviceAuthorizationResponse) GetVerificationURI() OptString
GetVerificationURI returns the value of VerificationURI.
func (*DeviceAuthorizationResponse) GetVerificationURIComplete ¶
func (s *DeviceAuthorizationResponse) GetVerificationURIComplete() OptString
GetVerificationURIComplete returns the value of VerificationURIComplete.
func (*DeviceAuthorizationResponse) MarshalJSON ¶
func (s *DeviceAuthorizationResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeviceAuthorizationResponse) SetDeviceCode ¶
func (s *DeviceAuthorizationResponse) SetDeviceCode(val OptString)
SetDeviceCode sets the value of DeviceCode.
func (*DeviceAuthorizationResponse) SetExpiresIn ¶
func (s *DeviceAuthorizationResponse) SetExpiresIn(val OptInt)
SetExpiresIn sets the value of ExpiresIn.
func (*DeviceAuthorizationResponse) SetInterval ¶
func (s *DeviceAuthorizationResponse) SetInterval(val OptInt)
SetInterval sets the value of Interval.
func (*DeviceAuthorizationResponse) SetUserCode ¶
func (s *DeviceAuthorizationResponse) SetUserCode(val OptString)
SetUserCode sets the value of UserCode.
func (*DeviceAuthorizationResponse) SetVerificationURI ¶
func (s *DeviceAuthorizationResponse) SetVerificationURI(val OptString)
SetVerificationURI sets the value of VerificationURI.
func (*DeviceAuthorizationResponse) SetVerificationURIComplete ¶
func (s *DeviceAuthorizationResponse) SetVerificationURIComplete(val OptString)
SetVerificationURIComplete sets the value of VerificationURIComplete.
func (*DeviceAuthorizationResponse) UnmarshalJSON ¶
func (s *DeviceAuthorizationResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EndSessionNoContent ¶
type EndSessionNoContent struct{}
EndSessionNoContent is response for EndSession operation.
type EndSessionParams ¶
type EndSessionParams struct {
// The client ID is the identifier for the client application that is making
// the request. This is used by the authorization server to identify the
// client and to determine whether it is authorized to perform the requested
// action.
ClientID OptString `json:",omitempty,omitzero"`
// The ID token hint is a previously issued ID token that can be used to
// pre-fill the authentication form or to provide information about the
// user to the authorization server. This can be useful for single sign-on
// scenarios or for providing a smoother user experience.
IDTokenHint OptString `json:",omitempty,omitzero"`
// The logout hint is a hint to the authorization server about the login
// identifier of the user. This can be used to pre-fill the username or email
// field in the logout form, making it easier for the user to log out.
LogoutHint OptString `json:",omitempty,omitzero"`
// The post logout redirect URI is the URI to which the user will be
// redirected after they have logged out. This must be a registered URI
// for the client application and is used to ensure that the user is
// redirected to a safe location after logging out.
PostLogoutRedirectURI OptString `json:",omitempty,omitzero"`
// The state parameter is an opaque value that is used by the client to
// maintain state between the request and the callback. It is typically used
// to prevent cross-site request forgery (CSRF) attacks by including a unique
// value in the request that the client can verify when it receives the callback.
State OptString `json:",omitempty,omitzero"`
// The ui_locales parameter is a space-separated list of BCP47 language tags
// that are used to indicate the preferred languages and scripts for the user
// interface. This can be used by the authorization server to display the logout
// page in the user's preferred language.
UILocales OptString `json:",omitempty,omitzero"`
}
EndSessionParams is parameters of endSession operation.
type EndSessionRes ¶
type EndSessionRes interface {
// contains filtered or unexported methods
}
type ErrorCode ¶
type ErrorCode string
func (ErrorCode) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ErrorCode) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorDetails ¶
type ErrorDetails struct {
Code ErrorCode `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptErrorDetailsDetails `json:"details"`
}
Standard error payload returned for failed API requests. Ref: #
func (*ErrorDetails) Decode ¶
func (s *ErrorDetails) Decode(d *jx.Decoder) error
Decode decodes ErrorDetails from json.
func (*ErrorDetails) Encode ¶
func (s *ErrorDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ErrorDetails) GetCode ¶
func (s *ErrorDetails) GetCode() ErrorCode
GetCode returns the value of Code.
func (*ErrorDetails) GetDetails ¶
func (s *ErrorDetails) GetDetails() OptErrorDetailsDetails
GetDetails returns the value of Details.
func (*ErrorDetails) GetMessage ¶
func (s *ErrorDetails) GetMessage() string
GetMessage returns the value of Message.
func (*ErrorDetails) MarshalJSON ¶
func (s *ErrorDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorDetails) SetCode ¶
func (s *ErrorDetails) SetCode(val ErrorCode)
SetCode sets the value of Code.
func (*ErrorDetails) SetDetails ¶
func (s *ErrorDetails) SetDetails(val OptErrorDetailsDetails)
SetDetails sets the value of Details.
func (*ErrorDetails) SetMessage ¶
func (s *ErrorDetails) SetMessage(val string)
SetMessage sets the value of Message.
func (*ErrorDetails) UnmarshalJSON ¶
func (s *ErrorDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorDetailsDetails ¶
Additional error-specific context.
func (*ErrorDetailsDetails) Decode ¶
func (s *ErrorDetailsDetails) Decode(d *jx.Decoder) error
Decode decodes ErrorDetailsDetails from json.
func (ErrorDetailsDetails) Encode ¶
func (s ErrorDetailsDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ErrorDetailsDetails) MarshalJSON ¶
func (s ErrorDetailsDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorDetailsDetails) UnmarshalJSON ¶
func (s *ErrorDetailsDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorDetailsStatusCode ¶
type ErrorDetailsStatusCode struct {
StatusCode int
Response ErrorDetails
}
ErrorDetailsStatusCode wraps ErrorDetails with StatusCode.
func (*ErrorDetailsStatusCode) GetResponse ¶
func (s *ErrorDetailsStatusCode) GetResponse() ErrorDetails
GetResponse returns the value of Response.
func (*ErrorDetailsStatusCode) GetStatusCode ¶
func (s *ErrorDetailsStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ErrorDetailsStatusCode) SetResponse ¶
func (s *ErrorDetailsStatusCode) SetResponse(val ErrorDetails)
SetResponse sets the value of Response.
func (*ErrorDetailsStatusCode) SetStatusCode ¶
func (s *ErrorDetailsStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type ExchangeHandoffBadRequest ¶
type ExchangeHandoffBadRequest ErrorDetails
func (*ExchangeHandoffBadRequest) Decode ¶
func (s *ExchangeHandoffBadRequest) Decode(d *jx.Decoder) error
Decode decodes ExchangeHandoffBadRequest from json.
func (*ExchangeHandoffBadRequest) Encode ¶
func (s *ExchangeHandoffBadRequest) Encode(e *jx.Encoder)
Encode encodes ExchangeHandoffBadRequest as json.
func (*ExchangeHandoffBadRequest) MarshalJSON ¶
func (s *ExchangeHandoffBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeHandoffBadRequest) UnmarshalJSON ¶
func (s *ExchangeHandoffBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeHandoffGone ¶
type ExchangeHandoffGone ErrorDetails
func (*ExchangeHandoffGone) Decode ¶
func (s *ExchangeHandoffGone) Decode(d *jx.Decoder) error
Decode decodes ExchangeHandoffGone from json.
func (*ExchangeHandoffGone) Encode ¶
func (s *ExchangeHandoffGone) Encode(e *jx.Encoder)
Encode encodes ExchangeHandoffGone as json.
func (*ExchangeHandoffGone) MarshalJSON ¶
func (s *ExchangeHandoffGone) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeHandoffGone) UnmarshalJSON ¶
func (s *ExchangeHandoffGone) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeHandoffParams ¶
type ExchangeHandoffParams struct {
// The unique identifier of the project.
ProjectID ProjectID
// Optional retry key for safe retries of the call.
// Retries carrying the same key within the call window return the cached
// payload without creating a new resource. See details in the endpoint description.
IdempotencyKey OptString `json:",omitempty,omitzero"`
}
ExchangeHandoffParams is parameters of exchangeHandoff operation.
type ExchangeHandoffRes ¶
type ExchangeHandoffRes interface {
// contains filtered or unexported methods
}
type ExchangeHandoffUnauthorized ¶
type ExchangeHandoffUnauthorized ErrorDetails
func (*ExchangeHandoffUnauthorized) Decode ¶
func (s *ExchangeHandoffUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ExchangeHandoffUnauthorized from json.
func (*ExchangeHandoffUnauthorized) Encode ¶
func (s *ExchangeHandoffUnauthorized) Encode(e *jx.Encoder)
Encode encodes ExchangeHandoffUnauthorized as json.
func (*ExchangeHandoffUnauthorized) MarshalJSON ¶
func (s *ExchangeHandoffUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeHandoffUnauthorized) UnmarshalJSON ¶
func (s *ExchangeHandoffUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ExchangeRequest ¶
type ExchangeRequest struct {
// The one-time handoff token minted by `POST /auth_attempts/{id}/handoff`.
// Single-use — replaying it after a successful exchange returns `410 Gone`.
HandoffToken string `json:"handoff_token"`
// Optional session lifetime after exchange as an ISO-8601 duration. When omitted, the server
// uses the configured default. Must not exceed the configured maximum.
TTL OptDuration `json:"ttl"`
}
Request to exchange a handoff token for a session and session_token. Ref: #
func (*ExchangeRequest) Decode ¶
func (s *ExchangeRequest) Decode(d *jx.Decoder) error
Decode decodes ExchangeRequest from json.
func (*ExchangeRequest) Encode ¶
func (s *ExchangeRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExchangeRequest) GetHandoffToken ¶
func (s *ExchangeRequest) GetHandoffToken() string
GetHandoffToken returns the value of HandoffToken.
func (*ExchangeRequest) GetTTL ¶
func (s *ExchangeRequest) GetTTL() OptDuration
GetTTL returns the value of TTL.
func (*ExchangeRequest) MarshalJSON ¶
func (s *ExchangeRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExchangeRequest) SetHandoffToken ¶
func (s *ExchangeRequest) SetHandoffToken(val string)
SetHandoffToken sets the value of HandoffToken.
func (*ExchangeRequest) SetTTL ¶
func (s *ExchangeRequest) SetTTL(val OptDuration)
SetTTL sets the value of TTL.
func (*ExchangeRequest) UnmarshalJSON ¶
func (s *ExchangeRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FactorMethod ¶
type FactorMethod string
An authentication factor method. Ref: #
const ( FactorMethodIdentifier FactorMethod = "identifier" FactorMethodPassword FactorMethod = "password" FactorMethodPasskey FactorMethod = "passkey" )
func (FactorMethod) AllValues ¶
func (FactorMethod) AllValues() []FactorMethod
AllValues returns all FactorMethod values.
func (*FactorMethod) Decode ¶
func (s *FactorMethod) Decode(d *jx.Decoder) error
Decode decodes FactorMethod from json.
func (FactorMethod) Encode ¶
func (s FactorMethod) Encode(e *jx.Encoder)
Encode encodes FactorMethod as json.
func (FactorMethod) MarshalJSON ¶
func (s FactorMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FactorMethod) MarshalText ¶
func (s FactorMethod) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FactorMethod) UnmarshalJSON ¶
func (s *FactorMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FactorMethod) UnmarshalText ¶
func (s *FactorMethod) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FactorMethod) Validate ¶
func (s FactorMethod) Validate() error
type Field ¶
type Field struct {
// Field name, matching a property in the flow's user schema. Carries
// the submitted value back to the engine.
Name string `json:"name"`
// The input kind the client should render. Encodes the formats and
// JSON types that map to a familiar HTML input: `email`, `url`,
// `date` come from `format`; `checkbox` from JSON `type: boolean`;
// `select` from a closed `enum`. For other formats (e.g. uuid) the
// type is `text` and `validation.format` carries the rule.
Type FieldType `json:"type"`
// Localization key for the field label.
TextKey string `json:"text_key"`
// The field MUST be present and non-empty on submit. Mirrors the
// schema's top-level `required` array.
Required OptBool `json:"required"`
// Pre-filled value (e.g., an identifier carried over from a pivot).
Value jx.Raw `json:"value"`
// Schema-derived rules the frontend SHOULD apply at input time. The
// server runs the same rules on submit and is the only authority on
// whether the step advances — these rules are a UX hint to reduce
// round trips, not a contract guarantee.
// Omitted entirely when the field has no rules beyond its `type`.
// Each key mirrors a JSON Schema keyword on the underlying user
// property; absent keys mean no rule.
Validation OptFieldValidation `json:"validation"`
}
A data input capability. Describes what the user must provide. Does not contain display text — only a `text_key` resolved client-side. Ref: #
func (*Field) GetRequired ¶
GetRequired returns the value of Required.
func (*Field) GetTextKey ¶
GetTextKey returns the value of TextKey.
func (*Field) GetValidation ¶
func (s *Field) GetValidation() OptFieldValidation
GetValidation returns the value of Validation.
func (*Field) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Field) SetRequired ¶
SetRequired sets the value of Required.
func (*Field) SetTextKey ¶
SetTextKey sets the value of TextKey.
func (*Field) SetValidation ¶
func (s *Field) SetValidation(val OptFieldValidation)
SetValidation sets the value of Validation.
func (*Field) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type FieldType ¶
type FieldType string
The input kind the client should render. Encodes the formats and JSON types that map to a familiar HTML input: `email`, `url`, `date` come from `format`; `checkbox` from JSON `type: boolean`; `select` from a closed `enum`. For other formats (e.g. uuid) the type is `text` and `validation.format` carries the rule.
const ( FieldTypeText FieldType = "text" FieldTypeEmail FieldType = "email" FieldTypePassword FieldType = "password" FieldTypeTel FieldType = "tel" FieldTypeNumber FieldType = "number" FieldTypeURL FieldType = "url" FieldTypeDate FieldType = "date" FieldTypeHidden FieldType = "hidden" FieldTypeCheckbox FieldType = "checkbox" FieldTypeSelect FieldType = "select" )
func (FieldType) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (FieldType) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*FieldType) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FieldType) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type FieldValidation ¶
type FieldValidation struct {
// Semantic format the value must match. Values mirror the user
// meta-schema. When `type` already encodes the format (email,
// url, date), this key is informative and the input type is
// sufficient for client-side validation. When `type` is `text`
// (e.g. `format: uuid`), this key is the only signal.
Format OptFieldValidationFormat `json:"format"`
// Minimum length in characters (inclusive). Mirrors `minLength`.
MinLength OptInt `json:"min_length"`
// Maximum length in characters (inclusive). Mirrors `maxLength`.
MaxLength OptInt `json:"max_length"`
// Closed list of allowed values. Mirrors the JSON Schema `enum`
// keyword on the underlying user property. When `type` is
// `select` the client renders these as options; for other types
// the rule still applies as a membership check.
Enum []string `json:"enum"`
}
Schema-derived rules the frontend SHOULD apply at input time. The server runs the same rules on submit and is the only authority on whether the step advances — these rules are a UX hint to reduce round trips, not a contract guarantee. Omitted entirely when the field has no rules beyond its `type`. Each key mirrors a JSON Schema keyword on the underlying user property; absent keys mean no rule.
func (*FieldValidation) Decode ¶
func (s *FieldValidation) Decode(d *jx.Decoder) error
Decode decodes FieldValidation from json.
func (*FieldValidation) Encode ¶
func (s *FieldValidation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FieldValidation) GetEnum ¶
func (s *FieldValidation) GetEnum() []string
GetEnum returns the value of Enum.
func (*FieldValidation) GetFormat ¶
func (s *FieldValidation) GetFormat() OptFieldValidationFormat
GetFormat returns the value of Format.
func (*FieldValidation) GetMaxLength ¶
func (s *FieldValidation) GetMaxLength() OptInt
GetMaxLength returns the value of MaxLength.
func (*FieldValidation) GetMinLength ¶
func (s *FieldValidation) GetMinLength() OptInt
GetMinLength returns the value of MinLength.
func (*FieldValidation) MarshalJSON ¶
func (s *FieldValidation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FieldValidation) SetEnum ¶
func (s *FieldValidation) SetEnum(val []string)
SetEnum sets the value of Enum.
func (*FieldValidation) SetFormat ¶
func (s *FieldValidation) SetFormat(val OptFieldValidationFormat)
SetFormat sets the value of Format.
func (*FieldValidation) SetMaxLength ¶
func (s *FieldValidation) SetMaxLength(val OptInt)
SetMaxLength sets the value of MaxLength.
func (*FieldValidation) SetMinLength ¶
func (s *FieldValidation) SetMinLength(val OptInt)
SetMinLength sets the value of MinLength.
func (*FieldValidation) UnmarshalJSON ¶
func (s *FieldValidation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FieldValidation) Validate ¶
func (s *FieldValidation) Validate() error
type FieldValidationFormat ¶
type FieldValidationFormat string
Semantic format the value must match. Values mirror the user meta-schema. When `type` already encodes the format (email, url, date), this key is informative and the input type is sufficient for client-side validation. When `type` is `text` (e.g. `format: uuid`), this key is the only signal.
const ( FieldValidationFormatEmail FieldValidationFormat = "email" FieldValidationFormatDateTime FieldValidationFormat = "date-time" FieldValidationFormatUUID FieldValidationFormat = "uuid" FieldValidationFormatURI FieldValidationFormat = "uri" )
func (FieldValidationFormat) AllValues ¶
func (FieldValidationFormat) AllValues() []FieldValidationFormat
AllValues returns all FieldValidationFormat values.
func (*FieldValidationFormat) Decode ¶
func (s *FieldValidationFormat) Decode(d *jx.Decoder) error
Decode decodes FieldValidationFormat from json.
func (FieldValidationFormat) Encode ¶
func (s FieldValidationFormat) Encode(e *jx.Encoder)
Encode encodes FieldValidationFormat as json.
func (FieldValidationFormat) MarshalJSON ¶
func (s FieldValidationFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FieldValidationFormat) MarshalText ¶
func (s FieldValidationFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FieldValidationFormat) UnmarshalJSON ¶
func (s *FieldValidationFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FieldValidationFormat) UnmarshalText ¶
func (s *FieldValidationFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FieldValidationFormat) Validate ¶
func (s FieldValidationFormat) Validate() error
type FlowAudience ¶
type FlowAudience struct {
// Restrict to specific teams (organizations). Empty means no team restriction.
TeamIds []string `json:"team_ids"`
// Restrict to specific applications. Empty means no app restriction.
AppIds []string `json:"app_ids"`
}
Scopes which teams or apps this flow definition applies to. Empty or omitted fields mean "no restriction"; when both are empty the definition matches every request in the project. The engine picks the most specific matching definition: app > team > project-wide. Ref: #
func (*FlowAudience) Decode ¶
func (s *FlowAudience) Decode(d *jx.Decoder) error
Decode decodes FlowAudience from json.
func (*FlowAudience) Encode ¶
func (s *FlowAudience) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowAudience) GetAppIds ¶
func (s *FlowAudience) GetAppIds() []string
GetAppIds returns the value of AppIds.
func (*FlowAudience) GetTeamIds ¶
func (s *FlowAudience) GetTeamIds() []string
GetTeamIds returns the value of TeamIds.
func (*FlowAudience) MarshalJSON ¶
func (s *FlowAudience) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowAudience) SetAppIds ¶
func (s *FlowAudience) SetAppIds(val []string)
SetAppIds sets the value of AppIds.
func (*FlowAudience) SetTeamIds ¶
func (s *FlowAudience) SetTeamIds(val []string)
SetTeamIds sets the value of TeamIds.
func (*FlowAudience) UnmarshalJSON ¶
func (s *FlowAudience) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowDefinition ¶
type FlowDefinition struct {
// Stable identifier for this flow, used as the target of cross-flow
// `switch` and `pivot` transitions. Renaming is not supported — the
// `name` is part of the public contract another definition may
// reference. Acts as the human display label as well; no separate slug.
Name string `json:"name"`
Status OptFlowDefinitionStatus `json:"status"`
// User schema this flow operates on. Step `fields` reference properties
// defined in this schema. The engine resolves field types, validation,
// and implicit outcomes from schema annotations at runtime.
UserSchema url.URL `json:"user_schema"`
// Maps each purpose this definition handles to its entry-point step.
// Keys are purpose names; values must match a `name` in `steps`. A
// definition can serve multiple purposes (e.g. a combined login/register
// flow) by listing one entry per purpose.
Purposes FlowDefinitionPurposes `json:"purposes"`
Audience OptFlowAudience `json:"audience"`
// Ordered list of steps in this flow. The order is for human readability —
// actual step sequencing is determined by transitions.
Steps []FlowDefinitionStep `json:"steps"`
}
A flow definition is the server-side configuration that describes a complete authentication or identity flow. It is NOT sent to the frontend — the flow engine evaluates it and produces FlowResponse payloads (steps with capability dictionaries) for the client. Flow definitions are created by administrators and stored in the project/team configuration hierarchy. The engine selects the matching definition based on the purpose + audience when a flow is created via POST /flow. Ref: #
func (*FlowDefinition) Decode ¶
func (s *FlowDefinition) Decode(d *jx.Decoder) error
Decode decodes FlowDefinition from json.
func (*FlowDefinition) Encode ¶
func (s *FlowDefinition) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinition) GetAudience ¶
func (s *FlowDefinition) GetAudience() OptFlowAudience
GetAudience returns the value of Audience.
func (*FlowDefinition) GetName ¶
func (s *FlowDefinition) GetName() string
GetName returns the value of Name.
func (*FlowDefinition) GetPurposes ¶
func (s *FlowDefinition) GetPurposes() FlowDefinitionPurposes
GetPurposes returns the value of Purposes.
func (*FlowDefinition) GetStatus ¶
func (s *FlowDefinition) GetStatus() OptFlowDefinitionStatus
GetStatus returns the value of Status.
func (*FlowDefinition) GetSteps ¶
func (s *FlowDefinition) GetSteps() []FlowDefinitionStep
GetSteps returns the value of Steps.
func (*FlowDefinition) GetUserSchema ¶
func (s *FlowDefinition) GetUserSchema() url.URL
GetUserSchema returns the value of UserSchema.
func (*FlowDefinition) MarshalJSON ¶
func (s *FlowDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinition) SetAudience ¶
func (s *FlowDefinition) SetAudience(val OptFlowAudience)
SetAudience sets the value of Audience.
func (*FlowDefinition) SetName ¶
func (s *FlowDefinition) SetName(val string)
SetName sets the value of Name.
func (*FlowDefinition) SetPurposes ¶
func (s *FlowDefinition) SetPurposes(val FlowDefinitionPurposes)
SetPurposes sets the value of Purposes.
func (*FlowDefinition) SetStatus ¶
func (s *FlowDefinition) SetStatus(val OptFlowDefinitionStatus)
SetStatus sets the value of Status.
func (*FlowDefinition) SetSteps ¶
func (s *FlowDefinition) SetSteps(val []FlowDefinitionStep)
SetSteps sets the value of Steps.
func (*FlowDefinition) SetUserSchema ¶
func (s *FlowDefinition) SetUserSchema(val url.URL)
SetUserSchema sets the value of UserSchema.
func (*FlowDefinition) UnmarshalJSON ¶
func (s *FlowDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinition) Validate ¶
func (s *FlowDefinition) Validate() error
type FlowDefinitionDetailResponse ¶
type FlowDefinitionDetailResponse struct {
// Unique identifier for the flow definition.
ID string `json:"id"`
// Identifier of the project this flow definition belongs to.
ProjectID string `json:"project_id"`
Status FlowDefinitionStatus `json:"status"`
FlowDefinition FlowDefinition `json:"flow_definition"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Ref: #
func (*FlowDefinitionDetailResponse) Decode ¶
func (s *FlowDefinitionDetailResponse) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionDetailResponse from json.
func (*FlowDefinitionDetailResponse) Encode ¶
func (s *FlowDefinitionDetailResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinitionDetailResponse) GetCreatedAt ¶
func (s *FlowDefinitionDetailResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*FlowDefinitionDetailResponse) GetFlowDefinition ¶
func (s *FlowDefinitionDetailResponse) GetFlowDefinition() FlowDefinition
GetFlowDefinition returns the value of FlowDefinition.
func (*FlowDefinitionDetailResponse) GetID ¶
func (s *FlowDefinitionDetailResponse) GetID() string
GetID returns the value of ID.
func (*FlowDefinitionDetailResponse) GetProjectID ¶
func (s *FlowDefinitionDetailResponse) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*FlowDefinitionDetailResponse) GetStatus ¶
func (s *FlowDefinitionDetailResponse) GetStatus() FlowDefinitionStatus
GetStatus returns the value of Status.
func (*FlowDefinitionDetailResponse) GetUpdatedAt ¶
func (s *FlowDefinitionDetailResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*FlowDefinitionDetailResponse) MarshalJSON ¶
func (s *FlowDefinitionDetailResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionDetailResponse) SetCreatedAt ¶
func (s *FlowDefinitionDetailResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*FlowDefinitionDetailResponse) SetFlowDefinition ¶
func (s *FlowDefinitionDetailResponse) SetFlowDefinition(val FlowDefinition)
SetFlowDefinition sets the value of FlowDefinition.
func (*FlowDefinitionDetailResponse) SetID ¶
func (s *FlowDefinitionDetailResponse) SetID(val string)
SetID sets the value of ID.
func (*FlowDefinitionDetailResponse) SetProjectID ¶
func (s *FlowDefinitionDetailResponse) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*FlowDefinitionDetailResponse) SetStatus ¶
func (s *FlowDefinitionDetailResponse) SetStatus(val FlowDefinitionStatus)
SetStatus sets the value of Status.
func (*FlowDefinitionDetailResponse) SetUpdatedAt ¶
func (s *FlowDefinitionDetailResponse) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*FlowDefinitionDetailResponse) UnmarshalJSON ¶
func (s *FlowDefinitionDetailResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionDetailResponse) Validate ¶
func (s *FlowDefinitionDetailResponse) Validate() error
type FlowDefinitionListResponse ¶
type FlowDefinitionListResponse struct {
FlowDefinitions []FlowDefinitionResponse `json:"flow_definitions"`
// The token to retrieve the next page of results. Absent if there are no more results.
NextPageToken OptNilPageToken `json:"next_page_token"`
}
Ref: #
func (*FlowDefinitionListResponse) Decode ¶
func (s *FlowDefinitionListResponse) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionListResponse from json.
func (*FlowDefinitionListResponse) Encode ¶
func (s *FlowDefinitionListResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinitionListResponse) GetFlowDefinitions ¶
func (s *FlowDefinitionListResponse) GetFlowDefinitions() []FlowDefinitionResponse
GetFlowDefinitions returns the value of FlowDefinitions.
func (*FlowDefinitionListResponse) GetNextPageToken ¶
func (s *FlowDefinitionListResponse) GetNextPageToken() OptNilPageToken
GetNextPageToken returns the value of NextPageToken.
func (*FlowDefinitionListResponse) MarshalJSON ¶
func (s *FlowDefinitionListResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionListResponse) SetFlowDefinitions ¶
func (s *FlowDefinitionListResponse) SetFlowDefinitions(val []FlowDefinitionResponse)
SetFlowDefinitions sets the value of FlowDefinitions.
func (*FlowDefinitionListResponse) SetNextPageToken ¶
func (s *FlowDefinitionListResponse) SetNextPageToken(val OptNilPageToken)
SetNextPageToken sets the value of NextPageToken.
func (*FlowDefinitionListResponse) UnmarshalJSON ¶
func (s *FlowDefinitionListResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionListResponse) Validate ¶
func (s *FlowDefinitionListResponse) Validate() error
type FlowDefinitionPurposes ¶
Maps each purpose this definition handles to its entry-point step. Keys are purpose names; values must match a `name` in `steps`. A definition can serve multiple purposes (e.g. a combined login/register flow) by listing one entry per purpose.
func (*FlowDefinitionPurposes) Decode ¶
func (s *FlowDefinitionPurposes) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionPurposes from json.
func (FlowDefinitionPurposes) Encode ¶
func (s FlowDefinitionPurposes) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowDefinitionPurposes) MarshalJSON ¶
func (s FlowDefinitionPurposes) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionPurposes) UnmarshalJSON ¶
func (s *FlowDefinitionPurposes) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (FlowDefinitionPurposes) Validate ¶
func (s FlowDefinitionPurposes) Validate() error
type FlowDefinitionResponse ¶
type FlowDefinitionResponse struct {
// Unique identifier for the created flow definition.
ID string `json:"id"`
// Stable identifier for this flow (echoed from the request).
Name string `json:"name"`
// Identifier of the project this flow definition belongs to.
ProjectID string `json:"project_id"`
// URI of the flow definition schema this definition was authored against.
// If the schema_uri was not provided in the request, the flow definition is validated against the
// latest version of the schema, and the response includes the schema_uri of the latest version.
SchemaURI OptURI `json:"schema_uri"`
Status FlowDefinitionStatus `json:"status"`
// Timestamp when the flow definition was created.
CreatedAt time.Time `json:"created_at"`
// Timestamp when the flow definition was last updated.
UpdatedAt time.Time `json:"updated_at"`
}
Response object for a flow definition after creation. Ref: #
func (*FlowDefinitionResponse) Decode ¶
func (s *FlowDefinitionResponse) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionResponse from json.
func (*FlowDefinitionResponse) Encode ¶
func (s *FlowDefinitionResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinitionResponse) GetCreatedAt ¶
func (s *FlowDefinitionResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*FlowDefinitionResponse) GetID ¶
func (s *FlowDefinitionResponse) GetID() string
GetID returns the value of ID.
func (*FlowDefinitionResponse) GetName ¶
func (s *FlowDefinitionResponse) GetName() string
GetName returns the value of Name.
func (*FlowDefinitionResponse) GetProjectID ¶
func (s *FlowDefinitionResponse) GetProjectID() string
GetProjectID returns the value of ProjectID.
func (*FlowDefinitionResponse) GetSchemaURI ¶
func (s *FlowDefinitionResponse) GetSchemaURI() OptURI
GetSchemaURI returns the value of SchemaURI.
func (*FlowDefinitionResponse) GetStatus ¶
func (s *FlowDefinitionResponse) GetStatus() FlowDefinitionStatus
GetStatus returns the value of Status.
func (*FlowDefinitionResponse) GetUpdatedAt ¶
func (s *FlowDefinitionResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*FlowDefinitionResponse) MarshalJSON ¶
func (s *FlowDefinitionResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionResponse) SetCreatedAt ¶
func (s *FlowDefinitionResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*FlowDefinitionResponse) SetID ¶
func (s *FlowDefinitionResponse) SetID(val string)
SetID sets the value of ID.
func (*FlowDefinitionResponse) SetName ¶
func (s *FlowDefinitionResponse) SetName(val string)
SetName sets the value of Name.
func (*FlowDefinitionResponse) SetProjectID ¶
func (s *FlowDefinitionResponse) SetProjectID(val string)
SetProjectID sets the value of ProjectID.
func (*FlowDefinitionResponse) SetSchemaURI ¶
func (s *FlowDefinitionResponse) SetSchemaURI(val OptURI)
SetSchemaURI sets the value of SchemaURI.
func (*FlowDefinitionResponse) SetStatus ¶
func (s *FlowDefinitionResponse) SetStatus(val FlowDefinitionStatus)
SetStatus sets the value of Status.
func (*FlowDefinitionResponse) SetUpdatedAt ¶
func (s *FlowDefinitionResponse) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*FlowDefinitionResponse) UnmarshalJSON ¶
func (s *FlowDefinitionResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionResponse) Validate ¶
func (s *FlowDefinitionResponse) Validate() error
type FlowDefinitionStatus ¶
type FlowDefinitionStatus string
The lifecycle state of this flow definition. active: The flow definition is ready to be used. The flow engine can select it for new flows. draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition. Allowed transitions: - draft -> active: To activate the flow definition. - active -> draft: To remove the flow definition from active use immediately. Ref: #
const ( FlowDefinitionStatusActive FlowDefinitionStatus = "active" FlowDefinitionStatusDraft FlowDefinitionStatus = "draft" )
func (FlowDefinitionStatus) AllValues ¶
func (FlowDefinitionStatus) AllValues() []FlowDefinitionStatus
AllValues returns all FlowDefinitionStatus values.
func (*FlowDefinitionStatus) Decode ¶
func (s *FlowDefinitionStatus) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStatus from json.
func (FlowDefinitionStatus) Encode ¶
func (s FlowDefinitionStatus) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStatus as json.
func (FlowDefinitionStatus) MarshalJSON ¶
func (s FlowDefinitionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowDefinitionStatus) MarshalText ¶
func (s FlowDefinitionStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowDefinitionStatus) UnmarshalJSON ¶
func (s *FlowDefinitionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionStatus) UnmarshalText ¶
func (s *FlowDefinitionStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowDefinitionStatus) Validate ¶
func (s FlowDefinitionStatus) Validate() error
type FlowDefinitionStep ¶
type FlowDefinitionStep struct {
// Unique step identifier within this flow. Used as transition targets
// and returned in the API response as `step.name`.
Name string `json:"name"`
// Schema property names to collect from the user. Each entry references
// a property in the flow's user schema. The engine resolves field type,
// validation rules, and implicit outcomes from schema annotations
// (e.g. a property with `x-unique` set implies a `user_not_found`
// transition outcome).
Fields []string `json:"fields"`
// Ordered list of actions the user can take. The action name is what the
// frontend sends back in the submit request. If omitted, the engine
// provides a default `submit` action.
Actions []StepAction `json:"actions"`
// Security gates that must be satisfied before submission. Keyed by gate
// name. Each gate selects a kind (e.g. "captcha") and provider-specific
// configuration. The engine may also inject gates dynamically based on
// policy.
Gates OptFlowDefinitionStepGates `json:"gates"`
// Available SSO identity providers for this step.
SSOProviders []SSOProvider `json:"sso_providers"`
// Server-side mutation to execute when this step completes successfully.
// Runs after field validation passes, before the transition fires.
// - create_user: creates the user record (registration flows).
OnSuccess OptFlowDefinitionStepOnSuccess `json:"on_success"`
// Marks this as a terminal step. Tells the frontend what to do:
// - redirect: navigate to redirect_uri (OIDC/SAML callback done)
// - show: render as a success/info screen.
Complete OptFlowDefinitionStepComplete `json:"complete"`
// Maps action/outcome names to their transition descriptor.
// Keys match action names from the `actions` array. Additional keys
// come from implicit outcomes based on schema annotations
// (e.g. `user_not_found` from `x-unique` fields) and engine
// events (e.g. `sso`, `callback`).
Transitions OptFlowDefinitionStepTransitions `json:"transitions"`
}
A step in a flow definition. This is the admin-authored configuration, not the runtime payload sent to the frontend. Steps are schema-driven: `fields` references properties from the flow's user schema, and the engine resolves field metadata (type, validation, implicit outcomes) from schema annotations at runtime. A step with only `complete` set is a terminal step. All other steps are rendered to the frontend as capability payloads. Ref: #
func (*FlowDefinitionStep) Decode ¶
func (s *FlowDefinitionStep) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStep from json.
func (*FlowDefinitionStep) Encode ¶
func (s *FlowDefinitionStep) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinitionStep) GetActions ¶
func (s *FlowDefinitionStep) GetActions() []StepAction
GetActions returns the value of Actions.
func (*FlowDefinitionStep) GetComplete ¶
func (s *FlowDefinitionStep) GetComplete() OptFlowDefinitionStepComplete
GetComplete returns the value of Complete.
func (*FlowDefinitionStep) GetFields ¶
func (s *FlowDefinitionStep) GetFields() []string
GetFields returns the value of Fields.
func (*FlowDefinitionStep) GetGates ¶
func (s *FlowDefinitionStep) GetGates() OptFlowDefinitionStepGates
GetGates returns the value of Gates.
func (*FlowDefinitionStep) GetName ¶
func (s *FlowDefinitionStep) GetName() string
GetName returns the value of Name.
func (*FlowDefinitionStep) GetOnSuccess ¶
func (s *FlowDefinitionStep) GetOnSuccess() OptFlowDefinitionStepOnSuccess
GetOnSuccess returns the value of OnSuccess.
func (*FlowDefinitionStep) GetSSOProviders ¶
func (s *FlowDefinitionStep) GetSSOProviders() []SSOProvider
GetSSOProviders returns the value of SSOProviders.
func (*FlowDefinitionStep) GetTransitions ¶
func (s *FlowDefinitionStep) GetTransitions() OptFlowDefinitionStepTransitions
GetTransitions returns the value of Transitions.
func (*FlowDefinitionStep) MarshalJSON ¶
func (s *FlowDefinitionStep) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionStep) SetActions ¶
func (s *FlowDefinitionStep) SetActions(val []StepAction)
SetActions sets the value of Actions.
func (*FlowDefinitionStep) SetComplete ¶
func (s *FlowDefinitionStep) SetComplete(val OptFlowDefinitionStepComplete)
SetComplete sets the value of Complete.
func (*FlowDefinitionStep) SetFields ¶
func (s *FlowDefinitionStep) SetFields(val []string)
SetFields sets the value of Fields.
func (*FlowDefinitionStep) SetGates ¶
func (s *FlowDefinitionStep) SetGates(val OptFlowDefinitionStepGates)
SetGates sets the value of Gates.
func (*FlowDefinitionStep) SetName ¶
func (s *FlowDefinitionStep) SetName(val string)
SetName sets the value of Name.
func (*FlowDefinitionStep) SetOnSuccess ¶
func (s *FlowDefinitionStep) SetOnSuccess(val OptFlowDefinitionStepOnSuccess)
SetOnSuccess sets the value of OnSuccess.
func (*FlowDefinitionStep) SetSSOProviders ¶
func (s *FlowDefinitionStep) SetSSOProviders(val []SSOProvider)
SetSSOProviders sets the value of SSOProviders.
func (*FlowDefinitionStep) SetTransitions ¶
func (s *FlowDefinitionStep) SetTransitions(val OptFlowDefinitionStepTransitions)
SetTransitions sets the value of Transitions.
func (*FlowDefinitionStep) UnmarshalJSON ¶
func (s *FlowDefinitionStep) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionStep) Validate ¶
func (s *FlowDefinitionStep) Validate() error
type FlowDefinitionStepComplete ¶
type FlowDefinitionStepComplete string
Marks this as a terminal step. Tells the frontend what to do: - redirect: navigate to redirect_uri (OIDC/SAML callback done) - show: render as a success/info screen.
const ( FlowDefinitionStepCompleteRedirect FlowDefinitionStepComplete = "redirect" FlowDefinitionStepCompleteShow FlowDefinitionStepComplete = "show" )
func (FlowDefinitionStepComplete) AllValues ¶
func (FlowDefinitionStepComplete) AllValues() []FlowDefinitionStepComplete
AllValues returns all FlowDefinitionStepComplete values.
func (*FlowDefinitionStepComplete) Decode ¶
func (s *FlowDefinitionStepComplete) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepComplete from json.
func (FlowDefinitionStepComplete) Encode ¶
func (s FlowDefinitionStepComplete) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepComplete as json.
func (FlowDefinitionStepComplete) MarshalJSON ¶
func (s FlowDefinitionStepComplete) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowDefinitionStepComplete) MarshalText ¶
func (s FlowDefinitionStepComplete) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowDefinitionStepComplete) UnmarshalJSON ¶
func (s *FlowDefinitionStepComplete) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionStepComplete) UnmarshalText ¶
func (s *FlowDefinitionStepComplete) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowDefinitionStepComplete) Validate ¶
func (s FlowDefinitionStepComplete) Validate() error
type FlowDefinitionStepGates ¶
Security gates that must be satisfied before submission. Keyed by gate name. Each gate selects a kind (e.g. "captcha") and provider-specific configuration. The engine may also inject gates dynamically based on policy.
func (*FlowDefinitionStepGates) Decode ¶
func (s *FlowDefinitionStepGates) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepGates from json.
func (FlowDefinitionStepGates) Encode ¶
func (s FlowDefinitionStepGates) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowDefinitionStepGates) MarshalJSON ¶
func (s FlowDefinitionStepGates) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionStepGates) UnmarshalJSON ¶
func (s *FlowDefinitionStepGates) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (FlowDefinitionStepGates) Validate ¶
func (s FlowDefinitionStepGates) Validate() error
type FlowDefinitionStepOnSuccess ¶
type FlowDefinitionStepOnSuccess string
Server-side mutation to execute when this step completes successfully. Runs after field validation passes, before the transition fires. - create_user: creates the user record (registration flows).
const (
FlowDefinitionStepOnSuccessCreateUser FlowDefinitionStepOnSuccess = "create_user"
)
func (FlowDefinitionStepOnSuccess) AllValues ¶
func (FlowDefinitionStepOnSuccess) AllValues() []FlowDefinitionStepOnSuccess
AllValues returns all FlowDefinitionStepOnSuccess values.
func (*FlowDefinitionStepOnSuccess) Decode ¶
func (s *FlowDefinitionStepOnSuccess) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepOnSuccess from json.
func (FlowDefinitionStepOnSuccess) Encode ¶
func (s FlowDefinitionStepOnSuccess) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepOnSuccess as json.
func (FlowDefinitionStepOnSuccess) MarshalJSON ¶
func (s FlowDefinitionStepOnSuccess) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowDefinitionStepOnSuccess) MarshalText ¶
func (s FlowDefinitionStepOnSuccess) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowDefinitionStepOnSuccess) UnmarshalJSON ¶
func (s *FlowDefinitionStepOnSuccess) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionStepOnSuccess) UnmarshalText ¶
func (s *FlowDefinitionStepOnSuccess) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowDefinitionStepOnSuccess) Validate ¶
func (s FlowDefinitionStepOnSuccess) Validate() error
type FlowDefinitionStepTransitions ¶
type FlowDefinitionStepTransitions map[string]FlowDefinitionStepTransitionsItem
Maps action/outcome names to their transition descriptor. Keys match action names from the `actions` array. Additional keys come from implicit outcomes based on schema annotations (e.g. `user_not_found` from `x-unique` fields) and engine events (e.g. `sso`, `callback`).
func (*FlowDefinitionStepTransitions) Decode ¶
func (s *FlowDefinitionStepTransitions) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepTransitions from json.
func (FlowDefinitionStepTransitions) Encode ¶
func (s FlowDefinitionStepTransitions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowDefinitionStepTransitions) MarshalJSON ¶
func (s FlowDefinitionStepTransitions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionStepTransitions) UnmarshalJSON ¶
func (s *FlowDefinitionStepTransitions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (FlowDefinitionStepTransitions) Validate ¶
func (s FlowDefinitionStepTransitions) Validate() error
type FlowDefinitionStepTransitionsItem ¶
type FlowDefinitionStepTransitionsItem struct {
// Step name within this flow (when `action` is null), or the name
// of another flow (when `action` is `switch` or `pivot`).
Target string `json:"target"`
// How to interpret `target`:
// - null (omitted): transition to a step in the current flow.
// - switch: replace the current flow with the target flow.
// No return — the current flow is discarded.
// Example: login ↔ register.
// - pivot: push the target flow onto the stack. The current flow
// is paused and resumes when the target flow completes (auto-pop).
// Example: login → recovery → back to login.
Action OptNilFlowDefinitionStepTransitionsItemAction `json:"action"`
}
func (*FlowDefinitionStepTransitionsItem) Decode ¶
func (s *FlowDefinitionStepTransitionsItem) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepTransitionsItem from json.
func (*FlowDefinitionStepTransitionsItem) Encode ¶
func (s *FlowDefinitionStepTransitionsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinitionStepTransitionsItem) GetAction ¶
func (s *FlowDefinitionStepTransitionsItem) GetAction() OptNilFlowDefinitionStepTransitionsItemAction
GetAction returns the value of Action.
func (*FlowDefinitionStepTransitionsItem) GetTarget ¶
func (s *FlowDefinitionStepTransitionsItem) GetTarget() string
GetTarget returns the value of Target.
func (*FlowDefinitionStepTransitionsItem) MarshalJSON ¶
func (s *FlowDefinitionStepTransitionsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionStepTransitionsItem) SetAction ¶
func (s *FlowDefinitionStepTransitionsItem) SetAction(val OptNilFlowDefinitionStepTransitionsItemAction)
SetAction sets the value of Action.
func (*FlowDefinitionStepTransitionsItem) SetTarget ¶
func (s *FlowDefinitionStepTransitionsItem) SetTarget(val string)
SetTarget sets the value of Target.
func (*FlowDefinitionStepTransitionsItem) UnmarshalJSON ¶
func (s *FlowDefinitionStepTransitionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionStepTransitionsItem) Validate ¶
func (s *FlowDefinitionStepTransitionsItem) Validate() error
type FlowDefinitionStepTransitionsItemAction ¶
type FlowDefinitionStepTransitionsItemAction string
const ( FlowDefinitionStepTransitionsItemActionSwitch FlowDefinitionStepTransitionsItemAction = "switch" FlowDefinitionStepTransitionsItemActionPivot FlowDefinitionStepTransitionsItemAction = "pivot" )
func (FlowDefinitionStepTransitionsItemAction) AllValues ¶
func (FlowDefinitionStepTransitionsItemAction) AllValues() []FlowDefinitionStepTransitionsItemAction
AllValues returns all FlowDefinitionStepTransitionsItemAction values.
func (*FlowDefinitionStepTransitionsItemAction) Decode ¶
func (s *FlowDefinitionStepTransitionsItemAction) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepTransitionsItemAction from json.
func (FlowDefinitionStepTransitionsItemAction) Encode ¶
func (s FlowDefinitionStepTransitionsItemAction) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepTransitionsItemAction as json.
func (FlowDefinitionStepTransitionsItemAction) MarshalJSON ¶
func (s FlowDefinitionStepTransitionsItemAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowDefinitionStepTransitionsItemAction) MarshalText ¶
func (s FlowDefinitionStepTransitionsItemAction) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowDefinitionStepTransitionsItemAction) UnmarshalJSON ¶
func (s *FlowDefinitionStepTransitionsItemAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionStepTransitionsItemAction) UnmarshalText ¶
func (s *FlowDefinitionStepTransitionsItemAction) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowDefinitionStepTransitionsItemAction) Validate ¶
func (s FlowDefinitionStepTransitionsItemAction) Validate() error
type FlowDefinitionUpdateRequest ¶
type FlowDefinitionUpdateRequest struct {
SchemaURI OptSchemaURI `json:"schema_uri"`
FlowDefinition FlowDefinition `json:"flow_definition"`
}
Replaces the existing flow definition. If `flow_definition.status` is omitted, the current status is preserved. Ref: #
func (*FlowDefinitionUpdateRequest) Decode ¶
func (s *FlowDefinitionUpdateRequest) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionUpdateRequest from json.
func (*FlowDefinitionUpdateRequest) Encode ¶
func (s *FlowDefinitionUpdateRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowDefinitionUpdateRequest) GetFlowDefinition ¶
func (s *FlowDefinitionUpdateRequest) GetFlowDefinition() FlowDefinition
GetFlowDefinition returns the value of FlowDefinition.
func (*FlowDefinitionUpdateRequest) GetSchemaURI ¶
func (s *FlowDefinitionUpdateRequest) GetSchemaURI() OptSchemaURI
GetSchemaURI returns the value of SchemaURI.
func (*FlowDefinitionUpdateRequest) MarshalJSON ¶
func (s *FlowDefinitionUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowDefinitionUpdateRequest) SetFlowDefinition ¶
func (s *FlowDefinitionUpdateRequest) SetFlowDefinition(val FlowDefinition)
SetFlowDefinition sets the value of FlowDefinition.
func (*FlowDefinitionUpdateRequest) SetSchemaURI ¶
func (s *FlowDefinitionUpdateRequest) SetSchemaURI(val OptSchemaURI)
SetSchemaURI sets the value of SchemaURI.
func (*FlowDefinitionUpdateRequest) UnmarshalJSON ¶
func (s *FlowDefinitionUpdateRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowDefinitionUpdateRequest) Validate ¶
func (s *FlowDefinitionUpdateRequest) Validate() error
type FlowEventRequest ¶
type FlowEventRequest struct {
// Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.
SessionToken OptString `json:"session_token"`
Type FlowEventRequestType `json:"type"`
// Event payload (fingerprint hash, timing data, etc.).
Payload OptFlowEventRequestPayload `json:"payload"`
}
Ref: #
func (*FlowEventRequest) Decode ¶
func (s *FlowEventRequest) Decode(d *jx.Decoder) error
Decode decodes FlowEventRequest from json.
func (*FlowEventRequest) Encode ¶
func (s *FlowEventRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowEventRequest) GetPayload ¶
func (s *FlowEventRequest) GetPayload() OptFlowEventRequestPayload
GetPayload returns the value of Payload.
func (*FlowEventRequest) GetSessionToken ¶
func (s *FlowEventRequest) GetSessionToken() OptString
GetSessionToken returns the value of SessionToken.
func (*FlowEventRequest) GetType ¶
func (s *FlowEventRequest) GetType() FlowEventRequestType
GetType returns the value of Type.
func (*FlowEventRequest) MarshalJSON ¶
func (s *FlowEventRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowEventRequest) SetPayload ¶
func (s *FlowEventRequest) SetPayload(val OptFlowEventRequestPayload)
SetPayload sets the value of Payload.
func (*FlowEventRequest) SetSessionToken ¶
func (s *FlowEventRequest) SetSessionToken(val OptString)
SetSessionToken sets the value of SessionToken.
func (*FlowEventRequest) SetType ¶
func (s *FlowEventRequest) SetType(val FlowEventRequestType)
SetType sets the value of Type.
func (*FlowEventRequest) UnmarshalJSON ¶
func (s *FlowEventRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowEventRequest) Validate ¶
func (s *FlowEventRequest) Validate() error
type FlowEventRequestPayload ¶
Event payload (fingerprint hash, timing data, etc.).
func (*FlowEventRequestPayload) Decode ¶
func (s *FlowEventRequestPayload) Decode(d *jx.Decoder) error
Decode decodes FlowEventRequestPayload from json.
func (FlowEventRequestPayload) Encode ¶
func (s FlowEventRequestPayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowEventRequestPayload) MarshalJSON ¶
func (s FlowEventRequestPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowEventRequestPayload) UnmarshalJSON ¶
func (s *FlowEventRequestPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowEventRequestType ¶
type FlowEventRequestType string
const ( FlowEventRequestTypeFingerprint FlowEventRequestType = "fingerprint" FlowEventRequestTypeTelemetry FlowEventRequestType = "telemetry" )
func (FlowEventRequestType) AllValues ¶
func (FlowEventRequestType) AllValues() []FlowEventRequestType
AllValues returns all FlowEventRequestType values.
func (*FlowEventRequestType) Decode ¶
func (s *FlowEventRequestType) Decode(d *jx.Decoder) error
Decode decodes FlowEventRequestType from json.
func (FlowEventRequestType) Encode ¶
func (s FlowEventRequestType) Encode(e *jx.Encoder)
Encode encodes FlowEventRequestType as json.
func (FlowEventRequestType) MarshalJSON ¶
func (s FlowEventRequestType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowEventRequestType) MarshalText ¶
func (s FlowEventRequestType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowEventRequestType) UnmarshalJSON ¶
func (s *FlowEventRequestType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowEventRequestType) UnmarshalText ¶
func (s *FlowEventRequestType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowEventRequestType) Validate ¶
func (s FlowEventRequestType) Validate() error
type FlowHint ¶
type FlowHint struct {
// Auto-submits identifier step (maps to OIDC login_hint).
LoginName OptString `json:"login_name"`
// Scopes flow resolution to a team.
TeamID OptString `json:"team_id"`
// Scopes to a specific user type.
UserSchemaID OptString `json:"user_schema_id"`
// Scopes to a specific application.
AppID OptString `json:"app_id"`
}
Ref: #
func (*FlowHint) GetLoginName ¶
GetLoginName returns the value of LoginName.
func (*FlowHint) GetUserSchemaID ¶
GetUserSchemaID returns the value of UserSchemaID.
func (*FlowHint) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*FlowHint) SetLoginName ¶
SetLoginName sets the value of LoginName.
func (*FlowHint) SetUserSchemaID ¶
SetUserSchemaID sets the value of UserSchemaID.
func (*FlowHint) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowResponse ¶
type FlowResponse struct {
// Flow handle. Use this as the path parameter for subsequent
// submit/event calls. May change between responses when a
// flow pivot or pop occurs.
ID string `json:"id"`
// Underlying session ID. Stable across all stacked flows.
SessionID string `json:"session_id"`
// Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.
SessionToken OptString `json:"session_token"`
Step FlowStep `json:"step"`
// Resolved branding inherited from the app → team → project hierarchy.
// Determined at flow creation based on audience context. Does not change between steps.
Branding OptBranding `json:"branding"`
// Present when `step.complete` is `redirect`.
RedirectURI OptURI `json:"redirect_uri"`
// Short-lived, audience-bound token produced on flow completion.
// Exchange it for a session via `POST /sessions/exchange`.
// Only present when `step.complete` is set.
HandoffToken OptString `json:"handoff_token"`
// Expiry timestamp for `handoff_token`. Only present when
// `handoff_token` is set.
HandoffTokenExpiresAt OptDateTime `json:"handoff_token_expires_at"`
}
Ref: #
func (*FlowResponse) Decode ¶
func (s *FlowResponse) Decode(d *jx.Decoder) error
Decode decodes FlowResponse from json.
func (*FlowResponse) Encode ¶
func (s *FlowResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowResponse) GetBranding ¶
func (s *FlowResponse) GetBranding() OptBranding
GetBranding returns the value of Branding.
func (*FlowResponse) GetHandoffToken ¶
func (s *FlowResponse) GetHandoffToken() OptString
GetHandoffToken returns the value of HandoffToken.
func (*FlowResponse) GetHandoffTokenExpiresAt ¶
func (s *FlowResponse) GetHandoffTokenExpiresAt() OptDateTime
GetHandoffTokenExpiresAt returns the value of HandoffTokenExpiresAt.
func (*FlowResponse) GetRedirectURI ¶
func (s *FlowResponse) GetRedirectURI() OptURI
GetRedirectURI returns the value of RedirectURI.
func (*FlowResponse) GetSessionID ¶
func (s *FlowResponse) GetSessionID() string
GetSessionID returns the value of SessionID.
func (*FlowResponse) GetSessionToken ¶
func (s *FlowResponse) GetSessionToken() OptString
GetSessionToken returns the value of SessionToken.
func (*FlowResponse) GetStep ¶
func (s *FlowResponse) GetStep() FlowStep
GetStep returns the value of Step.
func (*FlowResponse) MarshalJSON ¶
func (s *FlowResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowResponse) SetBranding ¶
func (s *FlowResponse) SetBranding(val OptBranding)
SetBranding sets the value of Branding.
func (*FlowResponse) SetHandoffToken ¶
func (s *FlowResponse) SetHandoffToken(val OptString)
SetHandoffToken sets the value of HandoffToken.
func (*FlowResponse) SetHandoffTokenExpiresAt ¶
func (s *FlowResponse) SetHandoffTokenExpiresAt(val OptDateTime)
SetHandoffTokenExpiresAt sets the value of HandoffTokenExpiresAt.
func (*FlowResponse) SetRedirectURI ¶
func (s *FlowResponse) SetRedirectURI(val OptURI)
SetRedirectURI sets the value of RedirectURI.
func (*FlowResponse) SetSessionID ¶
func (s *FlowResponse) SetSessionID(val string)
SetSessionID sets the value of SessionID.
func (*FlowResponse) SetSessionToken ¶
func (s *FlowResponse) SetSessionToken(val OptString)
SetSessionToken sets the value of SessionToken.
func (*FlowResponse) SetStep ¶
func (s *FlowResponse) SetStep(val FlowStep)
SetStep sets the value of Step.
func (*FlowResponse) UnmarshalJSON ¶
func (s *FlowResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowResponse) Validate ¶
func (s *FlowResponse) Validate() error
type FlowResponseHeaders ¶
type FlowResponseHeaders struct {
SetCookie OptString
Response FlowResponse
}
FlowResponseHeaders wraps FlowResponse with response headers.
func (*FlowResponseHeaders) GetResponse ¶
func (s *FlowResponseHeaders) GetResponse() FlowResponse
GetResponse returns the value of Response.
func (*FlowResponseHeaders) GetSetCookie ¶
func (s *FlowResponseHeaders) GetSetCookie() OptString
GetSetCookie returns the value of SetCookie.
func (*FlowResponseHeaders) SetResponse ¶
func (s *FlowResponseHeaders) SetResponse(val FlowResponse)
SetResponse sets the value of Response.
func (*FlowResponseHeaders) SetSetCookie ¶
func (s *FlowResponseHeaders) SetSetCookie(val OptString)
SetSetCookie sets the value of SetCookie.
func (*FlowResponseHeaders) Validate ¶
func (s *FlowResponseHeaders) Validate() error
type FlowStep ¶
type FlowStep struct {
// Step name from the flow definition.
Name string `json:"name"`
Texts OptStepTexts `json:"texts"`
// Error message from a previous failed submission.
Error OptNilString `json:"error"`
// Present only on terminal steps. Tells the frontend what to do:
// - redirect: navigate to redirect_uri immediately (OIDC/SAML done)
// - show: render the step as a success screen (e.g., registration confirmed).
Complete OptFlowStepComplete `json:"complete"`
// URL to navigate to (e.g., SSO provider redirect).
RedirectURL OptURI `json:"redirect_url"`
// Ordered list of input fields to collect. Field metadata (type, validation)
// is resolved by the engine from the flow's user schema. The LiquidJS
// template iterates this array; for keyed lookup it builds a name-indexed
// map locally.
Fields []Field `json:"fields"`
// Ordered list of available user actions. The LiquidJS template iterates
// this array and builds a name-indexed map locally for keyed lookup.
Actions []StepAction `json:"actions"`
// Security gates that must be satisfied before the step can be submitted.
// The engine injects gates dynamically based on policy, even if they
// are not declared in the flow definition.
Gates FlowStepGates `json:"gates"`
// Available SSO identity providers for this step.
SSOProviders []SSOProvider `json:"sso_providers"`
// A pending authentication challenge issued by the server. Present when the
// flow engine has issued a challenge via auth_attempts (e.g., after the user
// submits `action: "passkey"`). The `<zl-passkey>` component reads this and
// triggers the appropriate WebAuthn ceremony.
// The challenge is NOT present on the initial step — it appears only after
// the user explicitly selects a ceremony-based action.
Challenge OptFlowStepChallenge `json:"challenge"`
}
A step contains ordered capability arrays: what to collect (fields), what the user can do (actions), and what security gates must be satisfied (gates). The LiquidJS template in `branding.liquid_template` iterates these arrays in order and builds name-keyed indexes locally for lookup. Ref: #
func (*FlowStep) GetActions ¶
func (s *FlowStep) GetActions() []StepAction
GetActions returns the value of Actions.
func (*FlowStep) GetChallenge ¶
func (s *FlowStep) GetChallenge() OptFlowStepChallenge
GetChallenge returns the value of Challenge.
func (*FlowStep) GetComplete ¶
func (s *FlowStep) GetComplete() OptFlowStepComplete
GetComplete returns the value of Complete.
func (*FlowStep) GetError ¶
func (s *FlowStep) GetError() OptNilString
GetError returns the value of Error.
func (*FlowStep) GetGates ¶
func (s *FlowStep) GetGates() FlowStepGates
GetGates returns the value of Gates.
func (*FlowStep) GetRedirectURL ¶
GetRedirectURL returns the value of RedirectURL.
func (*FlowStep) GetSSOProviders ¶
func (s *FlowStep) GetSSOProviders() []SSOProvider
GetSSOProviders returns the value of SSOProviders.
func (*FlowStep) GetTexts ¶
func (s *FlowStep) GetTexts() OptStepTexts
GetTexts returns the value of Texts.
func (*FlowStep) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*FlowStep) SetActions ¶
func (s *FlowStep) SetActions(val []StepAction)
SetActions sets the value of Actions.
func (*FlowStep) SetChallenge ¶
func (s *FlowStep) SetChallenge(val OptFlowStepChallenge)
SetChallenge sets the value of Challenge.
func (*FlowStep) SetComplete ¶
func (s *FlowStep) SetComplete(val OptFlowStepComplete)
SetComplete sets the value of Complete.
func (*FlowStep) SetError ¶
func (s *FlowStep) SetError(val OptNilString)
SetError sets the value of Error.
func (*FlowStep) SetGates ¶
func (s *FlowStep) SetGates(val FlowStepGates)
SetGates sets the value of Gates.
func (*FlowStep) SetRedirectURL ¶
SetRedirectURL sets the value of RedirectURL.
func (*FlowStep) SetSSOProviders ¶
func (s *FlowStep) SetSSOProviders(val []SSOProvider)
SetSSOProviders sets the value of SSOProviders.
func (*FlowStep) SetTexts ¶
func (s *FlowStep) SetTexts(val OptStepTexts)
SetTexts sets the value of Texts.
func (*FlowStep) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowStepChallenge ¶
type FlowStepChallenge struct {
// Challenge method. Determines which component handles the ceremony.
Method OptFlowStepChallengeMethod `json:"method"`
// Server-side challenge identifier. Included in the proof submission
// so the server can match the response to the original challenge.
ChallengeID OptString `json:"challenge_id"`
// Protocol-specific challenge options. For passkey, this is the
// `PublicKeyCredentialRequestOptions` (authenticate) or
// `PublicKeyCredentialCreationOptions` (register). Passed directly
// to the browser's `navigator.credentials` API.
Options OptFlowStepChallengeOptions `json:"options"`
}
A pending authentication challenge issued by the server. Present when the flow engine has issued a challenge via auth_attempts (e.g., after the user submits `action: "passkey"`). The `<zl-passkey>` component reads this and triggers the appropriate WebAuthn ceremony. The challenge is NOT present on the initial step — it appears only after the user explicitly selects a ceremony-based action.
func (*FlowStepChallenge) Decode ¶
func (s *FlowStepChallenge) Decode(d *jx.Decoder) error
Decode decodes FlowStepChallenge from json.
func (*FlowStepChallenge) Encode ¶
func (s *FlowStepChallenge) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowStepChallenge) GetChallengeID ¶
func (s *FlowStepChallenge) GetChallengeID() OptString
GetChallengeID returns the value of ChallengeID.
func (*FlowStepChallenge) GetMethod ¶
func (s *FlowStepChallenge) GetMethod() OptFlowStepChallengeMethod
GetMethod returns the value of Method.
func (*FlowStepChallenge) GetOptions ¶
func (s *FlowStepChallenge) GetOptions() OptFlowStepChallengeOptions
GetOptions returns the value of Options.
func (*FlowStepChallenge) MarshalJSON ¶
func (s *FlowStepChallenge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowStepChallenge) SetChallengeID ¶
func (s *FlowStepChallenge) SetChallengeID(val OptString)
SetChallengeID sets the value of ChallengeID.
func (*FlowStepChallenge) SetMethod ¶
func (s *FlowStepChallenge) SetMethod(val OptFlowStepChallengeMethod)
SetMethod sets the value of Method.
func (*FlowStepChallenge) SetOptions ¶
func (s *FlowStepChallenge) SetOptions(val OptFlowStepChallengeOptions)
SetOptions sets the value of Options.
func (*FlowStepChallenge) UnmarshalJSON ¶
func (s *FlowStepChallenge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowStepChallenge) Validate ¶
func (s *FlowStepChallenge) Validate() error
type FlowStepChallengeMethod ¶
type FlowStepChallengeMethod string
Challenge method. Determines which component handles the ceremony.
const (
FlowStepChallengeMethodPasskey FlowStepChallengeMethod = "passkey"
)
func (FlowStepChallengeMethod) AllValues ¶
func (FlowStepChallengeMethod) AllValues() []FlowStepChallengeMethod
AllValues returns all FlowStepChallengeMethod values.
func (*FlowStepChallengeMethod) Decode ¶
func (s *FlowStepChallengeMethod) Decode(d *jx.Decoder) error
Decode decodes FlowStepChallengeMethod from json.
func (FlowStepChallengeMethod) Encode ¶
func (s FlowStepChallengeMethod) Encode(e *jx.Encoder)
Encode encodes FlowStepChallengeMethod as json.
func (FlowStepChallengeMethod) MarshalJSON ¶
func (s FlowStepChallengeMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowStepChallengeMethod) MarshalText ¶
func (s FlowStepChallengeMethod) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowStepChallengeMethod) UnmarshalJSON ¶
func (s *FlowStepChallengeMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowStepChallengeMethod) UnmarshalText ¶
func (s *FlowStepChallengeMethod) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowStepChallengeMethod) Validate ¶
func (s FlowStepChallengeMethod) Validate() error
type FlowStepChallengeOptions ¶
Protocol-specific challenge options. For passkey, this is the `PublicKeyCredentialRequestOptions` (authenticate) or `PublicKeyCredentialCreationOptions` (register). Passed directly to the browser's `navigator.credentials` API.
func (*FlowStepChallengeOptions) Decode ¶
func (s *FlowStepChallengeOptions) Decode(d *jx.Decoder) error
Decode decodes FlowStepChallengeOptions from json.
func (FlowStepChallengeOptions) Encode ¶
func (s FlowStepChallengeOptions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowStepChallengeOptions) MarshalJSON ¶
func (s FlowStepChallengeOptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowStepChallengeOptions) UnmarshalJSON ¶
func (s *FlowStepChallengeOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowStepComplete ¶
type FlowStepComplete string
Present only on terminal steps. Tells the frontend what to do: - redirect: navigate to redirect_uri immediately (OIDC/SAML done) - show: render the step as a success screen (e.g., registration confirmed).
const ( FlowStepCompleteRedirect FlowStepComplete = "redirect" FlowStepCompleteShow FlowStepComplete = "show" )
func (FlowStepComplete) AllValues ¶
func (FlowStepComplete) AllValues() []FlowStepComplete
AllValues returns all FlowStepComplete values.
func (*FlowStepComplete) Decode ¶
func (s *FlowStepComplete) Decode(d *jx.Decoder) error
Decode decodes FlowStepComplete from json.
func (FlowStepComplete) Encode ¶
func (s FlowStepComplete) Encode(e *jx.Encoder)
Encode encodes FlowStepComplete as json.
func (FlowStepComplete) MarshalJSON ¶
func (s FlowStepComplete) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (FlowStepComplete) MarshalText ¶
func (s FlowStepComplete) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*FlowStepComplete) UnmarshalJSON ¶
func (s *FlowStepComplete) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*FlowStepComplete) UnmarshalText ¶
func (s *FlowStepComplete) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (FlowStepComplete) Validate ¶
func (s FlowStepComplete) Validate() error
type FlowStepGates ¶
Security gates that must be satisfied before the step can be submitted. The engine injects gates dynamically based on policy, even if they are not declared in the flow definition.
func (*FlowStepGates) Decode ¶
func (s *FlowStepGates) Decode(d *jx.Decoder) error
Decode decodes FlowStepGates from json.
func (FlowStepGates) Encode ¶
func (s FlowStepGates) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowStepGates) MarshalJSON ¶
func (s FlowStepGates) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowStepGates) UnmarshalJSON ¶
func (s *FlowStepGates) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (FlowStepGates) Validate ¶
func (s FlowStepGates) Validate() error
type FlowSubmitRequest ¶
type FlowSubmitRequest struct {
// Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.
SessionToken OptString `json:"session_token"`
// Which action to take. Must be a key from the step's `actions` dictionary:
// - A regular action (e.g., "submit", "register", "back")
// - The reserved value "sso" — triggers SSO redirect (requires `sso_provider_id`).
Action string `json:"action"`
// User input values. Keys match field names from the step's `fields` dictionary.
Fields OptFlowSubmitRequestFields `json:"fields"`
// Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
// The orchestrator collects these from `<zl-captcha>` component events.
GateProofs OptFlowSubmitRequestGateProofs `json:"gate_proofs"`
// Response to a pending challenge on the step. Required when the step has a
// `challenge` property (e.g., after submitting a passkey action).
// The `<zl-passkey>` component populates this after the WebAuthn ceremony.
ChallengeResponse OptFlowSubmitRequestChallengeResponse `json:"challenge_response"`
// ID of the selected SSO provider (from `sso_providers[].id`).
// Required when `action` is "sso".
SSOProviderID OptString `json:"sso_provider_id"`
}
Ref: #
func (*FlowSubmitRequest) Decode ¶
func (s *FlowSubmitRequest) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequest from json.
func (*FlowSubmitRequest) Encode ¶
func (s *FlowSubmitRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowSubmitRequest) GetAction ¶
func (s *FlowSubmitRequest) GetAction() string
GetAction returns the value of Action.
func (*FlowSubmitRequest) GetChallengeResponse ¶
func (s *FlowSubmitRequest) GetChallengeResponse() OptFlowSubmitRequestChallengeResponse
GetChallengeResponse returns the value of ChallengeResponse.
func (*FlowSubmitRequest) GetFields ¶
func (s *FlowSubmitRequest) GetFields() OptFlowSubmitRequestFields
GetFields returns the value of Fields.
func (*FlowSubmitRequest) GetGateProofs ¶
func (s *FlowSubmitRequest) GetGateProofs() OptFlowSubmitRequestGateProofs
GetGateProofs returns the value of GateProofs.
func (*FlowSubmitRequest) GetSSOProviderID ¶
func (s *FlowSubmitRequest) GetSSOProviderID() OptString
GetSSOProviderID returns the value of SSOProviderID.
func (*FlowSubmitRequest) GetSessionToken ¶
func (s *FlowSubmitRequest) GetSessionToken() OptString
GetSessionToken returns the value of SessionToken.
func (*FlowSubmitRequest) MarshalJSON ¶
func (s *FlowSubmitRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowSubmitRequest) SetAction ¶
func (s *FlowSubmitRequest) SetAction(val string)
SetAction sets the value of Action.
func (*FlowSubmitRequest) SetChallengeResponse ¶
func (s *FlowSubmitRequest) SetChallengeResponse(val OptFlowSubmitRequestChallengeResponse)
SetChallengeResponse sets the value of ChallengeResponse.
func (*FlowSubmitRequest) SetFields ¶
func (s *FlowSubmitRequest) SetFields(val OptFlowSubmitRequestFields)
SetFields sets the value of Fields.
func (*FlowSubmitRequest) SetGateProofs ¶
func (s *FlowSubmitRequest) SetGateProofs(val OptFlowSubmitRequestGateProofs)
SetGateProofs sets the value of GateProofs.
func (*FlowSubmitRequest) SetSSOProviderID ¶
func (s *FlowSubmitRequest) SetSSOProviderID(val OptString)
SetSSOProviderID sets the value of SSOProviderID.
func (*FlowSubmitRequest) SetSessionToken ¶
func (s *FlowSubmitRequest) SetSessionToken(val OptString)
SetSessionToken sets the value of SessionToken.
func (*FlowSubmitRequest) UnmarshalJSON ¶
func (s *FlowSubmitRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowSubmitRequestChallengeResponse ¶
type FlowSubmitRequestChallengeResponse struct {
// The challenge identifier from `step.challenge.challenge_id`.
// Matches the server-side challenge for verification.
ChallengeID OptString `json:"challenge_id"`
// Which auth method this response is for (e.g., 'passkey').
Method OptString `json:"method"`
// Method-specific proof payload.
// For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
Proof OptFlowSubmitRequestChallengeResponseProof `json:"proof"`
}
Response to a pending challenge on the step. Required when the step has a `challenge` property (e.g., after submitting a passkey action). The `<zl-passkey>` component populates this after the WebAuthn ceremony.
func (*FlowSubmitRequestChallengeResponse) Decode ¶
func (s *FlowSubmitRequestChallengeResponse) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestChallengeResponse from json.
func (*FlowSubmitRequestChallengeResponse) Encode ¶
func (s *FlowSubmitRequestChallengeResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FlowSubmitRequestChallengeResponse) GetChallengeID ¶
func (s *FlowSubmitRequestChallengeResponse) GetChallengeID() OptString
GetChallengeID returns the value of ChallengeID.
func (*FlowSubmitRequestChallengeResponse) GetMethod ¶
func (s *FlowSubmitRequestChallengeResponse) GetMethod() OptString
GetMethod returns the value of Method.
func (*FlowSubmitRequestChallengeResponse) GetProof ¶
func (s *FlowSubmitRequestChallengeResponse) GetProof() OptFlowSubmitRequestChallengeResponseProof
GetProof returns the value of Proof.
func (*FlowSubmitRequestChallengeResponse) MarshalJSON ¶
func (s *FlowSubmitRequestChallengeResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowSubmitRequestChallengeResponse) SetChallengeID ¶
func (s *FlowSubmitRequestChallengeResponse) SetChallengeID(val OptString)
SetChallengeID sets the value of ChallengeID.
func (*FlowSubmitRequestChallengeResponse) SetMethod ¶
func (s *FlowSubmitRequestChallengeResponse) SetMethod(val OptString)
SetMethod sets the value of Method.
func (*FlowSubmitRequestChallengeResponse) SetProof ¶
func (s *FlowSubmitRequestChallengeResponse) SetProof(val OptFlowSubmitRequestChallengeResponseProof)
SetProof sets the value of Proof.
func (*FlowSubmitRequestChallengeResponse) UnmarshalJSON ¶
func (s *FlowSubmitRequestChallengeResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowSubmitRequestChallengeResponseProof ¶
Method-specific proof payload. For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
func (*FlowSubmitRequestChallengeResponseProof) Decode ¶
func (s *FlowSubmitRequestChallengeResponseProof) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestChallengeResponseProof from json.
func (FlowSubmitRequestChallengeResponseProof) Encode ¶
func (s FlowSubmitRequestChallengeResponseProof) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowSubmitRequestChallengeResponseProof) MarshalJSON ¶
func (s FlowSubmitRequestChallengeResponseProof) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowSubmitRequestChallengeResponseProof) UnmarshalJSON ¶
func (s *FlowSubmitRequestChallengeResponseProof) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowSubmitRequestFields ¶
User input values. Keys match field names from the step's `fields` dictionary.
func (*FlowSubmitRequestFields) Decode ¶
func (s *FlowSubmitRequestFields) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestFields from json.
func (FlowSubmitRequestFields) Encode ¶
func (s FlowSubmitRequestFields) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowSubmitRequestFields) MarshalJSON ¶
func (s FlowSubmitRequestFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowSubmitRequestFields) UnmarshalJSON ¶
func (s *FlowSubmitRequestFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type FlowSubmitRequestGateProofs ¶
Solutions for security gates. Keys match gate names from the step's `gates` dictionary. The orchestrator collects these from `<zl-captcha>` component events.
func (*FlowSubmitRequestGateProofs) Decode ¶
func (s *FlowSubmitRequestGateProofs) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestGateProofs from json.
func (FlowSubmitRequestGateProofs) Encode ¶
func (s FlowSubmitRequestGateProofs) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FlowSubmitRequestGateProofs) MarshalJSON ¶
func (s FlowSubmitRequestGateProofs) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FlowSubmitRequestGateProofs) UnmarshalJSON ¶
func (s *FlowSubmitRequestGateProofs) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Gate ¶
type Gate struct {
// The gate category. Only `captcha` is currently defined. Authenticator
// ceremonies (e.g. passkey) are modelled as credential auth_attempts via
// `x-credential` on a field, not as gates.
Kind GateKind `json:"kind"`
// Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
// `hcaptcha`. The engine looks up an implementation in its provider
// registry.
Provider string `json:"provider"`
// Provider-specific configuration consumed by the implementation when
// issuing the per-render challenge. Opaque to the engine.
Config OptGateConfig `json:"config"`
}
A security challenge that must be satisfied before this step's submission is accepted. The engine may also inject gates at runtime based on policy or risk evaluation. Ref: #
func (*Gate) GetConfig ¶
func (s *Gate) GetConfig() OptGateConfig
GetConfig returns the value of Config.
func (*Gate) GetProvider ¶
GetProvider returns the value of Provider.
func (*Gate) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Gate) SetConfig ¶
func (s *Gate) SetConfig(val OptGateConfig)
SetConfig sets the value of Config.
func (*Gate) SetProvider ¶
SetProvider sets the value of Provider.
func (*Gate) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type GateConfig ¶
Provider-specific configuration consumed by the implementation when issuing the per-render challenge. Opaque to the engine.
func (*GateConfig) Decode ¶
func (s *GateConfig) Decode(d *jx.Decoder) error
Decode decodes GateConfig from json.
func (GateConfig) Encode ¶
func (s GateConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GateConfig) MarshalJSON ¶
func (s GateConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GateConfig) UnmarshalJSON ¶
func (s *GateConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GateKind ¶
type GateKind string
The gate category. Only `captcha` is currently defined. Authenticator ceremonies (e.g. passkey) are modelled as credential auth_attempts via `x-credential` on a field, not as gates.
const (
GateKindCaptcha GateKind = "captcha"
)
func (GateKind) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (GateKind) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*GateKind) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GateKind) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type GetAuthAttemptErrorResponse ¶
type GetAuthAttemptErrorResponse struct {
Type GetAuthAttemptErrorResponseType // switch on this field
AttNotFound AttNotFound
Internal Internal
}
GetAuthAttemptErrorResponse represents sum type.
func NewAttNotFoundGetAuthAttemptErrorResponse ¶
func NewAttNotFoundGetAuthAttemptErrorResponse(v AttNotFound) GetAuthAttemptErrorResponse
NewAttNotFoundGetAuthAttemptErrorResponse returns new GetAuthAttemptErrorResponse from AttNotFound.
func NewInternalGetAuthAttemptErrorResponse ¶
func NewInternalGetAuthAttemptErrorResponse(v Internal) GetAuthAttemptErrorResponse
NewInternalGetAuthAttemptErrorResponse returns new GetAuthAttemptErrorResponse from Internal.
func (*GetAuthAttemptErrorResponse) Decode ¶
func (s *GetAuthAttemptErrorResponse) Decode(d *jx.Decoder) error
Decode decodes GetAuthAttemptErrorResponse from json.
func (GetAuthAttemptErrorResponse) Encode ¶
func (s GetAuthAttemptErrorResponse) Encode(e *jx.Encoder)
Encode encodes GetAuthAttemptErrorResponse as json.
func (GetAuthAttemptErrorResponse) GetAttNotFound ¶
func (s GetAuthAttemptErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
GetAttNotFound returns AttNotFound and true boolean if GetAuthAttemptErrorResponse is AttNotFound.
func (GetAuthAttemptErrorResponse) GetInternal ¶
func (s GetAuthAttemptErrorResponse) GetInternal() (v Internal, ok bool)
GetInternal returns Internal and true boolean if GetAuthAttemptErrorResponse is Internal.
func (GetAuthAttemptErrorResponse) IsAttNotFound ¶
func (s GetAuthAttemptErrorResponse) IsAttNotFound() bool
IsAttNotFound reports whether GetAuthAttemptErrorResponse is AttNotFound.
func (GetAuthAttemptErrorResponse) IsInternal ¶
func (s GetAuthAttemptErrorResponse) IsInternal() bool
IsInternal reports whether GetAuthAttemptErrorResponse is Internal.
func (GetAuthAttemptErrorResponse) MarshalJSON ¶
func (s GetAuthAttemptErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAuthAttemptErrorResponse) SetAttNotFound ¶
func (s *GetAuthAttemptErrorResponse) SetAttNotFound(v AttNotFound)
SetAttNotFound sets GetAuthAttemptErrorResponse to AttNotFound.
func (*GetAuthAttemptErrorResponse) SetInternal ¶
func (s *GetAuthAttemptErrorResponse) SetInternal(v Internal)
SetInternal sets GetAuthAttemptErrorResponse to Internal.
func (*GetAuthAttemptErrorResponse) UnmarshalJSON ¶
func (s *GetAuthAttemptErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAuthAttemptErrorResponseStatusCode ¶
type GetAuthAttemptErrorResponseStatusCode struct {
StatusCode int
Response GetAuthAttemptErrorResponse
}
GetAuthAttemptErrorResponseStatusCode wraps GetAuthAttemptErrorResponse with StatusCode.
func (*GetAuthAttemptErrorResponseStatusCode) GetResponse ¶
func (s *GetAuthAttemptErrorResponseStatusCode) GetResponse() GetAuthAttemptErrorResponse
GetResponse returns the value of Response.
func (*GetAuthAttemptErrorResponseStatusCode) GetStatusCode ¶
func (s *GetAuthAttemptErrorResponseStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*GetAuthAttemptErrorResponseStatusCode) SetResponse ¶
func (s *GetAuthAttemptErrorResponseStatusCode) SetResponse(val GetAuthAttemptErrorResponse)
SetResponse sets the value of Response.
func (*GetAuthAttemptErrorResponseStatusCode) SetStatusCode ¶
func (s *GetAuthAttemptErrorResponseStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type GetAuthAttemptErrorResponseType ¶
type GetAuthAttemptErrorResponseType string
GetAuthAttemptErrorResponseType is oneOf type of GetAuthAttemptErrorResponse.
const ( AttNotFoundGetAuthAttemptErrorResponse GetAuthAttemptErrorResponseType = "att.not_found" InternalGetAuthAttemptErrorResponse GetAuthAttemptErrorResponseType = "internal" )
Possible values for GetAuthAttemptErrorResponseType.
type GetAuthAttemptParams ¶
type GetAuthAttemptParams struct {
// The unique identifier of the authentication attempt.
AttemptID AttemptID
}
GetAuthAttemptParams is parameters of getAuthAttempt operation.
type GetAuthAttemptRes ¶
type GetAuthAttemptRes interface {
// contains filtered or unexported methods
}
type GetFlowDefinitionParams ¶
type GetFlowDefinitionParams struct {
// The id returned by the POST /flow_definitions endpoint.
ID string
// The project id to filter by.
ProjectID ProjectID
}
GetFlowDefinitionParams is parameters of getFlowDefinition operation.
type GetFlowDefinitionRes ¶
type GetFlowDefinitionRes interface {
// contains filtered or unexported methods
}
type GetFlowStepGone ¶
type GetFlowStepGone ErrorDetails
func (*GetFlowStepGone) Decode ¶
func (s *GetFlowStepGone) Decode(d *jx.Decoder) error
Decode decodes GetFlowStepGone from json.
func (*GetFlowStepGone) Encode ¶
func (s *GetFlowStepGone) Encode(e *jx.Encoder)
Encode encodes GetFlowStepGone as json.
func (*GetFlowStepGone) MarshalJSON ¶
func (s *GetFlowStepGone) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFlowStepGone) UnmarshalJSON ¶
func (s *GetFlowStepGone) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFlowStepNotFound ¶
type GetFlowStepNotFound ErrorDetails
func (*GetFlowStepNotFound) Decode ¶
func (s *GetFlowStepNotFound) Decode(d *jx.Decoder) error
Decode decodes GetFlowStepNotFound from json.
func (*GetFlowStepNotFound) Encode ¶
func (s *GetFlowStepNotFound) Encode(e *jx.Encoder)
Encode encodes GetFlowStepNotFound as json.
func (*GetFlowStepNotFound) MarshalJSON ¶
func (s *GetFlowStepNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFlowStepNotFound) UnmarshalJSON ¶
func (s *GetFlowStepNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFlowStepParams ¶
type GetFlowStepParams struct {
// Flow ID returned by POST /flow or the latest POST /flow/{id}/submit.
// Used to look up the correct flow state from the encrypted cookie,
// which can hold multiple concurrent flows. May change between responses
// when a flow pivot or pop occurs — always use the `id` from the latest response.
ID string
// Encrypted flow state cookie set by `POST /flow` or the previous
// `POST /flow/{id}/submit`. The cookie holds a map of flow states keyed
// by flow ID, allowing multiple concurrent flows in the same browser
// (e.g. login in one tab, registration in another). The server uses the
// `{id}` path parameter to look up the correct flow state from the cookie.
// Browsers send this automatically; non-browser clients must capture the
// `Set-Cookie` header and resend it.
Zflow string
}
GetFlowStepParams is parameters of getFlowStep operation.
type GetFlowStepRes ¶
type GetFlowStepRes interface {
// contains filtered or unexported methods
}
type GetHealthOK ¶
type GetHealthRes ¶
type GetHealthRes interface {
// contains filtered or unexported methods
}
type GetKeysRes ¶
type GetKeysRes interface {
// contains filtered or unexported methods
}
type GetLiveRes ¶
type GetLiveRes interface {
// contains filtered or unexported methods
}
type GetMySessionNotFound ¶
type GetMySessionNotFound ErrorDetails
func (*GetMySessionNotFound) Decode ¶
func (s *GetMySessionNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMySessionNotFound from json.
func (*GetMySessionNotFound) Encode ¶
func (s *GetMySessionNotFound) Encode(e *jx.Encoder)
Encode encodes GetMySessionNotFound as json.
func (*GetMySessionNotFound) MarshalJSON ¶
func (s *GetMySessionNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMySessionNotFound) UnmarshalJSON ¶
func (s *GetMySessionNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMySessionParams ¶
type GetMySessionParams struct {
// The __nextgen_session cookie issued at session creation or superseding handoff exchange.
NextgenSession string
}
GetMySessionParams is parameters of getMySession operation.
type GetMySessionRes ¶
type GetMySessionRes interface {
// contains filtered or unexported methods
}
type GetMySessionUnauthorized ¶
type GetMySessionUnauthorized ErrorDetails
func (*GetMySessionUnauthorized) Decode ¶
func (s *GetMySessionUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GetMySessionUnauthorized from json.
func (*GetMySessionUnauthorized) Encode ¶
func (s *GetMySessionUnauthorized) Encode(e *jx.Encoder)
Encode encodes GetMySessionUnauthorized as json.
func (*GetMySessionUnauthorized) MarshalJSON ¶
func (s *GetMySessionUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMySessionUnauthorized) UnmarshalJSON ¶
func (s *GetMySessionUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMyUserOK ¶
func (*GetMyUserOK) Decode ¶
func (s *GetMyUserOK) Decode(d *jx.Decoder) error
Decode decodes GetMyUserOK from json.
func (GetMyUserOK) Encode ¶
func (s GetMyUserOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetMyUserOK) MarshalJSON ¶
func (s GetMyUserOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMyUserOK) UnmarshalJSON ¶
func (s *GetMyUserOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMyUserParams ¶
type GetMyUserParams struct {
// The __nextgen_session cookie issued at session creation or superseding handoff exchange.
NextgenSession string
}
GetMyUserParams is parameters of getMyUser operation.
type GetMyUserRes ¶
type GetMyUserRes interface {
// contains filtered or unexported methods
}
type GetOpenIDConfigurationRes ¶
type GetOpenIDConfigurationRes interface {
// contains filtered or unexported methods
}
type GetProjectNotFound ¶
type GetProjectNotFound ErrorDetails
func (*GetProjectNotFound) Decode ¶
func (s *GetProjectNotFound) Decode(d *jx.Decoder) error
Decode decodes GetProjectNotFound from json.
func (*GetProjectNotFound) Encode ¶
func (s *GetProjectNotFound) Encode(e *jx.Encoder)
Encode encodes GetProjectNotFound as json.
func (*GetProjectNotFound) MarshalJSON ¶
func (s *GetProjectNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetProjectNotFound) UnmarshalJSON ¶
func (s *GetProjectNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetProjectParams ¶
type GetProjectParams struct {
ProjectID ProjectID
}
GetProjectParams is parameters of getProject operation.
type GetProjectRes ¶
type GetProjectRes interface {
// contains filtered or unexported methods
}
type GetProjectResponse ¶
type GetProjectResponse struct {
// The unique identifier of the project.
ID string `json:"id"`
// The time when the project was created.
CreatedAt time.Time `json:"createdAt"`
// The time when the project was last updated.
UpdatedAt time.Time `json:"updatedAt"`
}
The current state of a project. Ref: #
func (*GetProjectResponse) Decode ¶
func (s *GetProjectResponse) Decode(d *jx.Decoder) error
Decode decodes GetProjectResponse from json.
func (*GetProjectResponse) Encode ¶
func (s *GetProjectResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetProjectResponse) GetCreatedAt ¶
func (s *GetProjectResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*GetProjectResponse) GetID ¶
func (s *GetProjectResponse) GetID() string
GetID returns the value of ID.
func (*GetProjectResponse) GetUpdatedAt ¶
func (s *GetProjectResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*GetProjectResponse) MarshalJSON ¶
func (s *GetProjectResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetProjectResponse) SetCreatedAt ¶
func (s *GetProjectResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*GetProjectResponse) SetID ¶
func (s *GetProjectResponse) SetID(val string)
SetID sets the value of ID.
func (*GetProjectResponse) SetUpdatedAt ¶
func (s *GetProjectResponse) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*GetProjectResponse) UnmarshalJSON ¶
func (s *GetProjectResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetProjectUnauthorized ¶
type GetProjectUnauthorized ErrorDetails
func (*GetProjectUnauthorized) Decode ¶
func (s *GetProjectUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GetProjectUnauthorized from json.
func (*GetProjectUnauthorized) Encode ¶
func (s *GetProjectUnauthorized) Encode(e *jx.Encoder)
Encode encodes GetProjectUnauthorized as json.
func (*GetProjectUnauthorized) MarshalJSON ¶
func (s *GetProjectUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetProjectUnauthorized) UnmarshalJSON ¶
func (s *GetProjectUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetReadyOK ¶
type GetReadyRes ¶
type GetReadyRes interface {
// contains filtered or unexported methods
}
type GetSchemaByIdBadRequest ¶
type GetSchemaByIdBadRequest ErrorDetails
func (*GetSchemaByIdBadRequest) Decode ¶
func (s *GetSchemaByIdBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetSchemaByIdBadRequest from json.
func (*GetSchemaByIdBadRequest) Encode ¶
func (s *GetSchemaByIdBadRequest) Encode(e *jx.Encoder)
Encode encodes GetSchemaByIdBadRequest as json.
func (*GetSchemaByIdBadRequest) MarshalJSON ¶
func (s *GetSchemaByIdBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSchemaByIdBadRequest) UnmarshalJSON ¶
func (s *GetSchemaByIdBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSchemaByIdNotFound ¶
type GetSchemaByIdNotFound ErrorDetails
func (*GetSchemaByIdNotFound) Decode ¶
func (s *GetSchemaByIdNotFound) Decode(d *jx.Decoder) error
Decode decodes GetSchemaByIdNotFound from json.
func (*GetSchemaByIdNotFound) Encode ¶
func (s *GetSchemaByIdNotFound) Encode(e *jx.Encoder)
Encode encodes GetSchemaByIdNotFound as json.
func (*GetSchemaByIdNotFound) MarshalJSON ¶
func (s *GetSchemaByIdNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSchemaByIdNotFound) UnmarshalJSON ¶
func (s *GetSchemaByIdNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSchemaByIdOK ¶
type GetSchemaByIdOK struct {
Type GetSchemaByIdOKType // switch on this field
UserSchema UserSchema
}
GetSchemaByIdOK represents sum type.
func NewUserSchemaGetSchemaByIdOK ¶
func NewUserSchemaGetSchemaByIdOK(v UserSchema) GetSchemaByIdOK
NewUserSchemaGetSchemaByIdOK returns new GetSchemaByIdOK from UserSchema.
func (*GetSchemaByIdOK) Decode ¶
func (s *GetSchemaByIdOK) Decode(d *jx.Decoder) error
Decode decodes GetSchemaByIdOK from json.
func (GetSchemaByIdOK) Encode ¶
func (s GetSchemaByIdOK) Encode(e *jx.Encoder)
Encode encodes GetSchemaByIdOK as json.
func (GetSchemaByIdOK) GetUserSchema ¶
func (s GetSchemaByIdOK) GetUserSchema() (v UserSchema, ok bool)
GetUserSchema returns UserSchema and true boolean if GetSchemaByIdOK is UserSchema.
func (GetSchemaByIdOK) IsUserSchema ¶
func (s GetSchemaByIdOK) IsUserSchema() bool
IsUserSchema reports whether GetSchemaByIdOK is UserSchema.
func (GetSchemaByIdOK) MarshalJSON ¶
func (s GetSchemaByIdOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSchemaByIdOK) SetUserSchema ¶
func (s *GetSchemaByIdOK) SetUserSchema(v UserSchema)
SetUserSchema sets GetSchemaByIdOK to UserSchema.
func (*GetSchemaByIdOK) UnmarshalJSON ¶
func (s *GetSchemaByIdOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetSchemaByIdOK) Validate ¶
func (s GetSchemaByIdOK) Validate() error
type GetSchemaByIdOKType ¶
type GetSchemaByIdOKType string
GetSchemaByIdOKType is oneOf type of GetSchemaByIdOK.
const (
UserSchemaGetSchemaByIdOK GetSchemaByIdOKType = "user-schema"
)
Possible values for GetSchemaByIdOKType.
type GetSchemaByIdParams ¶
type GetSchemaByIdParams struct {
ID string
// The unique identifier of the project.
ProjectID ProjectID
// The unique identifier of the team.
TeamID OptTeamID `json:",omitempty,omitzero"`
}
GetSchemaByIdParams is parameters of getSchemaById operation.
type GetSchemaByIdRes ¶
type GetSchemaByIdRes interface {
// contains filtered or unexported methods
}
type GetSessionNotFound ¶
type GetSessionNotFound ErrorDetails
func (*GetSessionNotFound) Decode ¶
func (s *GetSessionNotFound) Decode(d *jx.Decoder) error
Decode decodes GetSessionNotFound from json.
func (*GetSessionNotFound) Encode ¶
func (s *GetSessionNotFound) Encode(e *jx.Encoder)
Encode encodes GetSessionNotFound as json.
func (*GetSessionNotFound) MarshalJSON ¶
func (s *GetSessionNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSessionNotFound) UnmarshalJSON ¶
func (s *GetSessionNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSessionParams ¶
type GetSessionParams struct {
// The unique identifier of the project.
ProjectID ProjectID
// The unique identifier of the session.
SessionID SessionID
}
GetSessionParams is parameters of getSession operation.
type GetSessionRes ¶
type GetSessionRes interface {
// contains filtered or unexported methods
}
type GetSessionUnauthorized ¶
type GetSessionUnauthorized ErrorDetails
func (*GetSessionUnauthorized) Decode ¶
func (s *GetSessionUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GetSessionUnauthorized from json.
func (*GetSessionUnauthorized) Encode ¶
func (s *GetSessionUnauthorized) Encode(e *jx.Encoder)
Encode encodes GetSessionUnauthorized as json.
func (*GetSessionUnauthorized) MarshalJSON ¶
func (s *GetSessionUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSessionUnauthorized) UnmarshalJSON ¶
func (s *GetSessionUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetTeamNotFound ¶
type GetTeamNotFound ErrorDetails
func (*GetTeamNotFound) Decode ¶
func (s *GetTeamNotFound) Decode(d *jx.Decoder) error
Decode decodes GetTeamNotFound from json.
func (*GetTeamNotFound) Encode ¶
func (s *GetTeamNotFound) Encode(e *jx.Encoder)
Encode encodes GetTeamNotFound as json.
func (*GetTeamNotFound) MarshalJSON ¶
func (s *GetTeamNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTeamNotFound) UnmarshalJSON ¶
func (s *GetTeamNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetTeamParams ¶
type GetTeamParams struct {
// The unique identifier of the project.
ProjectID ProjectID
TeamID TeamID
}
GetTeamParams is parameters of getTeam operation.
type GetTeamRes ¶
type GetTeamRes interface {
// contains filtered or unexported methods
}
type GetTeamResponse ¶
type GetTeamResponse struct {
// The unique identifier of the team.
ID string `json:"id"`
// The time when the team was created.
CreatedAt time.Time `json:"createdAt"`
// The time when the team was last updated.
UpdatedAt time.Time `json:"updatedAt"`
}
The current state of a team. Ref: #
func (*GetTeamResponse) Decode ¶
func (s *GetTeamResponse) Decode(d *jx.Decoder) error
Decode decodes GetTeamResponse from json.
func (*GetTeamResponse) Encode ¶
func (s *GetTeamResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTeamResponse) GetCreatedAt ¶
func (s *GetTeamResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*GetTeamResponse) GetID ¶
func (s *GetTeamResponse) GetID() string
GetID returns the value of ID.
func (*GetTeamResponse) GetUpdatedAt ¶
func (s *GetTeamResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*GetTeamResponse) MarshalJSON ¶
func (s *GetTeamResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTeamResponse) SetCreatedAt ¶
func (s *GetTeamResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*GetTeamResponse) SetID ¶
func (s *GetTeamResponse) SetID(val string)
SetID sets the value of ID.
func (*GetTeamResponse) SetUpdatedAt ¶
func (s *GetTeamResponse) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*GetTeamResponse) UnmarshalJSON ¶
func (s *GetTeamResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetTeamUnauthorized ¶
type GetTeamUnauthorized ErrorDetails
func (*GetTeamUnauthorized) Decode ¶
func (s *GetTeamUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GetTeamUnauthorized from json.
func (*GetTeamUnauthorized) Encode ¶
func (s *GetTeamUnauthorized) Encode(e *jx.Encoder)
Encode encodes GetTeamUnauthorized as json.
func (*GetTeamUnauthorized) MarshalJSON ¶
func (s *GetTeamUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTeamUnauthorized) UnmarshalJSON ¶
func (s *GetTeamUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetTokenRes ¶
type GetTokenRes interface {
// contains filtered or unexported methods
}
type GetUserByIDNotFound ¶
type GetUserByIDNotFound ErrorDetails
func (*GetUserByIDNotFound) Decode ¶
func (s *GetUserByIDNotFound) Decode(d *jx.Decoder) error
Decode decodes GetUserByIDNotFound from json.
func (*GetUserByIDNotFound) Encode ¶
func (s *GetUserByIDNotFound) Encode(e *jx.Encoder)
Encode encodes GetUserByIDNotFound as json.
func (*GetUserByIDNotFound) MarshalJSON ¶
func (s *GetUserByIDNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserByIDNotFound) UnmarshalJSON ¶
func (s *GetUserByIDNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetUserByIDOK ¶
func (*GetUserByIDOK) Decode ¶
func (s *GetUserByIDOK) Decode(d *jx.Decoder) error
Decode decodes GetUserByIDOK from json.
func (GetUserByIDOK) Encode ¶
func (s GetUserByIDOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetUserByIDOK) MarshalJSON ¶
func (s GetUserByIDOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserByIDOK) UnmarshalJSON ¶
func (s *GetUserByIDOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetUserByIDParams ¶
type GetUserByIDParams struct {
// The unique identifier of the project.
ProjectID ProjectID
// The unique identifier of the team.
TeamID OptTeamID `json:",omitempty,omitzero"`
UserID UserID
}
GetUserByIDParams is parameters of GetUserByID operation.
type GetUserByIDRes ¶
type GetUserByIDRes interface {
// contains filtered or unexported methods
}
type GetUserByIDUnauthorized ¶
type GetUserByIDUnauthorized ErrorDetails
func (*GetUserByIDUnauthorized) Decode ¶
func (s *GetUserByIDUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GetUserByIDUnauthorized from json.
func (*GetUserByIDUnauthorized) Encode ¶
func (s *GetUserByIDUnauthorized) Encode(e *jx.Encoder)
Encode encodes GetUserByIDUnauthorized as json.
func (*GetUserByIDUnauthorized) MarshalJSON ¶
func (s *GetUserByIDUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserByIDUnauthorized) UnmarshalJSON ¶
func (s *GetUserByIDUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetUserInfoOK ¶
type GetUserInfoOK struct {
// The unique identifier for the user.
Sub OptString `json:"sub"`
// The full name of the user.
Name OptString `json:"name"`
// The email address of the user.
Email OptString `json:"email"`
// The preferred username of the user.
PreferredUsername OptString `json:"preferred_username"`
// The URL of the user's profile picture.
Picture OptURI `json:"picture"`
// The given name of the user.
GivenName OptString `json:"given_name"`
// The family name of the user.
FamilyName OptString `json:"family_name"`
}
func (*GetUserInfoOK) Decode ¶
func (s *GetUserInfoOK) Decode(d *jx.Decoder) error
Decode decodes GetUserInfoOK from json.
func (*GetUserInfoOK) Encode ¶
func (s *GetUserInfoOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetUserInfoOK) GetEmail ¶
func (s *GetUserInfoOK) GetEmail() OptString
GetEmail returns the value of Email.
func (*GetUserInfoOK) GetFamilyName ¶
func (s *GetUserInfoOK) GetFamilyName() OptString
GetFamilyName returns the value of FamilyName.
func (*GetUserInfoOK) GetGivenName ¶
func (s *GetUserInfoOK) GetGivenName() OptString
GetGivenName returns the value of GivenName.
func (*GetUserInfoOK) GetName ¶
func (s *GetUserInfoOK) GetName() OptString
GetName returns the value of Name.
func (*GetUserInfoOK) GetPicture ¶
func (s *GetUserInfoOK) GetPicture() OptURI
GetPicture returns the value of Picture.
func (*GetUserInfoOK) GetPreferredUsername ¶
func (s *GetUserInfoOK) GetPreferredUsername() OptString
GetPreferredUsername returns the value of PreferredUsername.
func (*GetUserInfoOK) GetSub ¶
func (s *GetUserInfoOK) GetSub() OptString
GetSub returns the value of Sub.
func (*GetUserInfoOK) MarshalJSON ¶
func (s *GetUserInfoOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetUserInfoOK) SetEmail ¶
func (s *GetUserInfoOK) SetEmail(val OptString)
SetEmail sets the value of Email.
func (*GetUserInfoOK) SetFamilyName ¶
func (s *GetUserInfoOK) SetFamilyName(val OptString)
SetFamilyName sets the value of FamilyName.
func (*GetUserInfoOK) SetGivenName ¶
func (s *GetUserInfoOK) SetGivenName(val OptString)
SetGivenName sets the value of GivenName.
func (*GetUserInfoOK) SetName ¶
func (s *GetUserInfoOK) SetName(val OptString)
SetName sets the value of Name.
func (*GetUserInfoOK) SetPicture ¶
func (s *GetUserInfoOK) SetPicture(val OptURI)
SetPicture sets the value of Picture.
func (*GetUserInfoOK) SetPreferredUsername ¶
func (s *GetUserInfoOK) SetPreferredUsername(val OptString)
SetPreferredUsername sets the value of PreferredUsername.
func (*GetUserInfoOK) SetSub ¶
func (s *GetUserInfoOK) SetSub(val OptString)
SetSub sets the value of Sub.
func (*GetUserInfoOK) UnmarshalJSON ¶
func (s *GetUserInfoOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetUserInfoOK) Validate ¶
func (s *GetUserInfoOK) Validate() error
type GetUserInfoRes ¶
type GetUserInfoRes interface {
// contains filtered or unexported methods
}
type Handler ¶
type Handler interface {
// ActivateFlowDefinition implements activateFlowDefinition operation.
//
// Activate a flow definition by transitioning it from a `draft` state to an `active` state.
// Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions`
// and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow
// definition payload.
//
// POST /flow_definitions/{id}/activate
ActivateFlowDefinition(ctx context.Context, params ActivateFlowDefinitionParams) (ActivateFlowDefinitionRes, error)
// AuthorizeDevice implements authorizeDevice operation.
//
// Authorize a device.
//
// GET /auth/device-authorization
AuthorizeDevice(ctx context.Context, params AuthorizeDeviceParams) (AuthorizeDeviceRes, error)
// AuthorizeGet implements authorizeGet operation.
//
// Authorize a user.
//
// GET /auth/authorize
AuthorizeGet(ctx context.Context, params AuthorizeGetParams) (AuthorizeGetRes, error)
// CreateAuthAttempt implements createAuthAttempt operation.
//
// Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.
// An attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.
// It accepts factor challenges, verifies proofs, and completes into a session or handoff token.
// Accepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,
// also include session_id to add factors to an existing session.
//
// POST /auth_attempts
CreateAuthAttempt(ctx context.Context, req *CreateAuthAttemptRequest) (CreateAuthAttemptRes, error)
// CreateFlow implements createFlow operation.
//
// Resolves a flow definition based on purpose + audience context and returns
// the first capability step. Creates a new session implicitly unless
// `session_id` is provided (for step-up / reauth on an existing session).
// The response contains an `id` field — the flow handle. Use it as the path
// parameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls.
// The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
// the flow's orchestration state (current step, collected data, history).
// The server is stateless between requests — all flow state lives in this
// cookie. The browser sends it automatically on subsequent requests.
//
// POST /flow
CreateFlow(ctx context.Context, req *CreateFlowRequest) (CreateFlowRes, error)
// CreateFlowDefinition implements createFlowDefinition operation.
//
// Creates a new flow definition.
// Flow definitions are templates that define the sequence of steps (capabilities)
// for a particular user journey (e.g., registration, login, password reset).
// Flow definitions are created based on the flow definition schema, which includes the flow's
// purpose, audience, and the steps involved.
//
// POST /flow_definitions
CreateFlowDefinition(ctx context.Context, req *CreateFlowDefinitionRequest) (CreateFlowDefinitionRes, error)
// CreateHandoff implements createHandoff operation.
//
// Completes the authentication attempt and mints a `handoff_token`.
// Call this after all required factors have been verified and the attempt is in `completed` state.
// The handoff token is short-lived (≤60 seconds) and must be exchanged at
// POST /sessions/exchange to receive the final session and session_token.
// The handoff token is:
// - Single-use (atomic exchange, no retry)
// - Audience-bound (requires matching project key for exchange)
// - Idempotency-safe within a 5-minute window (see conventions).
//
// POST /auth_attempts/{attempt_id}/handoff
CreateHandoff(ctx context.Context, params CreateHandoffParams) (CreateHandoffRes, error)
// CreateProject implements createProject operation.
//
// Create project.
//
// POST /projects
CreateProject(ctx context.Context, req *CreateProjectRequest) (CreateProjectRes, error)
// CreateSchema implements createSchema operation.
//
// Create a new schema. The schema definition must include a unique $id field,
// which will be used to identify the schema in future requests. The $id must
// be a valid URI and should ideally point to the location where the schema
// can be accessed.
// The schema can either be a concrete schema, e.g. a user schema, or a
// schema-url which will be resolved by the server.
//
// POST /schemas
CreateSchema(ctx context.Context, req CreateSchemaReq, params CreateSchemaParams) (CreateSchemaRes, error)
// CreateSession implements createSession operation.
//
// Creates an anonymous session shell with no user and no factors (`state: building`).
// This is optional — an `auth_attempt` will create a session implicitly if none is provided.
// Use this explicitly when you want to:
// - Pre-allocate a `session_id` before the user is known, so device/telemetry signals
// can be correlated with the eventual authenticated session from the start.
// - Track anonymous state (bot detection, device fingerprint) that survives until authentication.
// The returned `session_token` authorises GET and DELETE on this session.
// It is superseded when a handoff exchange completes — clients must replace it at that point.
// Anonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured
// full session TTL when the first authentication factor is written via a completing `auth_attempt`.
//
// POST /sessions
CreateSession(ctx context.Context, req *CreateSessionRequest) (CreateSessionRes, error)
// CreateTeam implements createTeam operation.
//
// Create team.
//
// POST /teams
CreateTeam(ctx context.Context, req *CreateTeamRequest, params CreateTeamParams) (CreateTeamRes, error)
// CreateUser implements createUser operation.
//
// Create user.
//
// POST /users
CreateUser(ctx context.Context, req *User, params CreateUserParams) (CreateUserRes, error)
// DeactivateFlowDefinition implements deactivateFlowDefinition operation.
//
// Deactivates a flow definition in the `active` state by transitioning it to the `draft` state.
// Flow definitions in `draft` state cannot be used to start new flows. Existing flows that use the
// deactivated flow definition must gracefully handle this.
// Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions`
// and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow
// definition payload.
//
// POST /flow_definitions/{id}/deactivate
DeactivateFlowDefinition(ctx context.Context, params DeactivateFlowDefinitionParams) (DeactivateFlowDefinitionRes, error)
// DeleteFlowDefinition implements deleteFlowDefinition operation.
//
// Delete a flow definition by id.
// If the flow definition is currently being used by a flow, the deletion will fail.
// If the flow definition is the last active flow definition for a given purpose, the deletion will
// fail to prevent disruption of new flows being started for that purpose.
//
// DELETE /flow_definitions/{id}
DeleteFlowDefinition(ctx context.Context, params DeleteFlowDefinitionParams) (DeleteFlowDefinitionRes, error)
// EndSession implements endSession operation.
//
// End a session.
//
// GET /auth/end-session
EndSession(ctx context.Context, params EndSessionParams) (EndSessionRes, error)
// ExchangeHandoff implements exchangeHandoff operation.
//
// Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`
// and returns the resulting session and a `session_token`.
// The server resolves the originating `auth_attempt` from the token and then:
// | Originating auth_attempt | Outcome |
// |---|---|
// | No `session_id` | A new authenticated session is **created**. |
// | `session_id` points to an anonymous shell | Existing session is **upgraded** — user and
// factors written in, TTL reset to full session TTL. |
// | `session_id` points to an active session (step-up) | Existing session is **upgraded** — new
// factors merged, `assurance_levels[]` expanded. |
// The response shape is identical in all three cases.
// The `session_token` supersedes any previously issued `session_token` for the same session.
// Clients must replace their stored token at this point.
// Requires a project service key (OAuth2 client credentials).
//
// POST /sessions/exchange
ExchangeHandoff(ctx context.Context, req *ExchangeRequest, params ExchangeHandoffParams) (ExchangeHandoffRes, error)
// GetAuthAttempt implements getAuthAttempt operation.
//
// Polls the current state of an authentication attempt.
// Returns the attempt's state, available factors for the next challenge,
// challenges issued so far, and any errors preventing progress.
// Use this for polling during long-running factor verifications (e.g., waiting for
// a federated IdP callback or a device flow).
//
// GET /auth_attempts/{attempt_id}
GetAuthAttempt(ctx context.Context, params GetAuthAttemptParams) (GetAuthAttemptRes, error)
// GetFlowDefinition implements getFlowDefinition operation.
//
// Get a flow definition by id.
//
// GET /flow_definitions/{id}
GetFlowDefinition(ctx context.Context, params GetFlowDefinitionParams) (GetFlowDefinitionRes, error)
// GetFlowStep implements getFlowStep operation.
//
// Returns the current capability step without advancing the state machine.
// Useful for page reloads or re-rendering after a network error.
//
// GET /flow/{id}
GetFlowStep(ctx context.Context, params GetFlowStepParams) (GetFlowStepRes, error)
// GetHealth implements getHealth operation.
//
// Check whether the server is healthy.
//
// GET /healthz
GetHealth(ctx context.Context) (GetHealthRes, error)
// GetKeys implements getKeys operation.
//
// Get public keys.
//
// GET /auth/keys
GetKeys(ctx context.Context) (GetKeysRes, error)
// GetLive implements getLive operation.
//
// Check whether the server is started.
//
// GET /livez
GetLive(ctx context.Context) (GetLiveRes, error)
// GetMySession implements getMySession operation.
//
// Returns the current state of the current session including its factors and all currently
// satisfied assurance levels.
// `assurance_levels[]` may shrink over time as factor freshness windows expire,
// without the session itself expiring. Use step-up authentication (a new `auth_attempt`
// against the same `session_id`) to restore a dropped assurance level.
//
// GET /sessions/me
GetMySession(ctx context.Context, params GetMySessionParams) (GetMySessionRes, error)
// GetMyUser implements getMyUser operation.
//
// Get my user information.
//
// GET /users/me
GetMyUser(ctx context.Context, params GetMyUserParams) (GetMyUserRes, error)
// GetOpenIDConfiguration implements getOpenIDConfiguration operation.
//
// Retrieve the OpenID Connect configuration.
//
// GET /.well-known/openid-configuration
GetOpenIDConfiguration(ctx context.Context) (GetOpenIDConfigurationRes, error)
// GetProject implements getProject operation.
//
// Returns the current state of a project.
//
// GET /projects/{project_id}
GetProject(ctx context.Context, params GetProjectParams) (GetProjectRes, error)
// GetReady implements getReady operation.
//
// Check whether the server is ready to accept requests.
//
// GET /readyz
GetReady(ctx context.Context) (GetReadyRes, error)
// GetSchemaById implements getSchemaById operation.
//
// Get a schema by its ID. This will return the default revision of the schema.
//
// GET /schemas/{id}
GetSchemaById(ctx context.Context, params GetSchemaByIdParams) (GetSchemaByIdRes, error)
// GetSession implements getSession operation.
//
// Returns the current state of a session including its factors and all currently
// satisfied assurance levels.
// `assurance_levels[]` may shrink over time as factor freshness windows expire,
// without the session itself expiring. Use step-up authentication (a new `auth_attempt`
// against the same `session_id`) to restore a dropped assurance level.
//
// GET /sessions/{session_id}
GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)
// GetTeam implements getTeam operation.
//
// Returns the current state of a team.
//
// GET /teams/{team_id}
GetTeam(ctx context.Context, params GetTeamParams) (GetTeamRes, error)
// GetToken implements getToken operation.
//
// Get access token.
//
// POST /auth/token
GetToken(ctx context.Context, req *PostTokenRequest) (GetTokenRes, error)
// GetUserByID implements GetUserByID operation.
//
// Get user by ID.
//
// GET /users/{user_id}
GetUserByID(ctx context.Context, params GetUserByIDParams) (GetUserByIDRes, error)
// GetUserInfo implements getUserInfo operation.
//
// Get user info.
//
// GET /auth/userinfo
GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
// Introspect implements introspect operation.
//
// Introspect a token.
//
// POST /auth/introspect
Introspect(ctx context.Context, req *IntrospectRequest) (IntrospectRes, error)
// IssueChallenge implements issueChallenge operation.
//
// Issues a single-factor verification challenge within an auth attempt.
// This advances the authentication state machine by requesting a specific factor method
// (password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details
// including method, metadata, and any UI hints. The client then verifies the proof
// by calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
//
// POST /auth_attempts/{attempt_id}/challenges
IssueChallenge(ctx context.Context, req *IssueChallengeRequest, params IssueChallengeParams) (IssueChallengeRes, error)
// ListFlowDefinitions implements listFlowDefinitions operation.
//
// Retrieves a list of all flow definitions.
// This endpoint can be used to view existing flow definitions and their configurations.
//
// GET /flow_definitions
ListFlowDefinitions(ctx context.Context, params ListFlowDefinitionsParams) (ListFlowDefinitionsRes, error)
// ListSessions implements listSessions operation.
//
// Returns a paginated list of sessions for a project.
// Requires a project service key (OAuth2 client credentials).
//
// GET /sessions
ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)
// ListUsers implements listUsers operation.
//
// List users.
//
// GET /users
ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)
// RevokeMySession implements revokeMySession operation.
//
// Revokes the session immediately (`state: revoked`). This is the logout operation.
// The __nextgen_session cookie issued at creation (or superseded by a handoff exchange) is required.
// After revocation, any tokens derived from this session are invalidated including the cookie itself,
// which is cleared in the response.
//
// DELETE /sessions/me
RevokeMySession(ctx context.Context, params RevokeMySessionParams) (RevokeMySessionRes, error)
// RevokeSession implements revokeSession operation.
//
// Revokes the session immediately (`state: revoked`). This is the logout operation.
// The session_token issued at creation (or superseded by a handoff exchange) is required.
// After revocation, any tokens derived from this session are invalidated.
//
// DELETE /sessions/{session_id}
RevokeSession(ctx context.Context, params RevokeSessionParams) (RevokeSessionRes, error)
// RevokeToken implements revokeToken operation.
//
// Revoke an access token or refresh token.
//
// POST /auth/revoke
RevokeToken(ctx context.Context, req *RevokeRequest) (RevokeTokenRes, error)
// SetUserPassword implements setUserPassword operation.
//
// Set user password.
//
// PUT /users/{user_id}/password
SetUserPassword(ctx context.Context, req *SetUserPasswordRequest, params SetUserPasswordParams) (SetUserPasswordRes, error)
// SubmitFlowEvent implements submitFlowEvent operation.
//
// Submits telemetry or fingerprint data from the frontend.
// Does not advance the state machine. Used for risk evaluation.
//
// POST /flow/{id}/event
SubmitFlowEvent(ctx context.Context, req *FlowEventRequest, params SubmitFlowEventParams) (SubmitFlowEventRes, error)
// SubmitFlowStep implements submitFlowStep operation.
//
// Submits user input for the current step. The server validates,
// processes (e.g., verifies a credential), advances the state machine
// through any invisible steps, and returns the next visible step.
// The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)
// with the new flow state. The server is stateless — all orchestration
// state is carried in this cookie between requests.
// **Important:** The `id` in the response may differ from the `id` used in
// the request. This happens when a flow pivots (pushes a new flow onto the
// stack) or when a stacked flow completes (auto-pops to the parent flow).
// Always use the `id` from the latest response for the next request.
// ## Flow completion
// When `step.type` is `complete`, the flow is terminal. The `step.behavior`
// field tells the frontend what to do:
// | `behavior` | Action |
// |------------- |------------------------------------------------------------|
// | `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |
// | `show` | Render the step as a success screen (e.g., registration). |
// A `complete` step is only returned when the **entire flow stack** is done.
// If a stacked flow (e.g., recovery pivoted from login) finishes, the server
// auto-pops to the parent flow and returns the parent's next step — the
// frontend never sees a `complete` for intermediate flows.
//
// POST /flow/{id}/submit
SubmitFlowStep(ctx context.Context, req *FlowSubmitRequest, params SubmitFlowStepParams) (SubmitFlowStepRes, error)
// UpdateFlowDefinition implements updateFlowDefinition operation.
//
// Update a flow definition by id. This endpoint replaces the existing flow definition.
// If `flow_definition.status` is omitted, the current status is preserved.
//
// PUT /flow_definitions/{id}
UpdateFlowDefinition(ctx context.Context, req *FlowDefinitionUpdateRequest, params UpdateFlowDefinitionParams) (UpdateFlowDefinitionRes, error)
// VerifyChallengeProof implements verifyChallengeProof operation.
//
// Submits a proof (credential, code, assertion) to verify a factor challenge.
// The proof format depends on the challenge method. For example:
// - `password` method: { password: "…" }
// - `totp` method: { totp: { code: "123456" } }
// - `passkey` method: { passkey: { assertion: "…" } }
// - `recovery_code` method: { recovery_code: "…" }
// On successful verification, the factor is written to the auth attempt.
// The attempt moves to the next pending challenge or completes if all required factors are verified.
//
// POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
VerifyChallengeProof(ctx context.Context, req *VerifyChallengeRequest, params VerifyChallengeProofParams) (VerifyChallengeProofRes, error)
}
Handler handles operations described by OpenAPI v3 specification.
type HandoffResponse ¶
type HandoffResponse struct {
// The short-lived handoff token for session exchange.
// Exchange at: POST /sessions/exchange
// Requirements:
// - Single-use (atomic GETDEL on exchange)
// - TTL ≤ 60 seconds
// - Audience-bound to project (exchange requires sk_proj_… for matching project)
// - Idempotency-safe (Category B, 5-minute window).
HandoffToken string `json:"handoff_token"`
// When this handoff token expires.
ExpiresAt time.Time `json:"expires_at"`
}
The handoff token and metadata for session exchange. This is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange at POST /sessions/exchange to receive the final session and session_token. The handoff token is single-use and audience-bound to the project. Ref: #
func (*HandoffResponse) Decode ¶
func (s *HandoffResponse) Decode(d *jx.Decoder) error
Decode decodes HandoffResponse from json.
func (*HandoffResponse) Encode ¶
func (s *HandoffResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*HandoffResponse) GetExpiresAt ¶
func (s *HandoffResponse) GetExpiresAt() time.Time
GetExpiresAt returns the value of ExpiresAt.
func (*HandoffResponse) GetHandoffToken ¶
func (s *HandoffResponse) GetHandoffToken() string
GetHandoffToken returns the value of HandoffToken.
func (*HandoffResponse) MarshalJSON ¶
func (s *HandoffResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*HandoffResponse) SetExpiresAt ¶
func (s *HandoffResponse) SetExpiresAt(val time.Time)
SetExpiresAt sets the value of ExpiresAt.
func (*HandoffResponse) SetHandoffToken ¶
func (s *HandoffResponse) SetHandoffToken(val string)
SetHandoffToken sets the value of HandoffToken.
func (*HandoffResponse) UnmarshalJSON ¶
func (s *HandoffResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IdentifierChallengePayload ¶
type IdentifierChallengePayload struct{}
Identifier challenge has no additional data beyond base challenge fields. Ref: #
func (*IdentifierChallengePayload) Decode ¶
func (s *IdentifierChallengePayload) Decode(d *jx.Decoder) error
Decode decodes IdentifierChallengePayload from json.
func (*IdentifierChallengePayload) Encode ¶
func (s *IdentifierChallengePayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IdentifierChallengePayload) MarshalJSON ¶
func (s *IdentifierChallengePayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IdentifierChallengePayload) UnmarshalJSON ¶
func (s *IdentifierChallengePayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IdentifierFactorPayload ¶
type IdentifierFactorPayload struct {
// The identified user ID.
UserID UserID `json:"user_id"`
}
Identifier-specific factor metadata. Ref: #
func (*IdentifierFactorPayload) Decode ¶
func (s *IdentifierFactorPayload) Decode(d *jx.Decoder) error
Decode decodes IdentifierFactorPayload from json.
func (*IdentifierFactorPayload) Encode ¶
func (s *IdentifierFactorPayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IdentifierFactorPayload) GetUserID ¶
func (s *IdentifierFactorPayload) GetUserID() UserID
GetUserID returns the value of UserID.
func (*IdentifierFactorPayload) MarshalJSON ¶
func (s *IdentifierFactorPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IdentifierFactorPayload) SetUserID ¶
func (s *IdentifierFactorPayload) SetUserID(val UserID)
SetUserID sets the value of UserID.
func (*IdentifierFactorPayload) UnmarshalJSON ¶
func (s *IdentifierFactorPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IdentifierFactorPayload) Validate ¶
func (s *IdentifierFactorPayload) Validate() error
type IdentifierProof ¶
type IdentifierProof struct {
// The login name or email being identified.
LoginName string `json:"login_name"`
}
Proof for `identifier` method. Ref: #
func (*IdentifierProof) Decode ¶
func (s *IdentifierProof) Decode(d *jx.Decoder) error
Decode decodes IdentifierProof from json.
func (*IdentifierProof) Encode ¶
func (s *IdentifierProof) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IdentifierProof) GetLoginName ¶
func (s *IdentifierProof) GetLoginName() string
GetLoginName returns the value of LoginName.
func (*IdentifierProof) MarshalJSON ¶
func (s *IdentifierProof) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IdentifierProof) SetLoginName ¶
func (s *IdentifierProof) SetLoginName(val string)
SetLoginName sets the value of LoginName.
func (*IdentifierProof) UnmarshalJSON ¶
func (s *IdentifierProof) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Internal ¶
type Internal struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptInternalDetails `json:"details"`
}
Merged schema. Ref: #
func (*Internal) GetDetails ¶
func (s *Internal) GetDetails() OptInternalDetails
GetDetails returns the value of Details.
func (*Internal) GetMessage ¶
GetMessage returns the value of Message.
func (*Internal) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Internal) SetDetails ¶
func (s *Internal) SetDetails(val OptInternalDetails)
SetDetails sets the value of Details.
func (*Internal) SetMessage ¶
SetMessage sets the value of Message.
func (*Internal) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type InternalDetails ¶
Additional error-specific context.
func (*InternalDetails) Decode ¶
func (s *InternalDetails) Decode(d *jx.Decoder) error
Decode decodes InternalDetails from json.
func (InternalDetails) Encode ¶
func (s InternalDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (InternalDetails) MarshalJSON ¶
func (s InternalDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InternalDetails) UnmarshalJSON ¶
func (s *InternalDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IntrospectRequest ¶
type IntrospectRequest struct {
// The token to introspect.
Token string `json:"token"`
// A hint about the type of the token (access_token or refresh_token).
TokenTypeHint OptString `json:"token_type_hint"`
}
Ref: #
func (*IntrospectRequest) GetToken ¶
func (s *IntrospectRequest) GetToken() string
GetToken returns the value of Token.
func (*IntrospectRequest) GetTokenTypeHint ¶
func (s *IntrospectRequest) GetTokenTypeHint() OptString
GetTokenTypeHint returns the value of TokenTypeHint.
func (*IntrospectRequest) SetToken ¶
func (s *IntrospectRequest) SetToken(val string)
SetToken sets the value of Token.
func (*IntrospectRequest) SetTokenTypeHint ¶
func (s *IntrospectRequest) SetTokenTypeHint(val OptString)
SetTokenTypeHint sets the value of TokenTypeHint.
type IntrospectRes ¶
type IntrospectRes interface {
// contains filtered or unexported methods
}
type IntrospectResponse ¶
type IntrospectResponse struct {
// Indicates whether the token is active.
Active OptBool `json:"active"`
// The audience of the token (if applicable).
Aud OptString `json:"aud"`
// The client ID associated with the token.
ClientID OptString `json:"client_id"`
// The expiration time of the token (in seconds since epoch).
Exp OptInt `json:"exp"`
// The time the token was issued (in seconds since epoch).
Iat OptInt `json:"iat"`
// The issuer of the token (if applicable).
Iss OptString `json:"iss"`
// The unique identifier for the token (if applicable).
Jti OptString `json:"jti"`
// The time before which the token is not valid (in seconds since epoch).
Nbf OptInt `json:"nbf"`
// The scopes associated with the token.
Scope OptString `json:"scope"`
// The subject of the token (if applicable).
Sub OptString `json:"sub"`
// The type of the token (access_token or refresh_token).
TokenType OptString `json:"token_type"`
// The username associated with the token (if applicable).
Username OptString `json:"username"`
}
Ref: #
func (*IntrospectResponse) Decode ¶
func (s *IntrospectResponse) Decode(d *jx.Decoder) error
Decode decodes IntrospectResponse from json.
func (*IntrospectResponse) Encode ¶
func (s *IntrospectResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IntrospectResponse) GetActive ¶
func (s *IntrospectResponse) GetActive() OptBool
GetActive returns the value of Active.
func (*IntrospectResponse) GetAud ¶
func (s *IntrospectResponse) GetAud() OptString
GetAud returns the value of Aud.
func (*IntrospectResponse) GetClientID ¶
func (s *IntrospectResponse) GetClientID() OptString
GetClientID returns the value of ClientID.
func (*IntrospectResponse) GetExp ¶
func (s *IntrospectResponse) GetExp() OptInt
GetExp returns the value of Exp.
func (*IntrospectResponse) GetIat ¶
func (s *IntrospectResponse) GetIat() OptInt
GetIat returns the value of Iat.
func (*IntrospectResponse) GetIss ¶
func (s *IntrospectResponse) GetIss() OptString
GetIss returns the value of Iss.
func (*IntrospectResponse) GetJti ¶
func (s *IntrospectResponse) GetJti() OptString
GetJti returns the value of Jti.
func (*IntrospectResponse) GetNbf ¶
func (s *IntrospectResponse) GetNbf() OptInt
GetNbf returns the value of Nbf.
func (*IntrospectResponse) GetScope ¶
func (s *IntrospectResponse) GetScope() OptString
GetScope returns the value of Scope.
func (*IntrospectResponse) GetSub ¶
func (s *IntrospectResponse) GetSub() OptString
GetSub returns the value of Sub.
func (*IntrospectResponse) GetTokenType ¶
func (s *IntrospectResponse) GetTokenType() OptString
GetTokenType returns the value of TokenType.
func (*IntrospectResponse) GetUsername ¶
func (s *IntrospectResponse) GetUsername() OptString
GetUsername returns the value of Username.
func (*IntrospectResponse) MarshalJSON ¶
func (s *IntrospectResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IntrospectResponse) SetActive ¶
func (s *IntrospectResponse) SetActive(val OptBool)
SetActive sets the value of Active.
func (*IntrospectResponse) SetAud ¶
func (s *IntrospectResponse) SetAud(val OptString)
SetAud sets the value of Aud.
func (*IntrospectResponse) SetClientID ¶
func (s *IntrospectResponse) SetClientID(val OptString)
SetClientID sets the value of ClientID.
func (*IntrospectResponse) SetExp ¶
func (s *IntrospectResponse) SetExp(val OptInt)
SetExp sets the value of Exp.
func (*IntrospectResponse) SetIat ¶
func (s *IntrospectResponse) SetIat(val OptInt)
SetIat sets the value of Iat.
func (*IntrospectResponse) SetIss ¶
func (s *IntrospectResponse) SetIss(val OptString)
SetIss sets the value of Iss.
func (*IntrospectResponse) SetJti ¶
func (s *IntrospectResponse) SetJti(val OptString)
SetJti sets the value of Jti.
func (*IntrospectResponse) SetNbf ¶
func (s *IntrospectResponse) SetNbf(val OptInt)
SetNbf sets the value of Nbf.
func (*IntrospectResponse) SetScope ¶
func (s *IntrospectResponse) SetScope(val OptString)
SetScope sets the value of Scope.
func (*IntrospectResponse) SetSub ¶
func (s *IntrospectResponse) SetSub(val OptString)
SetSub sets the value of Sub.
func (*IntrospectResponse) SetTokenType ¶
func (s *IntrospectResponse) SetTokenType(val OptString)
SetTokenType sets the value of TokenType.
func (*IntrospectResponse) SetUsername ¶
func (s *IntrospectResponse) SetUsername(val OptString)
SetUsername sets the value of Username.
func (*IntrospectResponse) UnmarshalJSON ¶
func (s *IntrospectResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Invoker ¶
type Invoker interface {
// ActivateFlowDefinition invokes activateFlowDefinition operation.
//
// Activate a flow definition by transitioning it from a `draft` state to an `active` state.
// Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions`
// and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow
// definition payload.
//
// POST /flow_definitions/{id}/activate
ActivateFlowDefinition(ctx context.Context, params ActivateFlowDefinitionParams) (ActivateFlowDefinitionRes, error)
// AuthorizeDevice invokes authorizeDevice operation.
//
// Authorize a device.
//
// GET /auth/device-authorization
AuthorizeDevice(ctx context.Context, params AuthorizeDeviceParams) (AuthorizeDeviceRes, error)
// AuthorizeGet invokes authorizeGet operation.
//
// Authorize a user.
//
// GET /auth/authorize
AuthorizeGet(ctx context.Context, params AuthorizeGetParams) (AuthorizeGetRes, error)
// CreateAuthAttempt invokes createAuthAttempt operation.
//
// Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.
// An attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.
// It accepts factor challenges, verifies proofs, and completes into a session or handoff token.
// Accepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,
// also include session_id to add factors to an existing session.
//
// POST /auth_attempts
CreateAuthAttempt(ctx context.Context, request *CreateAuthAttemptRequest) (CreateAuthAttemptRes, error)
// CreateFlow invokes createFlow operation.
//
// Resolves a flow definition based on purpose + audience context and returns
// the first capability step. Creates a new session implicitly unless
// `session_id` is provided (for step-up / reauth on an existing session).
// The response contains an `id` field — the flow handle. Use it as the path
// parameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls.
// The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
// the flow's orchestration state (current step, collected data, history).
// The server is stateless between requests — all flow state lives in this
// cookie. The browser sends it automatically on subsequent requests.
//
// POST /flow
CreateFlow(ctx context.Context, request *CreateFlowRequest) (CreateFlowRes, error)
// CreateFlowDefinition invokes createFlowDefinition operation.
//
// Creates a new flow definition.
// Flow definitions are templates that define the sequence of steps (capabilities)
// for a particular user journey (e.g., registration, login, password reset).
// Flow definitions are created based on the flow definition schema, which includes the flow's
// purpose, audience, and the steps involved.
//
// POST /flow_definitions
CreateFlowDefinition(ctx context.Context, request *CreateFlowDefinitionRequest) (CreateFlowDefinitionRes, error)
// CreateHandoff invokes createHandoff operation.
//
// Completes the authentication attempt and mints a `handoff_token`.
// Call this after all required factors have been verified and the attempt is in `completed` state.
// The handoff token is short-lived (≤60 seconds) and must be exchanged at
// POST /sessions/exchange to receive the final session and session_token.
// The handoff token is:
// - Single-use (atomic exchange, no retry)
// - Audience-bound (requires matching project key for exchange)
// - Idempotency-safe within a 5-minute window (see conventions).
//
// POST /auth_attempts/{attempt_id}/handoff
CreateHandoff(ctx context.Context, params CreateHandoffParams) (CreateHandoffRes, error)
// CreateProject invokes createProject operation.
//
// Create project.
//
// POST /projects
CreateProject(ctx context.Context, request *CreateProjectRequest) (CreateProjectRes, error)
// CreateSchema invokes createSchema operation.
//
// Create a new schema. The schema definition must include a unique $id field,
// which will be used to identify the schema in future requests. The $id must
// be a valid URI and should ideally point to the location where the schema
// can be accessed.
// The schema can either be a concrete schema, e.g. a user schema, or a
// schema-url which will be resolved by the server.
//
// POST /schemas
CreateSchema(ctx context.Context, request CreateSchemaReq, params CreateSchemaParams) (CreateSchemaRes, error)
// CreateSession invokes createSession operation.
//
// Creates an anonymous session shell with no user and no factors (`state: building`).
// This is optional — an `auth_attempt` will create a session implicitly if none is provided.
// Use this explicitly when you want to:
// - Pre-allocate a `session_id` before the user is known, so device/telemetry signals
// can be correlated with the eventual authenticated session from the start.
// - Track anonymous state (bot detection, device fingerprint) that survives until authentication.
// The returned `session_token` authorises GET and DELETE on this session.
// It is superseded when a handoff exchange completes — clients must replace it at that point.
// Anonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured
// full session TTL when the first authentication factor is written via a completing `auth_attempt`.
//
// POST /sessions
CreateSession(ctx context.Context, request *CreateSessionRequest) (CreateSessionRes, error)
// CreateTeam invokes createTeam operation.
//
// Create team.
//
// POST /teams
CreateTeam(ctx context.Context, request *CreateTeamRequest, params CreateTeamParams) (CreateTeamRes, error)
// CreateUser invokes createUser operation.
//
// Create user.
//
// POST /users
CreateUser(ctx context.Context, request *User, params CreateUserParams) (CreateUserRes, error)
// DeactivateFlowDefinition invokes deactivateFlowDefinition operation.
//
// Deactivates a flow definition in the `active` state by transitioning it to the `draft` state.
// Flow definitions in `draft` state cannot be used to start new flows. Existing flows that use the
// deactivated flow definition must gracefully handle this.
// Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions`
// and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow
// definition payload.
//
// POST /flow_definitions/{id}/deactivate
DeactivateFlowDefinition(ctx context.Context, params DeactivateFlowDefinitionParams) (DeactivateFlowDefinitionRes, error)
// DeleteFlowDefinition invokes deleteFlowDefinition operation.
//
// Delete a flow definition by id.
// If the flow definition is currently being used by a flow, the deletion will fail.
// If the flow definition is the last active flow definition for a given purpose, the deletion will
// fail to prevent disruption of new flows being started for that purpose.
//
// DELETE /flow_definitions/{id}
DeleteFlowDefinition(ctx context.Context, params DeleteFlowDefinitionParams) (DeleteFlowDefinitionRes, error)
// EndSession invokes endSession operation.
//
// End a session.
//
// GET /auth/end-session
EndSession(ctx context.Context, params EndSessionParams) (EndSessionRes, error)
// ExchangeHandoff invokes exchangeHandoff operation.
//
// Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`
// and returns the resulting session and a `session_token`.
// The server resolves the originating `auth_attempt` from the token and then:
// | Originating auth_attempt | Outcome |
// |---|---|
// | No `session_id` | A new authenticated session is **created**. |
// | `session_id` points to an anonymous shell | Existing session is **upgraded** — user and
// factors written in, TTL reset to full session TTL. |
// | `session_id` points to an active session (step-up) | Existing session is **upgraded** — new
// factors merged, `assurance_levels[]` expanded. |
// The response shape is identical in all three cases.
// The `session_token` supersedes any previously issued `session_token` for the same session.
// Clients must replace their stored token at this point.
// Requires a project service key (OAuth2 client credentials).
//
// POST /sessions/exchange
ExchangeHandoff(ctx context.Context, request *ExchangeRequest, params ExchangeHandoffParams) (ExchangeHandoffRes, error)
// GetAuthAttempt invokes getAuthAttempt operation.
//
// Polls the current state of an authentication attempt.
// Returns the attempt's state, available factors for the next challenge,
// challenges issued so far, and any errors preventing progress.
// Use this for polling during long-running factor verifications (e.g., waiting for
// a federated IdP callback or a device flow).
//
// GET /auth_attempts/{attempt_id}
GetAuthAttempt(ctx context.Context, params GetAuthAttemptParams) (GetAuthAttemptRes, error)
// GetFlowDefinition invokes getFlowDefinition operation.
//
// Get a flow definition by id.
//
// GET /flow_definitions/{id}
GetFlowDefinition(ctx context.Context, params GetFlowDefinitionParams) (GetFlowDefinitionRes, error)
// GetFlowStep invokes getFlowStep operation.
//
// Returns the current capability step without advancing the state machine.
// Useful for page reloads or re-rendering after a network error.
//
// GET /flow/{id}
GetFlowStep(ctx context.Context, params GetFlowStepParams) (GetFlowStepRes, error)
// GetHealth invokes getHealth operation.
//
// Check whether the server is healthy.
//
// GET /healthz
GetHealth(ctx context.Context) (GetHealthRes, error)
// GetKeys invokes getKeys operation.
//
// Get public keys.
//
// GET /auth/keys
GetKeys(ctx context.Context) (GetKeysRes, error)
// GetLive invokes getLive operation.
//
// Check whether the server is started.
//
// GET /livez
GetLive(ctx context.Context) (GetLiveRes, error)
// GetMySession invokes getMySession operation.
//
// Returns the current state of the current session including its factors and all currently
// satisfied assurance levels.
// `assurance_levels[]` may shrink over time as factor freshness windows expire,
// without the session itself expiring. Use step-up authentication (a new `auth_attempt`
// against the same `session_id`) to restore a dropped assurance level.
//
// GET /sessions/me
GetMySession(ctx context.Context, params GetMySessionParams) (GetMySessionRes, error)
// GetMyUser invokes getMyUser operation.
//
// Get my user information.
//
// GET /users/me
GetMyUser(ctx context.Context, params GetMyUserParams) (GetMyUserRes, error)
// GetOpenIDConfiguration invokes getOpenIDConfiguration operation.
//
// Retrieve the OpenID Connect configuration.
//
// GET /.well-known/openid-configuration
GetOpenIDConfiguration(ctx context.Context) (GetOpenIDConfigurationRes, error)
// GetProject invokes getProject operation.
//
// Returns the current state of a project.
//
// GET /projects/{project_id}
GetProject(ctx context.Context, params GetProjectParams) (GetProjectRes, error)
// GetReady invokes getReady operation.
//
// Check whether the server is ready to accept requests.
//
// GET /readyz
GetReady(ctx context.Context) (GetReadyRes, error)
// GetSchemaById invokes getSchemaById operation.
//
// Get a schema by its ID. This will return the default revision of the schema.
//
// GET /schemas/{id}
GetSchemaById(ctx context.Context, params GetSchemaByIdParams) (GetSchemaByIdRes, error)
// GetSession invokes getSession operation.
//
// Returns the current state of a session including its factors and all currently
// satisfied assurance levels.
// `assurance_levels[]` may shrink over time as factor freshness windows expire,
// without the session itself expiring. Use step-up authentication (a new `auth_attempt`
// against the same `session_id`) to restore a dropped assurance level.
//
// GET /sessions/{session_id}
GetSession(ctx context.Context, params GetSessionParams) (GetSessionRes, error)
// GetTeam invokes getTeam operation.
//
// Returns the current state of a team.
//
// GET /teams/{team_id}
GetTeam(ctx context.Context, params GetTeamParams) (GetTeamRes, error)
// GetToken invokes getToken operation.
//
// Get access token.
//
// POST /auth/token
GetToken(ctx context.Context, request *PostTokenRequest) (GetTokenRes, error)
// GetUserByID invokes GetUserByID operation.
//
// Get user by ID.
//
// GET /users/{user_id}
GetUserByID(ctx context.Context, params GetUserByIDParams) (GetUserByIDRes, error)
// GetUserInfo invokes getUserInfo operation.
//
// Get user info.
//
// GET /auth/userinfo
GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
// Introspect invokes introspect operation.
//
// Introspect a token.
//
// POST /auth/introspect
Introspect(ctx context.Context, request *IntrospectRequest) (IntrospectRes, error)
// IssueChallenge invokes issueChallenge operation.
//
// Issues a single-factor verification challenge within an auth attempt.
// This advances the authentication state machine by requesting a specific factor method
// (password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details
// including method, metadata, and any UI hints. The client then verifies the proof
// by calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
//
// POST /auth_attempts/{attempt_id}/challenges
IssueChallenge(ctx context.Context, request *IssueChallengeRequest, params IssueChallengeParams) (IssueChallengeRes, error)
// ListFlowDefinitions invokes listFlowDefinitions operation.
//
// Retrieves a list of all flow definitions.
// This endpoint can be used to view existing flow definitions and their configurations.
//
// GET /flow_definitions
ListFlowDefinitions(ctx context.Context, params ListFlowDefinitionsParams) (ListFlowDefinitionsRes, error)
// ListSessions invokes listSessions operation.
//
// Returns a paginated list of sessions for a project.
// Requires a project service key (OAuth2 client credentials).
//
// GET /sessions
ListSessions(ctx context.Context, params ListSessionsParams) (ListSessionsRes, error)
// ListUsers invokes listUsers operation.
//
// List users.
//
// GET /users
ListUsers(ctx context.Context, params ListUsersParams) (ListUsersRes, error)
// RevokeMySession invokes revokeMySession operation.
//
// Revokes the session immediately (`state: revoked`). This is the logout operation.
// The __nextgen_session cookie issued at creation (or superseded by a handoff exchange) is required.
// After revocation, any tokens derived from this session are invalidated including the cookie itself,
// which is cleared in the response.
//
// DELETE /sessions/me
RevokeMySession(ctx context.Context, params RevokeMySessionParams) (RevokeMySessionRes, error)
// RevokeSession invokes revokeSession operation.
//
// Revokes the session immediately (`state: revoked`). This is the logout operation.
// The session_token issued at creation (or superseded by a handoff exchange) is required.
// After revocation, any tokens derived from this session are invalidated.
//
// DELETE /sessions/{session_id}
RevokeSession(ctx context.Context, params RevokeSessionParams) (RevokeSessionRes, error)
// RevokeToken invokes revokeToken operation.
//
// Revoke an access token or refresh token.
//
// POST /auth/revoke
RevokeToken(ctx context.Context, request *RevokeRequest) (RevokeTokenRes, error)
// SetUserPassword invokes setUserPassword operation.
//
// Set user password.
//
// PUT /users/{user_id}/password
SetUserPassword(ctx context.Context, request *SetUserPasswordRequest, params SetUserPasswordParams) (SetUserPasswordRes, error)
// SubmitFlowEvent invokes submitFlowEvent operation.
//
// Submits telemetry or fingerprint data from the frontend.
// Does not advance the state machine. Used for risk evaluation.
//
// POST /flow/{id}/event
SubmitFlowEvent(ctx context.Context, request *FlowEventRequest, params SubmitFlowEventParams) (SubmitFlowEventRes, error)
// SubmitFlowStep invokes submitFlowStep operation.
//
// Submits user input for the current step. The server validates,
// processes (e.g., verifies a credential), advances the state machine
// through any invisible steps, and returns the next visible step.
// The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)
// with the new flow state. The server is stateless — all orchestration
// state is carried in this cookie between requests.
// **Important:** The `id` in the response may differ from the `id` used in
// the request. This happens when a flow pivots (pushes a new flow onto the
// stack) or when a stacked flow completes (auto-pops to the parent flow).
// Always use the `id` from the latest response for the next request.
// ## Flow completion
// When `step.type` is `complete`, the flow is terminal. The `step.behavior`
// field tells the frontend what to do:
// | `behavior` | Action |
// |------------- |------------------------------------------------------------|
// | `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |
// | `show` | Render the step as a success screen (e.g., registration). |
// A `complete` step is only returned when the **entire flow stack** is done.
// If a stacked flow (e.g., recovery pivoted from login) finishes, the server
// auto-pops to the parent flow and returns the parent's next step — the
// frontend never sees a `complete` for intermediate flows.
//
// POST /flow/{id}/submit
SubmitFlowStep(ctx context.Context, request *FlowSubmitRequest, params SubmitFlowStepParams) (SubmitFlowStepRes, error)
// UpdateFlowDefinition invokes updateFlowDefinition operation.
//
// Update a flow definition by id. This endpoint replaces the existing flow definition.
// If `flow_definition.status` is omitted, the current status is preserved.
//
// PUT /flow_definitions/{id}
UpdateFlowDefinition(ctx context.Context, request *FlowDefinitionUpdateRequest, params UpdateFlowDefinitionParams) (UpdateFlowDefinitionRes, error)
// VerifyChallengeProof invokes verifyChallengeProof operation.
//
// Submits a proof (credential, code, assertion) to verify a factor challenge.
// The proof format depends on the challenge method. For example:
// - `password` method: { password: "…" }
// - `totp` method: { totp: { code: "123456" } }
// - `passkey` method: { passkey: { assertion: "…" } }
// - `recovery_code` method: { recovery_code: "…" }
// On successful verification, the factor is written to the auth attempt.
// The attempt moves to the next pending challenge or completes if all required factors are verified.
//
// POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
VerifyChallengeProof(ctx context.Context, request *VerifyChallengeRequest, params VerifyChallengeProofParams) (VerifyChallengeProofRes, error)
}
Invoker invokes operations described by OpenAPI v3 specification.
type IssueChallengeErrorResponse ¶
type IssueChallengeErrorResponse struct {
Type IssueChallengeErrorResponseType // switch on this field
AttNotFound AttNotFound
AttInvalidRequest AttInvalidRequest
AttInvalidState AttInvalidState
AttAlreadyCompleted AttAlreadyCompleted
Internal Internal
}
IssueChallengeErrorResponse represents sum type.
func NewAttAlreadyCompletedIssueChallengeErrorResponse ¶
func NewAttAlreadyCompletedIssueChallengeErrorResponse(v AttAlreadyCompleted) IssueChallengeErrorResponse
NewAttAlreadyCompletedIssueChallengeErrorResponse returns new IssueChallengeErrorResponse from AttAlreadyCompleted.
func NewAttInvalidRequestIssueChallengeErrorResponse ¶
func NewAttInvalidRequestIssueChallengeErrorResponse(v AttInvalidRequest) IssueChallengeErrorResponse
NewAttInvalidRequestIssueChallengeErrorResponse returns new IssueChallengeErrorResponse from AttInvalidRequest.
func NewAttInvalidStateIssueChallengeErrorResponse ¶
func NewAttInvalidStateIssueChallengeErrorResponse(v AttInvalidState) IssueChallengeErrorResponse
NewAttInvalidStateIssueChallengeErrorResponse returns new IssueChallengeErrorResponse from AttInvalidState.
func NewAttNotFoundIssueChallengeErrorResponse ¶
func NewAttNotFoundIssueChallengeErrorResponse(v AttNotFound) IssueChallengeErrorResponse
NewAttNotFoundIssueChallengeErrorResponse returns new IssueChallengeErrorResponse from AttNotFound.
func NewInternalIssueChallengeErrorResponse ¶
func NewInternalIssueChallengeErrorResponse(v Internal) IssueChallengeErrorResponse
NewInternalIssueChallengeErrorResponse returns new IssueChallengeErrorResponse from Internal.
func (*IssueChallengeErrorResponse) Decode ¶
func (s *IssueChallengeErrorResponse) Decode(d *jx.Decoder) error
Decode decodes IssueChallengeErrorResponse from json.
func (IssueChallengeErrorResponse) Encode ¶
func (s IssueChallengeErrorResponse) Encode(e *jx.Encoder)
Encode encodes IssueChallengeErrorResponse as json.
func (IssueChallengeErrorResponse) GetAttAlreadyCompleted ¶
func (s IssueChallengeErrorResponse) GetAttAlreadyCompleted() (v AttAlreadyCompleted, ok bool)
GetAttAlreadyCompleted returns AttAlreadyCompleted and true boolean if IssueChallengeErrorResponse is AttAlreadyCompleted.
func (IssueChallengeErrorResponse) GetAttInvalidRequest ¶
func (s IssueChallengeErrorResponse) GetAttInvalidRequest() (v AttInvalidRequest, ok bool)
GetAttInvalidRequest returns AttInvalidRequest and true boolean if IssueChallengeErrorResponse is AttInvalidRequest.
func (IssueChallengeErrorResponse) GetAttInvalidState ¶
func (s IssueChallengeErrorResponse) GetAttInvalidState() (v AttInvalidState, ok bool)
GetAttInvalidState returns AttInvalidState and true boolean if IssueChallengeErrorResponse is AttInvalidState.
func (IssueChallengeErrorResponse) GetAttNotFound ¶
func (s IssueChallengeErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
GetAttNotFound returns AttNotFound and true boolean if IssueChallengeErrorResponse is AttNotFound.
func (IssueChallengeErrorResponse) GetInternal ¶
func (s IssueChallengeErrorResponse) GetInternal() (v Internal, ok bool)
GetInternal returns Internal and true boolean if IssueChallengeErrorResponse is Internal.
func (IssueChallengeErrorResponse) IsAttAlreadyCompleted ¶
func (s IssueChallengeErrorResponse) IsAttAlreadyCompleted() bool
IsAttAlreadyCompleted reports whether IssueChallengeErrorResponse is AttAlreadyCompleted.
func (IssueChallengeErrorResponse) IsAttInvalidRequest ¶
func (s IssueChallengeErrorResponse) IsAttInvalidRequest() bool
IsAttInvalidRequest reports whether IssueChallengeErrorResponse is AttInvalidRequest.
func (IssueChallengeErrorResponse) IsAttInvalidState ¶
func (s IssueChallengeErrorResponse) IsAttInvalidState() bool
IsAttInvalidState reports whether IssueChallengeErrorResponse is AttInvalidState.
func (IssueChallengeErrorResponse) IsAttNotFound ¶
func (s IssueChallengeErrorResponse) IsAttNotFound() bool
IsAttNotFound reports whether IssueChallengeErrorResponse is AttNotFound.
func (IssueChallengeErrorResponse) IsInternal ¶
func (s IssueChallengeErrorResponse) IsInternal() bool
IsInternal reports whether IssueChallengeErrorResponse is Internal.
func (IssueChallengeErrorResponse) MarshalJSON ¶
func (s IssueChallengeErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IssueChallengeErrorResponse) SetAttAlreadyCompleted ¶
func (s *IssueChallengeErrorResponse) SetAttAlreadyCompleted(v AttAlreadyCompleted)
SetAttAlreadyCompleted sets IssueChallengeErrorResponse to AttAlreadyCompleted.
func (*IssueChallengeErrorResponse) SetAttInvalidRequest ¶
func (s *IssueChallengeErrorResponse) SetAttInvalidRequest(v AttInvalidRequest)
SetAttInvalidRequest sets IssueChallengeErrorResponse to AttInvalidRequest.
func (*IssueChallengeErrorResponse) SetAttInvalidState ¶
func (s *IssueChallengeErrorResponse) SetAttInvalidState(v AttInvalidState)
SetAttInvalidState sets IssueChallengeErrorResponse to AttInvalidState.
func (*IssueChallengeErrorResponse) SetAttNotFound ¶
func (s *IssueChallengeErrorResponse) SetAttNotFound(v AttNotFound)
SetAttNotFound sets IssueChallengeErrorResponse to AttNotFound.
func (*IssueChallengeErrorResponse) SetInternal ¶
func (s *IssueChallengeErrorResponse) SetInternal(v Internal)
SetInternal sets IssueChallengeErrorResponse to Internal.
func (*IssueChallengeErrorResponse) UnmarshalJSON ¶
func (s *IssueChallengeErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type IssueChallengeErrorResponseStatusCode ¶
type IssueChallengeErrorResponseStatusCode struct {
StatusCode int
Response IssueChallengeErrorResponse
}
IssueChallengeErrorResponseStatusCode wraps IssueChallengeErrorResponse with StatusCode.
func (*IssueChallengeErrorResponseStatusCode) GetResponse ¶
func (s *IssueChallengeErrorResponseStatusCode) GetResponse() IssueChallengeErrorResponse
GetResponse returns the value of Response.
func (*IssueChallengeErrorResponseStatusCode) GetStatusCode ¶
func (s *IssueChallengeErrorResponseStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*IssueChallengeErrorResponseStatusCode) SetResponse ¶
func (s *IssueChallengeErrorResponseStatusCode) SetResponse(val IssueChallengeErrorResponse)
SetResponse sets the value of Response.
func (*IssueChallengeErrorResponseStatusCode) SetStatusCode ¶
func (s *IssueChallengeErrorResponseStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type IssueChallengeErrorResponseType ¶
type IssueChallengeErrorResponseType string
IssueChallengeErrorResponseType is oneOf type of IssueChallengeErrorResponse.
const ( AttNotFoundIssueChallengeErrorResponse IssueChallengeErrorResponseType = "att.not_found" AttInvalidRequestIssueChallengeErrorResponse IssueChallengeErrorResponseType = "att.invalid_request" AttInvalidStateIssueChallengeErrorResponse IssueChallengeErrorResponseType = "att.invalid_state" AttAlreadyCompletedIssueChallengeErrorResponse IssueChallengeErrorResponseType = "att.already_completed" InternalIssueChallengeErrorResponse IssueChallengeErrorResponseType = "internal" )
Possible values for IssueChallengeErrorResponseType.
type IssueChallengeParams ¶
type IssueChallengeParams struct {
// The unique identifier of the authentication attempt.
AttemptID AttemptID
}
IssueChallengeParams is parameters of issueChallenge operation.
type IssueChallengeRequest ¶
type IssueChallengeRequest struct {
// The authentication factor method to challenge.
Method FactorMethod `json:"method"`
// Optional WebAuthn ceremony options. Only relevant when `method` is `passkey`.
PasskeyOptions OptIssueChallengeRequestPasskeyOptions `json:"passkey_options"`
}
Request to issue a factor challenge. The `method` field selects which factor to challenge. Additional fields are only relevant for specific methods: - `passkey_options` is optional and only used when `method` is `passkey`. - `idp_provider` is required when `method` is `idp` and must be omitted otherwise. This conditional requirement is enforced server-side. Ref: #
func (*IssueChallengeRequest) Decode ¶
func (s *IssueChallengeRequest) Decode(d *jx.Decoder) error
Decode decodes IssueChallengeRequest from json.
func (*IssueChallengeRequest) Encode ¶
func (s *IssueChallengeRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IssueChallengeRequest) GetMethod ¶
func (s *IssueChallengeRequest) GetMethod() FactorMethod
GetMethod returns the value of Method.
func (*IssueChallengeRequest) GetPasskeyOptions ¶
func (s *IssueChallengeRequest) GetPasskeyOptions() OptIssueChallengeRequestPasskeyOptions
GetPasskeyOptions returns the value of PasskeyOptions.
func (*IssueChallengeRequest) MarshalJSON ¶
func (s *IssueChallengeRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IssueChallengeRequest) SetMethod ¶
func (s *IssueChallengeRequest) SetMethod(val FactorMethod)
SetMethod sets the value of Method.
func (*IssueChallengeRequest) SetPasskeyOptions ¶
func (s *IssueChallengeRequest) SetPasskeyOptions(val OptIssueChallengeRequestPasskeyOptions)
SetPasskeyOptions sets the value of PasskeyOptions.
func (*IssueChallengeRequest) UnmarshalJSON ¶
func (s *IssueChallengeRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IssueChallengeRequest) Validate ¶
func (s *IssueChallengeRequest) Validate() error
type IssueChallengeRequestPasskeyOptions ¶
type IssueChallengeRequestPasskeyOptions struct {
// Relying Party ID for WebAuthn. Optional; if not provided, the server may use a default value.
RpID OptString `json:"rp_id"`
// List of allowed origins for this WebAuthn challenge. Optional; if not provided, the server may use
// a default value.
RpOrigins []url.URL `json:"rp_origins"`
UserVerification OptIssueChallengeRequestPasskeyOptionsUserVerification `json:"user_verification"`
}
Optional WebAuthn ceremony options. Only relevant when `method` is `passkey`.
func (*IssueChallengeRequestPasskeyOptions) Decode ¶
func (s *IssueChallengeRequestPasskeyOptions) Decode(d *jx.Decoder) error
Decode decodes IssueChallengeRequestPasskeyOptions from json.
func (*IssueChallengeRequestPasskeyOptions) Encode ¶
func (s *IssueChallengeRequestPasskeyOptions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*IssueChallengeRequestPasskeyOptions) GetRpID ¶
func (s *IssueChallengeRequestPasskeyOptions) GetRpID() OptString
GetRpID returns the value of RpID.
func (*IssueChallengeRequestPasskeyOptions) GetRpOrigins ¶
func (s *IssueChallengeRequestPasskeyOptions) GetRpOrigins() []url.URL
GetRpOrigins returns the value of RpOrigins.
func (*IssueChallengeRequestPasskeyOptions) GetUserVerification ¶
func (s *IssueChallengeRequestPasskeyOptions) GetUserVerification() OptIssueChallengeRequestPasskeyOptionsUserVerification
GetUserVerification returns the value of UserVerification.
func (*IssueChallengeRequestPasskeyOptions) MarshalJSON ¶
func (s *IssueChallengeRequestPasskeyOptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*IssueChallengeRequestPasskeyOptions) SetRpID ¶
func (s *IssueChallengeRequestPasskeyOptions) SetRpID(val OptString)
SetRpID sets the value of RpID.
func (*IssueChallengeRequestPasskeyOptions) SetRpOrigins ¶
func (s *IssueChallengeRequestPasskeyOptions) SetRpOrigins(val []url.URL)
SetRpOrigins sets the value of RpOrigins.
func (*IssueChallengeRequestPasskeyOptions) SetUserVerification ¶
func (s *IssueChallengeRequestPasskeyOptions) SetUserVerification(val OptIssueChallengeRequestPasskeyOptionsUserVerification)
SetUserVerification sets the value of UserVerification.
func (*IssueChallengeRequestPasskeyOptions) UnmarshalJSON ¶
func (s *IssueChallengeRequestPasskeyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IssueChallengeRequestPasskeyOptions) Validate ¶
func (s *IssueChallengeRequestPasskeyOptions) Validate() error
type IssueChallengeRequestPasskeyOptionsUserVerification ¶
type IssueChallengeRequestPasskeyOptionsUserVerification string
const ( IssueChallengeRequestPasskeyOptionsUserVerificationRequired IssueChallengeRequestPasskeyOptionsUserVerification = "required" IssueChallengeRequestPasskeyOptionsUserVerificationPreferred IssueChallengeRequestPasskeyOptionsUserVerification = "preferred" IssueChallengeRequestPasskeyOptionsUserVerificationDiscouraged IssueChallengeRequestPasskeyOptionsUserVerification = "discouraged" )
func (IssueChallengeRequestPasskeyOptionsUserVerification) AllValues ¶
func (IssueChallengeRequestPasskeyOptionsUserVerification) AllValues() []IssueChallengeRequestPasskeyOptionsUserVerification
AllValues returns all IssueChallengeRequestPasskeyOptionsUserVerification values.
func (*IssueChallengeRequestPasskeyOptionsUserVerification) Decode ¶
func (s *IssueChallengeRequestPasskeyOptionsUserVerification) Decode(d *jx.Decoder) error
Decode decodes IssueChallengeRequestPasskeyOptionsUserVerification from json.
func (IssueChallengeRequestPasskeyOptionsUserVerification) Encode ¶
func (s IssueChallengeRequestPasskeyOptionsUserVerification) Encode(e *jx.Encoder)
Encode encodes IssueChallengeRequestPasskeyOptionsUserVerification as json.
func (IssueChallengeRequestPasskeyOptionsUserVerification) MarshalJSON ¶
func (s IssueChallengeRequestPasskeyOptionsUserVerification) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (IssueChallengeRequestPasskeyOptionsUserVerification) MarshalText ¶
func (s IssueChallengeRequestPasskeyOptionsUserVerification) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*IssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalJSON ¶
func (s *IssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*IssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalText ¶
func (s *IssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (IssueChallengeRequestPasskeyOptionsUserVerification) Validate ¶
func (s IssueChallengeRequestPasskeyOptionsUserVerification) Validate() error
type IssueChallengeRes ¶
type IssueChallengeRes interface {
// contains filtered or unexported methods
}
type KeysResponse ¶
type KeysResponse struct {
Keys []KeysResponseKeysItem `json:"keys"`
}
Ref: #
func (*KeysResponse) Decode ¶
func (s *KeysResponse) Decode(d *jx.Decoder) error
Decode decodes KeysResponse from json.
func (*KeysResponse) Encode ¶
func (s *KeysResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KeysResponse) GetKeys ¶
func (s *KeysResponse) GetKeys() []KeysResponseKeysItem
GetKeys returns the value of Keys.
func (*KeysResponse) MarshalJSON ¶
func (s *KeysResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KeysResponse) SetKeys ¶
func (s *KeysResponse) SetKeys(val []KeysResponseKeysItem)
SetKeys sets the value of Keys.
func (*KeysResponse) UnmarshalJSON ¶
func (s *KeysResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type KeysResponseKeysItem ¶
type KeysResponseKeysItem struct {
Use OptString `json:"use"`
Kty OptString `json:"kty"`
Kid OptString `json:"kid"`
Crv OptString `json:"crv"`
Alg OptString `json:"alg"`
K OptString `json:"k"`
X OptString `json:"x"`
Y OptString `json:"y"`
N OptString `json:"n"`
E OptString `json:"e"`
D OptString `json:"d"`
P OptString `json:"p"`
Q OptString `json:"q"`
Dp OptString `json:"dp"`
Dq OptString `json:"dq"`
Qi OptString `json:"qi"`
X5c []string `json:"x5c"`
X5u OptString `json:"x5u"`
X5t OptString `json:"x5t"`
X5tS256 OptString `json:"x5tS256"`
}
func (*KeysResponseKeysItem) Decode ¶
func (s *KeysResponseKeysItem) Decode(d *jx.Decoder) error
Decode decodes KeysResponseKeysItem from json.
func (*KeysResponseKeysItem) Encode ¶
func (s *KeysResponseKeysItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*KeysResponseKeysItem) GetAlg ¶
func (s *KeysResponseKeysItem) GetAlg() OptString
GetAlg returns the value of Alg.
func (*KeysResponseKeysItem) GetCrv ¶
func (s *KeysResponseKeysItem) GetCrv() OptString
GetCrv returns the value of Crv.
func (*KeysResponseKeysItem) GetD ¶
func (s *KeysResponseKeysItem) GetD() OptString
GetD returns the value of D.
func (*KeysResponseKeysItem) GetDp ¶
func (s *KeysResponseKeysItem) GetDp() OptString
GetDp returns the value of Dp.
func (*KeysResponseKeysItem) GetDq ¶
func (s *KeysResponseKeysItem) GetDq() OptString
GetDq returns the value of Dq.
func (*KeysResponseKeysItem) GetE ¶
func (s *KeysResponseKeysItem) GetE() OptString
GetE returns the value of E.
func (*KeysResponseKeysItem) GetK ¶
func (s *KeysResponseKeysItem) GetK() OptString
GetK returns the value of K.
func (*KeysResponseKeysItem) GetKid ¶
func (s *KeysResponseKeysItem) GetKid() OptString
GetKid returns the value of Kid.
func (*KeysResponseKeysItem) GetKty ¶
func (s *KeysResponseKeysItem) GetKty() OptString
GetKty returns the value of Kty.
func (*KeysResponseKeysItem) GetN ¶
func (s *KeysResponseKeysItem) GetN() OptString
GetN returns the value of N.
func (*KeysResponseKeysItem) GetP ¶
func (s *KeysResponseKeysItem) GetP() OptString
GetP returns the value of P.
func (*KeysResponseKeysItem) GetQ ¶
func (s *KeysResponseKeysItem) GetQ() OptString
GetQ returns the value of Q.
func (*KeysResponseKeysItem) GetQi ¶
func (s *KeysResponseKeysItem) GetQi() OptString
GetQi returns the value of Qi.
func (*KeysResponseKeysItem) GetUse ¶
func (s *KeysResponseKeysItem) GetUse() OptString
GetUse returns the value of Use.
func (*KeysResponseKeysItem) GetX ¶
func (s *KeysResponseKeysItem) GetX() OptString
GetX returns the value of X.
func (*KeysResponseKeysItem) GetX5c ¶
func (s *KeysResponseKeysItem) GetX5c() []string
GetX5c returns the value of X5c.
func (*KeysResponseKeysItem) GetX5t ¶
func (s *KeysResponseKeysItem) GetX5t() OptString
GetX5t returns the value of X5t.
func (*KeysResponseKeysItem) GetX5tS256 ¶
func (s *KeysResponseKeysItem) GetX5tS256() OptString
GetX5tS256 returns the value of X5tS256.
func (*KeysResponseKeysItem) GetX5u ¶
func (s *KeysResponseKeysItem) GetX5u() OptString
GetX5u returns the value of X5u.
func (*KeysResponseKeysItem) GetY ¶
func (s *KeysResponseKeysItem) GetY() OptString
GetY returns the value of Y.
func (*KeysResponseKeysItem) MarshalJSON ¶
func (s *KeysResponseKeysItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*KeysResponseKeysItem) SetAlg ¶
func (s *KeysResponseKeysItem) SetAlg(val OptString)
SetAlg sets the value of Alg.
func (*KeysResponseKeysItem) SetCrv ¶
func (s *KeysResponseKeysItem) SetCrv(val OptString)
SetCrv sets the value of Crv.
func (*KeysResponseKeysItem) SetD ¶
func (s *KeysResponseKeysItem) SetD(val OptString)
SetD sets the value of D.
func (*KeysResponseKeysItem) SetDp ¶
func (s *KeysResponseKeysItem) SetDp(val OptString)
SetDp sets the value of Dp.
func (*KeysResponseKeysItem) SetDq ¶
func (s *KeysResponseKeysItem) SetDq(val OptString)
SetDq sets the value of Dq.
func (*KeysResponseKeysItem) SetE ¶
func (s *KeysResponseKeysItem) SetE(val OptString)
SetE sets the value of E.
func (*KeysResponseKeysItem) SetK ¶
func (s *KeysResponseKeysItem) SetK(val OptString)
SetK sets the value of K.
func (*KeysResponseKeysItem) SetKid ¶
func (s *KeysResponseKeysItem) SetKid(val OptString)
SetKid sets the value of Kid.
func (*KeysResponseKeysItem) SetKty ¶
func (s *KeysResponseKeysItem) SetKty(val OptString)
SetKty sets the value of Kty.
func (*KeysResponseKeysItem) SetN ¶
func (s *KeysResponseKeysItem) SetN(val OptString)
SetN sets the value of N.
func (*KeysResponseKeysItem) SetP ¶
func (s *KeysResponseKeysItem) SetP(val OptString)
SetP sets the value of P.
func (*KeysResponseKeysItem) SetQ ¶
func (s *KeysResponseKeysItem) SetQ(val OptString)
SetQ sets the value of Q.
func (*KeysResponseKeysItem) SetQi ¶
func (s *KeysResponseKeysItem) SetQi(val OptString)
SetQi sets the value of Qi.
func (*KeysResponseKeysItem) SetUse ¶
func (s *KeysResponseKeysItem) SetUse(val OptString)
SetUse sets the value of Use.
func (*KeysResponseKeysItem) SetX ¶
func (s *KeysResponseKeysItem) SetX(val OptString)
SetX sets the value of X.
func (*KeysResponseKeysItem) SetX5c ¶
func (s *KeysResponseKeysItem) SetX5c(val []string)
SetX5c sets the value of X5c.
func (*KeysResponseKeysItem) SetX5t ¶
func (s *KeysResponseKeysItem) SetX5t(val OptString)
SetX5t sets the value of X5t.
func (*KeysResponseKeysItem) SetX5tS256 ¶
func (s *KeysResponseKeysItem) SetX5tS256(val OptString)
SetX5tS256 sets the value of X5tS256.
func (*KeysResponseKeysItem) SetX5u ¶
func (s *KeysResponseKeysItem) SetX5u(val OptString)
SetX5u sets the value of X5u.
func (*KeysResponseKeysItem) SetY ¶
func (s *KeysResponseKeysItem) SetY(val OptString)
SetY sets the value of Y.
func (*KeysResponseKeysItem) UnmarshalJSON ¶
func (s *KeysResponseKeysItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Labeler ¶
type Labeler struct {
// contains filtered or unexported fields
}
Labeler is used to allow adding custom attributes to the server request metrics.
func LabelerFromContext ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type ListFlowDefinitionsParams ¶
type ListFlowDefinitionsParams struct {
// Maximum number of items to return.
Limit OptInt `json:",omitempty,omitzero"`
// Token for fetching the next page of results.
// Obtain this value from `next_page_token` in the previous response.
// Omit to start from the beginning.
// Its format is opaque and may change between releases.
PageToken OptPageToken `json:",omitempty,omitzero"`
// The project id to filter by.
ProjectID ProjectID
// Filter flow definitions by purpose (e.g., registration, login).
Purpose OptListFlowDefinitionsPurpose `json:",omitempty,omitzero"`
}
ListFlowDefinitionsParams is parameters of listFlowDefinitions operation.
type ListFlowDefinitionsPurpose ¶
type ListFlowDefinitionsPurpose string
const ( ListFlowDefinitionsPurposeLogin ListFlowDefinitionsPurpose = "login" ListFlowDefinitionsPurposeRegister ListFlowDefinitionsPurpose = "register" ListFlowDefinitionsPurposeRecovery ListFlowDefinitionsPurpose = "recovery" ListFlowDefinitionsPurposeProfiling ListFlowDefinitionsPurpose = "profiling" ListFlowDefinitionsPurposeReauth ListFlowDefinitionsPurpose = "reauth" ListFlowDefinitionsPurposeLinkAccount ListFlowDefinitionsPurpose = "link_account" )
func (ListFlowDefinitionsPurpose) AllValues ¶
func (ListFlowDefinitionsPurpose) AllValues() []ListFlowDefinitionsPurpose
AllValues returns all ListFlowDefinitionsPurpose values.
func (ListFlowDefinitionsPurpose) MarshalText ¶
func (s ListFlowDefinitionsPurpose) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListFlowDefinitionsPurpose) UnmarshalText ¶
func (s *ListFlowDefinitionsPurpose) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListFlowDefinitionsPurpose) Validate ¶
func (s ListFlowDefinitionsPurpose) Validate() error
type ListFlowDefinitionsRes ¶
type ListFlowDefinitionsRes interface {
// contains filtered or unexported methods
}
type ListSessionsBadRequest ¶
type ListSessionsBadRequest ErrorDetails
func (*ListSessionsBadRequest) Decode ¶
func (s *ListSessionsBadRequest) Decode(d *jx.Decoder) error
Decode decodes ListSessionsBadRequest from json.
func (*ListSessionsBadRequest) Encode ¶
func (s *ListSessionsBadRequest) Encode(e *jx.Encoder)
Encode encodes ListSessionsBadRequest as json.
func (*ListSessionsBadRequest) MarshalJSON ¶
func (s *ListSessionsBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListSessionsBadRequest) UnmarshalJSON ¶
func (s *ListSessionsBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListSessionsForbidden ¶
type ListSessionsForbidden ErrorDetails
func (*ListSessionsForbidden) Decode ¶
func (s *ListSessionsForbidden) Decode(d *jx.Decoder) error
Decode decodes ListSessionsForbidden from json.
func (*ListSessionsForbidden) Encode ¶
func (s *ListSessionsForbidden) Encode(e *jx.Encoder)
Encode encodes ListSessionsForbidden as json.
func (*ListSessionsForbidden) MarshalJSON ¶
func (s *ListSessionsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListSessionsForbidden) UnmarshalJSON ¶
func (s *ListSessionsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListSessionsParams ¶
type ListSessionsParams struct {
// Maximum number of items to return.
Limit OptInt `json:",omitempty,omitzero"`
// Token for fetching the next page of results.
// Obtain this value from `next_page_token` in the previous response.
// Omit to start from the beginning.
// Its format is opaque and may change between releases.
PageToken OptPageToken `json:",omitempty,omitzero"`
// The unique identifier of the project.
ProjectID ProjectID
// Filter sessions by lifecycle state.
State OptListSessionsState `json:",omitempty,omitzero"`
// Filter sessions by user.
UserID OptUserID `json:",omitempty,omitzero"`
}
ListSessionsParams is parameters of listSessions operation.
type ListSessionsRes ¶
type ListSessionsRes interface {
// contains filtered or unexported methods
}
type ListSessionsState ¶
type ListSessionsState string
const ( ListSessionsStateBuilding ListSessionsState = "building" ListSessionsStateActive ListSessionsState = "active" ListSessionsStateExpired ListSessionsState = "expired" ListSessionsStateRevoked ListSessionsState = "revoked" )
func (ListSessionsState) AllValues ¶
func (ListSessionsState) AllValues() []ListSessionsState
AllValues returns all ListSessionsState values.
func (ListSessionsState) MarshalText ¶
func (s ListSessionsState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListSessionsState) UnmarshalText ¶
func (s *ListSessionsState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListSessionsState) Validate ¶
func (s ListSessionsState) Validate() error
type ListSessionsUnauthorized ¶
type ListSessionsUnauthorized ErrorDetails
func (*ListSessionsUnauthorized) Decode ¶
func (s *ListSessionsUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ListSessionsUnauthorized from json.
func (*ListSessionsUnauthorized) Encode ¶
func (s *ListSessionsUnauthorized) Encode(e *jx.Encoder)
Encode encodes ListSessionsUnauthorized as json.
func (*ListSessionsUnauthorized) MarshalJSON ¶
func (s *ListSessionsUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListSessionsUnauthorized) UnmarshalJSON ¶
func (s *ListSessionsUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListUsersBadRequest ¶
type ListUsersBadRequest ErrorDetails
func (*ListUsersBadRequest) Decode ¶
func (s *ListUsersBadRequest) Decode(d *jx.Decoder) error
Decode decodes ListUsersBadRequest from json.
func (*ListUsersBadRequest) Encode ¶
func (s *ListUsersBadRequest) Encode(e *jx.Encoder)
Encode encodes ListUsersBadRequest as json.
func (*ListUsersBadRequest) MarshalJSON ¶
func (s *ListUsersBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListUsersBadRequest) UnmarshalJSON ¶
func (s *ListUsersBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListUsersInternalServerError ¶
type ListUsersInternalServerError ErrorDetails
func (*ListUsersInternalServerError) Decode ¶
func (s *ListUsersInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListUsersInternalServerError from json.
func (*ListUsersInternalServerError) Encode ¶
func (s *ListUsersInternalServerError) Encode(e *jx.Encoder)
Encode encodes ListUsersInternalServerError as json.
func (*ListUsersInternalServerError) MarshalJSON ¶
func (s *ListUsersInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListUsersInternalServerError) UnmarshalJSON ¶
func (s *ListUsersInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListUsersOKApplicationJSON ¶
type ListUsersOKApplicationJSON []ListUsersOKItem
func (*ListUsersOKApplicationJSON) Decode ¶
func (s *ListUsersOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListUsersOKApplicationJSON from json.
func (ListUsersOKApplicationJSON) Encode ¶
func (s ListUsersOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListUsersOKApplicationJSON as json.
func (ListUsersOKApplicationJSON) MarshalJSON ¶
func (s ListUsersOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListUsersOKApplicationJSON) UnmarshalJSON ¶
func (s *ListUsersOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ListUsersOKApplicationJSON) Validate ¶
func (s ListUsersOKApplicationJSON) Validate() error
type ListUsersOKItem ¶
func (*ListUsersOKItem) Decode ¶
func (s *ListUsersOKItem) Decode(d *jx.Decoder) error
Decode decodes ListUsersOKItem from json.
func (ListUsersOKItem) Encode ¶
func (s ListUsersOKItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListUsersOKItem) MarshalJSON ¶
func (s ListUsersOKItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListUsersOKItem) UnmarshalJSON ¶
func (s *ListUsersOKItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListUsersParams ¶
type ListUsersParams struct {
// Number of items to skip before returning results.
Offset OptInt `json:",omitempty,omitzero"`
// Maximum number of items to return.
Limit OptInt `json:",omitempty,omitzero"`
}
ListUsersParams is parameters of listUsers operation.
type ListUsersRes ¶
type ListUsersRes interface {
// contains filtered or unexported methods
}
type OAuth2 ¶
type OpenidConfiguration ¶
type OpenidConfiguration struct {
// REQUIRED. URL using the https scheme with no query or fragment components that the OP asserts as
// its Issuer Identifier.
Issuer url.URL `json:"issuer"`
// REQUIRED. URL of the OP's OAuth 2.0 Authorization Endpoint.
AuthorizationEndpoint url.URL `json:"authorization_endpoint"`
// URL of the OP's OAuth 2.0 Token Endpoint. REQUIRED unless only the Implicit Flow is used.
TokenEndpoint OptURI `json:"token_endpoint"`
// RECOMMENDED. URL of the OP's UserInfo Endpoint.
UserinfoEndpoint OptURI `json:"userinfo_endpoint"`
// REQUIRED. URL of the OP's JWK Set document containing the signing key(s) the RP uses to validate
// signatures from the OP.
JwksURI url.URL `json:"jwks_uri"`
// RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint.
RegistrationEndpoint OptURI `json:"registration_endpoint"`
// RECOMMENDED. JSON array containing a list of the OAuth 2.0 scope values that this server supports.
// The server MUST support the openid scope value.
ScopesSupported []string `json:"scopes_supported"`
// REQUIRED. JSON array containing a list of the OAuth 2.0 response_type values that this OP supports.
ResponseTypesSupported []string `json:"response_types_supported"`
// OPTIONAL. JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.
// Default is ["query", "fragment"].
ResponseModesSupported []string `json:"response_modes_supported"`
// OPTIONAL. JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.
// Default is ["authorization_code", "implicit"].
GrantTypesSupported []string `json:"grant_types_supported"`
// OPTIONAL. JSON array containing a list of the Authentication Context Class References that this OP
// supports.
AcrValuesSupported []string `json:"acr_values_supported"`
// REQUIRED. JSON array containing a list of the Subject Identifier types that this OP supports.
// Valid types include pairwise and public.
SubjectTypesSupported []OpenidConfigurationSubjectTypesSupportedItem `json:"subject_types_supported"`
// REQUIRED. JSON array containing a list of the JWS signing algorithms (alg values) supported by the
// OP for the ID Token. The algorithm RS256 MUST be included.
IDTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by
// the OP for the ID Token.
IDTokenEncryptionAlgValuesSupported []string `json:"id_token_encryption_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by
// the OP for the ID Token.
IDTokenEncryptionEncValuesSupported []string `json:"id_token_encryption_enc_values_supported"`
// OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the
// UserInfo Endpoint.
UserinfoSigningAlgValuesSupported []string `json:"userinfo_signing_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by
// the UserInfo Endpoint.
UserinfoEncryptionAlgValuesSupported []string `json:"userinfo_encryption_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by
// the UserInfo Endpoint.
UserinfoEncryptionEncValuesSupported []string `json:"userinfo_encryption_enc_values_supported"`
// OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the
// OP for Request Objects. Servers SHOULD support none and RS256.
RequestObjectSigningAlgValuesSupported []string `json:"request_object_signing_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by
// the OP for Request Objects.
RequestObjectEncryptionAlgValuesSupported []string `json:"request_object_encryption_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by
// the OP for Request Objects.
RequestObjectEncryptionEncValuesSupported []string `json:"request_object_encryption_enc_values_supported"`
// OPTIONAL. JSON array containing a list of Client Authentication methods supported by the Token
// Endpoint. Default is client_secret_basic.
TokenEndpointAuthMethodsSupported []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem `json:"token_endpoint_auth_methods_supported"`
// OPTIONAL. JSON array containing a list of the JWS signing algorithms supported by the Token
// Endpoint for private_key_jwt and client_secret_jwt authentication. The value none MUST NOT be used.
TokenEndpointAuthSigningAlgValuesSupported []string `json:"token_endpoint_auth_signing_alg_values_supported"`
// OPTIONAL. JSON array containing a list of the display parameter values that the OpenID Provider
// supports.
DisplayValuesSupported []OpenidConfigurationDisplayValuesSupportedItem `json:"display_values_supported"`
// OPTIONAL. JSON array containing a list of the Claim Types that the OpenID Provider supports.
// Default is normal.
ClaimTypesSupported []OpenidConfigurationClaimTypesSupportedItem `json:"claim_types_supported"`
// RECOMMENDED. JSON array containing a list of the Claim Names of the Claims that the OpenID
// Provider MAY be able to supply values for.
ClaimsSupported []string `json:"claims_supported"`
// OPTIONAL. URL of a page containing human-readable information for developers using the OpenID
// Provider.
ServiceDocumentation OptURI `json:"service_documentation"`
// OPTIONAL. Languages and scripts supported for values in Claims being returned, as BCP47 language
// tag values.
ClaimsLocalesSupported []string `json:"claims_locales_supported"`
// OPTIONAL. Languages and scripts supported for the user interface, as BCP47 language tag values.
UILocalesSupported []string `json:"ui_locales_supported"`
// OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter. Default is
// false.
ClaimsParameterSupported OptBool `json:"claims_parameter_supported"`
// OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter. Default
// is false.
RequestParameterSupported OptBool `json:"request_parameter_supported"`
// OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter.
// Default is true.
RequestURIParameterSupported OptBool `json:"request_uri_parameter_supported"`
// OPTIONAL. Boolean value specifying whether the OP requires any request_uri values used to be
// pre-registered. Default is false.
RequireRequestURIRegistration OptBool `json:"require_request_uri_registration"`
// OPTIONAL. URL the OP provides to the person registering the Client about the OP's requirements on
// how the Relying Party can use the data provided.
OpPolicyURI OptURI `json:"op_policy_uri"`
// OPTIONAL. URL the OP provides to the person registering the Client about the OpenID Provider's
// terms of service.
OpTosURI OptURI `json:"op_tos_uri"`
}
OpenID Connect configuration according to the OpenID Connect Discovery 1.0 specification. Ref: #
func (*OpenidConfiguration) Decode ¶
func (s *OpenidConfiguration) Decode(d *jx.Decoder) error
Decode decodes OpenidConfiguration from json.
func (*OpenidConfiguration) Encode ¶
func (s *OpenidConfiguration) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OpenidConfiguration) GetAcrValuesSupported ¶
func (s *OpenidConfiguration) GetAcrValuesSupported() []string
GetAcrValuesSupported returns the value of AcrValuesSupported.
func (*OpenidConfiguration) GetAuthorizationEndpoint ¶
func (s *OpenidConfiguration) GetAuthorizationEndpoint() url.URL
GetAuthorizationEndpoint returns the value of AuthorizationEndpoint.
func (*OpenidConfiguration) GetClaimTypesSupported ¶
func (s *OpenidConfiguration) GetClaimTypesSupported() []OpenidConfigurationClaimTypesSupportedItem
GetClaimTypesSupported returns the value of ClaimTypesSupported.
func (*OpenidConfiguration) GetClaimsLocalesSupported ¶
func (s *OpenidConfiguration) GetClaimsLocalesSupported() []string
GetClaimsLocalesSupported returns the value of ClaimsLocalesSupported.
func (*OpenidConfiguration) GetClaimsParameterSupported ¶
func (s *OpenidConfiguration) GetClaimsParameterSupported() OptBool
GetClaimsParameterSupported returns the value of ClaimsParameterSupported.
func (*OpenidConfiguration) GetClaimsSupported ¶
func (s *OpenidConfiguration) GetClaimsSupported() []string
GetClaimsSupported returns the value of ClaimsSupported.
func (*OpenidConfiguration) GetDisplayValuesSupported ¶
func (s *OpenidConfiguration) GetDisplayValuesSupported() []OpenidConfigurationDisplayValuesSupportedItem
GetDisplayValuesSupported returns the value of DisplayValuesSupported.
func (*OpenidConfiguration) GetGrantTypesSupported ¶
func (s *OpenidConfiguration) GetGrantTypesSupported() []string
GetGrantTypesSupported returns the value of GrantTypesSupported.
func (*OpenidConfiguration) GetIDTokenEncryptionAlgValuesSupported ¶
func (s *OpenidConfiguration) GetIDTokenEncryptionAlgValuesSupported() []string
GetIDTokenEncryptionAlgValuesSupported returns the value of IDTokenEncryptionAlgValuesSupported.
func (*OpenidConfiguration) GetIDTokenEncryptionEncValuesSupported ¶
func (s *OpenidConfiguration) GetIDTokenEncryptionEncValuesSupported() []string
GetIDTokenEncryptionEncValuesSupported returns the value of IDTokenEncryptionEncValuesSupported.
func (*OpenidConfiguration) GetIDTokenSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) GetIDTokenSigningAlgValuesSupported() []string
GetIDTokenSigningAlgValuesSupported returns the value of IDTokenSigningAlgValuesSupported.
func (*OpenidConfiguration) GetIssuer ¶
func (s *OpenidConfiguration) GetIssuer() url.URL
GetIssuer returns the value of Issuer.
func (*OpenidConfiguration) GetJwksURI ¶
func (s *OpenidConfiguration) GetJwksURI() url.URL
GetJwksURI returns the value of JwksURI.
func (*OpenidConfiguration) GetOpPolicyURI ¶
func (s *OpenidConfiguration) GetOpPolicyURI() OptURI
GetOpPolicyURI returns the value of OpPolicyURI.
func (*OpenidConfiguration) GetOpTosURI ¶
func (s *OpenidConfiguration) GetOpTosURI() OptURI
GetOpTosURI returns the value of OpTosURI.
func (*OpenidConfiguration) GetRegistrationEndpoint ¶
func (s *OpenidConfiguration) GetRegistrationEndpoint() OptURI
GetRegistrationEndpoint returns the value of RegistrationEndpoint.
func (*OpenidConfiguration) GetRequestObjectEncryptionAlgValuesSupported ¶
func (s *OpenidConfiguration) GetRequestObjectEncryptionAlgValuesSupported() []string
GetRequestObjectEncryptionAlgValuesSupported returns the value of RequestObjectEncryptionAlgValuesSupported.
func (*OpenidConfiguration) GetRequestObjectEncryptionEncValuesSupported ¶
func (s *OpenidConfiguration) GetRequestObjectEncryptionEncValuesSupported() []string
GetRequestObjectEncryptionEncValuesSupported returns the value of RequestObjectEncryptionEncValuesSupported.
func (*OpenidConfiguration) GetRequestObjectSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) GetRequestObjectSigningAlgValuesSupported() []string
GetRequestObjectSigningAlgValuesSupported returns the value of RequestObjectSigningAlgValuesSupported.
func (*OpenidConfiguration) GetRequestParameterSupported ¶
func (s *OpenidConfiguration) GetRequestParameterSupported() OptBool
GetRequestParameterSupported returns the value of RequestParameterSupported.
func (*OpenidConfiguration) GetRequestURIParameterSupported ¶
func (s *OpenidConfiguration) GetRequestURIParameterSupported() OptBool
GetRequestURIParameterSupported returns the value of RequestURIParameterSupported.
func (*OpenidConfiguration) GetRequireRequestURIRegistration ¶
func (s *OpenidConfiguration) GetRequireRequestURIRegistration() OptBool
GetRequireRequestURIRegistration returns the value of RequireRequestURIRegistration.
func (*OpenidConfiguration) GetResponseModesSupported ¶
func (s *OpenidConfiguration) GetResponseModesSupported() []string
GetResponseModesSupported returns the value of ResponseModesSupported.
func (*OpenidConfiguration) GetResponseTypesSupported ¶
func (s *OpenidConfiguration) GetResponseTypesSupported() []string
GetResponseTypesSupported returns the value of ResponseTypesSupported.
func (*OpenidConfiguration) GetScopesSupported ¶
func (s *OpenidConfiguration) GetScopesSupported() []string
GetScopesSupported returns the value of ScopesSupported.
func (*OpenidConfiguration) GetServiceDocumentation ¶
func (s *OpenidConfiguration) GetServiceDocumentation() OptURI
GetServiceDocumentation returns the value of ServiceDocumentation.
func (*OpenidConfiguration) GetSubjectTypesSupported ¶
func (s *OpenidConfiguration) GetSubjectTypesSupported() []OpenidConfigurationSubjectTypesSupportedItem
GetSubjectTypesSupported returns the value of SubjectTypesSupported.
func (*OpenidConfiguration) GetTokenEndpoint ¶
func (s *OpenidConfiguration) GetTokenEndpoint() OptURI
GetTokenEndpoint returns the value of TokenEndpoint.
func (*OpenidConfiguration) GetTokenEndpointAuthMethodsSupported ¶
func (s *OpenidConfiguration) GetTokenEndpointAuthMethodsSupported() []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem
GetTokenEndpointAuthMethodsSupported returns the value of TokenEndpointAuthMethodsSupported.
func (*OpenidConfiguration) GetTokenEndpointAuthSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) GetTokenEndpointAuthSigningAlgValuesSupported() []string
GetTokenEndpointAuthSigningAlgValuesSupported returns the value of TokenEndpointAuthSigningAlgValuesSupported.
func (*OpenidConfiguration) GetUILocalesSupported ¶
func (s *OpenidConfiguration) GetUILocalesSupported() []string
GetUILocalesSupported returns the value of UILocalesSupported.
func (*OpenidConfiguration) GetUserinfoEncryptionAlgValuesSupported ¶
func (s *OpenidConfiguration) GetUserinfoEncryptionAlgValuesSupported() []string
GetUserinfoEncryptionAlgValuesSupported returns the value of UserinfoEncryptionAlgValuesSupported.
func (*OpenidConfiguration) GetUserinfoEncryptionEncValuesSupported ¶
func (s *OpenidConfiguration) GetUserinfoEncryptionEncValuesSupported() []string
GetUserinfoEncryptionEncValuesSupported returns the value of UserinfoEncryptionEncValuesSupported.
func (*OpenidConfiguration) GetUserinfoEndpoint ¶
func (s *OpenidConfiguration) GetUserinfoEndpoint() OptURI
GetUserinfoEndpoint returns the value of UserinfoEndpoint.
func (*OpenidConfiguration) GetUserinfoSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) GetUserinfoSigningAlgValuesSupported() []string
GetUserinfoSigningAlgValuesSupported returns the value of UserinfoSigningAlgValuesSupported.
func (*OpenidConfiguration) MarshalJSON ¶
func (s *OpenidConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OpenidConfiguration) SetAcrValuesSupported ¶
func (s *OpenidConfiguration) SetAcrValuesSupported(val []string)
SetAcrValuesSupported sets the value of AcrValuesSupported.
func (*OpenidConfiguration) SetAuthorizationEndpoint ¶
func (s *OpenidConfiguration) SetAuthorizationEndpoint(val url.URL)
SetAuthorizationEndpoint sets the value of AuthorizationEndpoint.
func (*OpenidConfiguration) SetClaimTypesSupported ¶
func (s *OpenidConfiguration) SetClaimTypesSupported(val []OpenidConfigurationClaimTypesSupportedItem)
SetClaimTypesSupported sets the value of ClaimTypesSupported.
func (*OpenidConfiguration) SetClaimsLocalesSupported ¶
func (s *OpenidConfiguration) SetClaimsLocalesSupported(val []string)
SetClaimsLocalesSupported sets the value of ClaimsLocalesSupported.
func (*OpenidConfiguration) SetClaimsParameterSupported ¶
func (s *OpenidConfiguration) SetClaimsParameterSupported(val OptBool)
SetClaimsParameterSupported sets the value of ClaimsParameterSupported.
func (*OpenidConfiguration) SetClaimsSupported ¶
func (s *OpenidConfiguration) SetClaimsSupported(val []string)
SetClaimsSupported sets the value of ClaimsSupported.
func (*OpenidConfiguration) SetDisplayValuesSupported ¶
func (s *OpenidConfiguration) SetDisplayValuesSupported(val []OpenidConfigurationDisplayValuesSupportedItem)
SetDisplayValuesSupported sets the value of DisplayValuesSupported.
func (*OpenidConfiguration) SetGrantTypesSupported ¶
func (s *OpenidConfiguration) SetGrantTypesSupported(val []string)
SetGrantTypesSupported sets the value of GrantTypesSupported.
func (*OpenidConfiguration) SetIDTokenEncryptionAlgValuesSupported ¶
func (s *OpenidConfiguration) SetIDTokenEncryptionAlgValuesSupported(val []string)
SetIDTokenEncryptionAlgValuesSupported sets the value of IDTokenEncryptionAlgValuesSupported.
func (*OpenidConfiguration) SetIDTokenEncryptionEncValuesSupported ¶
func (s *OpenidConfiguration) SetIDTokenEncryptionEncValuesSupported(val []string)
SetIDTokenEncryptionEncValuesSupported sets the value of IDTokenEncryptionEncValuesSupported.
func (*OpenidConfiguration) SetIDTokenSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) SetIDTokenSigningAlgValuesSupported(val []string)
SetIDTokenSigningAlgValuesSupported sets the value of IDTokenSigningAlgValuesSupported.
func (*OpenidConfiguration) SetIssuer ¶
func (s *OpenidConfiguration) SetIssuer(val url.URL)
SetIssuer sets the value of Issuer.
func (*OpenidConfiguration) SetJwksURI ¶
func (s *OpenidConfiguration) SetJwksURI(val url.URL)
SetJwksURI sets the value of JwksURI.
func (*OpenidConfiguration) SetOpPolicyURI ¶
func (s *OpenidConfiguration) SetOpPolicyURI(val OptURI)
SetOpPolicyURI sets the value of OpPolicyURI.
func (*OpenidConfiguration) SetOpTosURI ¶
func (s *OpenidConfiguration) SetOpTosURI(val OptURI)
SetOpTosURI sets the value of OpTosURI.
func (*OpenidConfiguration) SetRegistrationEndpoint ¶
func (s *OpenidConfiguration) SetRegistrationEndpoint(val OptURI)
SetRegistrationEndpoint sets the value of RegistrationEndpoint.
func (*OpenidConfiguration) SetRequestObjectEncryptionAlgValuesSupported ¶
func (s *OpenidConfiguration) SetRequestObjectEncryptionAlgValuesSupported(val []string)
SetRequestObjectEncryptionAlgValuesSupported sets the value of RequestObjectEncryptionAlgValuesSupported.
func (*OpenidConfiguration) SetRequestObjectEncryptionEncValuesSupported ¶
func (s *OpenidConfiguration) SetRequestObjectEncryptionEncValuesSupported(val []string)
SetRequestObjectEncryptionEncValuesSupported sets the value of RequestObjectEncryptionEncValuesSupported.
func (*OpenidConfiguration) SetRequestObjectSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) SetRequestObjectSigningAlgValuesSupported(val []string)
SetRequestObjectSigningAlgValuesSupported sets the value of RequestObjectSigningAlgValuesSupported.
func (*OpenidConfiguration) SetRequestParameterSupported ¶
func (s *OpenidConfiguration) SetRequestParameterSupported(val OptBool)
SetRequestParameterSupported sets the value of RequestParameterSupported.
func (*OpenidConfiguration) SetRequestURIParameterSupported ¶
func (s *OpenidConfiguration) SetRequestURIParameterSupported(val OptBool)
SetRequestURIParameterSupported sets the value of RequestURIParameterSupported.
func (*OpenidConfiguration) SetRequireRequestURIRegistration ¶
func (s *OpenidConfiguration) SetRequireRequestURIRegistration(val OptBool)
SetRequireRequestURIRegistration sets the value of RequireRequestURIRegistration.
func (*OpenidConfiguration) SetResponseModesSupported ¶
func (s *OpenidConfiguration) SetResponseModesSupported(val []string)
SetResponseModesSupported sets the value of ResponseModesSupported.
func (*OpenidConfiguration) SetResponseTypesSupported ¶
func (s *OpenidConfiguration) SetResponseTypesSupported(val []string)
SetResponseTypesSupported sets the value of ResponseTypesSupported.
func (*OpenidConfiguration) SetScopesSupported ¶
func (s *OpenidConfiguration) SetScopesSupported(val []string)
SetScopesSupported sets the value of ScopesSupported.
func (*OpenidConfiguration) SetServiceDocumentation ¶
func (s *OpenidConfiguration) SetServiceDocumentation(val OptURI)
SetServiceDocumentation sets the value of ServiceDocumentation.
func (*OpenidConfiguration) SetSubjectTypesSupported ¶
func (s *OpenidConfiguration) SetSubjectTypesSupported(val []OpenidConfigurationSubjectTypesSupportedItem)
SetSubjectTypesSupported sets the value of SubjectTypesSupported.
func (*OpenidConfiguration) SetTokenEndpoint ¶
func (s *OpenidConfiguration) SetTokenEndpoint(val OptURI)
SetTokenEndpoint sets the value of TokenEndpoint.
func (*OpenidConfiguration) SetTokenEndpointAuthMethodsSupported ¶
func (s *OpenidConfiguration) SetTokenEndpointAuthMethodsSupported(val []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem)
SetTokenEndpointAuthMethodsSupported sets the value of TokenEndpointAuthMethodsSupported.
func (*OpenidConfiguration) SetTokenEndpointAuthSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) SetTokenEndpointAuthSigningAlgValuesSupported(val []string)
SetTokenEndpointAuthSigningAlgValuesSupported sets the value of TokenEndpointAuthSigningAlgValuesSupported.
func (*OpenidConfiguration) SetUILocalesSupported ¶
func (s *OpenidConfiguration) SetUILocalesSupported(val []string)
SetUILocalesSupported sets the value of UILocalesSupported.
func (*OpenidConfiguration) SetUserinfoEncryptionAlgValuesSupported ¶
func (s *OpenidConfiguration) SetUserinfoEncryptionAlgValuesSupported(val []string)
SetUserinfoEncryptionAlgValuesSupported sets the value of UserinfoEncryptionAlgValuesSupported.
func (*OpenidConfiguration) SetUserinfoEncryptionEncValuesSupported ¶
func (s *OpenidConfiguration) SetUserinfoEncryptionEncValuesSupported(val []string)
SetUserinfoEncryptionEncValuesSupported sets the value of UserinfoEncryptionEncValuesSupported.
func (*OpenidConfiguration) SetUserinfoEndpoint ¶
func (s *OpenidConfiguration) SetUserinfoEndpoint(val OptURI)
SetUserinfoEndpoint sets the value of UserinfoEndpoint.
func (*OpenidConfiguration) SetUserinfoSigningAlgValuesSupported ¶
func (s *OpenidConfiguration) SetUserinfoSigningAlgValuesSupported(val []string)
SetUserinfoSigningAlgValuesSupported sets the value of UserinfoSigningAlgValuesSupported.
func (*OpenidConfiguration) UnmarshalJSON ¶
func (s *OpenidConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OpenidConfiguration) Validate ¶
func (s *OpenidConfiguration) Validate() error
type OpenidConfigurationClaimTypesSupportedItem ¶
type OpenidConfigurationClaimTypesSupportedItem string
const ( OpenidConfigurationClaimTypesSupportedItemNormal OpenidConfigurationClaimTypesSupportedItem = "normal" OpenidConfigurationClaimTypesSupportedItemAggregated OpenidConfigurationClaimTypesSupportedItem = "aggregated" OpenidConfigurationClaimTypesSupportedItemDistributed OpenidConfigurationClaimTypesSupportedItem = "distributed" )
func (OpenidConfigurationClaimTypesSupportedItem) AllValues ¶
func (OpenidConfigurationClaimTypesSupportedItem) AllValues() []OpenidConfigurationClaimTypesSupportedItem
AllValues returns all OpenidConfigurationClaimTypesSupportedItem values.
func (*OpenidConfigurationClaimTypesSupportedItem) Decode ¶
func (s *OpenidConfigurationClaimTypesSupportedItem) Decode(d *jx.Decoder) error
Decode decodes OpenidConfigurationClaimTypesSupportedItem from json.
func (OpenidConfigurationClaimTypesSupportedItem) Encode ¶
func (s OpenidConfigurationClaimTypesSupportedItem) Encode(e *jx.Encoder)
Encode encodes OpenidConfigurationClaimTypesSupportedItem as json.
func (OpenidConfigurationClaimTypesSupportedItem) MarshalJSON ¶
func (s OpenidConfigurationClaimTypesSupportedItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OpenidConfigurationClaimTypesSupportedItem) MarshalText ¶
func (s OpenidConfigurationClaimTypesSupportedItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OpenidConfigurationClaimTypesSupportedItem) UnmarshalJSON ¶
func (s *OpenidConfigurationClaimTypesSupportedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OpenidConfigurationClaimTypesSupportedItem) UnmarshalText ¶
func (s *OpenidConfigurationClaimTypesSupportedItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OpenidConfigurationClaimTypesSupportedItem) Validate ¶
func (s OpenidConfigurationClaimTypesSupportedItem) Validate() error
type OpenidConfigurationDisplayValuesSupportedItem ¶
type OpenidConfigurationDisplayValuesSupportedItem string
const ( OpenidConfigurationDisplayValuesSupportedItemPage OpenidConfigurationDisplayValuesSupportedItem = "page" OpenidConfigurationDisplayValuesSupportedItemPopup OpenidConfigurationDisplayValuesSupportedItem = "popup" OpenidConfigurationDisplayValuesSupportedItemTouch OpenidConfigurationDisplayValuesSupportedItem = "touch" OpenidConfigurationDisplayValuesSupportedItemWap OpenidConfigurationDisplayValuesSupportedItem = "wap" )
func (OpenidConfigurationDisplayValuesSupportedItem) AllValues ¶
func (OpenidConfigurationDisplayValuesSupportedItem) AllValues() []OpenidConfigurationDisplayValuesSupportedItem
AllValues returns all OpenidConfigurationDisplayValuesSupportedItem values.
func (*OpenidConfigurationDisplayValuesSupportedItem) Decode ¶
func (s *OpenidConfigurationDisplayValuesSupportedItem) Decode(d *jx.Decoder) error
Decode decodes OpenidConfigurationDisplayValuesSupportedItem from json.
func (OpenidConfigurationDisplayValuesSupportedItem) Encode ¶
func (s OpenidConfigurationDisplayValuesSupportedItem) Encode(e *jx.Encoder)
Encode encodes OpenidConfigurationDisplayValuesSupportedItem as json.
func (OpenidConfigurationDisplayValuesSupportedItem) MarshalJSON ¶
func (s OpenidConfigurationDisplayValuesSupportedItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OpenidConfigurationDisplayValuesSupportedItem) MarshalText ¶
func (s OpenidConfigurationDisplayValuesSupportedItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OpenidConfigurationDisplayValuesSupportedItem) UnmarshalJSON ¶
func (s *OpenidConfigurationDisplayValuesSupportedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OpenidConfigurationDisplayValuesSupportedItem) UnmarshalText ¶
func (s *OpenidConfigurationDisplayValuesSupportedItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OpenidConfigurationDisplayValuesSupportedItem) Validate ¶
func (s OpenidConfigurationDisplayValuesSupportedItem) Validate() error
type OpenidConfigurationSubjectTypesSupportedItem ¶
type OpenidConfigurationSubjectTypesSupportedItem string
const ( OpenidConfigurationSubjectTypesSupportedItemPublic OpenidConfigurationSubjectTypesSupportedItem = "public" OpenidConfigurationSubjectTypesSupportedItemPairwise OpenidConfigurationSubjectTypesSupportedItem = "pairwise" )
func (OpenidConfigurationSubjectTypesSupportedItem) AllValues ¶
func (OpenidConfigurationSubjectTypesSupportedItem) AllValues() []OpenidConfigurationSubjectTypesSupportedItem
AllValues returns all OpenidConfigurationSubjectTypesSupportedItem values.
func (*OpenidConfigurationSubjectTypesSupportedItem) Decode ¶
func (s *OpenidConfigurationSubjectTypesSupportedItem) Decode(d *jx.Decoder) error
Decode decodes OpenidConfigurationSubjectTypesSupportedItem from json.
func (OpenidConfigurationSubjectTypesSupportedItem) Encode ¶
func (s OpenidConfigurationSubjectTypesSupportedItem) Encode(e *jx.Encoder)
Encode encodes OpenidConfigurationSubjectTypesSupportedItem as json.
func (OpenidConfigurationSubjectTypesSupportedItem) MarshalJSON ¶
func (s OpenidConfigurationSubjectTypesSupportedItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OpenidConfigurationSubjectTypesSupportedItem) MarshalText ¶
func (s OpenidConfigurationSubjectTypesSupportedItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OpenidConfigurationSubjectTypesSupportedItem) UnmarshalJSON ¶
func (s *OpenidConfigurationSubjectTypesSupportedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OpenidConfigurationSubjectTypesSupportedItem) UnmarshalText ¶
func (s *OpenidConfigurationSubjectTypesSupportedItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OpenidConfigurationSubjectTypesSupportedItem) Validate ¶
func (s OpenidConfigurationSubjectTypesSupportedItem) Validate() error
type OpenidConfigurationTokenEndpointAuthMethodsSupportedItem ¶
type OpenidConfigurationTokenEndpointAuthMethodsSupportedItem string
const ( OpenidConfigurationTokenEndpointAuthMethodsSupportedItemClientSecretPost OpenidConfigurationTokenEndpointAuthMethodsSupportedItem = "client_secret_post" OpenidConfigurationTokenEndpointAuthMethodsSupportedItemClientSecretBasic OpenidConfigurationTokenEndpointAuthMethodsSupportedItem = "client_secret_basic" OpenidConfigurationTokenEndpointAuthMethodsSupportedItemClientSecretJwt OpenidConfigurationTokenEndpointAuthMethodsSupportedItem = "client_secret_jwt" OpenidConfigurationTokenEndpointAuthMethodsSupportedItemPrivateKeyJwt OpenidConfigurationTokenEndpointAuthMethodsSupportedItem = "private_key_jwt" )
func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) AllValues ¶
func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) AllValues() []OpenidConfigurationTokenEndpointAuthMethodsSupportedItem
AllValues returns all OpenidConfigurationTokenEndpointAuthMethodsSupportedItem values.
func (*OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Decode ¶
func (s *OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Decode(d *jx.Decoder) error
Decode decodes OpenidConfigurationTokenEndpointAuthMethodsSupportedItem from json.
func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Encode ¶
func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Encode(e *jx.Encoder)
Encode encodes OpenidConfigurationTokenEndpointAuthMethodsSupportedItem as json.
func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) MarshalJSON ¶
func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) MarshalText ¶
func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) UnmarshalJSON ¶
func (s *OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) UnmarshalText ¶
func (s *OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Validate ¶
func (s OpenidConfigurationTokenEndpointAuthMethodsSupportedItem) Validate() error
type OperationName ¶
type OperationName = string
OperationName is the ogen operation name
const ( ActivateFlowDefinitionOperation OperationName = "ActivateFlowDefinition" AuthorizeDeviceOperation OperationName = "AuthorizeDevice" AuthorizeGetOperation OperationName = "AuthorizeGet" CreateAuthAttemptOperation OperationName = "CreateAuthAttempt" CreateFlowOperation OperationName = "CreateFlow" CreateFlowDefinitionOperation OperationName = "CreateFlowDefinition" CreateHandoffOperation OperationName = "CreateHandoff" CreateProjectOperation OperationName = "CreateProject" CreateSchemaOperation OperationName = "CreateSchema" CreateSessionOperation OperationName = "CreateSession" CreateTeamOperation OperationName = "CreateTeam" CreateUserOperation OperationName = "CreateUser" DeactivateFlowDefinitionOperation OperationName = "DeactivateFlowDefinition" DeleteFlowDefinitionOperation OperationName = "DeleteFlowDefinition" EndSessionOperation OperationName = "EndSession" ExchangeHandoffOperation OperationName = "ExchangeHandoff" GetAuthAttemptOperation OperationName = "GetAuthAttempt" GetFlowDefinitionOperation OperationName = "GetFlowDefinition" GetFlowStepOperation OperationName = "GetFlowStep" GetHealthOperation OperationName = "GetHealth" GetKeysOperation OperationName = "GetKeys" GetLiveOperation OperationName = "GetLive" GetMySessionOperation OperationName = "GetMySession" GetMyUserOperation OperationName = "GetMyUser" GetOpenIDConfigurationOperation OperationName = "GetOpenIDConfiguration" GetProjectOperation OperationName = "GetProject" GetReadyOperation OperationName = "GetReady" GetSchemaByIdOperation OperationName = "GetSchemaById" GetSessionOperation OperationName = "GetSession" GetTeamOperation OperationName = "GetTeam" GetTokenOperation OperationName = "GetToken" GetUserByIDOperation OperationName = "GetUserByID" GetUserInfoOperation OperationName = "GetUserInfo" IntrospectOperation OperationName = "Introspect" IssueChallengeOperation OperationName = "IssueChallenge" ListFlowDefinitionsOperation OperationName = "ListFlowDefinitions" ListSessionsOperation OperationName = "ListSessions" ListUsersOperation OperationName = "ListUsers" RevokeMySessionOperation OperationName = "RevokeMySession" RevokeSessionOperation OperationName = "RevokeSession" RevokeTokenOperation OperationName = "RevokeToken" SetUserPasswordOperation OperationName = "SetUserPassword" SubmitFlowEventOperation OperationName = "SubmitFlowEvent" SubmitFlowStepOperation OperationName = "SubmitFlowStep" UpdateFlowDefinitionOperation OperationName = "UpdateFlowDefinition" VerifyChallengeProofOperation OperationName = "VerifyChallengeProof" )
type OptAttAlreadyCompletedDetails ¶
type OptAttAlreadyCompletedDetails struct {
Value AttAlreadyCompletedDetails
Set bool
}
OptAttAlreadyCompletedDetails is optional AttAlreadyCompletedDetails.
func NewOptAttAlreadyCompletedDetails ¶
func NewOptAttAlreadyCompletedDetails(v AttAlreadyCompletedDetails) OptAttAlreadyCompletedDetails
NewOptAttAlreadyCompletedDetails returns new OptAttAlreadyCompletedDetails with value set to v.
func (*OptAttAlreadyCompletedDetails) Decode ¶
func (o *OptAttAlreadyCompletedDetails) Decode(d *jx.Decoder) error
Decode decodes AttAlreadyCompletedDetails from json.
func (OptAttAlreadyCompletedDetails) Encode ¶
func (o OptAttAlreadyCompletedDetails) Encode(e *jx.Encoder)
Encode encodes AttAlreadyCompletedDetails as json.
func (OptAttAlreadyCompletedDetails) Get ¶
func (o OptAttAlreadyCompletedDetails) Get() (v AttAlreadyCompletedDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttAlreadyCompletedDetails) IsSet ¶
func (o OptAttAlreadyCompletedDetails) IsSet() bool
IsSet returns true if OptAttAlreadyCompletedDetails was set.
func (OptAttAlreadyCompletedDetails) MarshalJSON ¶
func (s OptAttAlreadyCompletedDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAttAlreadyCompletedDetails) Reset ¶
func (o *OptAttAlreadyCompletedDetails) Reset()
Reset unsets value.
func (*OptAttAlreadyCompletedDetails) SetTo ¶
func (o *OptAttAlreadyCompletedDetails) SetTo(v AttAlreadyCompletedDetails)
SetTo sets value to v.
func (*OptAttAlreadyCompletedDetails) UnmarshalJSON ¶
func (s *OptAttAlreadyCompletedDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAttInvalidRequestDetails ¶
type OptAttInvalidRequestDetails struct {
Value AttInvalidRequestDetails
Set bool
}
OptAttInvalidRequestDetails is optional AttInvalidRequestDetails.
func NewOptAttInvalidRequestDetails ¶
func NewOptAttInvalidRequestDetails(v AttInvalidRequestDetails) OptAttInvalidRequestDetails
NewOptAttInvalidRequestDetails returns new OptAttInvalidRequestDetails with value set to v.
func (*OptAttInvalidRequestDetails) Decode ¶
func (o *OptAttInvalidRequestDetails) Decode(d *jx.Decoder) error
Decode decodes AttInvalidRequestDetails from json.
func (OptAttInvalidRequestDetails) Encode ¶
func (o OptAttInvalidRequestDetails) Encode(e *jx.Encoder)
Encode encodes AttInvalidRequestDetails as json.
func (OptAttInvalidRequestDetails) Get ¶
func (o OptAttInvalidRequestDetails) Get() (v AttInvalidRequestDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttInvalidRequestDetails) IsSet ¶
func (o OptAttInvalidRequestDetails) IsSet() bool
IsSet returns true if OptAttInvalidRequestDetails was set.
func (OptAttInvalidRequestDetails) MarshalJSON ¶
func (s OptAttInvalidRequestDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAttInvalidRequestDetails) Reset ¶
func (o *OptAttInvalidRequestDetails) Reset()
Reset unsets value.
func (*OptAttInvalidRequestDetails) SetTo ¶
func (o *OptAttInvalidRequestDetails) SetTo(v AttInvalidRequestDetails)
SetTo sets value to v.
func (*OptAttInvalidRequestDetails) UnmarshalJSON ¶
func (s *OptAttInvalidRequestDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAttInvalidStateDetails ¶
type OptAttInvalidStateDetails struct {
Value AttInvalidStateDetails
Set bool
}
OptAttInvalidStateDetails is optional AttInvalidStateDetails.
func NewOptAttInvalidStateDetails ¶
func NewOptAttInvalidStateDetails(v AttInvalidStateDetails) OptAttInvalidStateDetails
NewOptAttInvalidStateDetails returns new OptAttInvalidStateDetails with value set to v.
func (*OptAttInvalidStateDetails) Decode ¶
func (o *OptAttInvalidStateDetails) Decode(d *jx.Decoder) error
Decode decodes AttInvalidStateDetails from json.
func (OptAttInvalidStateDetails) Encode ¶
func (o OptAttInvalidStateDetails) Encode(e *jx.Encoder)
Encode encodes AttInvalidStateDetails as json.
func (OptAttInvalidStateDetails) Get ¶
func (o OptAttInvalidStateDetails) Get() (v AttInvalidStateDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttInvalidStateDetails) IsSet ¶
func (o OptAttInvalidStateDetails) IsSet() bool
IsSet returns true if OptAttInvalidStateDetails was set.
func (OptAttInvalidStateDetails) MarshalJSON ¶
func (s OptAttInvalidStateDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAttInvalidStateDetails) Reset ¶
func (o *OptAttInvalidStateDetails) Reset()
Reset unsets value.
func (*OptAttInvalidStateDetails) SetTo ¶
func (o *OptAttInvalidStateDetails) SetTo(v AttInvalidStateDetails)
SetTo sets value to v.
func (*OptAttInvalidStateDetails) UnmarshalJSON ¶
func (s *OptAttInvalidStateDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAttNotCompletedDetails ¶
type OptAttNotCompletedDetails struct {
Value AttNotCompletedDetails
Set bool
}
OptAttNotCompletedDetails is optional AttNotCompletedDetails.
func NewOptAttNotCompletedDetails ¶
func NewOptAttNotCompletedDetails(v AttNotCompletedDetails) OptAttNotCompletedDetails
NewOptAttNotCompletedDetails returns new OptAttNotCompletedDetails with value set to v.
func (*OptAttNotCompletedDetails) Decode ¶
func (o *OptAttNotCompletedDetails) Decode(d *jx.Decoder) error
Decode decodes AttNotCompletedDetails from json.
func (OptAttNotCompletedDetails) Encode ¶
func (o OptAttNotCompletedDetails) Encode(e *jx.Encoder)
Encode encodes AttNotCompletedDetails as json.
func (OptAttNotCompletedDetails) Get ¶
func (o OptAttNotCompletedDetails) Get() (v AttNotCompletedDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttNotCompletedDetails) IsSet ¶
func (o OptAttNotCompletedDetails) IsSet() bool
IsSet returns true if OptAttNotCompletedDetails was set.
func (OptAttNotCompletedDetails) MarshalJSON ¶
func (s OptAttNotCompletedDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAttNotCompletedDetails) Reset ¶
func (o *OptAttNotCompletedDetails) Reset()
Reset unsets value.
func (*OptAttNotCompletedDetails) SetTo ¶
func (o *OptAttNotCompletedDetails) SetTo(v AttNotCompletedDetails)
SetTo sets value to v.
func (*OptAttNotCompletedDetails) UnmarshalJSON ¶
func (s *OptAttNotCompletedDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAttNotFoundDetails ¶
type OptAttNotFoundDetails struct {
Value AttNotFoundDetails
Set bool
}
OptAttNotFoundDetails is optional AttNotFoundDetails.
func NewOptAttNotFoundDetails ¶
func NewOptAttNotFoundDetails(v AttNotFoundDetails) OptAttNotFoundDetails
NewOptAttNotFoundDetails returns new OptAttNotFoundDetails with value set to v.
func (*OptAttNotFoundDetails) Decode ¶
func (o *OptAttNotFoundDetails) Decode(d *jx.Decoder) error
Decode decodes AttNotFoundDetails from json.
func (OptAttNotFoundDetails) Encode ¶
func (o OptAttNotFoundDetails) Encode(e *jx.Encoder)
Encode encodes AttNotFoundDetails as json.
func (OptAttNotFoundDetails) Get ¶
func (o OptAttNotFoundDetails) Get() (v AttNotFoundDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttNotFoundDetails) IsSet ¶
func (o OptAttNotFoundDetails) IsSet() bool
IsSet returns true if OptAttNotFoundDetails was set.
func (OptAttNotFoundDetails) MarshalJSON ¶
func (s OptAttNotFoundDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAttNotFoundDetails) Or ¶
func (o OptAttNotFoundDetails) Or(d AttNotFoundDetails) AttNotFoundDetails
Or returns value if set, or given parameter if does not.
func (*OptAttNotFoundDetails) SetTo ¶
func (o *OptAttNotFoundDetails) SetTo(v AttNotFoundDetails)
SetTo sets value to v.
func (*OptAttNotFoundDetails) UnmarshalJSON ¶
func (s *OptAttNotFoundDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAttProofRejectedDetails ¶
type OptAttProofRejectedDetails struct {
Value AttProofRejectedDetails
Set bool
}
OptAttProofRejectedDetails is optional AttProofRejectedDetails.
func NewOptAttProofRejectedDetails ¶
func NewOptAttProofRejectedDetails(v AttProofRejectedDetails) OptAttProofRejectedDetails
NewOptAttProofRejectedDetails returns new OptAttProofRejectedDetails with value set to v.
func (*OptAttProofRejectedDetails) Decode ¶
func (o *OptAttProofRejectedDetails) Decode(d *jx.Decoder) error
Decode decodes AttProofRejectedDetails from json.
func (OptAttProofRejectedDetails) Encode ¶
func (o OptAttProofRejectedDetails) Encode(e *jx.Encoder)
Encode encodes AttProofRejectedDetails as json.
func (OptAttProofRejectedDetails) Get ¶
func (o OptAttProofRejectedDetails) Get() (v AttProofRejectedDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttProofRejectedDetails) IsSet ¶
func (o OptAttProofRejectedDetails) IsSet() bool
IsSet returns true if OptAttProofRejectedDetails was set.
func (OptAttProofRejectedDetails) MarshalJSON ¶
func (s OptAttProofRejectedDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAttProofRejectedDetails) Reset ¶
func (o *OptAttProofRejectedDetails) Reset()
Reset unsets value.
func (*OptAttProofRejectedDetails) SetTo ¶
func (o *OptAttProofRejectedDetails) SetTo(v AttProofRejectedDetails)
SetTo sets value to v.
func (*OptAttProofRejectedDetails) UnmarshalJSON ¶
func (s *OptAttProofRejectedDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAttStaleChallengeDetails ¶
type OptAttStaleChallengeDetails struct {
Value AttStaleChallengeDetails
Set bool
}
OptAttStaleChallengeDetails is optional AttStaleChallengeDetails.
func NewOptAttStaleChallengeDetails ¶
func NewOptAttStaleChallengeDetails(v AttStaleChallengeDetails) OptAttStaleChallengeDetails
NewOptAttStaleChallengeDetails returns new OptAttStaleChallengeDetails with value set to v.
func (*OptAttStaleChallengeDetails) Decode ¶
func (o *OptAttStaleChallengeDetails) Decode(d *jx.Decoder) error
Decode decodes AttStaleChallengeDetails from json.
func (OptAttStaleChallengeDetails) Encode ¶
func (o OptAttStaleChallengeDetails) Encode(e *jx.Encoder)
Encode encodes AttStaleChallengeDetails as json.
func (OptAttStaleChallengeDetails) Get ¶
func (o OptAttStaleChallengeDetails) Get() (v AttStaleChallengeDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAttStaleChallengeDetails) IsSet ¶
func (o OptAttStaleChallengeDetails) IsSet() bool
IsSet returns true if OptAttStaleChallengeDetails was set.
func (OptAttStaleChallengeDetails) MarshalJSON ¶
func (s OptAttStaleChallengeDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAttStaleChallengeDetails) Reset ¶
func (o *OptAttStaleChallengeDetails) Reset()
Reset unsets value.
func (*OptAttStaleChallengeDetails) SetTo ¶
func (o *OptAttStaleChallengeDetails) SetTo(v AttStaleChallengeDetails)
SetTo sets value to v.
func (*OptAttStaleChallengeDetails) UnmarshalJSON ¶
func (s *OptAttStaleChallengeDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAuthMethod ¶
type OptAuthMethod struct {
Value AuthMethod
Set bool
}
OptAuthMethod is optional AuthMethod.
func NewOptAuthMethod ¶
func NewOptAuthMethod(v AuthMethod) OptAuthMethod
NewOptAuthMethod returns new OptAuthMethod with value set to v.
func (*OptAuthMethod) Decode ¶
func (o *OptAuthMethod) Decode(d *jx.Decoder) error
Decode decodes AuthMethod from json.
func (OptAuthMethod) Encode ¶
func (o OptAuthMethod) Encode(e *jx.Encoder)
Encode encodes AuthMethod as json.
func (OptAuthMethod) Get ¶
func (o OptAuthMethod) Get() (v AuthMethod, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAuthMethod) IsSet ¶
func (o OptAuthMethod) IsSet() bool
IsSet returns true if OptAuthMethod was set.
func (OptAuthMethod) MarshalJSON ¶
func (s OptAuthMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAuthMethod) Or ¶
func (o OptAuthMethod) Or(d AuthMethod) AuthMethod
Or returns value if set, or given parameter if does not.
func (*OptAuthMethod) UnmarshalJSON ¶
func (s *OptAuthMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBranding ¶
OptBranding is optional Branding.
func NewOptBranding ¶
func NewOptBranding(v Branding) OptBranding
NewOptBranding returns new OptBranding with value set to v.
func (*OptBranding) Decode ¶
func (o *OptBranding) Decode(d *jx.Decoder) error
Decode decodes Branding from json.
func (OptBranding) Encode ¶
func (o OptBranding) Encode(e *jx.Encoder)
Encode encodes Branding as json.
func (OptBranding) Get ¶
func (o OptBranding) Get() (v Branding, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBranding) IsSet ¶
func (o OptBranding) IsSet() bool
IsSet returns true if OptBranding was set.
func (OptBranding) MarshalJSON ¶
func (s OptBranding) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBranding) Or ¶
func (o OptBranding) Or(d Branding) Branding
Or returns value if set, or given parameter if does not.
func (*OptBranding) UnmarshalJSON ¶
func (s *OptBranding) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBrandingLayout ¶
type OptBrandingLayout struct {
Value BrandingLayout
Set bool
}
OptBrandingLayout is optional BrandingLayout.
func NewOptBrandingLayout ¶
func NewOptBrandingLayout(v BrandingLayout) OptBrandingLayout
NewOptBrandingLayout returns new OptBrandingLayout with value set to v.
func (*OptBrandingLayout) Decode ¶
func (o *OptBrandingLayout) Decode(d *jx.Decoder) error
Decode decodes BrandingLayout from json.
func (OptBrandingLayout) Encode ¶
func (o OptBrandingLayout) Encode(e *jx.Encoder)
Encode encodes BrandingLayout as json.
func (OptBrandingLayout) Get ¶
func (o OptBrandingLayout) Get() (v BrandingLayout, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBrandingLayout) IsSet ¶
func (o OptBrandingLayout) IsSet() bool
IsSet returns true if OptBrandingLayout was set.
func (OptBrandingLayout) MarshalJSON ¶
func (s OptBrandingLayout) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBrandingLayout) Or ¶
func (o OptBrandingLayout) Or(d BrandingLayout) BrandingLayout
Or returns value if set, or given parameter if does not.
func (*OptBrandingLayout) SetTo ¶
func (o *OptBrandingLayout) SetTo(v BrandingLayout)
SetTo sets value to v.
func (*OptBrandingLayout) UnmarshalJSON ¶
func (s *OptBrandingLayout) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptChallengeNonce ¶
type OptChallengeNonce struct {
Value ChallengeNonce
Set bool
}
OptChallengeNonce is optional ChallengeNonce.
func NewOptChallengeNonce ¶
func NewOptChallengeNonce(v ChallengeNonce) OptChallengeNonce
NewOptChallengeNonce returns new OptChallengeNonce with value set to v.
func (*OptChallengeNonce) Decode ¶
func (o *OptChallengeNonce) Decode(d *jx.Decoder) error
Decode decodes ChallengeNonce from json.
func (OptChallengeNonce) Encode ¶
func (o OptChallengeNonce) Encode(e *jx.Encoder)
Encode encodes ChallengeNonce as json.
func (OptChallengeNonce) Get ¶
func (o OptChallengeNonce) Get() (v ChallengeNonce, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptChallengeNonce) IsSet ¶
func (o OptChallengeNonce) IsSet() bool
IsSet returns true if OptChallengeNonce was set.
func (OptChallengeNonce) MarshalJSON ¶
func (s OptChallengeNonce) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptChallengeNonce) Or ¶
func (o OptChallengeNonce) Or(d ChallengeNonce) ChallengeNonce
Or returns value if set, or given parameter if does not.
func (*OptChallengeNonce) SetTo ¶
func (o *OptChallengeNonce) SetTo(v ChallengeNonce)
SetTo sets value to v.
func (*OptChallengeNonce) UnmarshalJSON ¶
func (s *OptChallengeNonce) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptChallengeResponsePayload ¶
type OptChallengeResponsePayload struct {
Value ChallengeResponsePayload
Set bool
}
OptChallengeResponsePayload is optional ChallengeResponsePayload.
func NewOptChallengeResponsePayload ¶
func NewOptChallengeResponsePayload(v ChallengeResponsePayload) OptChallengeResponsePayload
NewOptChallengeResponsePayload returns new OptChallengeResponsePayload with value set to v.
func (*OptChallengeResponsePayload) Decode ¶
func (o *OptChallengeResponsePayload) Decode(d *jx.Decoder) error
Decode decodes ChallengeResponsePayload from json.
func (OptChallengeResponsePayload) Encode ¶
func (o OptChallengeResponsePayload) Encode(e *jx.Encoder)
Encode encodes ChallengeResponsePayload as json.
func (OptChallengeResponsePayload) Get ¶
func (o OptChallengeResponsePayload) Get() (v ChallengeResponsePayload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptChallengeResponsePayload) IsSet ¶
func (o OptChallengeResponsePayload) IsSet() bool
IsSet returns true if OptChallengeResponsePayload was set.
func (OptChallengeResponsePayload) MarshalJSON ¶
func (s OptChallengeResponsePayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptChallengeResponsePayload) Reset ¶
func (o *OptChallengeResponsePayload) Reset()
Reset unsets value.
func (*OptChallengeResponsePayload) SetTo ¶
func (o *OptChallengeResponsePayload) SetTo(v ChallengeResponsePayload)
SetTo sets value to v.
func (*OptChallengeResponsePayload) UnmarshalJSON ¶
func (s *OptChallengeResponsePayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCompletedFactorPayload ¶
type OptCompletedFactorPayload struct {
Value CompletedFactorPayload
Set bool
}
OptCompletedFactorPayload is optional CompletedFactorPayload.
func NewOptCompletedFactorPayload ¶
func NewOptCompletedFactorPayload(v CompletedFactorPayload) OptCompletedFactorPayload
NewOptCompletedFactorPayload returns new OptCompletedFactorPayload with value set to v.
func (*OptCompletedFactorPayload) Decode ¶
func (o *OptCompletedFactorPayload) Decode(d *jx.Decoder) error
Decode decodes CompletedFactorPayload from json.
func (OptCompletedFactorPayload) Encode ¶
func (o OptCompletedFactorPayload) Encode(e *jx.Encoder)
Encode encodes CompletedFactorPayload as json.
func (OptCompletedFactorPayload) Get ¶
func (o OptCompletedFactorPayload) Get() (v CompletedFactorPayload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCompletedFactorPayload) IsSet ¶
func (o OptCompletedFactorPayload) IsSet() bool
IsSet returns true if OptCompletedFactorPayload was set.
func (OptCompletedFactorPayload) MarshalJSON ¶
func (s OptCompletedFactorPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptCompletedFactorPayload) Reset ¶
func (o *OptCompletedFactorPayload) Reset()
Reset unsets value.
func (*OptCompletedFactorPayload) SetTo ¶
func (o *OptCompletedFactorPayload) SetTo(v CompletedFactorPayload)
SetTo sets value to v.
func (*OptCompletedFactorPayload) UnmarshalJSON ¶
func (s *OptCompletedFactorPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateSessionRequestUserAgent ¶
type OptCreateSessionRequestUserAgent struct {
Value CreateSessionRequestUserAgent
Set bool
}
OptCreateSessionRequestUserAgent is optional CreateSessionRequestUserAgent.
func NewOptCreateSessionRequestUserAgent ¶
func NewOptCreateSessionRequestUserAgent(v CreateSessionRequestUserAgent) OptCreateSessionRequestUserAgent
NewOptCreateSessionRequestUserAgent returns new OptCreateSessionRequestUserAgent with value set to v.
func (*OptCreateSessionRequestUserAgent) Decode ¶
func (o *OptCreateSessionRequestUserAgent) Decode(d *jx.Decoder) error
Decode decodes CreateSessionRequestUserAgent from json.
func (OptCreateSessionRequestUserAgent) Encode ¶
func (o OptCreateSessionRequestUserAgent) Encode(e *jx.Encoder)
Encode encodes CreateSessionRequestUserAgent as json.
func (OptCreateSessionRequestUserAgent) Get ¶
func (o OptCreateSessionRequestUserAgent) Get() (v CreateSessionRequestUserAgent, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateSessionRequestUserAgent) IsSet ¶
func (o OptCreateSessionRequestUserAgent) IsSet() bool
IsSet returns true if OptCreateSessionRequestUserAgent was set.
func (OptCreateSessionRequestUserAgent) MarshalJSON ¶
func (s OptCreateSessionRequestUserAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateSessionRequestUserAgent) Or ¶
func (o OptCreateSessionRequestUserAgent) Or(d CreateSessionRequestUserAgent) CreateSessionRequestUserAgent
Or returns value if set, or given parameter if does not.
func (*OptCreateSessionRequestUserAgent) Reset ¶
func (o *OptCreateSessionRequestUserAgent) Reset()
Reset unsets value.
func (*OptCreateSessionRequestUserAgent) SetTo ¶
func (o *OptCreateSessionRequestUserAgent) SetTo(v CreateSessionRequestUserAgent)
SetTo sets value to v.
func (*OptCreateSessionRequestUserAgent) UnmarshalJSON ¶
func (s *OptCreateSessionRequestUserAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDuration ¶
type OptDuration struct {
Value ogenx.ISODuration
Set bool
}
OptDuration is optional ogenx.ISODuration.
func NewOptDuration ¶
func NewOptDuration(v ogenx.ISODuration) OptDuration
NewOptDuration returns new OptDuration with value set to v.
func (*OptDuration) Decode ¶
func (o *OptDuration) Decode(d *jx.Decoder, format func(*jx.Decoder) (ogenx.ISODuration, error)) error
Decode decodes ogenx.ISODuration from json.
func (OptDuration) Encode ¶
func (o OptDuration) Encode(e *jx.Encoder, format func(*jx.Encoder, ogenx.ISODuration))
Encode encodes ogenx.ISODuration as json.
func (OptDuration) Get ¶
func (o OptDuration) Get() (v ogenx.ISODuration, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDuration) IsSet ¶
func (o OptDuration) IsSet() bool
IsSet returns true if OptDuration was set.
func (OptDuration) MarshalJSON ¶
func (s OptDuration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDuration) Or ¶
func (o OptDuration) Or(d ogenx.ISODuration) ogenx.ISODuration
Or returns value if set, or given parameter if does not.
func (*OptDuration) UnmarshalJSON ¶
func (s *OptDuration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptErrorDetailsDetails ¶
type OptErrorDetailsDetails struct {
Value ErrorDetailsDetails
Set bool
}
OptErrorDetailsDetails is optional ErrorDetailsDetails.
func NewOptErrorDetailsDetails ¶
func NewOptErrorDetailsDetails(v ErrorDetailsDetails) OptErrorDetailsDetails
NewOptErrorDetailsDetails returns new OptErrorDetailsDetails with value set to v.
func (*OptErrorDetailsDetails) Decode ¶
func (o *OptErrorDetailsDetails) Decode(d *jx.Decoder) error
Decode decodes ErrorDetailsDetails from json.
func (OptErrorDetailsDetails) Encode ¶
func (o OptErrorDetailsDetails) Encode(e *jx.Encoder)
Encode encodes ErrorDetailsDetails as json.
func (OptErrorDetailsDetails) Get ¶
func (o OptErrorDetailsDetails) Get() (v ErrorDetailsDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptErrorDetailsDetails) IsSet ¶
func (o OptErrorDetailsDetails) IsSet() bool
IsSet returns true if OptErrorDetailsDetails was set.
func (OptErrorDetailsDetails) MarshalJSON ¶
func (s OptErrorDetailsDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptErrorDetailsDetails) Or ¶
func (o OptErrorDetailsDetails) Or(d ErrorDetailsDetails) ErrorDetailsDetails
Or returns value if set, or given parameter if does not.
func (*OptErrorDetailsDetails) SetTo ¶
func (o *OptErrorDetailsDetails) SetTo(v ErrorDetailsDetails)
SetTo sets value to v.
func (*OptErrorDetailsDetails) UnmarshalJSON ¶
func (s *OptErrorDetailsDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFieldValidation ¶
type OptFieldValidation struct {
Value FieldValidation
Set bool
}
OptFieldValidation is optional FieldValidation.
func NewOptFieldValidation ¶
func NewOptFieldValidation(v FieldValidation) OptFieldValidation
NewOptFieldValidation returns new OptFieldValidation with value set to v.
func (*OptFieldValidation) Decode ¶
func (o *OptFieldValidation) Decode(d *jx.Decoder) error
Decode decodes FieldValidation from json.
func (OptFieldValidation) Encode ¶
func (o OptFieldValidation) Encode(e *jx.Encoder)
Encode encodes FieldValidation as json.
func (OptFieldValidation) Get ¶
func (o OptFieldValidation) Get() (v FieldValidation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFieldValidation) IsSet ¶
func (o OptFieldValidation) IsSet() bool
IsSet returns true if OptFieldValidation was set.
func (OptFieldValidation) MarshalJSON ¶
func (s OptFieldValidation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFieldValidation) Or ¶
func (o OptFieldValidation) Or(d FieldValidation) FieldValidation
Or returns value if set, or given parameter if does not.
func (*OptFieldValidation) SetTo ¶
func (o *OptFieldValidation) SetTo(v FieldValidation)
SetTo sets value to v.
func (*OptFieldValidation) UnmarshalJSON ¶
func (s *OptFieldValidation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFieldValidationFormat ¶
type OptFieldValidationFormat struct {
Value FieldValidationFormat
Set bool
}
OptFieldValidationFormat is optional FieldValidationFormat.
func NewOptFieldValidationFormat ¶
func NewOptFieldValidationFormat(v FieldValidationFormat) OptFieldValidationFormat
NewOptFieldValidationFormat returns new OptFieldValidationFormat with value set to v.
func (*OptFieldValidationFormat) Decode ¶
func (o *OptFieldValidationFormat) Decode(d *jx.Decoder) error
Decode decodes FieldValidationFormat from json.
func (OptFieldValidationFormat) Encode ¶
func (o OptFieldValidationFormat) Encode(e *jx.Encoder)
Encode encodes FieldValidationFormat as json.
func (OptFieldValidationFormat) Get ¶
func (o OptFieldValidationFormat) Get() (v FieldValidationFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFieldValidationFormat) IsSet ¶
func (o OptFieldValidationFormat) IsSet() bool
IsSet returns true if OptFieldValidationFormat was set.
func (OptFieldValidationFormat) MarshalJSON ¶
func (s OptFieldValidationFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFieldValidationFormat) Or ¶
func (o OptFieldValidationFormat) Or(d FieldValidationFormat) FieldValidationFormat
Or returns value if set, or given parameter if does not.
func (*OptFieldValidationFormat) Reset ¶
func (o *OptFieldValidationFormat) Reset()
Reset unsets value.
func (*OptFieldValidationFormat) SetTo ¶
func (o *OptFieldValidationFormat) SetTo(v FieldValidationFormat)
SetTo sets value to v.
func (*OptFieldValidationFormat) UnmarshalJSON ¶
func (s *OptFieldValidationFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowAudience ¶
type OptFlowAudience struct {
Value FlowAudience
Set bool
}
OptFlowAudience is optional FlowAudience.
func NewOptFlowAudience ¶
func NewOptFlowAudience(v FlowAudience) OptFlowAudience
NewOptFlowAudience returns new OptFlowAudience with value set to v.
func (*OptFlowAudience) Decode ¶
func (o *OptFlowAudience) Decode(d *jx.Decoder) error
Decode decodes FlowAudience from json.
func (OptFlowAudience) Encode ¶
func (o OptFlowAudience) Encode(e *jx.Encoder)
Encode encodes FlowAudience as json.
func (OptFlowAudience) Get ¶
func (o OptFlowAudience) Get() (v FlowAudience, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowAudience) IsSet ¶
func (o OptFlowAudience) IsSet() bool
IsSet returns true if OptFlowAudience was set.
func (OptFlowAudience) MarshalJSON ¶
func (s OptFlowAudience) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowAudience) Or ¶
func (o OptFlowAudience) Or(d FlowAudience) FlowAudience
Or returns value if set, or given parameter if does not.
func (*OptFlowAudience) SetTo ¶
func (o *OptFlowAudience) SetTo(v FlowAudience)
SetTo sets value to v.
func (*OptFlowAudience) UnmarshalJSON ¶
func (s *OptFlowAudience) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowDefinitionStatus ¶
type OptFlowDefinitionStatus struct {
Value FlowDefinitionStatus
Set bool
}
OptFlowDefinitionStatus is optional FlowDefinitionStatus.
func NewOptFlowDefinitionStatus ¶
func NewOptFlowDefinitionStatus(v FlowDefinitionStatus) OptFlowDefinitionStatus
NewOptFlowDefinitionStatus returns new OptFlowDefinitionStatus with value set to v.
func (*OptFlowDefinitionStatus) Decode ¶
func (o *OptFlowDefinitionStatus) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStatus from json.
func (OptFlowDefinitionStatus) Encode ¶
func (o OptFlowDefinitionStatus) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStatus as json.
func (OptFlowDefinitionStatus) Get ¶
func (o OptFlowDefinitionStatus) Get() (v FlowDefinitionStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowDefinitionStatus) IsSet ¶
func (o OptFlowDefinitionStatus) IsSet() bool
IsSet returns true if OptFlowDefinitionStatus was set.
func (OptFlowDefinitionStatus) MarshalJSON ¶
func (s OptFlowDefinitionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowDefinitionStatus) Or ¶
func (o OptFlowDefinitionStatus) Or(d FlowDefinitionStatus) FlowDefinitionStatus
Or returns value if set, or given parameter if does not.
func (*OptFlowDefinitionStatus) Reset ¶
func (o *OptFlowDefinitionStatus) Reset()
Reset unsets value.
func (*OptFlowDefinitionStatus) SetTo ¶
func (o *OptFlowDefinitionStatus) SetTo(v FlowDefinitionStatus)
SetTo sets value to v.
func (*OptFlowDefinitionStatus) UnmarshalJSON ¶
func (s *OptFlowDefinitionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowDefinitionStepComplete ¶
type OptFlowDefinitionStepComplete struct {
Value FlowDefinitionStepComplete
Set bool
}
OptFlowDefinitionStepComplete is optional FlowDefinitionStepComplete.
func NewOptFlowDefinitionStepComplete ¶
func NewOptFlowDefinitionStepComplete(v FlowDefinitionStepComplete) OptFlowDefinitionStepComplete
NewOptFlowDefinitionStepComplete returns new OptFlowDefinitionStepComplete with value set to v.
func (*OptFlowDefinitionStepComplete) Decode ¶
func (o *OptFlowDefinitionStepComplete) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepComplete from json.
func (OptFlowDefinitionStepComplete) Encode ¶
func (o OptFlowDefinitionStepComplete) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepComplete as json.
func (OptFlowDefinitionStepComplete) Get ¶
func (o OptFlowDefinitionStepComplete) Get() (v FlowDefinitionStepComplete, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowDefinitionStepComplete) IsSet ¶
func (o OptFlowDefinitionStepComplete) IsSet() bool
IsSet returns true if OptFlowDefinitionStepComplete was set.
func (OptFlowDefinitionStepComplete) MarshalJSON ¶
func (s OptFlowDefinitionStepComplete) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFlowDefinitionStepComplete) Reset ¶
func (o *OptFlowDefinitionStepComplete) Reset()
Reset unsets value.
func (*OptFlowDefinitionStepComplete) SetTo ¶
func (o *OptFlowDefinitionStepComplete) SetTo(v FlowDefinitionStepComplete)
SetTo sets value to v.
func (*OptFlowDefinitionStepComplete) UnmarshalJSON ¶
func (s *OptFlowDefinitionStepComplete) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowDefinitionStepGates ¶
type OptFlowDefinitionStepGates struct {
Value FlowDefinitionStepGates
Set bool
}
OptFlowDefinitionStepGates is optional FlowDefinitionStepGates.
func NewOptFlowDefinitionStepGates ¶
func NewOptFlowDefinitionStepGates(v FlowDefinitionStepGates) OptFlowDefinitionStepGates
NewOptFlowDefinitionStepGates returns new OptFlowDefinitionStepGates with value set to v.
func (*OptFlowDefinitionStepGates) Decode ¶
func (o *OptFlowDefinitionStepGates) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepGates from json.
func (OptFlowDefinitionStepGates) Encode ¶
func (o OptFlowDefinitionStepGates) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepGates as json.
func (OptFlowDefinitionStepGates) Get ¶
func (o OptFlowDefinitionStepGates) Get() (v FlowDefinitionStepGates, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowDefinitionStepGates) IsSet ¶
func (o OptFlowDefinitionStepGates) IsSet() bool
IsSet returns true if OptFlowDefinitionStepGates was set.
func (OptFlowDefinitionStepGates) MarshalJSON ¶
func (s OptFlowDefinitionStepGates) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFlowDefinitionStepGates) Reset ¶
func (o *OptFlowDefinitionStepGates) Reset()
Reset unsets value.
func (*OptFlowDefinitionStepGates) SetTo ¶
func (o *OptFlowDefinitionStepGates) SetTo(v FlowDefinitionStepGates)
SetTo sets value to v.
func (*OptFlowDefinitionStepGates) UnmarshalJSON ¶
func (s *OptFlowDefinitionStepGates) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowDefinitionStepOnSuccess ¶
type OptFlowDefinitionStepOnSuccess struct {
Value FlowDefinitionStepOnSuccess
Set bool
}
OptFlowDefinitionStepOnSuccess is optional FlowDefinitionStepOnSuccess.
func NewOptFlowDefinitionStepOnSuccess ¶
func NewOptFlowDefinitionStepOnSuccess(v FlowDefinitionStepOnSuccess) OptFlowDefinitionStepOnSuccess
NewOptFlowDefinitionStepOnSuccess returns new OptFlowDefinitionStepOnSuccess with value set to v.
func (*OptFlowDefinitionStepOnSuccess) Decode ¶
func (o *OptFlowDefinitionStepOnSuccess) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepOnSuccess from json.
func (OptFlowDefinitionStepOnSuccess) Encode ¶
func (o OptFlowDefinitionStepOnSuccess) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepOnSuccess as json.
func (OptFlowDefinitionStepOnSuccess) Get ¶
func (o OptFlowDefinitionStepOnSuccess) Get() (v FlowDefinitionStepOnSuccess, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowDefinitionStepOnSuccess) IsSet ¶
func (o OptFlowDefinitionStepOnSuccess) IsSet() bool
IsSet returns true if OptFlowDefinitionStepOnSuccess was set.
func (OptFlowDefinitionStepOnSuccess) MarshalJSON ¶
func (s OptFlowDefinitionStepOnSuccess) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowDefinitionStepOnSuccess) Or ¶
func (o OptFlowDefinitionStepOnSuccess) Or(d FlowDefinitionStepOnSuccess) FlowDefinitionStepOnSuccess
Or returns value if set, or given parameter if does not.
func (*OptFlowDefinitionStepOnSuccess) Reset ¶
func (o *OptFlowDefinitionStepOnSuccess) Reset()
Reset unsets value.
func (*OptFlowDefinitionStepOnSuccess) SetTo ¶
func (o *OptFlowDefinitionStepOnSuccess) SetTo(v FlowDefinitionStepOnSuccess)
SetTo sets value to v.
func (*OptFlowDefinitionStepOnSuccess) UnmarshalJSON ¶
func (s *OptFlowDefinitionStepOnSuccess) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowDefinitionStepTransitions ¶
type OptFlowDefinitionStepTransitions struct {
Value FlowDefinitionStepTransitions
Set bool
}
OptFlowDefinitionStepTransitions is optional FlowDefinitionStepTransitions.
func NewOptFlowDefinitionStepTransitions ¶
func NewOptFlowDefinitionStepTransitions(v FlowDefinitionStepTransitions) OptFlowDefinitionStepTransitions
NewOptFlowDefinitionStepTransitions returns new OptFlowDefinitionStepTransitions with value set to v.
func (*OptFlowDefinitionStepTransitions) Decode ¶
func (o *OptFlowDefinitionStepTransitions) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepTransitions from json.
func (OptFlowDefinitionStepTransitions) Encode ¶
func (o OptFlowDefinitionStepTransitions) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepTransitions as json.
func (OptFlowDefinitionStepTransitions) Get ¶
func (o OptFlowDefinitionStepTransitions) Get() (v FlowDefinitionStepTransitions, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowDefinitionStepTransitions) IsSet ¶
func (o OptFlowDefinitionStepTransitions) IsSet() bool
IsSet returns true if OptFlowDefinitionStepTransitions was set.
func (OptFlowDefinitionStepTransitions) MarshalJSON ¶
func (s OptFlowDefinitionStepTransitions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowDefinitionStepTransitions) Or ¶
func (o OptFlowDefinitionStepTransitions) Or(d FlowDefinitionStepTransitions) FlowDefinitionStepTransitions
Or returns value if set, or given parameter if does not.
func (*OptFlowDefinitionStepTransitions) Reset ¶
func (o *OptFlowDefinitionStepTransitions) Reset()
Reset unsets value.
func (*OptFlowDefinitionStepTransitions) SetTo ¶
func (o *OptFlowDefinitionStepTransitions) SetTo(v FlowDefinitionStepTransitions)
SetTo sets value to v.
func (*OptFlowDefinitionStepTransitions) UnmarshalJSON ¶
func (s *OptFlowDefinitionStepTransitions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowEventRequestPayload ¶
type OptFlowEventRequestPayload struct {
Value FlowEventRequestPayload
Set bool
}
OptFlowEventRequestPayload is optional FlowEventRequestPayload.
func NewOptFlowEventRequestPayload ¶
func NewOptFlowEventRequestPayload(v FlowEventRequestPayload) OptFlowEventRequestPayload
NewOptFlowEventRequestPayload returns new OptFlowEventRequestPayload with value set to v.
func (*OptFlowEventRequestPayload) Decode ¶
func (o *OptFlowEventRequestPayload) Decode(d *jx.Decoder) error
Decode decodes FlowEventRequestPayload from json.
func (OptFlowEventRequestPayload) Encode ¶
func (o OptFlowEventRequestPayload) Encode(e *jx.Encoder)
Encode encodes FlowEventRequestPayload as json.
func (OptFlowEventRequestPayload) Get ¶
func (o OptFlowEventRequestPayload) Get() (v FlowEventRequestPayload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowEventRequestPayload) IsSet ¶
func (o OptFlowEventRequestPayload) IsSet() bool
IsSet returns true if OptFlowEventRequestPayload was set.
func (OptFlowEventRequestPayload) MarshalJSON ¶
func (s OptFlowEventRequestPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFlowEventRequestPayload) Reset ¶
func (o *OptFlowEventRequestPayload) Reset()
Reset unsets value.
func (*OptFlowEventRequestPayload) SetTo ¶
func (o *OptFlowEventRequestPayload) SetTo(v FlowEventRequestPayload)
SetTo sets value to v.
func (*OptFlowEventRequestPayload) UnmarshalJSON ¶
func (s *OptFlowEventRequestPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowHint ¶
OptFlowHint is optional FlowHint.
func NewOptFlowHint ¶
func NewOptFlowHint(v FlowHint) OptFlowHint
NewOptFlowHint returns new OptFlowHint with value set to v.
func (*OptFlowHint) Decode ¶
func (o *OptFlowHint) Decode(d *jx.Decoder) error
Decode decodes FlowHint from json.
func (OptFlowHint) Encode ¶
func (o OptFlowHint) Encode(e *jx.Encoder)
Encode encodes FlowHint as json.
func (OptFlowHint) Get ¶
func (o OptFlowHint) Get() (v FlowHint, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowHint) IsSet ¶
func (o OptFlowHint) IsSet() bool
IsSet returns true if OptFlowHint was set.
func (OptFlowHint) MarshalJSON ¶
func (s OptFlowHint) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowHint) Or ¶
func (o OptFlowHint) Or(d FlowHint) FlowHint
Or returns value if set, or given parameter if does not.
func (*OptFlowHint) UnmarshalJSON ¶
func (s *OptFlowHint) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowStepChallenge ¶
type OptFlowStepChallenge struct {
Value FlowStepChallenge
Set bool
}
OptFlowStepChallenge is optional FlowStepChallenge.
func NewOptFlowStepChallenge ¶
func NewOptFlowStepChallenge(v FlowStepChallenge) OptFlowStepChallenge
NewOptFlowStepChallenge returns new OptFlowStepChallenge with value set to v.
func (*OptFlowStepChallenge) Decode ¶
func (o *OptFlowStepChallenge) Decode(d *jx.Decoder) error
Decode decodes FlowStepChallenge from json.
func (OptFlowStepChallenge) Encode ¶
func (o OptFlowStepChallenge) Encode(e *jx.Encoder)
Encode encodes FlowStepChallenge as json.
func (OptFlowStepChallenge) Get ¶
func (o OptFlowStepChallenge) Get() (v FlowStepChallenge, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowStepChallenge) IsSet ¶
func (o OptFlowStepChallenge) IsSet() bool
IsSet returns true if OptFlowStepChallenge was set.
func (OptFlowStepChallenge) MarshalJSON ¶
func (s OptFlowStepChallenge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowStepChallenge) Or ¶
func (o OptFlowStepChallenge) Or(d FlowStepChallenge) FlowStepChallenge
Or returns value if set, or given parameter if does not.
func (*OptFlowStepChallenge) SetTo ¶
func (o *OptFlowStepChallenge) SetTo(v FlowStepChallenge)
SetTo sets value to v.
func (*OptFlowStepChallenge) UnmarshalJSON ¶
func (s *OptFlowStepChallenge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowStepChallengeMethod ¶
type OptFlowStepChallengeMethod struct {
Value FlowStepChallengeMethod
Set bool
}
OptFlowStepChallengeMethod is optional FlowStepChallengeMethod.
func NewOptFlowStepChallengeMethod ¶
func NewOptFlowStepChallengeMethod(v FlowStepChallengeMethod) OptFlowStepChallengeMethod
NewOptFlowStepChallengeMethod returns new OptFlowStepChallengeMethod with value set to v.
func (*OptFlowStepChallengeMethod) Decode ¶
func (o *OptFlowStepChallengeMethod) Decode(d *jx.Decoder) error
Decode decodes FlowStepChallengeMethod from json.
func (OptFlowStepChallengeMethod) Encode ¶
func (o OptFlowStepChallengeMethod) Encode(e *jx.Encoder)
Encode encodes FlowStepChallengeMethod as json.
func (OptFlowStepChallengeMethod) Get ¶
func (o OptFlowStepChallengeMethod) Get() (v FlowStepChallengeMethod, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowStepChallengeMethod) IsSet ¶
func (o OptFlowStepChallengeMethod) IsSet() bool
IsSet returns true if OptFlowStepChallengeMethod was set.
func (OptFlowStepChallengeMethod) MarshalJSON ¶
func (s OptFlowStepChallengeMethod) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFlowStepChallengeMethod) Reset ¶
func (o *OptFlowStepChallengeMethod) Reset()
Reset unsets value.
func (*OptFlowStepChallengeMethod) SetTo ¶
func (o *OptFlowStepChallengeMethod) SetTo(v FlowStepChallengeMethod)
SetTo sets value to v.
func (*OptFlowStepChallengeMethod) UnmarshalJSON ¶
func (s *OptFlowStepChallengeMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowStepChallengeOptions ¶
type OptFlowStepChallengeOptions struct {
Value FlowStepChallengeOptions
Set bool
}
OptFlowStepChallengeOptions is optional FlowStepChallengeOptions.
func NewOptFlowStepChallengeOptions ¶
func NewOptFlowStepChallengeOptions(v FlowStepChallengeOptions) OptFlowStepChallengeOptions
NewOptFlowStepChallengeOptions returns new OptFlowStepChallengeOptions with value set to v.
func (*OptFlowStepChallengeOptions) Decode ¶
func (o *OptFlowStepChallengeOptions) Decode(d *jx.Decoder) error
Decode decodes FlowStepChallengeOptions from json.
func (OptFlowStepChallengeOptions) Encode ¶
func (o OptFlowStepChallengeOptions) Encode(e *jx.Encoder)
Encode encodes FlowStepChallengeOptions as json.
func (OptFlowStepChallengeOptions) Get ¶
func (o OptFlowStepChallengeOptions) Get() (v FlowStepChallengeOptions, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowStepChallengeOptions) IsSet ¶
func (o OptFlowStepChallengeOptions) IsSet() bool
IsSet returns true if OptFlowStepChallengeOptions was set.
func (OptFlowStepChallengeOptions) MarshalJSON ¶
func (s OptFlowStepChallengeOptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFlowStepChallengeOptions) Reset ¶
func (o *OptFlowStepChallengeOptions) Reset()
Reset unsets value.
func (*OptFlowStepChallengeOptions) SetTo ¶
func (o *OptFlowStepChallengeOptions) SetTo(v FlowStepChallengeOptions)
SetTo sets value to v.
func (*OptFlowStepChallengeOptions) UnmarshalJSON ¶
func (s *OptFlowStepChallengeOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowStepComplete ¶
type OptFlowStepComplete struct {
Value FlowStepComplete
Set bool
}
OptFlowStepComplete is optional FlowStepComplete.
func NewOptFlowStepComplete ¶
func NewOptFlowStepComplete(v FlowStepComplete) OptFlowStepComplete
NewOptFlowStepComplete returns new OptFlowStepComplete with value set to v.
func (*OptFlowStepComplete) Decode ¶
func (o *OptFlowStepComplete) Decode(d *jx.Decoder) error
Decode decodes FlowStepComplete from json.
func (OptFlowStepComplete) Encode ¶
func (o OptFlowStepComplete) Encode(e *jx.Encoder)
Encode encodes FlowStepComplete as json.
func (OptFlowStepComplete) Get ¶
func (o OptFlowStepComplete) Get() (v FlowStepComplete, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowStepComplete) IsSet ¶
func (o OptFlowStepComplete) IsSet() bool
IsSet returns true if OptFlowStepComplete was set.
func (OptFlowStepComplete) MarshalJSON ¶
func (s OptFlowStepComplete) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowStepComplete) Or ¶
func (o OptFlowStepComplete) Or(d FlowStepComplete) FlowStepComplete
Or returns value if set, or given parameter if does not.
func (*OptFlowStepComplete) SetTo ¶
func (o *OptFlowStepComplete) SetTo(v FlowStepComplete)
SetTo sets value to v.
func (*OptFlowStepComplete) UnmarshalJSON ¶
func (s *OptFlowStepComplete) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowSubmitRequestChallengeResponse ¶
type OptFlowSubmitRequestChallengeResponse struct {
Value FlowSubmitRequestChallengeResponse
Set bool
}
OptFlowSubmitRequestChallengeResponse is optional FlowSubmitRequestChallengeResponse.
func NewOptFlowSubmitRequestChallengeResponse ¶
func NewOptFlowSubmitRequestChallengeResponse(v FlowSubmitRequestChallengeResponse) OptFlowSubmitRequestChallengeResponse
NewOptFlowSubmitRequestChallengeResponse returns new OptFlowSubmitRequestChallengeResponse with value set to v.
func (*OptFlowSubmitRequestChallengeResponse) Decode ¶
func (o *OptFlowSubmitRequestChallengeResponse) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestChallengeResponse from json.
func (OptFlowSubmitRequestChallengeResponse) Encode ¶
func (o OptFlowSubmitRequestChallengeResponse) Encode(e *jx.Encoder)
Encode encodes FlowSubmitRequestChallengeResponse as json.
func (OptFlowSubmitRequestChallengeResponse) Get ¶
func (o OptFlowSubmitRequestChallengeResponse) Get() (v FlowSubmitRequestChallengeResponse, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowSubmitRequestChallengeResponse) IsSet ¶
func (o OptFlowSubmitRequestChallengeResponse) IsSet() bool
IsSet returns true if OptFlowSubmitRequestChallengeResponse was set.
func (OptFlowSubmitRequestChallengeResponse) MarshalJSON ¶
func (s OptFlowSubmitRequestChallengeResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowSubmitRequestChallengeResponse) Or ¶
func (o OptFlowSubmitRequestChallengeResponse) Or(d FlowSubmitRequestChallengeResponse) FlowSubmitRequestChallengeResponse
Or returns value if set, or given parameter if does not.
func (*OptFlowSubmitRequestChallengeResponse) Reset ¶
func (o *OptFlowSubmitRequestChallengeResponse) Reset()
Reset unsets value.
func (*OptFlowSubmitRequestChallengeResponse) SetTo ¶
func (o *OptFlowSubmitRequestChallengeResponse) SetTo(v FlowSubmitRequestChallengeResponse)
SetTo sets value to v.
func (*OptFlowSubmitRequestChallengeResponse) UnmarshalJSON ¶
func (s *OptFlowSubmitRequestChallengeResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowSubmitRequestChallengeResponseProof ¶
type OptFlowSubmitRequestChallengeResponseProof struct {
Value FlowSubmitRequestChallengeResponseProof
Set bool
}
OptFlowSubmitRequestChallengeResponseProof is optional FlowSubmitRequestChallengeResponseProof.
func NewOptFlowSubmitRequestChallengeResponseProof ¶
func NewOptFlowSubmitRequestChallengeResponseProof(v FlowSubmitRequestChallengeResponseProof) OptFlowSubmitRequestChallengeResponseProof
NewOptFlowSubmitRequestChallengeResponseProof returns new OptFlowSubmitRequestChallengeResponseProof with value set to v.
func (*OptFlowSubmitRequestChallengeResponseProof) Decode ¶
func (o *OptFlowSubmitRequestChallengeResponseProof) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestChallengeResponseProof from json.
func (OptFlowSubmitRequestChallengeResponseProof) Encode ¶
func (o OptFlowSubmitRequestChallengeResponseProof) Encode(e *jx.Encoder)
Encode encodes FlowSubmitRequestChallengeResponseProof as json.
func (OptFlowSubmitRequestChallengeResponseProof) Get ¶
func (o OptFlowSubmitRequestChallengeResponseProof) Get() (v FlowSubmitRequestChallengeResponseProof, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowSubmitRequestChallengeResponseProof) IsSet ¶
func (o OptFlowSubmitRequestChallengeResponseProof) IsSet() bool
IsSet returns true if OptFlowSubmitRequestChallengeResponseProof was set.
func (OptFlowSubmitRequestChallengeResponseProof) MarshalJSON ¶
func (s OptFlowSubmitRequestChallengeResponseProof) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowSubmitRequestChallengeResponseProof) Or ¶
func (o OptFlowSubmitRequestChallengeResponseProof) Or(d FlowSubmitRequestChallengeResponseProof) FlowSubmitRequestChallengeResponseProof
Or returns value if set, or given parameter if does not.
func (*OptFlowSubmitRequestChallengeResponseProof) Reset ¶
func (o *OptFlowSubmitRequestChallengeResponseProof) Reset()
Reset unsets value.
func (*OptFlowSubmitRequestChallengeResponseProof) SetTo ¶
func (o *OptFlowSubmitRequestChallengeResponseProof) SetTo(v FlowSubmitRequestChallengeResponseProof)
SetTo sets value to v.
func (*OptFlowSubmitRequestChallengeResponseProof) UnmarshalJSON ¶
func (s *OptFlowSubmitRequestChallengeResponseProof) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowSubmitRequestFields ¶
type OptFlowSubmitRequestFields struct {
Value FlowSubmitRequestFields
Set bool
}
OptFlowSubmitRequestFields is optional FlowSubmitRequestFields.
func NewOptFlowSubmitRequestFields ¶
func NewOptFlowSubmitRequestFields(v FlowSubmitRequestFields) OptFlowSubmitRequestFields
NewOptFlowSubmitRequestFields returns new OptFlowSubmitRequestFields with value set to v.
func (*OptFlowSubmitRequestFields) Decode ¶
func (o *OptFlowSubmitRequestFields) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestFields from json.
func (OptFlowSubmitRequestFields) Encode ¶
func (o OptFlowSubmitRequestFields) Encode(e *jx.Encoder)
Encode encodes FlowSubmitRequestFields as json.
func (OptFlowSubmitRequestFields) Get ¶
func (o OptFlowSubmitRequestFields) Get() (v FlowSubmitRequestFields, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowSubmitRequestFields) IsSet ¶
func (o OptFlowSubmitRequestFields) IsSet() bool
IsSet returns true if OptFlowSubmitRequestFields was set.
func (OptFlowSubmitRequestFields) MarshalJSON ¶
func (s OptFlowSubmitRequestFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptFlowSubmitRequestFields) Reset ¶
func (o *OptFlowSubmitRequestFields) Reset()
Reset unsets value.
func (*OptFlowSubmitRequestFields) SetTo ¶
func (o *OptFlowSubmitRequestFields) SetTo(v FlowSubmitRequestFields)
SetTo sets value to v.
func (*OptFlowSubmitRequestFields) UnmarshalJSON ¶
func (s *OptFlowSubmitRequestFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFlowSubmitRequestGateProofs ¶
type OptFlowSubmitRequestGateProofs struct {
Value FlowSubmitRequestGateProofs
Set bool
}
OptFlowSubmitRequestGateProofs is optional FlowSubmitRequestGateProofs.
func NewOptFlowSubmitRequestGateProofs ¶
func NewOptFlowSubmitRequestGateProofs(v FlowSubmitRequestGateProofs) OptFlowSubmitRequestGateProofs
NewOptFlowSubmitRequestGateProofs returns new OptFlowSubmitRequestGateProofs with value set to v.
func (*OptFlowSubmitRequestGateProofs) Decode ¶
func (o *OptFlowSubmitRequestGateProofs) Decode(d *jx.Decoder) error
Decode decodes FlowSubmitRequestGateProofs from json.
func (OptFlowSubmitRequestGateProofs) Encode ¶
func (o OptFlowSubmitRequestGateProofs) Encode(e *jx.Encoder)
Encode encodes FlowSubmitRequestGateProofs as json.
func (OptFlowSubmitRequestGateProofs) Get ¶
func (o OptFlowSubmitRequestGateProofs) Get() (v FlowSubmitRequestGateProofs, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFlowSubmitRequestGateProofs) IsSet ¶
func (o OptFlowSubmitRequestGateProofs) IsSet() bool
IsSet returns true if OptFlowSubmitRequestGateProofs was set.
func (OptFlowSubmitRequestGateProofs) MarshalJSON ¶
func (s OptFlowSubmitRequestGateProofs) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFlowSubmitRequestGateProofs) Or ¶
func (o OptFlowSubmitRequestGateProofs) Or(d FlowSubmitRequestGateProofs) FlowSubmitRequestGateProofs
Or returns value if set, or given parameter if does not.
func (*OptFlowSubmitRequestGateProofs) Reset ¶
func (o *OptFlowSubmitRequestGateProofs) Reset()
Reset unsets value.
func (*OptFlowSubmitRequestGateProofs) SetTo ¶
func (o *OptFlowSubmitRequestGateProofs) SetTo(v FlowSubmitRequestGateProofs)
SetTo sets value to v.
func (*OptFlowSubmitRequestGateProofs) UnmarshalJSON ¶
func (s *OptFlowSubmitRequestGateProofs) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGateConfig ¶
type OptGateConfig struct {
Value GateConfig
Set bool
}
OptGateConfig is optional GateConfig.
func NewOptGateConfig ¶
func NewOptGateConfig(v GateConfig) OptGateConfig
NewOptGateConfig returns new OptGateConfig with value set to v.
func (*OptGateConfig) Decode ¶
func (o *OptGateConfig) Decode(d *jx.Decoder) error
Decode decodes GateConfig from json.
func (OptGateConfig) Encode ¶
func (o OptGateConfig) Encode(e *jx.Encoder)
Encode encodes GateConfig as json.
func (OptGateConfig) Get ¶
func (o OptGateConfig) Get() (v GateConfig, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGateConfig) IsSet ¶
func (o OptGateConfig) IsSet() bool
IsSet returns true if OptGateConfig was set.
func (OptGateConfig) MarshalJSON ¶
func (s OptGateConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGateConfig) Or ¶
func (o OptGateConfig) Or(d GateConfig) GateConfig
Or returns value if set, or given parameter if does not.
func (*OptGateConfig) UnmarshalJSON ¶
func (s *OptGateConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInternalDetails ¶
type OptInternalDetails struct {
Value InternalDetails
Set bool
}
OptInternalDetails is optional InternalDetails.
func NewOptInternalDetails ¶
func NewOptInternalDetails(v InternalDetails) OptInternalDetails
NewOptInternalDetails returns new OptInternalDetails with value set to v.
func (*OptInternalDetails) Decode ¶
func (o *OptInternalDetails) Decode(d *jx.Decoder) error
Decode decodes InternalDetails from json.
func (OptInternalDetails) Encode ¶
func (o OptInternalDetails) Encode(e *jx.Encoder)
Encode encodes InternalDetails as json.
func (OptInternalDetails) Get ¶
func (o OptInternalDetails) Get() (v InternalDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptInternalDetails) IsSet ¶
func (o OptInternalDetails) IsSet() bool
IsSet returns true if OptInternalDetails was set.
func (OptInternalDetails) MarshalJSON ¶
func (s OptInternalDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptInternalDetails) Or ¶
func (o OptInternalDetails) Or(d InternalDetails) InternalDetails
Or returns value if set, or given parameter if does not.
func (*OptInternalDetails) SetTo ¶
func (o *OptInternalDetails) SetTo(v InternalDetails)
SetTo sets value to v.
func (*OptInternalDetails) UnmarshalJSON ¶
func (s *OptInternalDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIssueChallengeRequestPasskeyOptions ¶
type OptIssueChallengeRequestPasskeyOptions struct {
Value IssueChallengeRequestPasskeyOptions
Set bool
}
OptIssueChallengeRequestPasskeyOptions is optional IssueChallengeRequestPasskeyOptions.
func NewOptIssueChallengeRequestPasskeyOptions ¶
func NewOptIssueChallengeRequestPasskeyOptions(v IssueChallengeRequestPasskeyOptions) OptIssueChallengeRequestPasskeyOptions
NewOptIssueChallengeRequestPasskeyOptions returns new OptIssueChallengeRequestPasskeyOptions with value set to v.
func (*OptIssueChallengeRequestPasskeyOptions) Decode ¶
func (o *OptIssueChallengeRequestPasskeyOptions) Decode(d *jx.Decoder) error
Decode decodes IssueChallengeRequestPasskeyOptions from json.
func (OptIssueChallengeRequestPasskeyOptions) Encode ¶
func (o OptIssueChallengeRequestPasskeyOptions) Encode(e *jx.Encoder)
Encode encodes IssueChallengeRequestPasskeyOptions as json.
func (OptIssueChallengeRequestPasskeyOptions) Get ¶
func (o OptIssueChallengeRequestPasskeyOptions) Get() (v IssueChallengeRequestPasskeyOptions, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptIssueChallengeRequestPasskeyOptions) IsSet ¶
func (o OptIssueChallengeRequestPasskeyOptions) IsSet() bool
IsSet returns true if OptIssueChallengeRequestPasskeyOptions was set.
func (OptIssueChallengeRequestPasskeyOptions) MarshalJSON ¶
func (s OptIssueChallengeRequestPasskeyOptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptIssueChallengeRequestPasskeyOptions) Or ¶
func (o OptIssueChallengeRequestPasskeyOptions) Or(d IssueChallengeRequestPasskeyOptions) IssueChallengeRequestPasskeyOptions
Or returns value if set, or given parameter if does not.
func (*OptIssueChallengeRequestPasskeyOptions) Reset ¶
func (o *OptIssueChallengeRequestPasskeyOptions) Reset()
Reset unsets value.
func (*OptIssueChallengeRequestPasskeyOptions) SetTo ¶
func (o *OptIssueChallengeRequestPasskeyOptions) SetTo(v IssueChallengeRequestPasskeyOptions)
SetTo sets value to v.
func (*OptIssueChallengeRequestPasskeyOptions) UnmarshalJSON ¶
func (s *OptIssueChallengeRequestPasskeyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIssueChallengeRequestPasskeyOptionsUserVerification ¶
type OptIssueChallengeRequestPasskeyOptionsUserVerification struct {
Value IssueChallengeRequestPasskeyOptionsUserVerification
Set bool
}
OptIssueChallengeRequestPasskeyOptionsUserVerification is optional IssueChallengeRequestPasskeyOptionsUserVerification.
func NewOptIssueChallengeRequestPasskeyOptionsUserVerification ¶
func NewOptIssueChallengeRequestPasskeyOptionsUserVerification(v IssueChallengeRequestPasskeyOptionsUserVerification) OptIssueChallengeRequestPasskeyOptionsUserVerification
NewOptIssueChallengeRequestPasskeyOptionsUserVerification returns new OptIssueChallengeRequestPasskeyOptionsUserVerification with value set to v.
func (*OptIssueChallengeRequestPasskeyOptionsUserVerification) Decode ¶
func (o *OptIssueChallengeRequestPasskeyOptionsUserVerification) Decode(d *jx.Decoder) error
Decode decodes IssueChallengeRequestPasskeyOptionsUserVerification from json.
func (OptIssueChallengeRequestPasskeyOptionsUserVerification) Encode ¶
func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) Encode(e *jx.Encoder)
Encode encodes IssueChallengeRequestPasskeyOptionsUserVerification as json.
func (OptIssueChallengeRequestPasskeyOptionsUserVerification) Get ¶
func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) Get() (v IssueChallengeRequestPasskeyOptionsUserVerification, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptIssueChallengeRequestPasskeyOptionsUserVerification) IsSet ¶
func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) IsSet() bool
IsSet returns true if OptIssueChallengeRequestPasskeyOptionsUserVerification was set.
func (OptIssueChallengeRequestPasskeyOptionsUserVerification) MarshalJSON ¶
func (s OptIssueChallengeRequestPasskeyOptionsUserVerification) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptIssueChallengeRequestPasskeyOptionsUserVerification) Or ¶
func (o OptIssueChallengeRequestPasskeyOptionsUserVerification) Or(d IssueChallengeRequestPasskeyOptionsUserVerification) IssueChallengeRequestPasskeyOptionsUserVerification
Or returns value if set, or given parameter if does not.
func (*OptIssueChallengeRequestPasskeyOptionsUserVerification) Reset ¶
func (o *OptIssueChallengeRequestPasskeyOptionsUserVerification) Reset()
Reset unsets value.
func (*OptIssueChallengeRequestPasskeyOptionsUserVerification) SetTo ¶
func (o *OptIssueChallengeRequestPasskeyOptionsUserVerification) SetTo(v IssueChallengeRequestPasskeyOptionsUserVerification)
SetTo sets value to v.
func (*OptIssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalJSON ¶
func (s *OptIssueChallengeRequestPasskeyOptionsUserVerification) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptListFlowDefinitionsPurpose ¶
type OptListFlowDefinitionsPurpose struct {
Value ListFlowDefinitionsPurpose
Set bool
}
OptListFlowDefinitionsPurpose is optional ListFlowDefinitionsPurpose.
func NewOptListFlowDefinitionsPurpose ¶
func NewOptListFlowDefinitionsPurpose(v ListFlowDefinitionsPurpose) OptListFlowDefinitionsPurpose
NewOptListFlowDefinitionsPurpose returns new OptListFlowDefinitionsPurpose with value set to v.
func (OptListFlowDefinitionsPurpose) Get ¶
func (o OptListFlowDefinitionsPurpose) Get() (v ListFlowDefinitionsPurpose, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListFlowDefinitionsPurpose) IsSet ¶
func (o OptListFlowDefinitionsPurpose) IsSet() bool
IsSet returns true if OptListFlowDefinitionsPurpose was set.
func (*OptListFlowDefinitionsPurpose) Reset ¶
func (o *OptListFlowDefinitionsPurpose) Reset()
Reset unsets value.
func (*OptListFlowDefinitionsPurpose) SetTo ¶
func (o *OptListFlowDefinitionsPurpose) SetTo(v ListFlowDefinitionsPurpose)
SetTo sets value to v.
type OptListSessionsState ¶
type OptListSessionsState struct {
Value ListSessionsState
Set bool
}
OptListSessionsState is optional ListSessionsState.
func NewOptListSessionsState ¶
func NewOptListSessionsState(v ListSessionsState) OptListSessionsState
NewOptListSessionsState returns new OptListSessionsState with value set to v.
func (OptListSessionsState) Get ¶
func (o OptListSessionsState) Get() (v ListSessionsState, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListSessionsState) IsSet ¶
func (o OptListSessionsState) IsSet() bool
IsSet returns true if OptListSessionsState was set.
func (OptListSessionsState) Or ¶
func (o OptListSessionsState) Or(d ListSessionsState) ListSessionsState
Or returns value if set, or given parameter if does not.
func (*OptListSessionsState) SetTo ¶
func (o *OptListSessionsState) SetTo(v ListSessionsState)
SetTo sets value to v.
type OptNilDateTime ¶
OptNilDateTime is optional nullable time.Time.
func NewOptNilDateTime ¶
func NewOptNilDateTime(v time.Time) OptNilDateTime
NewOptNilDateTime returns new OptNilDateTime with value set to v.
func (OptNilDateTime) Get ¶
func (o OptNilDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilDateTime) IsNull ¶
func (o OptNilDateTime) IsNull() bool
IsNull returns true if value is Null.
func (OptNilDateTime) IsSet ¶
func (o OptNilDateTime) IsSet() bool
IsSet returns true if OptNilDateTime was set.
func (OptNilDateTime) MarshalJSON ¶
func (s OptNilDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilDateTime) Or ¶
func (o OptNilDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptNilDateTime) SetToNull ¶
func (o *OptNilDateTime) SetToNull()
SetToNull sets value to null.
func (*OptNilDateTime) UnmarshalJSON ¶
func (s *OptNilDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilFlowDefinitionStepTransitionsItemAction ¶
type OptNilFlowDefinitionStepTransitionsItemAction struct {
Value FlowDefinitionStepTransitionsItemAction
Set bool
Null bool
}
OptNilFlowDefinitionStepTransitionsItemAction is optional nullable FlowDefinitionStepTransitionsItemAction.
func NewOptNilFlowDefinitionStepTransitionsItemAction ¶
func NewOptNilFlowDefinitionStepTransitionsItemAction(v FlowDefinitionStepTransitionsItemAction) OptNilFlowDefinitionStepTransitionsItemAction
NewOptNilFlowDefinitionStepTransitionsItemAction returns new OptNilFlowDefinitionStepTransitionsItemAction with value set to v.
func (*OptNilFlowDefinitionStepTransitionsItemAction) Decode ¶
func (o *OptNilFlowDefinitionStepTransitionsItemAction) Decode(d *jx.Decoder) error
Decode decodes FlowDefinitionStepTransitionsItemAction from json.
func (OptNilFlowDefinitionStepTransitionsItemAction) Encode ¶
func (o OptNilFlowDefinitionStepTransitionsItemAction) Encode(e *jx.Encoder)
Encode encodes FlowDefinitionStepTransitionsItemAction as json.
func (OptNilFlowDefinitionStepTransitionsItemAction) Get ¶
func (o OptNilFlowDefinitionStepTransitionsItemAction) Get() (v FlowDefinitionStepTransitionsItemAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilFlowDefinitionStepTransitionsItemAction) IsNull ¶
func (o OptNilFlowDefinitionStepTransitionsItemAction) IsNull() bool
IsNull returns true if value is Null.
func (OptNilFlowDefinitionStepTransitionsItemAction) IsSet ¶
func (o OptNilFlowDefinitionStepTransitionsItemAction) IsSet() bool
IsSet returns true if OptNilFlowDefinitionStepTransitionsItemAction was set.
func (OptNilFlowDefinitionStepTransitionsItemAction) MarshalJSON ¶
func (s OptNilFlowDefinitionStepTransitionsItemAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilFlowDefinitionStepTransitionsItemAction) Or ¶
func (o OptNilFlowDefinitionStepTransitionsItemAction) Or(d FlowDefinitionStepTransitionsItemAction) FlowDefinitionStepTransitionsItemAction
Or returns value if set, or given parameter if does not.
func (*OptNilFlowDefinitionStepTransitionsItemAction) Reset ¶
func (o *OptNilFlowDefinitionStepTransitionsItemAction) Reset()
Reset unsets value.
func (*OptNilFlowDefinitionStepTransitionsItemAction) SetTo ¶
func (o *OptNilFlowDefinitionStepTransitionsItemAction) SetTo(v FlowDefinitionStepTransitionsItemAction)
SetTo sets value to v.
func (*OptNilFlowDefinitionStepTransitionsItemAction) SetToNull ¶
func (o *OptNilFlowDefinitionStepTransitionsItemAction) SetToNull()
SetToNull sets value to null.
func (*OptNilFlowDefinitionStepTransitionsItemAction) UnmarshalJSON ¶
func (s *OptNilFlowDefinitionStepTransitionsItemAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilPageToken ¶
OptNilPageToken is optional nullable PageToken.
func NewOptNilPageToken ¶
func NewOptNilPageToken(v PageToken) OptNilPageToken
NewOptNilPageToken returns new OptNilPageToken with value set to v.
func (*OptNilPageToken) Decode ¶
func (o *OptNilPageToken) Decode(d *jx.Decoder) error
Decode decodes PageToken from json.
func (OptNilPageToken) Encode ¶
func (o OptNilPageToken) Encode(e *jx.Encoder)
Encode encodes PageToken as json.
func (OptNilPageToken) Get ¶
func (o OptNilPageToken) Get() (v PageToken, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilPageToken) IsNull ¶
func (o OptNilPageToken) IsNull() bool
IsNull returns true if value is Null.
func (OptNilPageToken) IsSet ¶
func (o OptNilPageToken) IsSet() bool
IsSet returns true if OptNilPageToken was set.
func (OptNilPageToken) MarshalJSON ¶
func (s OptNilPageToken) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilPageToken) Or ¶
func (o OptNilPageToken) Or(d PageToken) PageToken
Or returns value if set, or given parameter if does not.
func (*OptNilPageToken) SetToNull ¶
func (o *OptNilPageToken) SetToNull()
SetToNull sets value to null.
func (*OptNilPageToken) UnmarshalJSON ¶
func (s *OptNilPageToken) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSessionID ¶
OptNilSessionID is optional nullable SessionID.
func NewOptNilSessionID ¶
func NewOptNilSessionID(v SessionID) OptNilSessionID
NewOptNilSessionID returns new OptNilSessionID with value set to v.
func (*OptNilSessionID) Decode ¶
func (o *OptNilSessionID) Decode(d *jx.Decoder) error
Decode decodes SessionID from json.
func (OptNilSessionID) Encode ¶
func (o OptNilSessionID) Encode(e *jx.Encoder)
Encode encodes SessionID as json.
func (OptNilSessionID) Get ¶
func (o OptNilSessionID) Get() (v SessionID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSessionID) IsNull ¶
func (o OptNilSessionID) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSessionID) IsSet ¶
func (o OptNilSessionID) IsSet() bool
IsSet returns true if OptNilSessionID was set.
func (OptNilSessionID) MarshalJSON ¶
func (s OptNilSessionID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSessionID) Or ¶
func (o OptNilSessionID) Or(d SessionID) SessionID
Or returns value if set, or given parameter if does not.
func (*OptNilSessionID) SetToNull ¶
func (o *OptNilSessionID) SetToNull()
SetToNull sets value to null.
func (*OptNilSessionID) UnmarshalJSON ¶
func (s *OptNilSessionID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSessionResponseMetadata ¶
type OptNilSessionResponseMetadata struct {
Value SessionResponseMetadata
Set bool
Null bool
}
OptNilSessionResponseMetadata is optional nullable SessionResponseMetadata.
func NewOptNilSessionResponseMetadata ¶
func NewOptNilSessionResponseMetadata(v SessionResponseMetadata) OptNilSessionResponseMetadata
NewOptNilSessionResponseMetadata returns new OptNilSessionResponseMetadata with value set to v.
func (*OptNilSessionResponseMetadata) Decode ¶
func (o *OptNilSessionResponseMetadata) Decode(d *jx.Decoder) error
Decode decodes SessionResponseMetadata from json.
func (OptNilSessionResponseMetadata) Encode ¶
func (o OptNilSessionResponseMetadata) Encode(e *jx.Encoder)
Encode encodes SessionResponseMetadata as json.
func (OptNilSessionResponseMetadata) Get ¶
func (o OptNilSessionResponseMetadata) Get() (v SessionResponseMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSessionResponseMetadata) IsNull ¶
func (o OptNilSessionResponseMetadata) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSessionResponseMetadata) IsSet ¶
func (o OptNilSessionResponseMetadata) IsSet() bool
IsSet returns true if OptNilSessionResponseMetadata was set.
func (OptNilSessionResponseMetadata) MarshalJSON ¶
func (s OptNilSessionResponseMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptNilSessionResponseMetadata) Reset ¶
func (o *OptNilSessionResponseMetadata) Reset()
Reset unsets value.
func (*OptNilSessionResponseMetadata) SetTo ¶
func (o *OptNilSessionResponseMetadata) SetTo(v SessionResponseMetadata)
SetTo sets value to v.
func (*OptNilSessionResponseMetadata) SetToNull ¶
func (o *OptNilSessionResponseMetadata) SetToNull()
SetToNull sets value to null.
func (*OptNilSessionResponseMetadata) UnmarshalJSON ¶
func (s *OptNilSessionResponseMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilSessionResponseUserAgent ¶
type OptNilSessionResponseUserAgent struct {
Value SessionResponseUserAgent
Set bool
Null bool
}
OptNilSessionResponseUserAgent is optional nullable SessionResponseUserAgent.
func NewOptNilSessionResponseUserAgent ¶
func NewOptNilSessionResponseUserAgent(v SessionResponseUserAgent) OptNilSessionResponseUserAgent
NewOptNilSessionResponseUserAgent returns new OptNilSessionResponseUserAgent with value set to v.
func (*OptNilSessionResponseUserAgent) Decode ¶
func (o *OptNilSessionResponseUserAgent) Decode(d *jx.Decoder) error
Decode decodes SessionResponseUserAgent from json.
func (OptNilSessionResponseUserAgent) Encode ¶
func (o OptNilSessionResponseUserAgent) Encode(e *jx.Encoder)
Encode encodes SessionResponseUserAgent as json.
func (OptNilSessionResponseUserAgent) Get ¶
func (o OptNilSessionResponseUserAgent) Get() (v SessionResponseUserAgent, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSessionResponseUserAgent) IsNull ¶
func (o OptNilSessionResponseUserAgent) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSessionResponseUserAgent) IsSet ¶
func (o OptNilSessionResponseUserAgent) IsSet() bool
IsSet returns true if OptNilSessionResponseUserAgent was set.
func (OptNilSessionResponseUserAgent) MarshalJSON ¶
func (s OptNilSessionResponseUserAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptNilSessionResponseUserAgent) Reset ¶
func (o *OptNilSessionResponseUserAgent) Reset()
Reset unsets value.
func (*OptNilSessionResponseUserAgent) SetTo ¶
func (o *OptNilSessionResponseUserAgent) SetTo(v SessionResponseUserAgent)
SetTo sets value to v.
func (*OptNilSessionResponseUserAgent) SetToNull ¶
func (o *OptNilSessionResponseUserAgent) SetToNull()
SetToNull sets value to null.
func (*OptNilSessionResponseUserAgent) UnmarshalJSON ¶
func (s *OptNilSessionResponseUserAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
OptNilString is optional nullable string.
func NewOptNilString ¶
func NewOptNilString(v string) OptNilString
NewOptNilString returns new OptNilString with value set to v.
func (*OptNilString) Decode ¶
func (o *OptNilString) Decode(d *jx.Decoder) error
Decode decodes string from json.
func (OptNilString) Encode ¶
func (o OptNilString) Encode(e *jx.Encoder)
Encode encodes string as json.
func (OptNilString) Get ¶
func (o OptNilString) Get() (v string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilString) IsNull ¶
func (o OptNilString) IsNull() bool
IsNull returns true if value is Null.
func (OptNilString) IsSet ¶
func (o OptNilString) IsSet() bool
IsSet returns true if OptNilString was set.
func (OptNilString) MarshalJSON ¶
func (s OptNilString) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilString) Or ¶
func (o OptNilString) Or(d string) string
Or returns value if set, or given parameter if does not.
func (*OptNilString) UnmarshalJSON ¶
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilUserID ¶
OptNilUserID is optional nullable UserID.
func NewOptNilUserID ¶
func NewOptNilUserID(v UserID) OptNilUserID
NewOptNilUserID returns new OptNilUserID with value set to v.
func (*OptNilUserID) Decode ¶
func (o *OptNilUserID) Decode(d *jx.Decoder) error
Decode decodes UserID from json.
func (OptNilUserID) Encode ¶
func (o OptNilUserID) Encode(e *jx.Encoder)
Encode encodes UserID as json.
func (OptNilUserID) Get ¶
func (o OptNilUserID) Get() (v UserID, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilUserID) IsNull ¶
func (o OptNilUserID) IsNull() bool
IsNull returns true if value is Null.
func (OptNilUserID) IsSet ¶
func (o OptNilUserID) IsSet() bool
IsSet returns true if OptNilUserID was set.
func (OptNilUserID) MarshalJSON ¶
func (s OptNilUserID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilUserID) Or ¶
func (o OptNilUserID) Or(d UserID) UserID
Or returns value if set, or given parameter if does not.
func (*OptNilUserID) UnmarshalJSON ¶
func (s *OptNilUserID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilUserPropertyXMinusUnique ¶
type OptNilUserPropertyXMinusUnique struct {
Value UserPropertyXMinusUnique
Set bool
Null bool
}
OptNilUserPropertyXMinusUnique is optional nullable UserPropertyXMinusUnique.
func NewOptNilUserPropertyXMinusUnique ¶
func NewOptNilUserPropertyXMinusUnique(v UserPropertyXMinusUnique) OptNilUserPropertyXMinusUnique
NewOptNilUserPropertyXMinusUnique returns new OptNilUserPropertyXMinusUnique with value set to v.
func (*OptNilUserPropertyXMinusUnique) Decode ¶
func (o *OptNilUserPropertyXMinusUnique) Decode(d *jx.Decoder) error
Decode decodes UserPropertyXMinusUnique from json.
func (OptNilUserPropertyXMinusUnique) Encode ¶
func (o OptNilUserPropertyXMinusUnique) Encode(e *jx.Encoder)
Encode encodes UserPropertyXMinusUnique as json.
func (OptNilUserPropertyXMinusUnique) Get ¶
func (o OptNilUserPropertyXMinusUnique) Get() (v UserPropertyXMinusUnique, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilUserPropertyXMinusUnique) IsNull ¶
func (o OptNilUserPropertyXMinusUnique) IsNull() bool
IsNull returns true if value is Null.
func (OptNilUserPropertyXMinusUnique) IsSet ¶
func (o OptNilUserPropertyXMinusUnique) IsSet() bool
IsSet returns true if OptNilUserPropertyXMinusUnique was set.
func (OptNilUserPropertyXMinusUnique) MarshalJSON ¶
func (s OptNilUserPropertyXMinusUnique) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptNilUserPropertyXMinusUnique) Reset ¶
func (o *OptNilUserPropertyXMinusUnique) Reset()
Reset unsets value.
func (*OptNilUserPropertyXMinusUnique) SetTo ¶
func (o *OptNilUserPropertyXMinusUnique) SetTo(v UserPropertyXMinusUnique)
SetTo sets value to v.
func (*OptNilUserPropertyXMinusUnique) SetToNull ¶
func (o *OptNilUserPropertyXMinusUnique) SetToNull()
SetToNull sets value to null.
func (*OptNilUserPropertyXMinusUnique) UnmarshalJSON ¶
func (s *OptNilUserPropertyXMinusUnique) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPageToken ¶
OptPageToken is optional PageToken.
func NewOptPageToken ¶
func NewOptPageToken(v PageToken) OptPageToken
NewOptPageToken returns new OptPageToken with value set to v.
func (OptPageToken) Get ¶
func (o OptPageToken) Get() (v PageToken, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPageToken) IsSet ¶
func (o OptPageToken) IsSet() bool
IsSet returns true if OptPageToken was set.
func (OptPageToken) Or ¶
func (o OptPageToken) Or(d PageToken) PageToken
Or returns value if set, or given parameter if does not.
type OptPasskeyChallengePayloadPublicKeyUserVerification ¶
type OptPasskeyChallengePayloadPublicKeyUserVerification struct {
Value PasskeyChallengePayloadPublicKeyUserVerification
Set bool
}
OptPasskeyChallengePayloadPublicKeyUserVerification is optional PasskeyChallengePayloadPublicKeyUserVerification.
func NewOptPasskeyChallengePayloadPublicKeyUserVerification ¶
func NewOptPasskeyChallengePayloadPublicKeyUserVerification(v PasskeyChallengePayloadPublicKeyUserVerification) OptPasskeyChallengePayloadPublicKeyUserVerification
NewOptPasskeyChallengePayloadPublicKeyUserVerification returns new OptPasskeyChallengePayloadPublicKeyUserVerification with value set to v.
func (*OptPasskeyChallengePayloadPublicKeyUserVerification) Decode ¶
func (o *OptPasskeyChallengePayloadPublicKeyUserVerification) Decode(d *jx.Decoder) error
Decode decodes PasskeyChallengePayloadPublicKeyUserVerification from json.
func (OptPasskeyChallengePayloadPublicKeyUserVerification) Encode ¶
func (o OptPasskeyChallengePayloadPublicKeyUserVerification) Encode(e *jx.Encoder)
Encode encodes PasskeyChallengePayloadPublicKeyUserVerification as json.
func (OptPasskeyChallengePayloadPublicKeyUserVerification) Get ¶
func (o OptPasskeyChallengePayloadPublicKeyUserVerification) Get() (v PasskeyChallengePayloadPublicKeyUserVerification, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPasskeyChallengePayloadPublicKeyUserVerification) IsSet ¶
func (o OptPasskeyChallengePayloadPublicKeyUserVerification) IsSet() bool
IsSet returns true if OptPasskeyChallengePayloadPublicKeyUserVerification was set.
func (OptPasskeyChallengePayloadPublicKeyUserVerification) MarshalJSON ¶
func (s OptPasskeyChallengePayloadPublicKeyUserVerification) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPasskeyChallengePayloadPublicKeyUserVerification) Or ¶
func (o OptPasskeyChallengePayloadPublicKeyUserVerification) Or(d PasskeyChallengePayloadPublicKeyUserVerification) PasskeyChallengePayloadPublicKeyUserVerification
Or returns value if set, or given parameter if does not.
func (*OptPasskeyChallengePayloadPublicKeyUserVerification) Reset ¶
func (o *OptPasskeyChallengePayloadPublicKeyUserVerification) Reset()
Reset unsets value.
func (*OptPasskeyChallengePayloadPublicKeyUserVerification) SetTo ¶
func (o *OptPasskeyChallengePayloadPublicKeyUserVerification) SetTo(v PasskeyChallengePayloadPublicKeyUserVerification)
SetTo sets value to v.
func (*OptPasskeyChallengePayloadPublicKeyUserVerification) UnmarshalJSON ¶
func (s *OptPasskeyChallengePayloadPublicKeyUserVerification) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPasskeyFactorPayloadAuthenticatorAttachment ¶
type OptPasskeyFactorPayloadAuthenticatorAttachment struct {
Value PasskeyFactorPayloadAuthenticatorAttachment
Set bool
}
OptPasskeyFactorPayloadAuthenticatorAttachment is optional PasskeyFactorPayloadAuthenticatorAttachment.
func NewOptPasskeyFactorPayloadAuthenticatorAttachment ¶
func NewOptPasskeyFactorPayloadAuthenticatorAttachment(v PasskeyFactorPayloadAuthenticatorAttachment) OptPasskeyFactorPayloadAuthenticatorAttachment
NewOptPasskeyFactorPayloadAuthenticatorAttachment returns new OptPasskeyFactorPayloadAuthenticatorAttachment with value set to v.
func (*OptPasskeyFactorPayloadAuthenticatorAttachment) Decode ¶
func (o *OptPasskeyFactorPayloadAuthenticatorAttachment) Decode(d *jx.Decoder) error
Decode decodes PasskeyFactorPayloadAuthenticatorAttachment from json.
func (OptPasskeyFactorPayloadAuthenticatorAttachment) Encode ¶
func (o OptPasskeyFactorPayloadAuthenticatorAttachment) Encode(e *jx.Encoder)
Encode encodes PasskeyFactorPayloadAuthenticatorAttachment as json.
func (OptPasskeyFactorPayloadAuthenticatorAttachment) Get ¶
func (o OptPasskeyFactorPayloadAuthenticatorAttachment) Get() (v PasskeyFactorPayloadAuthenticatorAttachment, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPasskeyFactorPayloadAuthenticatorAttachment) IsSet ¶
func (o OptPasskeyFactorPayloadAuthenticatorAttachment) IsSet() bool
IsSet returns true if OptPasskeyFactorPayloadAuthenticatorAttachment was set.
func (OptPasskeyFactorPayloadAuthenticatorAttachment) MarshalJSON ¶
func (s OptPasskeyFactorPayloadAuthenticatorAttachment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPasskeyFactorPayloadAuthenticatorAttachment) Or ¶
func (o OptPasskeyFactorPayloadAuthenticatorAttachment) Or(d PasskeyFactorPayloadAuthenticatorAttachment) PasskeyFactorPayloadAuthenticatorAttachment
Or returns value if set, or given parameter if does not.
func (*OptPasskeyFactorPayloadAuthenticatorAttachment) Reset ¶
func (o *OptPasskeyFactorPayloadAuthenticatorAttachment) Reset()
Reset unsets value.
func (*OptPasskeyFactorPayloadAuthenticatorAttachment) SetTo ¶
func (o *OptPasskeyFactorPayloadAuthenticatorAttachment) SetTo(v PasskeyFactorPayloadAuthenticatorAttachment)
SetTo sets value to v.
func (*OptPasskeyFactorPayloadAuthenticatorAttachment) UnmarshalJSON ¶
func (s *OptPasskeyFactorPayloadAuthenticatorAttachment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPostTokenRequestGrantType ¶
type OptPostTokenRequestGrantType struct {
Value PostTokenRequestGrantType
Set bool
}
OptPostTokenRequestGrantType is optional PostTokenRequestGrantType.
func NewOptPostTokenRequestGrantType ¶
func NewOptPostTokenRequestGrantType(v PostTokenRequestGrantType) OptPostTokenRequestGrantType
NewOptPostTokenRequestGrantType returns new OptPostTokenRequestGrantType with value set to v.
func (OptPostTokenRequestGrantType) Get ¶
func (o OptPostTokenRequestGrantType) Get() (v PostTokenRequestGrantType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPostTokenRequestGrantType) IsSet ¶
func (o OptPostTokenRequestGrantType) IsSet() bool
IsSet returns true if OptPostTokenRequestGrantType was set.
func (*OptPostTokenRequestGrantType) Reset ¶
func (o *OptPostTokenRequestGrantType) Reset()
Reset unsets value.
func (*OptPostTokenRequestGrantType) SetTo ¶
func (o *OptPostTokenRequestGrantType) SetTo(v PostTokenRequestGrantType)
SetTo sets value to v.
type OptSchemaURI ¶
OptSchemaURI is optional SchemaURI.
func NewOptSchemaURI ¶
func NewOptSchemaURI(v SchemaURI) OptSchemaURI
NewOptSchemaURI returns new OptSchemaURI with value set to v.
func (*OptSchemaURI) Decode ¶
func (o *OptSchemaURI) Decode(d *jx.Decoder) error
Decode decodes SchemaURI from json.
func (OptSchemaURI) Encode ¶
func (o OptSchemaURI) Encode(e *jx.Encoder)
Encode encodes SchemaURI as json.
func (OptSchemaURI) Get ¶
func (o OptSchemaURI) Get() (v SchemaURI, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSchemaURI) IsSet ¶
func (o OptSchemaURI) IsSet() bool
IsSet returns true if OptSchemaURI was set.
func (OptSchemaURI) MarshalJSON ¶
func (s OptSchemaURI) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSchemaURI) Or ¶
func (o OptSchemaURI) Or(d SchemaURI) SchemaURI
Or returns value if set, or given parameter if does not.
func (*OptSchemaURI) UnmarshalJSON ¶
func (s *OptSchemaURI) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStepTexts ¶
OptStepTexts is optional StepTexts.
func NewOptStepTexts ¶
func NewOptStepTexts(v StepTexts) OptStepTexts
NewOptStepTexts returns new OptStepTexts with value set to v.
func (*OptStepTexts) Decode ¶
func (o *OptStepTexts) Decode(d *jx.Decoder) error
Decode decodes StepTexts from json.
func (OptStepTexts) Encode ¶
func (o OptStepTexts) Encode(e *jx.Encoder)
Encode encodes StepTexts as json.
func (OptStepTexts) Get ¶
func (o OptStepTexts) Get() (v StepTexts, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStepTexts) IsSet ¶
func (o OptStepTexts) IsSet() bool
IsSet returns true if OptStepTexts was set.
func (OptStepTexts) MarshalJSON ¶
func (s OptStepTexts) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStepTexts) Or ¶
func (o OptStepTexts) Or(d StepTexts) StepTexts
Or returns value if set, or given parameter if does not.
func (*OptStepTexts) UnmarshalJSON ¶
func (s *OptStepTexts) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTeamID ¶
OptTeamID is optional TeamID.
func NewOptTeamID ¶
NewOptTeamID returns new OptTeamID with value set to v.
type OptURI ¶
OptURI is optional url.URL.
func (OptURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUserID ¶
OptUserID is optional UserID.
func NewOptUserID ¶
NewOptUserID returns new OptUserID with value set to v.
func (OptUserID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptUserID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUserNotFoundDetails ¶
type OptUserNotFoundDetails struct {
Value UserNotFoundDetails
Set bool
}
OptUserNotFoundDetails is optional UserNotFoundDetails.
func NewOptUserNotFoundDetails ¶
func NewOptUserNotFoundDetails(v UserNotFoundDetails) OptUserNotFoundDetails
NewOptUserNotFoundDetails returns new OptUserNotFoundDetails with value set to v.
func (*OptUserNotFoundDetails) Decode ¶
func (o *OptUserNotFoundDetails) Decode(d *jx.Decoder) error
Decode decodes UserNotFoundDetails from json.
func (OptUserNotFoundDetails) Encode ¶
func (o OptUserNotFoundDetails) Encode(e *jx.Encoder)
Encode encodes UserNotFoundDetails as json.
func (OptUserNotFoundDetails) Get ¶
func (o OptUserNotFoundDetails) Get() (v UserNotFoundDetails, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUserNotFoundDetails) IsSet ¶
func (o OptUserNotFoundDetails) IsSet() bool
IsSet returns true if OptUserNotFoundDetails was set.
func (OptUserNotFoundDetails) MarshalJSON ¶
func (s OptUserNotFoundDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUserNotFoundDetails) Or ¶
func (o OptUserNotFoundDetails) Or(d UserNotFoundDetails) UserNotFoundDetails
Or returns value if set, or given parameter if does not.
func (*OptUserNotFoundDetails) SetTo ¶
func (o *OptUserNotFoundDetails) SetTo(v UserNotFoundDetails)
SetTo sets value to v.
func (*OptUserNotFoundDetails) UnmarshalJSON ¶
func (s *OptUserNotFoundDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUserPropertyProperties ¶
type OptUserPropertyProperties struct {
Value UserPropertyProperties
Set bool
}
OptUserPropertyProperties is optional UserPropertyProperties.
func NewOptUserPropertyProperties ¶
func NewOptUserPropertyProperties(v UserPropertyProperties) OptUserPropertyProperties
NewOptUserPropertyProperties returns new OptUserPropertyProperties with value set to v.
func (*OptUserPropertyProperties) Decode ¶
func (o *OptUserPropertyProperties) Decode(d *jx.Decoder) error
Decode decodes UserPropertyProperties from json.
func (OptUserPropertyProperties) Encode ¶
func (o OptUserPropertyProperties) Encode(e *jx.Encoder)
Encode encodes UserPropertyProperties as json.
func (OptUserPropertyProperties) Get ¶
func (o OptUserPropertyProperties) Get() (v UserPropertyProperties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUserPropertyProperties) IsSet ¶
func (o OptUserPropertyProperties) IsSet() bool
IsSet returns true if OptUserPropertyProperties was set.
func (OptUserPropertyProperties) MarshalJSON ¶
func (s OptUserPropertyProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptUserPropertyProperties) Reset ¶
func (o *OptUserPropertyProperties) Reset()
Reset unsets value.
func (*OptUserPropertyProperties) SetTo ¶
func (o *OptUserPropertyProperties) SetTo(v UserPropertyProperties)
SetTo sets value to v.
func (*OptUserPropertyProperties) UnmarshalJSON ¶
func (s *OptUserPropertyProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUserSchemaProperties ¶
type OptUserSchemaProperties struct {
Value UserSchemaProperties
Set bool
}
OptUserSchemaProperties is optional UserSchemaProperties.
func NewOptUserSchemaProperties ¶
func NewOptUserSchemaProperties(v UserSchemaProperties) OptUserSchemaProperties
NewOptUserSchemaProperties returns new OptUserSchemaProperties with value set to v.
func (*OptUserSchemaProperties) Decode ¶
func (o *OptUserSchemaProperties) Decode(d *jx.Decoder) error
Decode decodes UserSchemaProperties from json.
func (OptUserSchemaProperties) Encode ¶
func (o OptUserSchemaProperties) Encode(e *jx.Encoder)
Encode encodes UserSchemaProperties as json.
func (OptUserSchemaProperties) Get ¶
func (o OptUserSchemaProperties) Get() (v UserSchemaProperties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUserSchemaProperties) IsSet ¶
func (o OptUserSchemaProperties) IsSet() bool
IsSet returns true if OptUserSchemaProperties was set.
func (OptUserSchemaProperties) MarshalJSON ¶
func (s OptUserSchemaProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUserSchemaProperties) Or ¶
func (o OptUserSchemaProperties) Or(d UserSchemaProperties) UserSchemaProperties
Or returns value if set, or given parameter if does not.
func (*OptUserSchemaProperties) Reset ¶
func (o *OptUserSchemaProperties) Reset()
Reset unsets value.
func (*OptUserSchemaProperties) SetTo ¶
func (o *OptUserSchemaProperties) SetTo(v UserSchemaProperties)
SetTo sets value to v.
func (*OptUserSchemaProperties) UnmarshalJSON ¶
func (s *OptUserSchemaProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface {
ServerOption
ClientOption
}
Option is config option.
func WithAttributes ¶
WithAttributes specifies default otel attributes.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PageToken ¶
type PageToken string
func (PageToken) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*PageToken) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PasskeyChallengePayload ¶
type PasskeyChallengePayload struct {
// Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).
// See also: https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialrequestoptions.
PublicKey PasskeyChallengePayloadPublicKey `json:"public_key"`
}
WebAuthn-specific challenge data for passkey authentication. Ref: #
func (*PasskeyChallengePayload) Decode ¶
func (s *PasskeyChallengePayload) Decode(d *jx.Decoder) error
Decode decodes PasskeyChallengePayload from json.
func (*PasskeyChallengePayload) Encode ¶
func (s *PasskeyChallengePayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeyChallengePayload) GetPublicKey ¶
func (s *PasskeyChallengePayload) GetPublicKey() PasskeyChallengePayloadPublicKey
GetPublicKey returns the value of PublicKey.
func (*PasskeyChallengePayload) MarshalJSON ¶
func (s *PasskeyChallengePayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyChallengePayload) SetPublicKey ¶
func (s *PasskeyChallengePayload) SetPublicKey(val PasskeyChallengePayloadPublicKey)
SetPublicKey sets the value of PublicKey.
func (*PasskeyChallengePayload) UnmarshalJSON ¶
func (s *PasskeyChallengePayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyChallengePayload) Validate ¶
func (s *PasskeyChallengePayload) Validate() error
type PasskeyChallengePayloadPublicKey ¶
type PasskeyChallengePayloadPublicKey struct {
// Base64-encoded WebAuthn challenge.
Challenge string `json:"challenge"`
// List of credential IDs that can be used for this authentication.
AllowedCredentials []PasskeyChallengePayloadPublicKeyAllowedCredentialsItem `json:"allowed_credentials"`
// User verification requirement for this challenge.
UserVerification OptPasskeyChallengePayloadPublicKeyUserVerification `json:"user_verification"`
// Relying Party ID for WebAuthn.
RpID OptString `json:"rp_id"`
}
Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions). See also: https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialrequestoptions.
func (*PasskeyChallengePayloadPublicKey) Decode ¶
func (s *PasskeyChallengePayloadPublicKey) Decode(d *jx.Decoder) error
Decode decodes PasskeyChallengePayloadPublicKey from json.
func (*PasskeyChallengePayloadPublicKey) Encode ¶
func (s *PasskeyChallengePayloadPublicKey) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeyChallengePayloadPublicKey) GetAllowedCredentials ¶
func (s *PasskeyChallengePayloadPublicKey) GetAllowedCredentials() []PasskeyChallengePayloadPublicKeyAllowedCredentialsItem
GetAllowedCredentials returns the value of AllowedCredentials.
func (*PasskeyChallengePayloadPublicKey) GetChallenge ¶
func (s *PasskeyChallengePayloadPublicKey) GetChallenge() string
GetChallenge returns the value of Challenge.
func (*PasskeyChallengePayloadPublicKey) GetRpID ¶
func (s *PasskeyChallengePayloadPublicKey) GetRpID() OptString
GetRpID returns the value of RpID.
func (*PasskeyChallengePayloadPublicKey) GetUserVerification ¶
func (s *PasskeyChallengePayloadPublicKey) GetUserVerification() OptPasskeyChallengePayloadPublicKeyUserVerification
GetUserVerification returns the value of UserVerification.
func (*PasskeyChallengePayloadPublicKey) MarshalJSON ¶
func (s *PasskeyChallengePayloadPublicKey) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyChallengePayloadPublicKey) SetAllowedCredentials ¶
func (s *PasskeyChallengePayloadPublicKey) SetAllowedCredentials(val []PasskeyChallengePayloadPublicKeyAllowedCredentialsItem)
SetAllowedCredentials sets the value of AllowedCredentials.
func (*PasskeyChallengePayloadPublicKey) SetChallenge ¶
func (s *PasskeyChallengePayloadPublicKey) SetChallenge(val string)
SetChallenge sets the value of Challenge.
func (*PasskeyChallengePayloadPublicKey) SetRpID ¶
func (s *PasskeyChallengePayloadPublicKey) SetRpID(val OptString)
SetRpID sets the value of RpID.
func (*PasskeyChallengePayloadPublicKey) SetUserVerification ¶
func (s *PasskeyChallengePayloadPublicKey) SetUserVerification(val OptPasskeyChallengePayloadPublicKeyUserVerification)
SetUserVerification sets the value of UserVerification.
func (*PasskeyChallengePayloadPublicKey) UnmarshalJSON ¶
func (s *PasskeyChallengePayloadPublicKey) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyChallengePayloadPublicKey) Validate ¶
func (s *PasskeyChallengePayloadPublicKey) Validate() error
type PasskeyChallengePayloadPublicKeyAllowedCredentialsItem ¶
type PasskeyChallengePayloadPublicKeyAllowedCredentialsItem struct {
// Base64-encoded credential ID.
ID string `json:"id"`
Type PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType `json:"type"`
}
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Decode ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Decode(d *jx.Decoder) error
Decode decodes PasskeyChallengePayloadPublicKeyAllowedCredentialsItem from json.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Encode ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) GetID ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) GetID() string
GetID returns the value of ID.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) GetType ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) GetType() PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType
GetType returns the value of Type.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) MarshalJSON ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) SetID ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) SetID(val string)
SetID sets the value of ID.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) SetType ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) SetType(val PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType)
SetType sets the value of Type.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) UnmarshalJSON ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Validate ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItem) Validate() error
type PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType ¶
type PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType string
const (
PasskeyChallengePayloadPublicKeyAllowedCredentialsItemTypePublicKey PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType = "public-key"
)
func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) AllValues ¶
func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) AllValues() []PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType
AllValues returns all PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType values.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Decode ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Decode(d *jx.Decoder) error
Decode decodes PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType from json.
func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Encode ¶
func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Encode(e *jx.Encoder)
Encode encodes PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType as json.
func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) MarshalJSON ¶
func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) MarshalText ¶
func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) UnmarshalJSON ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) UnmarshalText ¶
func (s *PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Validate ¶
func (s PasskeyChallengePayloadPublicKeyAllowedCredentialsItemType) Validate() error
type PasskeyChallengePayloadPublicKeyUserVerification ¶
type PasskeyChallengePayloadPublicKeyUserVerification string
User verification requirement for this challenge.
const ( PasskeyChallengePayloadPublicKeyUserVerificationRequired PasskeyChallengePayloadPublicKeyUserVerification = "required" PasskeyChallengePayloadPublicKeyUserVerificationPreferred PasskeyChallengePayloadPublicKeyUserVerification = "preferred" PasskeyChallengePayloadPublicKeyUserVerificationDiscouraged PasskeyChallengePayloadPublicKeyUserVerification = "discouraged" )
func (PasskeyChallengePayloadPublicKeyUserVerification) AllValues ¶
func (PasskeyChallengePayloadPublicKeyUserVerification) AllValues() []PasskeyChallengePayloadPublicKeyUserVerification
AllValues returns all PasskeyChallengePayloadPublicKeyUserVerification values.
func (*PasskeyChallengePayloadPublicKeyUserVerification) Decode ¶
func (s *PasskeyChallengePayloadPublicKeyUserVerification) Decode(d *jx.Decoder) error
Decode decodes PasskeyChallengePayloadPublicKeyUserVerification from json.
func (PasskeyChallengePayloadPublicKeyUserVerification) Encode ¶
func (s PasskeyChallengePayloadPublicKeyUserVerification) Encode(e *jx.Encoder)
Encode encodes PasskeyChallengePayloadPublicKeyUserVerification as json.
func (PasskeyChallengePayloadPublicKeyUserVerification) MarshalJSON ¶
func (s PasskeyChallengePayloadPublicKeyUserVerification) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PasskeyChallengePayloadPublicKeyUserVerification) MarshalText ¶
func (s PasskeyChallengePayloadPublicKeyUserVerification) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PasskeyChallengePayloadPublicKeyUserVerification) UnmarshalJSON ¶
func (s *PasskeyChallengePayloadPublicKeyUserVerification) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyChallengePayloadPublicKeyUserVerification) UnmarshalText ¶
func (s *PasskeyChallengePayloadPublicKeyUserVerification) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PasskeyChallengePayloadPublicKeyUserVerification) Validate ¶
func (s PasskeyChallengePayloadPublicKeyUserVerification) Validate() error
type PasskeyFactorPayload ¶
type PasskeyFactorPayload struct {
// The credential ID that was used.
CredentialID string `json:"credential_id"`
// Whether user verification was performed (PIN/biometric).
UserVerified bool `json:"user_verified"`
// Whether the credential is backup eligible (can be synced).
BackupEligible OptBool `json:"backup_eligible"`
// Whether the credential is currently backed up.
BackupState OptBool `json:"backup_state"`
// Authenticator attachment modality.
AuthenticatorAttachment OptPasskeyFactorPayloadAuthenticatorAttachment `json:"authenticator_attachment"`
}
Passkey-specific factor metadata including credential and verification details. Ref: #
func (*PasskeyFactorPayload) Decode ¶
func (s *PasskeyFactorPayload) Decode(d *jx.Decoder) error
Decode decodes PasskeyFactorPayload from json.
func (*PasskeyFactorPayload) Encode ¶
func (s *PasskeyFactorPayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeyFactorPayload) GetAuthenticatorAttachment ¶
func (s *PasskeyFactorPayload) GetAuthenticatorAttachment() OptPasskeyFactorPayloadAuthenticatorAttachment
GetAuthenticatorAttachment returns the value of AuthenticatorAttachment.
func (*PasskeyFactorPayload) GetBackupEligible ¶
func (s *PasskeyFactorPayload) GetBackupEligible() OptBool
GetBackupEligible returns the value of BackupEligible.
func (*PasskeyFactorPayload) GetBackupState ¶
func (s *PasskeyFactorPayload) GetBackupState() OptBool
GetBackupState returns the value of BackupState.
func (*PasskeyFactorPayload) GetCredentialID ¶
func (s *PasskeyFactorPayload) GetCredentialID() string
GetCredentialID returns the value of CredentialID.
func (*PasskeyFactorPayload) GetUserVerified ¶
func (s *PasskeyFactorPayload) GetUserVerified() bool
GetUserVerified returns the value of UserVerified.
func (*PasskeyFactorPayload) MarshalJSON ¶
func (s *PasskeyFactorPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyFactorPayload) SetAuthenticatorAttachment ¶
func (s *PasskeyFactorPayload) SetAuthenticatorAttachment(val OptPasskeyFactorPayloadAuthenticatorAttachment)
SetAuthenticatorAttachment sets the value of AuthenticatorAttachment.
func (*PasskeyFactorPayload) SetBackupEligible ¶
func (s *PasskeyFactorPayload) SetBackupEligible(val OptBool)
SetBackupEligible sets the value of BackupEligible.
func (*PasskeyFactorPayload) SetBackupState ¶
func (s *PasskeyFactorPayload) SetBackupState(val OptBool)
SetBackupState sets the value of BackupState.
func (*PasskeyFactorPayload) SetCredentialID ¶
func (s *PasskeyFactorPayload) SetCredentialID(val string)
SetCredentialID sets the value of CredentialID.
func (*PasskeyFactorPayload) SetUserVerified ¶
func (s *PasskeyFactorPayload) SetUserVerified(val bool)
SetUserVerified sets the value of UserVerified.
func (*PasskeyFactorPayload) UnmarshalJSON ¶
func (s *PasskeyFactorPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyFactorPayload) Validate ¶
func (s *PasskeyFactorPayload) Validate() error
type PasskeyFactorPayloadAuthenticatorAttachment ¶
type PasskeyFactorPayloadAuthenticatorAttachment string
Authenticator attachment modality.
const ( PasskeyFactorPayloadAuthenticatorAttachmentPlatform PasskeyFactorPayloadAuthenticatorAttachment = "platform" PasskeyFactorPayloadAuthenticatorAttachmentCrossPlatform PasskeyFactorPayloadAuthenticatorAttachment = "cross-platform" )
func (PasskeyFactorPayloadAuthenticatorAttachment) AllValues ¶
func (PasskeyFactorPayloadAuthenticatorAttachment) AllValues() []PasskeyFactorPayloadAuthenticatorAttachment
AllValues returns all PasskeyFactorPayloadAuthenticatorAttachment values.
func (*PasskeyFactorPayloadAuthenticatorAttachment) Decode ¶
func (s *PasskeyFactorPayloadAuthenticatorAttachment) Decode(d *jx.Decoder) error
Decode decodes PasskeyFactorPayloadAuthenticatorAttachment from json.
func (PasskeyFactorPayloadAuthenticatorAttachment) Encode ¶
func (s PasskeyFactorPayloadAuthenticatorAttachment) Encode(e *jx.Encoder)
Encode encodes PasskeyFactorPayloadAuthenticatorAttachment as json.
func (PasskeyFactorPayloadAuthenticatorAttachment) MarshalJSON ¶
func (s PasskeyFactorPayloadAuthenticatorAttachment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PasskeyFactorPayloadAuthenticatorAttachment) MarshalText ¶
func (s PasskeyFactorPayloadAuthenticatorAttachment) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PasskeyFactorPayloadAuthenticatorAttachment) UnmarshalJSON ¶
func (s *PasskeyFactorPayloadAuthenticatorAttachment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PasskeyFactorPayloadAuthenticatorAttachment) UnmarshalText ¶
func (s *PasskeyFactorPayloadAuthenticatorAttachment) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PasskeyFactorPayloadAuthenticatorAttachment) Validate ¶
func (s PasskeyFactorPayloadAuthenticatorAttachment) Validate() error
type PasskeyProof ¶
type PasskeyProof struct {
// WebAuthn passkey assertion.
Passkey PasskeyProofPasskey `json:"passkey"`
}
Proof for `passkey` method. Ref: #
func (*PasskeyProof) Decode ¶
func (s *PasskeyProof) Decode(d *jx.Decoder) error
Decode decodes PasskeyProof from json.
func (*PasskeyProof) Encode ¶
func (s *PasskeyProof) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeyProof) GetPasskey ¶
func (s *PasskeyProof) GetPasskey() PasskeyProofPasskey
GetPasskey returns the value of Passkey.
func (*PasskeyProof) MarshalJSON ¶
func (s *PasskeyProof) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyProof) SetPasskey ¶
func (s *PasskeyProof) SetPasskey(val PasskeyProofPasskey)
SetPasskey sets the value of Passkey.
func (*PasskeyProof) UnmarshalJSON ¶
func (s *PasskeyProof) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PasskeyProofPasskey ¶
type PasskeyProofPasskey struct {
// The WebAuthn AssertionResponse object.
Assertion PasskeyProofPasskeyAssertion `json:"assertion"`
}
WebAuthn passkey assertion.
func (*PasskeyProofPasskey) Decode ¶
func (s *PasskeyProofPasskey) Decode(d *jx.Decoder) error
Decode decodes PasskeyProofPasskey from json.
func (*PasskeyProofPasskey) Encode ¶
func (s *PasskeyProofPasskey) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasskeyProofPasskey) GetAssertion ¶
func (s *PasskeyProofPasskey) GetAssertion() PasskeyProofPasskeyAssertion
GetAssertion returns the value of Assertion.
func (*PasskeyProofPasskey) MarshalJSON ¶
func (s *PasskeyProofPasskey) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyProofPasskey) SetAssertion ¶
func (s *PasskeyProofPasskey) SetAssertion(val PasskeyProofPasskeyAssertion)
SetAssertion sets the value of Assertion.
func (*PasskeyProofPasskey) UnmarshalJSON ¶
func (s *PasskeyProofPasskey) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PasskeyProofPasskeyAssertion ¶
The WebAuthn AssertionResponse object.
func (*PasskeyProofPasskeyAssertion) Decode ¶
func (s *PasskeyProofPasskeyAssertion) Decode(d *jx.Decoder) error
Decode decodes PasskeyProofPasskeyAssertion from json.
func (PasskeyProofPasskeyAssertion) Encode ¶
func (s PasskeyProofPasskeyAssertion) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PasskeyProofPasskeyAssertion) MarshalJSON ¶
func (s PasskeyProofPasskeyAssertion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasskeyProofPasskeyAssertion) UnmarshalJSON ¶
func (s *PasskeyProofPasskeyAssertion) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PasswordChallengePayload ¶
type PasswordChallengePayload struct{}
Password challenge has no additional data beyond base challenge fields. Ref: #
func (*PasswordChallengePayload) Decode ¶
func (s *PasswordChallengePayload) Decode(d *jx.Decoder) error
Decode decodes PasswordChallengePayload from json.
func (*PasswordChallengePayload) Encode ¶
func (s *PasswordChallengePayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasswordChallengePayload) MarshalJSON ¶
func (s *PasswordChallengePayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasswordChallengePayload) UnmarshalJSON ¶
func (s *PasswordChallengePayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PasswordFactorPayload ¶
type PasswordFactorPayload struct{}
Password authentication has no additional metadata beyond the base factor fields. Ref: #
func (*PasswordFactorPayload) Decode ¶
func (s *PasswordFactorPayload) Decode(d *jx.Decoder) error
Decode decodes PasswordFactorPayload from json.
func (*PasswordFactorPayload) Encode ¶
func (s *PasswordFactorPayload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasswordFactorPayload) MarshalJSON ¶
func (s *PasswordFactorPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasswordFactorPayload) UnmarshalJSON ¶
func (s *PasswordFactorPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PasswordProof ¶
type PasswordProof struct {
// The password being verified.
Password string `json:"password"`
}
Proof for `password` method. Ref: #
func (*PasswordProof) Decode ¶
func (s *PasswordProof) Decode(d *jx.Decoder) error
Decode decodes PasswordProof from json.
func (*PasswordProof) Encode ¶
func (s *PasswordProof) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PasswordProof) GetPassword ¶
func (s *PasswordProof) GetPassword() string
GetPassword returns the value of Password.
func (*PasswordProof) MarshalJSON ¶
func (s *PasswordProof) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PasswordProof) SetPassword ¶
func (s *PasswordProof) SetPassword(val string)
SetPassword sets the value of Password.
func (*PasswordProof) UnmarshalJSON ¶
func (s *PasswordProof) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PostTokenRequest ¶
type PostTokenRequest struct {
// The authorization code received from the authorization server. Required
// for the authorization_code grant type.
Code OptString `json:"code"`
// The client assertion, typically a JWT, used for client authentication.
ClientAssertion OptString `json:"client_assertion"`
// The type of client assertion being used. Required when the client is
// authenticating using a JWT assertion.
ClientAssertionType OptString `json:"client_assertion_type"`
// The client identifier issued to the client during the registration
// process. Required for all grant types.
ClientID OptString `json:"client_id"`
// The client secret issued to the client during the registration process.
// Required for all grant types except when using public clients.
ClientSecret OptString `json:"client_secret"`
// The code verifier used in PKCE (Proof Key for Code Exchange) flows. Required
// for the authorization_code grant type when PKCE is used.
CodeVerifier OptString `json:"code_verifier"`
// The type of grant being requested.
GrantType OptPostTokenRequestGrantType `json:"grant_type"`
// The redirect URI used in the authorization request. Required for the
// authorization_code grant type.
RedirectURI OptURI `json:"redirect_uri"`
}
Ref: #
func (*PostTokenRequest) GetClientAssertion ¶
func (s *PostTokenRequest) GetClientAssertion() OptString
GetClientAssertion returns the value of ClientAssertion.
func (*PostTokenRequest) GetClientAssertionType ¶
func (s *PostTokenRequest) GetClientAssertionType() OptString
GetClientAssertionType returns the value of ClientAssertionType.
func (*PostTokenRequest) GetClientID ¶
func (s *PostTokenRequest) GetClientID() OptString
GetClientID returns the value of ClientID.
func (*PostTokenRequest) GetClientSecret ¶
func (s *PostTokenRequest) GetClientSecret() OptString
GetClientSecret returns the value of ClientSecret.
func (*PostTokenRequest) GetCode ¶
func (s *PostTokenRequest) GetCode() OptString
GetCode returns the value of Code.
func (*PostTokenRequest) GetCodeVerifier ¶
func (s *PostTokenRequest) GetCodeVerifier() OptString
GetCodeVerifier returns the value of CodeVerifier.
func (*PostTokenRequest) GetGrantType ¶
func (s *PostTokenRequest) GetGrantType() OptPostTokenRequestGrantType
GetGrantType returns the value of GrantType.
func (*PostTokenRequest) GetRedirectURI ¶
func (s *PostTokenRequest) GetRedirectURI() OptURI
GetRedirectURI returns the value of RedirectURI.
func (*PostTokenRequest) SetClientAssertion ¶
func (s *PostTokenRequest) SetClientAssertion(val OptString)
SetClientAssertion sets the value of ClientAssertion.
func (*PostTokenRequest) SetClientAssertionType ¶
func (s *PostTokenRequest) SetClientAssertionType(val OptString)
SetClientAssertionType sets the value of ClientAssertionType.
func (*PostTokenRequest) SetClientID ¶
func (s *PostTokenRequest) SetClientID(val OptString)
SetClientID sets the value of ClientID.
func (*PostTokenRequest) SetClientSecret ¶
func (s *PostTokenRequest) SetClientSecret(val OptString)
SetClientSecret sets the value of ClientSecret.
func (*PostTokenRequest) SetCode ¶
func (s *PostTokenRequest) SetCode(val OptString)
SetCode sets the value of Code.
func (*PostTokenRequest) SetCodeVerifier ¶
func (s *PostTokenRequest) SetCodeVerifier(val OptString)
SetCodeVerifier sets the value of CodeVerifier.
func (*PostTokenRequest) SetGrantType ¶
func (s *PostTokenRequest) SetGrantType(val OptPostTokenRequestGrantType)
SetGrantType sets the value of GrantType.
func (*PostTokenRequest) SetRedirectURI ¶
func (s *PostTokenRequest) SetRedirectURI(val OptURI)
SetRedirectURI sets the value of RedirectURI.
func (*PostTokenRequest) Validate ¶
func (s *PostTokenRequest) Validate() error
type PostTokenRequestGrantType ¶
type PostTokenRequestGrantType string
The type of grant being requested.
const ( PostTokenRequestGrantTypeAuthorizationCode PostTokenRequestGrantType = "authorization_code" PostTokenRequestGrantTypeClientCredentials PostTokenRequestGrantType = "client_credentials" PostTokenRequestGrantTypePassword PostTokenRequestGrantType = "password" PostTokenRequestGrantTypeRefreshToken PostTokenRequestGrantType = "refresh_token" )
func (PostTokenRequestGrantType) AllValues ¶
func (PostTokenRequestGrantType) AllValues() []PostTokenRequestGrantType
AllValues returns all PostTokenRequestGrantType values.
func (PostTokenRequestGrantType) MarshalText ¶
func (s PostTokenRequestGrantType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PostTokenRequestGrantType) UnmarshalText ¶
func (s *PostTokenRequestGrantType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PostTokenRequestGrantType) Validate ¶
func (s PostTokenRequestGrantType) Validate() error
type ProjectID ¶
type ProjectID string
func (ProjectID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ProjectID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeMySessionConflict ¶
type RevokeMySessionConflict ErrorDetails
func (*RevokeMySessionConflict) Decode ¶
func (s *RevokeMySessionConflict) Decode(d *jx.Decoder) error
Decode decodes RevokeMySessionConflict from json.
func (*RevokeMySessionConflict) Encode ¶
func (s *RevokeMySessionConflict) Encode(e *jx.Encoder)
Encode encodes RevokeMySessionConflict as json.
func (*RevokeMySessionConflict) MarshalJSON ¶
func (s *RevokeMySessionConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeMySessionConflict) UnmarshalJSON ¶
func (s *RevokeMySessionConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeMySessionNoContent ¶
type RevokeMySessionNoContent struct {
SetCookie string
}
RevokeMySessionNoContent is response for RevokeMySession operation.
func (*RevokeMySessionNoContent) GetSetCookie ¶
func (s *RevokeMySessionNoContent) GetSetCookie() string
GetSetCookie returns the value of SetCookie.
func (*RevokeMySessionNoContent) SetSetCookie ¶
func (s *RevokeMySessionNoContent) SetSetCookie(val string)
SetSetCookie sets the value of SetCookie.
type RevokeMySessionNotFound ¶
type RevokeMySessionNotFound ErrorDetails
func (*RevokeMySessionNotFound) Decode ¶
func (s *RevokeMySessionNotFound) Decode(d *jx.Decoder) error
Decode decodes RevokeMySessionNotFound from json.
func (*RevokeMySessionNotFound) Encode ¶
func (s *RevokeMySessionNotFound) Encode(e *jx.Encoder)
Encode encodes RevokeMySessionNotFound as json.
func (*RevokeMySessionNotFound) MarshalJSON ¶
func (s *RevokeMySessionNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeMySessionNotFound) UnmarshalJSON ¶
func (s *RevokeMySessionNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeMySessionParams ¶
type RevokeMySessionParams struct {
// The __nextgen_session cookie issued at session creation or superseding handoff exchange.
NextgenSession string
}
RevokeMySessionParams is parameters of revokeMySession operation.
type RevokeMySessionRes ¶
type RevokeMySessionRes interface {
// contains filtered or unexported methods
}
type RevokeMySessionUnauthorized ¶
type RevokeMySessionUnauthorized ErrorDetails
func (*RevokeMySessionUnauthorized) Decode ¶
func (s *RevokeMySessionUnauthorized) Decode(d *jx.Decoder) error
Decode decodes RevokeMySessionUnauthorized from json.
func (*RevokeMySessionUnauthorized) Encode ¶
func (s *RevokeMySessionUnauthorized) Encode(e *jx.Encoder)
Encode encodes RevokeMySessionUnauthorized as json.
func (*RevokeMySessionUnauthorized) MarshalJSON ¶
func (s *RevokeMySessionUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeMySessionUnauthorized) UnmarshalJSON ¶
func (s *RevokeMySessionUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeRequest ¶
type RevokeRequest struct {
// The token to revoke (access token or refresh token).
Token OptString `json:"token"`
// Optional hint about the type of the token being revoked (access_token or refresh_token).
TokenTypeHint OptString `json:"token_type_hint"`
}
Ref: #
func (*RevokeRequest) GetToken ¶
func (s *RevokeRequest) GetToken() OptString
GetToken returns the value of Token.
func (*RevokeRequest) GetTokenTypeHint ¶
func (s *RevokeRequest) GetTokenTypeHint() OptString
GetTokenTypeHint returns the value of TokenTypeHint.
func (*RevokeRequest) SetToken ¶
func (s *RevokeRequest) SetToken(val OptString)
SetToken sets the value of Token.
func (*RevokeRequest) SetTokenTypeHint ¶
func (s *RevokeRequest) SetTokenTypeHint(val OptString)
SetTokenTypeHint sets the value of TokenTypeHint.
type RevokeSessionConflict ¶
type RevokeSessionConflict ErrorDetails
func (*RevokeSessionConflict) Decode ¶
func (s *RevokeSessionConflict) Decode(d *jx.Decoder) error
Decode decodes RevokeSessionConflict from json.
func (*RevokeSessionConflict) Encode ¶
func (s *RevokeSessionConflict) Encode(e *jx.Encoder)
Encode encodes RevokeSessionConflict as json.
func (*RevokeSessionConflict) MarshalJSON ¶
func (s *RevokeSessionConflict) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeSessionConflict) UnmarshalJSON ¶
func (s *RevokeSessionConflict) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeSessionNoContent ¶
type RevokeSessionNoContent struct {
SetCookie string
}
RevokeSessionNoContent is response for RevokeSession operation.
func (*RevokeSessionNoContent) GetSetCookie ¶
func (s *RevokeSessionNoContent) GetSetCookie() string
GetSetCookie returns the value of SetCookie.
func (*RevokeSessionNoContent) SetSetCookie ¶
func (s *RevokeSessionNoContent) SetSetCookie(val string)
SetSetCookie sets the value of SetCookie.
type RevokeSessionNotFound ¶
type RevokeSessionNotFound ErrorDetails
func (*RevokeSessionNotFound) Decode ¶
func (s *RevokeSessionNotFound) Decode(d *jx.Decoder) error
Decode decodes RevokeSessionNotFound from json.
func (*RevokeSessionNotFound) Encode ¶
func (s *RevokeSessionNotFound) Encode(e *jx.Encoder)
Encode encodes RevokeSessionNotFound as json.
func (*RevokeSessionNotFound) MarshalJSON ¶
func (s *RevokeSessionNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeSessionNotFound) UnmarshalJSON ¶
func (s *RevokeSessionNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeSessionParams ¶
type RevokeSessionParams struct {
// The unique identifier of the project.
ProjectID ProjectID
// The unique identifier of the session.
SessionID SessionID
}
RevokeSessionParams is parameters of revokeSession operation.
type RevokeSessionRes ¶
type RevokeSessionRes interface {
// contains filtered or unexported methods
}
type RevokeSessionUnauthorized ¶
type RevokeSessionUnauthorized ErrorDetails
func (*RevokeSessionUnauthorized) Decode ¶
func (s *RevokeSessionUnauthorized) Decode(d *jx.Decoder) error
Decode decodes RevokeSessionUnauthorized from json.
func (*RevokeSessionUnauthorized) Encode ¶
func (s *RevokeSessionUnauthorized) Encode(e *jx.Encoder)
Encode encodes RevokeSessionUnauthorized as json.
func (*RevokeSessionUnauthorized) MarshalJSON ¶
func (s *RevokeSessionUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeSessionUnauthorized) UnmarshalJSON ¶
func (s *RevokeSessionUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeTokenOK ¶
type RevokeTokenOK struct{}
RevokeTokenOK is response for RevokeToken operation.
type RevokeTokenRes ¶
type RevokeTokenRes interface {
// contains filtered or unexported methods
}
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type SSOProvider ¶
type SSOProvider struct {
// Provider instance identifier.
ID string `json:"id"`
// Display name for the provider.
Name string `json:"name"`
// Template hint for rendering (logo, colors).
Template string `json:"template"`
}
An available SSO identity provider. Ref: #
func (*SSOProvider) Decode ¶
func (s *SSOProvider) Decode(d *jx.Decoder) error
Decode decodes SSOProvider from json.
func (*SSOProvider) Encode ¶
func (s *SSOProvider) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SSOProvider) GetName ¶
func (s *SSOProvider) GetName() string
GetName returns the value of Name.
func (*SSOProvider) GetTemplate ¶
func (s *SSOProvider) GetTemplate() string
GetTemplate returns the value of Template.
func (*SSOProvider) MarshalJSON ¶
func (s *SSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SSOProvider) SetName ¶
func (s *SSOProvider) SetName(val string)
SetName sets the value of Name.
func (*SSOProvider) SetTemplate ¶
func (s *SSOProvider) SetTemplate(val string)
SetTemplate sets the value of Template.
func (*SSOProvider) UnmarshalJSON ¶
func (s *SSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SchemaURI ¶
func (SchemaURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SchemaURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SchemaURL ¶
type SchemaURL struct {
// Discriminator value for a user schema create request.
Kind string `json:"kind"`
// URL to the schema definition.
URL url.URL `json:"url"`
}
A schema definition that references an external schema via a URL. It is on creation, validated against its metaschema and cached in the database. Ref: #
func (*SchemaURL) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SchemaURL) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SecurityHandler ¶
type SecurityHandler interface {
// HandleOAuth2 handles oauth2 security.
HandleOAuth2(ctx context.Context, operationName OperationName, t OAuth2) (context.Context, error)
// HandleUsernamePassword handles usernamePassword security.
// Authorization requests (oauth).
HandleUsernamePassword(ctx context.Context, operationName OperationName, t UsernamePassword) (context.Context, error)
}
SecurityHandler is handler for security parameters.
type SecuritySource ¶
type SecuritySource interface {
// OAuth2 provides oauth2 security value.
OAuth2(ctx context.Context, operationName OperationName) (OAuth2, error)
// UsernamePassword provides usernamePassword security value.
// Authorization requests (oauth).
UsernamePassword(ctx context.Context, operationName OperationName) (UsernamePassword, error)
}
SecuritySource is provider of security values (tokens, passwords, etc.).
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type SessionID ¶
type SessionID string
func (SessionID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SessionID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SessionListResponse ¶
type SessionListResponse struct {
Sessions []SessionResponse `json:"sessions"`
// Token to pass as `page_token` in the next request to fetch the following page.
// Absent when there are no more results.
NextPageToken OptNilPageToken `json:"next_page_token"`
}
Paginated list of sessions. Ref: #
func (*SessionListResponse) Decode ¶
func (s *SessionListResponse) Decode(d *jx.Decoder) error
Decode decodes SessionListResponse from json.
func (*SessionListResponse) Encode ¶
func (s *SessionListResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionListResponse) GetNextPageToken ¶
func (s *SessionListResponse) GetNextPageToken() OptNilPageToken
GetNextPageToken returns the value of NextPageToken.
func (*SessionListResponse) GetSessions ¶
func (s *SessionListResponse) GetSessions() []SessionResponse
GetSessions returns the value of Sessions.
func (*SessionListResponse) MarshalJSON ¶
func (s *SessionListResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionListResponse) SetNextPageToken ¶
func (s *SessionListResponse) SetNextPageToken(val OptNilPageToken)
SetNextPageToken sets the value of NextPageToken.
func (*SessionListResponse) SetSessions ¶
func (s *SessionListResponse) SetSessions(val []SessionResponse)
SetSessions sets the value of Sessions.
func (*SessionListResponse) UnmarshalJSON ¶
func (s *SessionListResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SessionListResponse) Validate ¶
func (s *SessionListResponse) Validate() error
type SessionResponse ¶
type SessionResponse struct {
SessionID SessionID `json:"session_id"`
ProjectID ProjectID `json:"project_id"`
// Current lifecycle state of the session:
// - `building`: has a user factor but is still gathering authentication factors
// - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as
// factors age
// - `expired`: TTL elapsed
// - `revoked`: explicitly revoked via DELETE.
State SessionResponseState `json:"state"`
// The authenticated user. Null for anonymous sessions and until the `user`
// factor has been verified through an `auth_attempt`.
UserID OptNilUserID `json:"user_id"`
// Verified authentication factors accumulated by this session.
// Each key is a factor type (e.g. `password`, `totp`, `passkey`).
// Each value is a factor event object with at least `verified_at` and
// method-specific properties (e.g. `user_verified`, `hardware` for passkeys).
Factors []CompletedFactor `json:"factors"`
// All assurance levels whose schemas the current session factors satisfy.
// This list shrinks as factor freshness windows expire and grows when step-up
// auth_attempts add or refresh factors.
// Whether any level is "enough" is determined by the request context, not the session.
AssuranceLevels []string `json:"assurance_levels"`
// Arbitrary key/value metadata attached to the session.
Metadata OptNilSessionResponseMetadata `json:"metadata"`
// User agent information captured at session creation.
UserAgent OptNilSessionResponseUserAgent `json:"user_agent"`
// When this session was created.
CreatedAt time.Time `json:"created_at"`
// When this session expires. Short TTL (10 min) for anonymous sessions;
// reset to the full configured session TTL once the first authentication factor is written.
ExpiresAt time.Time `json:"expires_at"`
}
The current state of a session. A session is the durable post-auth primitive. It accumulates verified authentication factors and exposes `assurance_levels[]` — the set of assurance profiles its current factors satisfy. Sessions are read-only from the client's perspective: factors flow in through `auth_attempts`. Ref: #
func (*SessionResponse) Decode ¶
func (s *SessionResponse) Decode(d *jx.Decoder) error
Decode decodes SessionResponse from json.
func (*SessionResponse) Encode ¶
func (s *SessionResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionResponse) GetAssuranceLevels ¶
func (s *SessionResponse) GetAssuranceLevels() []string
GetAssuranceLevels returns the value of AssuranceLevels.
func (*SessionResponse) GetCreatedAt ¶
func (s *SessionResponse) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*SessionResponse) GetExpiresAt ¶
func (s *SessionResponse) GetExpiresAt() time.Time
GetExpiresAt returns the value of ExpiresAt.
func (*SessionResponse) GetFactors ¶
func (s *SessionResponse) GetFactors() []CompletedFactor
GetFactors returns the value of Factors.
func (*SessionResponse) GetMetadata ¶
func (s *SessionResponse) GetMetadata() OptNilSessionResponseMetadata
GetMetadata returns the value of Metadata.
func (*SessionResponse) GetProjectID ¶
func (s *SessionResponse) GetProjectID() ProjectID
GetProjectID returns the value of ProjectID.
func (*SessionResponse) GetSessionID ¶
func (s *SessionResponse) GetSessionID() SessionID
GetSessionID returns the value of SessionID.
func (*SessionResponse) GetState ¶
func (s *SessionResponse) GetState() SessionResponseState
GetState returns the value of State.
func (*SessionResponse) GetUserAgent ¶
func (s *SessionResponse) GetUserAgent() OptNilSessionResponseUserAgent
GetUserAgent returns the value of UserAgent.
func (*SessionResponse) GetUserID ¶
func (s *SessionResponse) GetUserID() OptNilUserID
GetUserID returns the value of UserID.
func (*SessionResponse) MarshalJSON ¶
func (s *SessionResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionResponse) SetAssuranceLevels ¶
func (s *SessionResponse) SetAssuranceLevels(val []string)
SetAssuranceLevels sets the value of AssuranceLevels.
func (*SessionResponse) SetCreatedAt ¶
func (s *SessionResponse) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*SessionResponse) SetExpiresAt ¶
func (s *SessionResponse) SetExpiresAt(val time.Time)
SetExpiresAt sets the value of ExpiresAt.
func (*SessionResponse) SetFactors ¶
func (s *SessionResponse) SetFactors(val []CompletedFactor)
SetFactors sets the value of Factors.
func (*SessionResponse) SetMetadata ¶
func (s *SessionResponse) SetMetadata(val OptNilSessionResponseMetadata)
SetMetadata sets the value of Metadata.
func (*SessionResponse) SetProjectID ¶
func (s *SessionResponse) SetProjectID(val ProjectID)
SetProjectID sets the value of ProjectID.
func (*SessionResponse) SetSessionID ¶
func (s *SessionResponse) SetSessionID(val SessionID)
SetSessionID sets the value of SessionID.
func (*SessionResponse) SetState ¶
func (s *SessionResponse) SetState(val SessionResponseState)
SetState sets the value of State.
func (*SessionResponse) SetUserAgent ¶
func (s *SessionResponse) SetUserAgent(val OptNilSessionResponseUserAgent)
SetUserAgent sets the value of UserAgent.
func (*SessionResponse) SetUserID ¶
func (s *SessionResponse) SetUserID(val OptNilUserID)
SetUserID sets the value of UserID.
func (*SessionResponse) UnmarshalJSON ¶
func (s *SessionResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SessionResponse) Validate ¶
func (s *SessionResponse) Validate() error
type SessionResponseMetadata ¶
func (*SessionResponseMetadata) Decode ¶
func (s *SessionResponseMetadata) Decode(d *jx.Decoder) error
Decode decodes SessionResponseMetadata from json.
func (SessionResponseMetadata) Encode ¶
func (s SessionResponseMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SessionResponseMetadata) MarshalJSON ¶
func (s SessionResponseMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionResponseMetadata) UnmarshalJSON ¶
func (s *SessionResponseMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SessionResponseState ¶
type SessionResponseState string
Current lifecycle state of the session: - `building`: has a user factor but is still gathering authentication factors - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age - `expired`: TTL elapsed - `revoked`: explicitly revoked via DELETE.
const ( SessionResponseStateBuilding SessionResponseState = "building" SessionResponseStateActive SessionResponseState = "active" SessionResponseStateExpired SessionResponseState = "expired" SessionResponseStateRevoked SessionResponseState = "revoked" )
func (SessionResponseState) AllValues ¶
func (SessionResponseState) AllValues() []SessionResponseState
AllValues returns all SessionResponseState values.
func (*SessionResponseState) Decode ¶
func (s *SessionResponseState) Decode(d *jx.Decoder) error
Decode decodes SessionResponseState from json.
func (SessionResponseState) Encode ¶
func (s SessionResponseState) Encode(e *jx.Encoder)
Encode encodes SessionResponseState as json.
func (SessionResponseState) MarshalJSON ¶
func (s SessionResponseState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SessionResponseState) MarshalText ¶
func (s SessionResponseState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SessionResponseState) UnmarshalJSON ¶
func (s *SessionResponseState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SessionResponseState) UnmarshalText ¶
func (s *SessionResponseState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SessionResponseState) Validate ¶
func (s SessionResponseState) Validate() error
type SessionResponseUserAgent ¶
type SessionResponseUserAgent struct {
// Client-supplied device fingerprint.
Fingerprint OptString `json:"fingerprint"`
// IP address of the client at session creation.
IP OptString `json:"ip"`
AdditionalProps SessionResponseUserAgentAdditional
}
func (*SessionResponseUserAgent) Decode ¶
func (s *SessionResponseUserAgent) Decode(d *jx.Decoder) error
Decode decodes SessionResponseUserAgent from json.
func (*SessionResponseUserAgent) Encode ¶
func (s *SessionResponseUserAgent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionResponseUserAgent) GetAdditionalProps ¶
func (s *SessionResponseUserAgent) GetAdditionalProps() SessionResponseUserAgentAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*SessionResponseUserAgent) GetFingerprint ¶
func (s *SessionResponseUserAgent) GetFingerprint() OptString
GetFingerprint returns the value of Fingerprint.
func (*SessionResponseUserAgent) GetIP ¶
func (s *SessionResponseUserAgent) GetIP() OptString
GetIP returns the value of IP.
func (*SessionResponseUserAgent) MarshalJSON ¶
func (s *SessionResponseUserAgent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionResponseUserAgent) SetAdditionalProps ¶
func (s *SessionResponseUserAgent) SetAdditionalProps(val SessionResponseUserAgentAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*SessionResponseUserAgent) SetFingerprint ¶
func (s *SessionResponseUserAgent) SetFingerprint(val OptString)
SetFingerprint sets the value of Fingerprint.
func (*SessionResponseUserAgent) SetIP ¶
func (s *SessionResponseUserAgent) SetIP(val OptString)
SetIP sets the value of IP.
func (*SessionResponseUserAgent) UnmarshalJSON ¶
func (s *SessionResponseUserAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SessionResponseUserAgentAdditional ¶
func (*SessionResponseUserAgentAdditional) Decode ¶
func (s *SessionResponseUserAgentAdditional) Decode(d *jx.Decoder) error
Decode decodes SessionResponseUserAgentAdditional from json.
func (SessionResponseUserAgentAdditional) Encode ¶
func (s SessionResponseUserAgentAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SessionResponseUserAgentAdditional) MarshalJSON ¶
func (s SessionResponseUserAgentAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionResponseUserAgentAdditional) UnmarshalJSON ¶
func (s *SessionResponseUserAgentAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SessionWithTokenResponse ¶
type SessionWithTokenResponse struct {
Session SessionResponse `json:"session"`
// Bearer token authorising management of this session (GET and DELETE).
// For anonymous sessions this token is superseded when a handoff exchange completes —
// clients must replace their stored token at that point.
SessionToken string `json:"session_token"`
}
Response for session creation and handoff exchange. Includes the session state and the session_token required to manage it. Ref: #
func (*SessionWithTokenResponse) Decode ¶
func (s *SessionWithTokenResponse) Decode(d *jx.Decoder) error
Decode decodes SessionWithTokenResponse from json.
func (*SessionWithTokenResponse) Encode ¶
func (s *SessionWithTokenResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionWithTokenResponse) GetSession ¶
func (s *SessionWithTokenResponse) GetSession() SessionResponse
GetSession returns the value of Session.
func (*SessionWithTokenResponse) GetSessionToken ¶
func (s *SessionWithTokenResponse) GetSessionToken() string
GetSessionToken returns the value of SessionToken.
func (*SessionWithTokenResponse) MarshalJSON ¶
func (s *SessionWithTokenResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionWithTokenResponse) SetSession ¶
func (s *SessionWithTokenResponse) SetSession(val SessionResponse)
SetSession sets the value of Session.
func (*SessionWithTokenResponse) SetSessionToken ¶
func (s *SessionWithTokenResponse) SetSessionToken(val string)
SetSessionToken sets the value of SessionToken.
func (*SessionWithTokenResponse) UnmarshalJSON ¶
func (s *SessionWithTokenResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SessionWithTokenResponse) Validate ¶
func (s *SessionWithTokenResponse) Validate() error
type SessionWithTokenResponseHeaders ¶
type SessionWithTokenResponseHeaders struct {
SetCookie string
Response SessionWithTokenResponse
}
SessionWithTokenResponseHeaders wraps SessionWithTokenResponse with response headers.
func (*SessionWithTokenResponseHeaders) GetResponse ¶
func (s *SessionWithTokenResponseHeaders) GetResponse() SessionWithTokenResponse
GetResponse returns the value of Response.
func (*SessionWithTokenResponseHeaders) GetSetCookie ¶
func (s *SessionWithTokenResponseHeaders) GetSetCookie() string
GetSetCookie returns the value of SetCookie.
func (*SessionWithTokenResponseHeaders) SetResponse ¶
func (s *SessionWithTokenResponseHeaders) SetResponse(val SessionWithTokenResponse)
SetResponse sets the value of Response.
func (*SessionWithTokenResponseHeaders) SetSetCookie ¶
func (s *SessionWithTokenResponseHeaders) SetSetCookie(val string)
SetSetCookie sets the value of SetCookie.
func (*SessionWithTokenResponseHeaders) Validate ¶
func (s *SessionWithTokenResponseHeaders) Validate() error
type SetUserPasswordBadRequest ¶
type SetUserPasswordBadRequest ErrorDetails
func (*SetUserPasswordBadRequest) Decode ¶
func (s *SetUserPasswordBadRequest) Decode(d *jx.Decoder) error
Decode decodes SetUserPasswordBadRequest from json.
func (*SetUserPasswordBadRequest) Encode ¶
func (s *SetUserPasswordBadRequest) Encode(e *jx.Encoder)
Encode encodes SetUserPasswordBadRequest as json.
func (*SetUserPasswordBadRequest) MarshalJSON ¶
func (s *SetUserPasswordBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetUserPasswordBadRequest) UnmarshalJSON ¶
func (s *SetUserPasswordBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetUserPasswordInternalServerError ¶
type SetUserPasswordInternalServerError ErrorDetails
func (*SetUserPasswordInternalServerError) Decode ¶
func (s *SetUserPasswordInternalServerError) Decode(d *jx.Decoder) error
Decode decodes SetUserPasswordInternalServerError from json.
func (*SetUserPasswordInternalServerError) Encode ¶
func (s *SetUserPasswordInternalServerError) Encode(e *jx.Encoder)
Encode encodes SetUserPasswordInternalServerError as json.
func (*SetUserPasswordInternalServerError) MarshalJSON ¶
func (s *SetUserPasswordInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetUserPasswordInternalServerError) UnmarshalJSON ¶
func (s *SetUserPasswordInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetUserPasswordNoContent ¶
type SetUserPasswordNoContent struct{}
SetUserPasswordNoContent is response for SetUserPassword operation.
type SetUserPasswordNotFound ¶
type SetUserPasswordNotFound ErrorDetails
func (*SetUserPasswordNotFound) Decode ¶
func (s *SetUserPasswordNotFound) Decode(d *jx.Decoder) error
Decode decodes SetUserPasswordNotFound from json.
func (*SetUserPasswordNotFound) Encode ¶
func (s *SetUserPasswordNotFound) Encode(e *jx.Encoder)
Encode encodes SetUserPasswordNotFound as json.
func (*SetUserPasswordNotFound) MarshalJSON ¶
func (s *SetUserPasswordNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetUserPasswordNotFound) UnmarshalJSON ¶
func (s *SetUserPasswordNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetUserPasswordParams ¶
type SetUserPasswordParams struct {
// The unique identifier of the project.
ProjectID ProjectID
UserID UserID
}
SetUserPasswordParams is parameters of setUserPassword operation.
type SetUserPasswordRequest ¶
type SetUserPasswordRequest struct {
// The new password for the user.
Password string `json:"password"`
// Whether the user is required to change their password on the next login.
// If not provided, it will default to false.
IsChangeRequired OptBool `json:"isChangeRequired"`
}
Request to update the user's password. Ref: #
func (*SetUserPasswordRequest) Decode ¶
func (s *SetUserPasswordRequest) Decode(d *jx.Decoder) error
Decode decodes SetUserPasswordRequest from json.
func (*SetUserPasswordRequest) Encode ¶
func (s *SetUserPasswordRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SetUserPasswordRequest) GetIsChangeRequired ¶
func (s *SetUserPasswordRequest) GetIsChangeRequired() OptBool
GetIsChangeRequired returns the value of IsChangeRequired.
func (*SetUserPasswordRequest) GetPassword ¶
func (s *SetUserPasswordRequest) GetPassword() string
GetPassword returns the value of Password.
func (*SetUserPasswordRequest) MarshalJSON ¶
func (s *SetUserPasswordRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetUserPasswordRequest) SetIsChangeRequired ¶
func (s *SetUserPasswordRequest) SetIsChangeRequired(val OptBool)
SetIsChangeRequired sets the value of IsChangeRequired.
func (*SetUserPasswordRequest) SetPassword ¶
func (s *SetUserPasswordRequest) SetPassword(val string)
SetPassword sets the value of Password.
func (*SetUserPasswordRequest) UnmarshalJSON ¶
func (s *SetUserPasswordRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetUserPasswordRes ¶
type SetUserPasswordRes interface {
// contains filtered or unexported methods
}
type StepAction ¶
type StepAction struct {
// Action identifier. Sent back in the submit request as `action`.
Name string `json:"name"`
// Classifies how the engine handles this action:
// - `submit`: collect the step's fields and run validate/dispatch/on_success.
// - `passkey`: issue a WebAuthn assertion challenge; the matching transition
// fires once the returned assertion verifies.
// - `passkey_register`: issue a WebAuthn registration challenge; the matching
// transition fires once the returned attestation verifies.
// - `navigate`: route through the transition without running the input
// pipeline. Used for pure-routing actions declared in the flow definition.
// - `back`: return the user to the previous step. Surfaced by the engine
// when going back is available.
Kind StepActionKind `json:"kind"`
// Marks this as the default/primary action. The runtime template uses
// this hint to choose visual emphasis. At most one action per step
// should be primary; this is not enforced here.
Primary OptBool `json:"primary"`
// Optional localization key override for the action's label. When
// omitted, the engine derives a key from the step and action names.
// Display text is resolved client-side from a locale dictionary, never
// by the engine.
TextKey OptString `json:"text_key"`
}
Configuration for a user-invokable action on a step. The `name` is sent back in the submit request as `action`; the engine resolves the action's declared `kind` to decide how to handle the submission. Ref: #
func (*StepAction) Decode ¶
func (s *StepAction) Decode(d *jx.Decoder) error
Decode decodes StepAction from json.
func (*StepAction) Encode ¶
func (s *StepAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StepAction) GetKind ¶
func (s *StepAction) GetKind() StepActionKind
GetKind returns the value of Kind.
func (*StepAction) GetName ¶
func (s *StepAction) GetName() string
GetName returns the value of Name.
func (*StepAction) GetPrimary ¶
func (s *StepAction) GetPrimary() OptBool
GetPrimary returns the value of Primary.
func (*StepAction) GetTextKey ¶
func (s *StepAction) GetTextKey() OptString
GetTextKey returns the value of TextKey.
func (*StepAction) MarshalJSON ¶
func (s *StepAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StepAction) SetKind ¶
func (s *StepAction) SetKind(val StepActionKind)
SetKind sets the value of Kind.
func (*StepAction) SetName ¶
func (s *StepAction) SetName(val string)
SetName sets the value of Name.
func (*StepAction) SetPrimary ¶
func (s *StepAction) SetPrimary(val OptBool)
SetPrimary sets the value of Primary.
func (*StepAction) SetTextKey ¶
func (s *StepAction) SetTextKey(val OptString)
SetTextKey sets the value of TextKey.
func (*StepAction) UnmarshalJSON ¶
func (s *StepAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StepAction) Validate ¶
func (s *StepAction) Validate() error
type StepActionKind ¶
type StepActionKind string
Classifies how the engine handles this action: - `submit`: collect the step's fields and run validate/dispatch/on_success. - `passkey`: issue a WebAuthn assertion challenge; the matching transition fires once the returned assertion verifies. - `passkey_register`: issue a WebAuthn registration challenge; the matching transition fires once the returned attestation verifies. - `navigate`: route through the transition without running the input pipeline. Used for pure-routing actions declared in the flow definition. - `back`: return the user to the previous step. Surfaced by the engine when going back is available.
const ( StepActionKindSubmit StepActionKind = "submit" StepActionKindPasskey StepActionKind = "passkey" StepActionKindPasskeyRegister StepActionKind = "passkey_register" StepActionKindBack StepActionKind = "back" )
func (StepActionKind) AllValues ¶
func (StepActionKind) AllValues() []StepActionKind
AllValues returns all StepActionKind values.
func (*StepActionKind) Decode ¶
func (s *StepActionKind) Decode(d *jx.Decoder) error
Decode decodes StepActionKind from json.
func (StepActionKind) Encode ¶
func (s StepActionKind) Encode(e *jx.Encoder)
Encode encodes StepActionKind as json.
func (StepActionKind) MarshalJSON ¶
func (s StepActionKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (StepActionKind) MarshalText ¶
func (s StepActionKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*StepActionKind) UnmarshalJSON ¶
func (s *StepActionKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StepActionKind) UnmarshalText ¶
func (s *StepActionKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (StepActionKind) Validate ¶
func (s StepActionKind) Validate() error
type StepTexts ¶
type StepTexts struct {
// Localization key for the step heading.
TitleKey OptString `json:"title_key"`
// Localization key for explanatory text.
DescriptionKey OptNilString `json:"description_key"`
}
Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter. The backend never sends display text — only semantic keys. Ref: #
func (*StepTexts) GetDescriptionKey ¶
func (s *StepTexts) GetDescriptionKey() OptNilString
GetDescriptionKey returns the value of DescriptionKey.
func (*StepTexts) GetTitleKey ¶
GetTitleKey returns the value of TitleKey.
func (*StepTexts) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*StepTexts) SetDescriptionKey ¶
func (s *StepTexts) SetDescriptionKey(val OptNilString)
SetDescriptionKey sets the value of DescriptionKey.
func (*StepTexts) SetTitleKey ¶
SetTitleKey sets the value of TitleKey.
func (*StepTexts) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SubmitFlowEventBadRequest ¶
type SubmitFlowEventBadRequest ErrorDetails
func (*SubmitFlowEventBadRequest) Decode ¶
func (s *SubmitFlowEventBadRequest) Decode(d *jx.Decoder) error
Decode decodes SubmitFlowEventBadRequest from json.
func (*SubmitFlowEventBadRequest) Encode ¶
func (s *SubmitFlowEventBadRequest) Encode(e *jx.Encoder)
Encode encodes SubmitFlowEventBadRequest as json.
func (*SubmitFlowEventBadRequest) MarshalJSON ¶
func (s *SubmitFlowEventBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubmitFlowEventBadRequest) UnmarshalJSON ¶
func (s *SubmitFlowEventBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SubmitFlowEventNoContent ¶
type SubmitFlowEventNoContent struct{}
SubmitFlowEventNoContent is response for SubmitFlowEvent operation.
type SubmitFlowEventNotFound ¶
type SubmitFlowEventNotFound ErrorDetails
func (*SubmitFlowEventNotFound) Decode ¶
func (s *SubmitFlowEventNotFound) Decode(d *jx.Decoder) error
Decode decodes SubmitFlowEventNotFound from json.
func (*SubmitFlowEventNotFound) Encode ¶
func (s *SubmitFlowEventNotFound) Encode(e *jx.Encoder)
Encode encodes SubmitFlowEventNotFound as json.
func (*SubmitFlowEventNotFound) MarshalJSON ¶
func (s *SubmitFlowEventNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubmitFlowEventNotFound) UnmarshalJSON ¶
func (s *SubmitFlowEventNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SubmitFlowEventParams ¶
type SubmitFlowEventParams struct {
// Flow ID returned by POST /flow or the latest POST /flow/{id}/submit.
// Used to look up the correct flow state from the encrypted cookie,
// which can hold multiple concurrent flows. May change between responses
// when a flow pivot or pop occurs — always use the `id` from the latest response.
ID string
// Encrypted flow state cookie set by `POST /flow` or the previous
// `POST /flow/{id}/submit`. The cookie holds a map of flow states keyed
// by flow ID, allowing multiple concurrent flows in the same browser
// (e.g. login in one tab, registration in another). The server uses the
// `{id}` path parameter to look up the correct flow state from the cookie.
// Browsers send this automatically; non-browser clients must capture the
// `Set-Cookie` header and resend it.
Zflow string
}
SubmitFlowEventParams is parameters of submitFlowEvent operation.
type SubmitFlowEventRes ¶
type SubmitFlowEventRes interface {
// contains filtered or unexported methods
}
type SubmitFlowStepBadRequest ¶
type SubmitFlowStepBadRequest FlowResponseHeaders
func (*SubmitFlowStepBadRequest) Validate ¶
func (s *SubmitFlowStepBadRequest) Validate() error
type SubmitFlowStepOK ¶
type SubmitFlowStepOK FlowResponseHeaders
func (*SubmitFlowStepOK) Validate ¶
func (s *SubmitFlowStepOK) Validate() error
type SubmitFlowStepParams ¶
type SubmitFlowStepParams struct {
// Flow ID returned by POST /flow or the latest POST /flow/{id}/submit.
// Used to look up the correct flow state from the encrypted cookie,
// which can hold multiple concurrent flows. May change between responses
// when a flow pivot or pop occurs — always use the `id` from the latest response.
ID string
// Encrypted flow state cookie set by `POST /flow` or the previous
// `POST /flow/{id}/submit`. The cookie holds a map of flow states keyed
// by flow ID, allowing multiple concurrent flows in the same browser
// (e.g. login in one tab, registration in another). The server uses the
// `{id}` path parameter to look up the correct flow state from the cookie.
// Browsers send this automatically; non-browser clients must capture the
// `Set-Cookie` header and resend it.
Zflow string
// Standard browser `Origin` header. When a step issues a passkey
// challenge, the server derives the WebAuthn relying-party id and the
// allowed origin from this value. Browsers send it automatically on the
// fetch POST; no client action is required.
Origin OptURI `json:",omitempty,omitzero"`
}
SubmitFlowStepParams is parameters of submitFlowStep operation.
type SubmitFlowStepRes ¶
type SubmitFlowStepRes interface {
// contains filtered or unexported methods
}
type TokenResponse ¶
type TokenResponse struct {
// The access token issued by the authorization server.
AccessToken OptString `json:"access_token"`
// The type of the token issued (e.g., Bearer).
TokenType OptString `json:"token_type"`
// The lifetime in seconds of the access token.
ExpiresIn OptInt `json:"expires_in"`
// The refresh token which can be used to obtain new access tokens.
RefreshToken OptString `json:"refresh_token"`
}
Ref: #
func (*TokenResponse) Decode ¶
func (s *TokenResponse) Decode(d *jx.Decoder) error
Decode decodes TokenResponse from json.
func (*TokenResponse) Encode ¶
func (s *TokenResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokenResponse) GetAccessToken ¶
func (s *TokenResponse) GetAccessToken() OptString
GetAccessToken returns the value of AccessToken.
func (*TokenResponse) GetExpiresIn ¶
func (s *TokenResponse) GetExpiresIn() OptInt
GetExpiresIn returns the value of ExpiresIn.
func (*TokenResponse) GetRefreshToken ¶
func (s *TokenResponse) GetRefreshToken() OptString
GetRefreshToken returns the value of RefreshToken.
func (*TokenResponse) GetTokenType ¶
func (s *TokenResponse) GetTokenType() OptString
GetTokenType returns the value of TokenType.
func (*TokenResponse) MarshalJSON ¶
func (s *TokenResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenResponse) SetAccessToken ¶
func (s *TokenResponse) SetAccessToken(val OptString)
SetAccessToken sets the value of AccessToken.
func (*TokenResponse) SetExpiresIn ¶
func (s *TokenResponse) SetExpiresIn(val OptInt)
SetExpiresIn sets the value of ExpiresIn.
func (*TokenResponse) SetRefreshToken ¶
func (s *TokenResponse) SetRefreshToken(val OptString)
SetRefreshToken sets the value of RefreshToken.
func (*TokenResponse) SetTokenType ¶
func (s *TokenResponse) SetTokenType(val OptString)
SetTokenType sets the value of TokenType.
func (*TokenResponse) UnmarshalJSON ¶
func (s *TokenResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) ActivateFlowDefinition ¶
func (UnimplementedHandler) ActivateFlowDefinition(ctx context.Context, params ActivateFlowDefinitionParams) (r ActivateFlowDefinitionRes, _ error)
ActivateFlowDefinition implements activateFlowDefinition operation.
Activate a flow definition by transitioning it from a `draft` state to an `active` state. Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
POST /flow_definitions/{id}/activate
func (UnimplementedHandler) AuthorizeDevice ¶
func (UnimplementedHandler) AuthorizeDevice(ctx context.Context, params AuthorizeDeviceParams) (r AuthorizeDeviceRes, _ error)
AuthorizeDevice implements authorizeDevice operation.
Authorize a device.
GET /auth/device-authorization
func (UnimplementedHandler) AuthorizeGet ¶
func (UnimplementedHandler) AuthorizeGet(ctx context.Context, params AuthorizeGetParams) (r AuthorizeGetRes, _ error)
AuthorizeGet implements authorizeGet operation.
Authorize a user.
GET /auth/authorize
func (UnimplementedHandler) CreateAuthAttempt ¶
func (UnimplementedHandler) CreateAuthAttempt(ctx context.Context, req *CreateAuthAttemptRequest) (r CreateAuthAttemptRes, _ error)
CreateAuthAttempt implements createAuthAttempt operation.
Starts a new authentication attempt. This is the entry point for the auth_attempts state machine. An attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round. It accepts factor challenges, verifies proofs, and completes into a session or handoff token. Accepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth, also include session_id to add factors to an existing session.
POST /auth_attempts
func (UnimplementedHandler) CreateFlow ¶
func (UnimplementedHandler) CreateFlow(ctx context.Context, req *CreateFlowRequest) (r CreateFlowRes, _ error)
CreateFlow implements createFlow operation.
Resolves a flow definition based on purpose + audience context and returns the first capability step. Creates a new session implicitly unless `session_id` is provided (for step-up / reauth on an existing session). The response contains an `id` field — the flow handle. Use it as the path parameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls. The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing the flow's orchestration state (current step, collected data, history). The server is stateless between requests — all flow state lives in this cookie. The browser sends it automatically on subsequent requests.
POST /flow
func (UnimplementedHandler) CreateFlowDefinition ¶
func (UnimplementedHandler) CreateFlowDefinition(ctx context.Context, req *CreateFlowDefinitionRequest) (r CreateFlowDefinitionRes, _ error)
CreateFlowDefinition implements createFlowDefinition operation.
Creates a new flow definition. Flow definitions are templates that define the sequence of steps (capabilities) for a particular user journey (e.g., registration, login, password reset). Flow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.
POST /flow_definitions
func (UnimplementedHandler) CreateHandoff ¶
func (UnimplementedHandler) CreateHandoff(ctx context.Context, params CreateHandoffParams) (r CreateHandoffRes, _ error)
CreateHandoff implements createHandoff operation.
Completes the authentication attempt and mints a `handoff_token`. Call this after all required factors have been verified and the attempt is in `completed` state. The handoff token is short-lived (≤60 seconds) and must be exchanged at POST /sessions/exchange to receive the final session and session_token. The handoff token is: - Single-use (atomic exchange, no retry) - Audience-bound (requires matching project key for exchange) - Idempotency-safe within a 5-minute window (see conventions).
POST /auth_attempts/{attempt_id}/handoff
func (UnimplementedHandler) CreateProject ¶
func (UnimplementedHandler) CreateProject(ctx context.Context, req *CreateProjectRequest) (r CreateProjectRes, _ error)
CreateProject implements createProject operation.
Create project.
POST /projects
func (UnimplementedHandler) CreateSchema ¶
func (UnimplementedHandler) CreateSchema(ctx context.Context, req CreateSchemaReq, params CreateSchemaParams) (r CreateSchemaRes, _ error)
CreateSchema implements createSchema operation.
Create a new schema. The schema definition must include a unique $id field, which will be used to identify the schema in future requests. The $id must be a valid URI and should ideally point to the location where the schema can be accessed. The schema can either be a concrete schema, e.g. a user schema, or a schema-url which will be resolved by the server.
POST /schemas
func (UnimplementedHandler) CreateSession ¶
func (UnimplementedHandler) CreateSession(ctx context.Context, req *CreateSessionRequest) (r CreateSessionRes, _ error)
CreateSession implements createSession operation.
Creates an anonymous session shell with no user and no factors (`state: building`). This is optional — an `auth_attempt` will create a session implicitly if none is provided. Use this explicitly when you want to: - Pre-allocate a `session_id` before the user is known, so device/telemetry signals can be correlated with the eventual authenticated session from the start. - Track anonymous state (bot detection, device fingerprint) that survives until authentication. The returned `session_token` authorises GET and DELETE on this session. It is superseded when a handoff exchange completes — clients must replace it at that point. Anonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured full session TTL when the first authentication factor is written via a completing `auth_attempt`.
POST /sessions
func (UnimplementedHandler) CreateTeam ¶
func (UnimplementedHandler) CreateTeam(ctx context.Context, req *CreateTeamRequest, params CreateTeamParams) (r CreateTeamRes, _ error)
CreateTeam implements createTeam operation.
Create team.
POST /teams
func (UnimplementedHandler) CreateUser ¶
func (UnimplementedHandler) CreateUser(ctx context.Context, req *User, params CreateUserParams) (r CreateUserRes, _ error)
CreateUser implements createUser operation.
Create user.
POST /users
func (UnimplementedHandler) DeactivateFlowDefinition ¶
func (UnimplementedHandler) DeactivateFlowDefinition(ctx context.Context, params DeactivateFlowDefinitionParams) (r DeactivateFlowDefinitionRes, _ error)
DeactivateFlowDefinition implements deactivateFlowDefinition operation.
Deactivates a flow definition in the `active` state by transitioning it to the `draft` state. Flow definitions in `draft` state cannot be used to start new flows. Existing flows that use the deactivated flow definition must gracefully handle this. Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
POST /flow_definitions/{id}/deactivate
func (UnimplementedHandler) DeleteFlowDefinition ¶
func (UnimplementedHandler) DeleteFlowDefinition(ctx context.Context, params DeleteFlowDefinitionParams) (r DeleteFlowDefinitionRes, _ error)
DeleteFlowDefinition implements deleteFlowDefinition operation.
Delete a flow definition by id. If the flow definition is currently being used by a flow, the deletion will fail. If the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.
DELETE /flow_definitions/{id}
func (UnimplementedHandler) EndSession ¶
func (UnimplementedHandler) EndSession(ctx context.Context, params EndSessionParams) (r EndSessionRes, _ error)
EndSession implements endSession operation.
End a session.
GET /auth/end-session
func (UnimplementedHandler) ExchangeHandoff ¶
func (UnimplementedHandler) ExchangeHandoff(ctx context.Context, req *ExchangeRequest, params ExchangeHandoffParams) (r ExchangeHandoffRes, _ error)
ExchangeHandoff implements exchangeHandoff operation.
Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff` and returns the resulting session and a `session_token`. The server resolves the originating `auth_attempt` from the token and then: | Originating auth_attempt | Outcome | |---|---| | No `session_id` | A new authenticated session is **created**. | | `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. | | `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. | The response shape is identical in all three cases. The `session_token` supersedes any previously issued `session_token` for the same session. Clients must replace their stored token at this point. Requires a project service key (OAuth2 client credentials).
POST /sessions/exchange
func (UnimplementedHandler) GetAuthAttempt ¶
func (UnimplementedHandler) GetAuthAttempt(ctx context.Context, params GetAuthAttemptParams) (r GetAuthAttemptRes, _ error)
GetAuthAttempt implements getAuthAttempt operation.
Polls the current state of an authentication attempt. Returns the attempt's state, available factors for the next challenge, challenges issued so far, and any errors preventing progress. Use this for polling during long-running factor verifications (e.g., waiting for a federated IdP callback or a device flow).
GET /auth_attempts/{attempt_id}
func (UnimplementedHandler) GetFlowDefinition ¶
func (UnimplementedHandler) GetFlowDefinition(ctx context.Context, params GetFlowDefinitionParams) (r GetFlowDefinitionRes, _ error)
GetFlowDefinition implements getFlowDefinition operation.
Get a flow definition by id.
GET /flow_definitions/{id}
func (UnimplementedHandler) GetFlowStep ¶
func (UnimplementedHandler) GetFlowStep(ctx context.Context, params GetFlowStepParams) (r GetFlowStepRes, _ error)
GetFlowStep implements getFlowStep operation.
Returns the current capability step without advancing the state machine. Useful for page reloads or re-rendering after a network error.
GET /flow/{id}
func (UnimplementedHandler) GetHealth ¶
func (UnimplementedHandler) GetHealth(ctx context.Context) (r GetHealthRes, _ error)
GetHealth implements getHealth operation.
Check whether the server is healthy.
GET /healthz
func (UnimplementedHandler) GetKeys ¶
func (UnimplementedHandler) GetKeys(ctx context.Context) (r GetKeysRes, _ error)
GetKeys implements getKeys operation.
Get public keys.
GET /auth/keys
func (UnimplementedHandler) GetLive ¶
func (UnimplementedHandler) GetLive(ctx context.Context) (r GetLiveRes, _ error)
GetLive implements getLive operation.
Check whether the server is started.
GET /livez
func (UnimplementedHandler) GetMySession ¶
func (UnimplementedHandler) GetMySession(ctx context.Context, params GetMySessionParams) (r GetMySessionRes, _ error)
GetMySession implements getMySession operation.
Returns the current state of the current session including its factors and all currently satisfied assurance levels. `assurance_levels[]` may shrink over time as factor freshness windows expire, without the session itself expiring. Use step-up authentication (a new `auth_attempt` against the same `session_id`) to restore a dropped assurance level.
GET /sessions/me
func (UnimplementedHandler) GetMyUser ¶
func (UnimplementedHandler) GetMyUser(ctx context.Context, params GetMyUserParams) (r GetMyUserRes, _ error)
GetMyUser implements getMyUser operation.
Get my user information.
GET /users/me
func (UnimplementedHandler) GetOpenIDConfiguration ¶
func (UnimplementedHandler) GetOpenIDConfiguration(ctx context.Context) (r GetOpenIDConfigurationRes, _ error)
GetOpenIDConfiguration implements getOpenIDConfiguration operation.
Retrieve the OpenID Connect configuration.
GET /.well-known/openid-configuration
func (UnimplementedHandler) GetProject ¶
func (UnimplementedHandler) GetProject(ctx context.Context, params GetProjectParams) (r GetProjectRes, _ error)
GetProject implements getProject operation.
Returns the current state of a project.
GET /projects/{project_id}
func (UnimplementedHandler) GetReady ¶
func (UnimplementedHandler) GetReady(ctx context.Context) (r GetReadyRes, _ error)
GetReady implements getReady operation.
Check whether the server is ready to accept requests.
GET /readyz
func (UnimplementedHandler) GetSchemaById ¶
func (UnimplementedHandler) GetSchemaById(ctx context.Context, params GetSchemaByIdParams) (r GetSchemaByIdRes, _ error)
GetSchemaById implements getSchemaById operation.
Get a schema by its ID. This will return the default revision of the schema.
GET /schemas/{id}
func (UnimplementedHandler) GetSession ¶
func (UnimplementedHandler) GetSession(ctx context.Context, params GetSessionParams) (r GetSessionRes, _ error)
GetSession implements getSession operation.
Returns the current state of a session including its factors and all currently satisfied assurance levels. `assurance_levels[]` may shrink over time as factor freshness windows expire, without the session itself expiring. Use step-up authentication (a new `auth_attempt` against the same `session_id`) to restore a dropped assurance level.
GET /sessions/{session_id}
func (UnimplementedHandler) GetTeam ¶
func (UnimplementedHandler) GetTeam(ctx context.Context, params GetTeamParams) (r GetTeamRes, _ error)
GetTeam implements getTeam operation.
Returns the current state of a team.
GET /teams/{team_id}
func (UnimplementedHandler) GetToken ¶
func (UnimplementedHandler) GetToken(ctx context.Context, req *PostTokenRequest) (r GetTokenRes, _ error)
GetToken implements getToken operation.
Get access token.
POST /auth/token
func (UnimplementedHandler) GetUserByID ¶
func (UnimplementedHandler) GetUserByID(ctx context.Context, params GetUserByIDParams) (r GetUserByIDRes, _ error)
GetUserByID implements GetUserByID operation.
Get user by ID.
GET /users/{user_id}
func (UnimplementedHandler) GetUserInfo ¶
func (UnimplementedHandler) GetUserInfo(ctx context.Context) (r GetUserInfoRes, _ error)
GetUserInfo implements getUserInfo operation.
Get user info.
GET /auth/userinfo
func (UnimplementedHandler) Introspect ¶
func (UnimplementedHandler) Introspect(ctx context.Context, req *IntrospectRequest) (r IntrospectRes, _ error)
Introspect implements introspect operation.
Introspect a token.
POST /auth/introspect
func (UnimplementedHandler) IssueChallenge ¶
func (UnimplementedHandler) IssueChallenge(ctx context.Context, req *IssueChallengeRequest, params IssueChallengeParams) (r IssueChallengeRes, _ error)
IssueChallenge implements issueChallenge operation.
Issues a single-factor verification challenge within an auth attempt. This advances the authentication state machine by requesting a specific factor method (password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details including method, metadata, and any UI hints. The client then verifies the proof by calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
POST /auth_attempts/{attempt_id}/challenges
func (UnimplementedHandler) ListFlowDefinitions ¶
func (UnimplementedHandler) ListFlowDefinitions(ctx context.Context, params ListFlowDefinitionsParams) (r ListFlowDefinitionsRes, _ error)
ListFlowDefinitions implements listFlowDefinitions operation.
Retrieves a list of all flow definitions. This endpoint can be used to view existing flow definitions and their configurations.
GET /flow_definitions
func (UnimplementedHandler) ListSessions ¶
func (UnimplementedHandler) ListSessions(ctx context.Context, params ListSessionsParams) (r ListSessionsRes, _ error)
ListSessions implements listSessions operation.
Returns a paginated list of sessions for a project. Requires a project service key (OAuth2 client credentials).
GET /sessions
func (UnimplementedHandler) ListUsers ¶
func (UnimplementedHandler) ListUsers(ctx context.Context, params ListUsersParams) (r ListUsersRes, _ error)
ListUsers implements listUsers operation.
List users.
GET /users
func (UnimplementedHandler) RevokeMySession ¶
func (UnimplementedHandler) RevokeMySession(ctx context.Context, params RevokeMySessionParams) (r RevokeMySessionRes, _ error)
RevokeMySession implements revokeMySession operation.
Revokes the session immediately (`state: revoked`). This is the logout operation. The __nextgen_session cookie issued at creation (or superseded by a handoff exchange) is required. After revocation, any tokens derived from this session are invalidated including the cookie itself,
which is cleared in the response.
DELETE /sessions/me
func (UnimplementedHandler) RevokeSession ¶
func (UnimplementedHandler) RevokeSession(ctx context.Context, params RevokeSessionParams) (r RevokeSessionRes, _ error)
RevokeSession implements revokeSession operation.
Revokes the session immediately (`state: revoked`). This is the logout operation. The session_token issued at creation (or superseded by a handoff exchange) is required. After revocation, any tokens derived from this session are invalidated.
DELETE /sessions/{session_id}
func (UnimplementedHandler) RevokeToken ¶
func (UnimplementedHandler) RevokeToken(ctx context.Context, req *RevokeRequest) (r RevokeTokenRes, _ error)
RevokeToken implements revokeToken operation.
Revoke an access token or refresh token.
POST /auth/revoke
func (UnimplementedHandler) SetUserPassword ¶
func (UnimplementedHandler) SetUserPassword(ctx context.Context, req *SetUserPasswordRequest, params SetUserPasswordParams) (r SetUserPasswordRes, _ error)
SetUserPassword implements setUserPassword operation.
Set user password.
PUT /users/{user_id}/password
func (UnimplementedHandler) SubmitFlowEvent ¶
func (UnimplementedHandler) SubmitFlowEvent(ctx context.Context, req *FlowEventRequest, params SubmitFlowEventParams) (r SubmitFlowEventRes, _ error)
SubmitFlowEvent implements submitFlowEvent operation.
Submits telemetry or fingerprint data from the frontend. Does not advance the state machine. Used for risk evaluation.
POST /flow/{id}/event
func (UnimplementedHandler) SubmitFlowStep ¶
func (UnimplementedHandler) SubmitFlowStep(ctx context.Context, req *FlowSubmitRequest, params SubmitFlowStepParams) (r SubmitFlowStepRes, _ error)
SubmitFlowStep implements submitFlowStep operation.
Submits user input for the current step. The server validates, processes (e.g., verifies a credential), advances the state machine through any invisible steps, and returns the next visible step. The response sets an updated encrypted `HttpOnly` cookie (`_zflow`) with the new flow state. The server is stateless — all orchestration state is carried in this cookie between requests. **Important:** The `id` in the response may differ from the `id` used in the request. This happens when a flow pivots (pushes a new flow onto the stack) or when a stacked flow completes (auto-pops to the parent flow). Always use the `id` from the latest response for the next request. ## Flow completion When `step.type` is `complete`, the flow is terminal. The `step.behavior` field tells the frontend what to do: | `behavior` | Action | |------------- |------------------------------------------------------------| | `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). | | `show` | Render the step as a success screen (e.g., registration). | A `complete` step is only returned when the **entire flow stack** is done. If a stacked flow (e.g., recovery pivoted from login) finishes, the server auto-pops to the parent flow and returns the parent's next step — the frontend never sees a `complete` for intermediate flows.
POST /flow/{id}/submit
func (UnimplementedHandler) UpdateFlowDefinition ¶
func (UnimplementedHandler) UpdateFlowDefinition(ctx context.Context, req *FlowDefinitionUpdateRequest, params UpdateFlowDefinitionParams) (r UpdateFlowDefinitionRes, _ error)
UpdateFlowDefinition implements updateFlowDefinition operation.
Update a flow definition by id. This endpoint replaces the existing flow definition. If `flow_definition.status` is omitted, the current status is preserved.
PUT /flow_definitions/{id}
func (UnimplementedHandler) VerifyChallengeProof ¶
func (UnimplementedHandler) VerifyChallengeProof(ctx context.Context, req *VerifyChallengeRequest, params VerifyChallengeProofParams) (r VerifyChallengeProofRes, _ error)
VerifyChallengeProof implements verifyChallengeProof operation.
Submits a proof (credential, code, assertion) to verify a factor challenge. The proof format depends on the challenge method. For example: - `password` method: { password: "…" } - `totp` method: { totp: { code: "123456" } } - `passkey` method: { passkey: { assertion: "…" } } - `recovery_code` method: { recovery_code: "…" } On successful verification, the factor is written to the auth attempt. The attempt moves to the next pending challenge or completes if all required factors are verified.
POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
type UpdateFlowDefinitionBadRequest ¶
type UpdateFlowDefinitionBadRequest ErrorDetails
func (*UpdateFlowDefinitionBadRequest) Decode ¶
func (s *UpdateFlowDefinitionBadRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateFlowDefinitionBadRequest from json.
func (*UpdateFlowDefinitionBadRequest) Encode ¶
func (s *UpdateFlowDefinitionBadRequest) Encode(e *jx.Encoder)
Encode encodes UpdateFlowDefinitionBadRequest as json.
func (*UpdateFlowDefinitionBadRequest) MarshalJSON ¶
func (s *UpdateFlowDefinitionBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateFlowDefinitionBadRequest) UnmarshalJSON ¶
func (s *UpdateFlowDefinitionBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateFlowDefinitionNotFound ¶
type UpdateFlowDefinitionNotFound ErrorDetails
func (*UpdateFlowDefinitionNotFound) Decode ¶
func (s *UpdateFlowDefinitionNotFound) Decode(d *jx.Decoder) error
Decode decodes UpdateFlowDefinitionNotFound from json.
func (*UpdateFlowDefinitionNotFound) Encode ¶
func (s *UpdateFlowDefinitionNotFound) Encode(e *jx.Encoder)
Encode encodes UpdateFlowDefinitionNotFound as json.
func (*UpdateFlowDefinitionNotFound) MarshalJSON ¶
func (s *UpdateFlowDefinitionNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateFlowDefinitionNotFound) UnmarshalJSON ¶
func (s *UpdateFlowDefinitionNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateFlowDefinitionParams ¶
type UpdateFlowDefinitionParams struct {
// The id returned by the POST /flow_definitions endpoint.
ID string
// The project id to filter by.
ProjectID ProjectID
}
UpdateFlowDefinitionParams is parameters of updateFlowDefinition operation.
type UpdateFlowDefinitionRes ¶
type UpdateFlowDefinitionRes interface {
// contains filtered or unexported methods
}
type User ¶
type User struct {
// The schema that defines the content of the user. These schemas can be
// created using the `/schemas` endpoint. A default schema is provided.
// This schema can be retrieved using the same endpoint. The schema will
// be used to validate the user's properties.
Schema string `json:"$schema"`
AdditionalProps UserAdditional
}
A user represents an individual identity in the system. It can be used to represent a human user, but also a service account or any other type of identity. The content of a user is determined by the configured schema for users, this is only a base schema. Ref: #
func (*User) GetAdditionalProps ¶
func (s *User) GetAdditionalProps() UserAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*User) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*User) SetAdditionalProps ¶
func (s *User) SetAdditionalProps(val UserAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UserAdditional ¶
func (*UserAdditional) Decode ¶
func (s *UserAdditional) Decode(d *jx.Decoder) error
Decode decodes UserAdditional from json.
func (UserAdditional) Encode ¶
func (s UserAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UserAdditional) MarshalJSON ¶
func (s UserAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserAdditional) UnmarshalJSON ¶
func (s *UserAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UserID ¶
type UserID string
func (UserID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*UserID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UserNotFound ¶
type UserNotFound struct {
// Merged property.
Code string `json:"code"`
// Human-readable explanation of the error.
Message string `json:"message"`
// Additional error-specific context.
Details OptUserNotFoundDetails `json:"details"`
}
Merged schema. Ref: #
func (*UserNotFound) Decode ¶
func (s *UserNotFound) Decode(d *jx.Decoder) error
Decode decodes UserNotFound from json.
func (*UserNotFound) Encode ¶
func (s *UserNotFound) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UserNotFound) GetCode ¶
func (s *UserNotFound) GetCode() string
GetCode returns the value of Code.
func (*UserNotFound) GetDetails ¶
func (s *UserNotFound) GetDetails() OptUserNotFoundDetails
GetDetails returns the value of Details.
func (*UserNotFound) GetMessage ¶
func (s *UserNotFound) GetMessage() string
GetMessage returns the value of Message.
func (*UserNotFound) MarshalJSON ¶
func (s *UserNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserNotFound) SetCode ¶
func (s *UserNotFound) SetCode(val string)
SetCode sets the value of Code.
func (*UserNotFound) SetDetails ¶
func (s *UserNotFound) SetDetails(val OptUserNotFoundDetails)
SetDetails sets the value of Details.
func (*UserNotFound) SetMessage ¶
func (s *UserNotFound) SetMessage(val string)
SetMessage sets the value of Message.
func (*UserNotFound) UnmarshalJSON ¶
func (s *UserNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UserNotFoundDetails ¶
Additional error-specific context.
func (*UserNotFoundDetails) Decode ¶
func (s *UserNotFoundDetails) Decode(d *jx.Decoder) error
Decode decodes UserNotFoundDetails from json.
func (UserNotFoundDetails) Encode ¶
func (s UserNotFoundDetails) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UserNotFoundDetails) MarshalJSON ¶
func (s UserNotFoundDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserNotFoundDetails) UnmarshalJSON ¶
func (s *UserNotFoundDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UserProperty ¶
type UserProperty struct {
// The verification method for this property, if applicable.
XMinusVerify OptNilString `json:"x-verify"`
// The level of uniqueness for this property, if applicable.
XMinusUnique OptNilUserPropertyXMinusUnique `json:"x-unique"`
// The claim name for this property, if applicable.
XMinusClaim OptNilString `json:"x-claim"`
// Whether this property is editable by the user or not.
XMinusEditable OptBool `json:"x-editable"`
// Whether this property contains sensitive information or not.
XMinusSensitive OptBool `json:"x-sensitive"`
// Whether this property is used for multi-factor authentication or not.
XMinusMfa OptBool `json:"x-mfa"`
// A map of additional properties for the user definition, where the key is the property name and the
// value is the property schema.
Properties OptUserPropertyProperties `json:"properties"`
AdditionalProps UserPropertyAdditional
}
This schema is missing `"allOf": [{"$ref": "https://json-schema.org/draft/2020-12/schema"}],`. This is done because a lot of code generators cannot handle that. Ref: #
func (*UserProperty) Decode ¶
func (s *UserProperty) Decode(d *jx.Decoder) error
Decode decodes UserProperty from json.
func (*UserProperty) Encode ¶
func (s *UserProperty) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UserProperty) GetAdditionalProps ¶
func (s *UserProperty) GetAdditionalProps() UserPropertyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*UserProperty) GetProperties ¶
func (s *UserProperty) GetProperties() OptUserPropertyProperties
GetProperties returns the value of Properties.
func (*UserProperty) GetXMinusClaim ¶
func (s *UserProperty) GetXMinusClaim() OptNilString
GetXMinusClaim returns the value of XMinusClaim.
func (*UserProperty) GetXMinusEditable ¶
func (s *UserProperty) GetXMinusEditable() OptBool
GetXMinusEditable returns the value of XMinusEditable.
func (*UserProperty) GetXMinusMfa ¶
func (s *UserProperty) GetXMinusMfa() OptBool
GetXMinusMfa returns the value of XMinusMfa.
func (*UserProperty) GetXMinusSensitive ¶
func (s *UserProperty) GetXMinusSensitive() OptBool
GetXMinusSensitive returns the value of XMinusSensitive.
func (*UserProperty) GetXMinusUnique ¶
func (s *UserProperty) GetXMinusUnique() OptNilUserPropertyXMinusUnique
GetXMinusUnique returns the value of XMinusUnique.
func (*UserProperty) GetXMinusVerify ¶
func (s *UserProperty) GetXMinusVerify() OptNilString
GetXMinusVerify returns the value of XMinusVerify.
func (*UserProperty) MarshalJSON ¶
func (s *UserProperty) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserProperty) SetAdditionalProps ¶
func (s *UserProperty) SetAdditionalProps(val UserPropertyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*UserProperty) SetProperties ¶
func (s *UserProperty) SetProperties(val OptUserPropertyProperties)
SetProperties sets the value of Properties.
func (*UserProperty) SetXMinusClaim ¶
func (s *UserProperty) SetXMinusClaim(val OptNilString)
SetXMinusClaim sets the value of XMinusClaim.
func (*UserProperty) SetXMinusEditable ¶
func (s *UserProperty) SetXMinusEditable(val OptBool)
SetXMinusEditable sets the value of XMinusEditable.
func (*UserProperty) SetXMinusMfa ¶
func (s *UserProperty) SetXMinusMfa(val OptBool)
SetXMinusMfa sets the value of XMinusMfa.
func (*UserProperty) SetXMinusSensitive ¶
func (s *UserProperty) SetXMinusSensitive(val OptBool)
SetXMinusSensitive sets the value of XMinusSensitive.
func (*UserProperty) SetXMinusUnique ¶
func (s *UserProperty) SetXMinusUnique(val OptNilUserPropertyXMinusUnique)
SetXMinusUnique sets the value of XMinusUnique.
func (*UserProperty) SetXMinusVerify ¶
func (s *UserProperty) SetXMinusVerify(val OptNilString)
SetXMinusVerify sets the value of XMinusVerify.
func (*UserProperty) UnmarshalJSON ¶
func (s *UserProperty) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UserProperty) Validate ¶
func (s *UserProperty) Validate() error
type UserPropertyAdditional ¶
func (*UserPropertyAdditional) Decode ¶
func (s *UserPropertyAdditional) Decode(d *jx.Decoder) error
Decode decodes UserPropertyAdditional from json.
func (UserPropertyAdditional) Encode ¶
func (s UserPropertyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UserPropertyAdditional) MarshalJSON ¶
func (s UserPropertyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserPropertyAdditional) UnmarshalJSON ¶
func (s *UserPropertyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UserPropertyProperties ¶
A map of additional properties for the user definition, where the key is the property name and the value is the property schema.
func (*UserPropertyProperties) Decode ¶
func (s *UserPropertyProperties) Decode(d *jx.Decoder) error
Decode decodes UserPropertyProperties from json.
func (UserPropertyProperties) Encode ¶
func (s UserPropertyProperties) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UserPropertyProperties) MarshalJSON ¶
func (s UserPropertyProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserPropertyProperties) UnmarshalJSON ¶
func (s *UserPropertyProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UserPropertyXMinusUnique ¶
type UserPropertyXMinusUnique string
const ( UserPropertyXMinusUniqueUnspecified UserPropertyXMinusUnique = "unspecified" UserPropertyXMinusUniqueProject UserPropertyXMinusUnique = "project" UserPropertyXMinusUniqueTeam UserPropertyXMinusUnique = "team" )
func (UserPropertyXMinusUnique) AllValues ¶
func (UserPropertyXMinusUnique) AllValues() []UserPropertyXMinusUnique
AllValues returns all UserPropertyXMinusUnique values.
func (*UserPropertyXMinusUnique) Decode ¶
func (s *UserPropertyXMinusUnique) Decode(d *jx.Decoder) error
Decode decodes UserPropertyXMinusUnique from json.
func (UserPropertyXMinusUnique) Encode ¶
func (s UserPropertyXMinusUnique) Encode(e *jx.Encoder)
Encode encodes UserPropertyXMinusUnique as json.
func (UserPropertyXMinusUnique) MarshalJSON ¶
func (s UserPropertyXMinusUnique) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UserPropertyXMinusUnique) MarshalText ¶
func (s UserPropertyXMinusUnique) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UserPropertyXMinusUnique) UnmarshalJSON ¶
func (s *UserPropertyXMinusUnique) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UserPropertyXMinusUnique) UnmarshalText ¶
func (s *UserPropertyXMinusUnique) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UserPropertyXMinusUnique) Validate ¶
func (s UserPropertyXMinusUnique) Validate() error
type UserSchema ¶
type UserSchema struct {
// The JSON Schema version used for this schema.
Schema OptString `json:"$schema"`
// The unique identifier for this user schema.
ID url.URL `json:"$id"`
// Discriminator value for a user schema create request.
Kind string `json:"kind"`
// The user Schema version used for this schema.
MetaSchema url.URL `json:"metaSchema"`
XMinusAuthMinusMethods AuthMethods `json:"x-auth-methods"`
// A map of additional properties for the user definition, where the key is the property name and the
// value is the property schema.
Properties OptUserSchemaProperties `json:"properties"`
AdditionalProps UserSchemaAdditional
}
This schema is missing `"allOf": [{"$ref": "https://json-schema.org/draft/2020-12/schema"}],`. This is done because a lot of code generators cannot handle that. Ref: #
func (*UserSchema) Decode ¶
func (s *UserSchema) Decode(d *jx.Decoder) error
Decode decodes UserSchema from json.
func (*UserSchema) Encode ¶
func (s *UserSchema) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UserSchema) GetAdditionalProps ¶
func (s *UserSchema) GetAdditionalProps() UserSchemaAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*UserSchema) GetKind ¶
func (s *UserSchema) GetKind() string
GetKind returns the value of Kind.
func (*UserSchema) GetMetaSchema ¶
func (s *UserSchema) GetMetaSchema() url.URL
GetMetaSchema returns the value of MetaSchema.
func (*UserSchema) GetProperties ¶
func (s *UserSchema) GetProperties() OptUserSchemaProperties
GetProperties returns the value of Properties.
func (*UserSchema) GetSchema ¶
func (s *UserSchema) GetSchema() OptString
GetSchema returns the value of Schema.
func (*UserSchema) GetXMinusAuthMinusMethods ¶
func (s *UserSchema) GetXMinusAuthMinusMethods() AuthMethods
GetXMinusAuthMinusMethods returns the value of XMinusAuthMinusMethods.
func (*UserSchema) MarshalJSON ¶
func (s *UserSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserSchema) SetAdditionalProps ¶
func (s *UserSchema) SetAdditionalProps(val UserSchemaAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*UserSchema) SetKind ¶
func (s *UserSchema) SetKind(val string)
SetKind sets the value of Kind.
func (*UserSchema) SetMetaSchema ¶
func (s *UserSchema) SetMetaSchema(val url.URL)
SetMetaSchema sets the value of MetaSchema.
func (*UserSchema) SetProperties ¶
func (s *UserSchema) SetProperties(val OptUserSchemaProperties)
SetProperties sets the value of Properties.
func (*UserSchema) SetSchema ¶
func (s *UserSchema) SetSchema(val OptString)
SetSchema sets the value of Schema.
func (*UserSchema) SetXMinusAuthMinusMethods ¶
func (s *UserSchema) SetXMinusAuthMinusMethods(val AuthMethods)
SetXMinusAuthMinusMethods sets the value of XMinusAuthMinusMethods.
func (*UserSchema) UnmarshalJSON ¶
func (s *UserSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UserSchema) Validate ¶
func (s *UserSchema) Validate() error
type UserSchemaAdditional ¶
func (*UserSchemaAdditional) Decode ¶
func (s *UserSchemaAdditional) Decode(d *jx.Decoder) error
Decode decodes UserSchemaAdditional from json.
func (UserSchemaAdditional) Encode ¶
func (s UserSchemaAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UserSchemaAdditional) MarshalJSON ¶
func (s UserSchemaAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserSchemaAdditional) UnmarshalJSON ¶
func (s *UserSchemaAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UserSchemaProperties ¶
type UserSchemaProperties map[string]UserProperty
A map of additional properties for the user definition, where the key is the property name and the value is the property schema.
func (*UserSchemaProperties) Decode ¶
func (s *UserSchemaProperties) Decode(d *jx.Decoder) error
Decode decodes UserSchemaProperties from json.
func (UserSchemaProperties) Encode ¶
func (s UserSchemaProperties) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UserSchemaProperties) MarshalJSON ¶
func (s UserSchemaProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UserSchemaProperties) UnmarshalJSON ¶
func (s *UserSchemaProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (UserSchemaProperties) Validate ¶
func (s UserSchemaProperties) Validate() error
type UsernamePassword ¶
func (*UsernamePassword) GetPassword ¶
func (s *UsernamePassword) GetPassword() string
GetPassword returns the value of Password.
func (*UsernamePassword) GetRoles ¶
func (s *UsernamePassword) GetRoles() []string
GetRoles returns the value of Roles.
func (*UsernamePassword) GetUsername ¶
func (s *UsernamePassword) GetUsername() string
GetUsername returns the value of Username.
func (*UsernamePassword) SetPassword ¶
func (s *UsernamePassword) SetPassword(val string)
SetPassword sets the value of Password.
func (*UsernamePassword) SetRoles ¶
func (s *UsernamePassword) SetRoles(val []string)
SetRoles sets the value of Roles.
func (*UsernamePassword) SetUsername ¶
func (s *UsernamePassword) SetUsername(val string)
SetUsername sets the value of Username.
type VerifyChallengeProofErrorResponse ¶
type VerifyChallengeProofErrorResponse struct {
Type VerifyChallengeProofErrorResponseType // switch on this field
AttNotFound AttNotFound
AttStaleChallenge AttStaleChallenge
AttInvalidRequest AttInvalidRequest
AttProofRejected AttProofRejected
AttInvalidState AttInvalidState
AttAlreadyCompleted AttAlreadyCompleted
Internal Internal
}
VerifyChallengeProofErrorResponse represents sum type.
func NewAttAlreadyCompletedVerifyChallengeProofErrorResponse ¶
func NewAttAlreadyCompletedVerifyChallengeProofErrorResponse(v AttAlreadyCompleted) VerifyChallengeProofErrorResponse
NewAttAlreadyCompletedVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from AttAlreadyCompleted.
func NewAttInvalidRequestVerifyChallengeProofErrorResponse ¶
func NewAttInvalidRequestVerifyChallengeProofErrorResponse(v AttInvalidRequest) VerifyChallengeProofErrorResponse
NewAttInvalidRequestVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from AttInvalidRequest.
func NewAttInvalidStateVerifyChallengeProofErrorResponse ¶
func NewAttInvalidStateVerifyChallengeProofErrorResponse(v AttInvalidState) VerifyChallengeProofErrorResponse
NewAttInvalidStateVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from AttInvalidState.
func NewAttNotFoundVerifyChallengeProofErrorResponse ¶
func NewAttNotFoundVerifyChallengeProofErrorResponse(v AttNotFound) VerifyChallengeProofErrorResponse
NewAttNotFoundVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from AttNotFound.
func NewAttProofRejectedVerifyChallengeProofErrorResponse ¶
func NewAttProofRejectedVerifyChallengeProofErrorResponse(v AttProofRejected) VerifyChallengeProofErrorResponse
NewAttProofRejectedVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from AttProofRejected.
func NewAttStaleChallengeVerifyChallengeProofErrorResponse ¶
func NewAttStaleChallengeVerifyChallengeProofErrorResponse(v AttStaleChallenge) VerifyChallengeProofErrorResponse
NewAttStaleChallengeVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from AttStaleChallenge.
func NewInternalVerifyChallengeProofErrorResponse ¶
func NewInternalVerifyChallengeProofErrorResponse(v Internal) VerifyChallengeProofErrorResponse
NewInternalVerifyChallengeProofErrorResponse returns new VerifyChallengeProofErrorResponse from Internal.
func (*VerifyChallengeProofErrorResponse) Decode ¶
func (s *VerifyChallengeProofErrorResponse) Decode(d *jx.Decoder) error
Decode decodes VerifyChallengeProofErrorResponse from json.
func (VerifyChallengeProofErrorResponse) Encode ¶
func (s VerifyChallengeProofErrorResponse) Encode(e *jx.Encoder)
Encode encodes VerifyChallengeProofErrorResponse as json.
func (VerifyChallengeProofErrorResponse) GetAttAlreadyCompleted ¶
func (s VerifyChallengeProofErrorResponse) GetAttAlreadyCompleted() (v AttAlreadyCompleted, ok bool)
GetAttAlreadyCompleted returns AttAlreadyCompleted and true boolean if VerifyChallengeProofErrorResponse is AttAlreadyCompleted.
func (VerifyChallengeProofErrorResponse) GetAttInvalidRequest ¶
func (s VerifyChallengeProofErrorResponse) GetAttInvalidRequest() (v AttInvalidRequest, ok bool)
GetAttInvalidRequest returns AttInvalidRequest and true boolean if VerifyChallengeProofErrorResponse is AttInvalidRequest.
func (VerifyChallengeProofErrorResponse) GetAttInvalidState ¶
func (s VerifyChallengeProofErrorResponse) GetAttInvalidState() (v AttInvalidState, ok bool)
GetAttInvalidState returns AttInvalidState and true boolean if VerifyChallengeProofErrorResponse is AttInvalidState.
func (VerifyChallengeProofErrorResponse) GetAttNotFound ¶
func (s VerifyChallengeProofErrorResponse) GetAttNotFound() (v AttNotFound, ok bool)
GetAttNotFound returns AttNotFound and true boolean if VerifyChallengeProofErrorResponse is AttNotFound.
func (VerifyChallengeProofErrorResponse) GetAttProofRejected ¶
func (s VerifyChallengeProofErrorResponse) GetAttProofRejected() (v AttProofRejected, ok bool)
GetAttProofRejected returns AttProofRejected and true boolean if VerifyChallengeProofErrorResponse is AttProofRejected.
func (VerifyChallengeProofErrorResponse) GetAttStaleChallenge ¶
func (s VerifyChallengeProofErrorResponse) GetAttStaleChallenge() (v AttStaleChallenge, ok bool)
GetAttStaleChallenge returns AttStaleChallenge and true boolean if VerifyChallengeProofErrorResponse is AttStaleChallenge.
func (VerifyChallengeProofErrorResponse) GetInternal ¶
func (s VerifyChallengeProofErrorResponse) GetInternal() (v Internal, ok bool)
GetInternal returns Internal and true boolean if VerifyChallengeProofErrorResponse is Internal.
func (VerifyChallengeProofErrorResponse) IsAttAlreadyCompleted ¶
func (s VerifyChallengeProofErrorResponse) IsAttAlreadyCompleted() bool
IsAttAlreadyCompleted reports whether VerifyChallengeProofErrorResponse is AttAlreadyCompleted.
func (VerifyChallengeProofErrorResponse) IsAttInvalidRequest ¶
func (s VerifyChallengeProofErrorResponse) IsAttInvalidRequest() bool
IsAttInvalidRequest reports whether VerifyChallengeProofErrorResponse is AttInvalidRequest.
func (VerifyChallengeProofErrorResponse) IsAttInvalidState ¶
func (s VerifyChallengeProofErrorResponse) IsAttInvalidState() bool
IsAttInvalidState reports whether VerifyChallengeProofErrorResponse is AttInvalidState.
func (VerifyChallengeProofErrorResponse) IsAttNotFound ¶
func (s VerifyChallengeProofErrorResponse) IsAttNotFound() bool
IsAttNotFound reports whether VerifyChallengeProofErrorResponse is AttNotFound.
func (VerifyChallengeProofErrorResponse) IsAttProofRejected ¶
func (s VerifyChallengeProofErrorResponse) IsAttProofRejected() bool
IsAttProofRejected reports whether VerifyChallengeProofErrorResponse is AttProofRejected.
func (VerifyChallengeProofErrorResponse) IsAttStaleChallenge ¶
func (s VerifyChallengeProofErrorResponse) IsAttStaleChallenge() bool
IsAttStaleChallenge reports whether VerifyChallengeProofErrorResponse is AttStaleChallenge.
func (VerifyChallengeProofErrorResponse) IsInternal ¶
func (s VerifyChallengeProofErrorResponse) IsInternal() bool
IsInternal reports whether VerifyChallengeProofErrorResponse is Internal.
func (VerifyChallengeProofErrorResponse) MarshalJSON ¶
func (s VerifyChallengeProofErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VerifyChallengeProofErrorResponse) SetAttAlreadyCompleted ¶
func (s *VerifyChallengeProofErrorResponse) SetAttAlreadyCompleted(v AttAlreadyCompleted)
SetAttAlreadyCompleted sets VerifyChallengeProofErrorResponse to AttAlreadyCompleted.
func (*VerifyChallengeProofErrorResponse) SetAttInvalidRequest ¶
func (s *VerifyChallengeProofErrorResponse) SetAttInvalidRequest(v AttInvalidRequest)
SetAttInvalidRequest sets VerifyChallengeProofErrorResponse to AttInvalidRequest.
func (*VerifyChallengeProofErrorResponse) SetAttInvalidState ¶
func (s *VerifyChallengeProofErrorResponse) SetAttInvalidState(v AttInvalidState)
SetAttInvalidState sets VerifyChallengeProofErrorResponse to AttInvalidState.
func (*VerifyChallengeProofErrorResponse) SetAttNotFound ¶
func (s *VerifyChallengeProofErrorResponse) SetAttNotFound(v AttNotFound)
SetAttNotFound sets VerifyChallengeProofErrorResponse to AttNotFound.
func (*VerifyChallengeProofErrorResponse) SetAttProofRejected ¶
func (s *VerifyChallengeProofErrorResponse) SetAttProofRejected(v AttProofRejected)
SetAttProofRejected sets VerifyChallengeProofErrorResponse to AttProofRejected.
func (*VerifyChallengeProofErrorResponse) SetAttStaleChallenge ¶
func (s *VerifyChallengeProofErrorResponse) SetAttStaleChallenge(v AttStaleChallenge)
SetAttStaleChallenge sets VerifyChallengeProofErrorResponse to AttStaleChallenge.
func (*VerifyChallengeProofErrorResponse) SetInternal ¶
func (s *VerifyChallengeProofErrorResponse) SetInternal(v Internal)
SetInternal sets VerifyChallengeProofErrorResponse to Internal.
func (*VerifyChallengeProofErrorResponse) UnmarshalJSON ¶
func (s *VerifyChallengeProofErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type VerifyChallengeProofErrorResponseStatusCode ¶
type VerifyChallengeProofErrorResponseStatusCode struct {
StatusCode int
Response VerifyChallengeProofErrorResponse
}
VerifyChallengeProofErrorResponseStatusCode wraps VerifyChallengeProofErrorResponse with StatusCode.
func (*VerifyChallengeProofErrorResponseStatusCode) GetResponse ¶
func (s *VerifyChallengeProofErrorResponseStatusCode) GetResponse() VerifyChallengeProofErrorResponse
GetResponse returns the value of Response.
func (*VerifyChallengeProofErrorResponseStatusCode) GetStatusCode ¶
func (s *VerifyChallengeProofErrorResponseStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*VerifyChallengeProofErrorResponseStatusCode) SetResponse ¶
func (s *VerifyChallengeProofErrorResponseStatusCode) SetResponse(val VerifyChallengeProofErrorResponse)
SetResponse sets the value of Response.
func (*VerifyChallengeProofErrorResponseStatusCode) SetStatusCode ¶
func (s *VerifyChallengeProofErrorResponseStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type VerifyChallengeProofErrorResponseType ¶
type VerifyChallengeProofErrorResponseType string
VerifyChallengeProofErrorResponseType is oneOf type of VerifyChallengeProofErrorResponse.
const ( AttNotFoundVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "att.not_found" AttStaleChallengeVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "att.stale_challenge" AttInvalidRequestVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "att.invalid_request" AttProofRejectedVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "att.proof_rejected" AttInvalidStateVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "att.invalid_state" AttAlreadyCompletedVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "att.already_completed" InternalVerifyChallengeProofErrorResponse VerifyChallengeProofErrorResponseType = "internal" )
Possible values for VerifyChallengeProofErrorResponseType.
type VerifyChallengeProofParams ¶
type VerifyChallengeProofParams struct {
// The unique identifier of the authentication attempt.
AttemptID AttemptID
// The unique identifier of this challenge.
ChallengeID ChallengeID
// Optional retry key for safe retries of the call.
// Retries carrying the same key within the call window return the cached
// payload without creating a new resource. See details in the endpoint description.
IdempotencyKey OptString `json:",omitempty,omitzero"`
}
VerifyChallengeProofParams is parameters of verifyChallengeProof operation.
type VerifyChallengeProofRes ¶
type VerifyChallengeProofRes interface {
// contains filtered or unexported methods
}
type VerifyChallengeRequest ¶
type VerifyChallengeRequest struct {
OneOf VerifyChallengeRequestSum
}
Proof for verifying a factor challenge. The exact format depends on the challenge method. The proof object should contain only the credential/code/assertion relevant to the challenge method being verified. Ref: #
func (*VerifyChallengeRequest) Decode ¶
func (s *VerifyChallengeRequest) Decode(d *jx.Decoder) error
Decode decodes VerifyChallengeRequest from json.
func (*VerifyChallengeRequest) Encode ¶
func (s *VerifyChallengeRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*VerifyChallengeRequest) GetOneOf ¶
func (s *VerifyChallengeRequest) GetOneOf() VerifyChallengeRequestSum
GetOneOf returns the value of OneOf.
func (*VerifyChallengeRequest) MarshalJSON ¶
func (s *VerifyChallengeRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VerifyChallengeRequest) SetOneOf ¶
func (s *VerifyChallengeRequest) SetOneOf(val VerifyChallengeRequestSum)
SetOneOf sets the value of OneOf.
func (*VerifyChallengeRequest) UnmarshalJSON ¶
func (s *VerifyChallengeRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type VerifyChallengeRequestSum ¶
type VerifyChallengeRequestSum struct {
Type VerifyChallengeRequestSumType // switch on this field
IdentifierProof IdentifierProof
PasswordProof PasswordProof
PasskeyProof PasskeyProof
}
VerifyChallengeRequestSum represents sum type.
func NewIdentifierProofVerifyChallengeRequestSum ¶
func NewIdentifierProofVerifyChallengeRequestSum(v IdentifierProof) VerifyChallengeRequestSum
NewIdentifierProofVerifyChallengeRequestSum returns new VerifyChallengeRequestSum from IdentifierProof.
func NewPasskeyProofVerifyChallengeRequestSum ¶
func NewPasskeyProofVerifyChallengeRequestSum(v PasskeyProof) VerifyChallengeRequestSum
NewPasskeyProofVerifyChallengeRequestSum returns new VerifyChallengeRequestSum from PasskeyProof.
func NewPasswordProofVerifyChallengeRequestSum ¶
func NewPasswordProofVerifyChallengeRequestSum(v PasswordProof) VerifyChallengeRequestSum
NewPasswordProofVerifyChallengeRequestSum returns new VerifyChallengeRequestSum from PasswordProof.
func (*VerifyChallengeRequestSum) Decode ¶
func (s *VerifyChallengeRequestSum) Decode(d *jx.Decoder) error
Decode decodes VerifyChallengeRequestSum from json.
func (VerifyChallengeRequestSum) Encode ¶
func (s VerifyChallengeRequestSum) Encode(e *jx.Encoder)
Encode encodes VerifyChallengeRequestSum as json.
func (VerifyChallengeRequestSum) GetIdentifierProof ¶
func (s VerifyChallengeRequestSum) GetIdentifierProof() (v IdentifierProof, ok bool)
GetIdentifierProof returns IdentifierProof and true boolean if VerifyChallengeRequestSum is IdentifierProof.
func (VerifyChallengeRequestSum) GetPasskeyProof ¶
func (s VerifyChallengeRequestSum) GetPasskeyProof() (v PasskeyProof, ok bool)
GetPasskeyProof returns PasskeyProof and true boolean if VerifyChallengeRequestSum is PasskeyProof.
func (VerifyChallengeRequestSum) GetPasswordProof ¶
func (s VerifyChallengeRequestSum) GetPasswordProof() (v PasswordProof, ok bool)
GetPasswordProof returns PasswordProof and true boolean if VerifyChallengeRequestSum is PasswordProof.
func (VerifyChallengeRequestSum) IsIdentifierProof ¶
func (s VerifyChallengeRequestSum) IsIdentifierProof() bool
IsIdentifierProof reports whether VerifyChallengeRequestSum is IdentifierProof.
func (VerifyChallengeRequestSum) IsPasskeyProof ¶
func (s VerifyChallengeRequestSum) IsPasskeyProof() bool
IsPasskeyProof reports whether VerifyChallengeRequestSum is PasskeyProof.
func (VerifyChallengeRequestSum) IsPasswordProof ¶
func (s VerifyChallengeRequestSum) IsPasswordProof() bool
IsPasswordProof reports whether VerifyChallengeRequestSum is PasswordProof.
func (VerifyChallengeRequestSum) MarshalJSON ¶
func (s VerifyChallengeRequestSum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*VerifyChallengeRequestSum) SetIdentifierProof ¶
func (s *VerifyChallengeRequestSum) SetIdentifierProof(v IdentifierProof)
SetIdentifierProof sets VerifyChallengeRequestSum to IdentifierProof.
func (*VerifyChallengeRequestSum) SetPasskeyProof ¶
func (s *VerifyChallengeRequestSum) SetPasskeyProof(v PasskeyProof)
SetPasskeyProof sets VerifyChallengeRequestSum to PasskeyProof.
func (*VerifyChallengeRequestSum) SetPasswordProof ¶
func (s *VerifyChallengeRequestSum) SetPasswordProof(v PasswordProof)
SetPasswordProof sets VerifyChallengeRequestSum to PasswordProof.
func (*VerifyChallengeRequestSum) UnmarshalJSON ¶
func (s *VerifyChallengeRequestSum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type VerifyChallengeRequestSumType ¶
type VerifyChallengeRequestSumType string
VerifyChallengeRequestSumType is oneOf type of VerifyChallengeRequestSum.
const ( IdentifierProofVerifyChallengeRequestSum VerifyChallengeRequestSumType = "IdentifierProof" PasswordProofVerifyChallengeRequestSum VerifyChallengeRequestSumType = "PasswordProof" PasskeyProofVerifyChallengeRequestSum VerifyChallengeRequestSumType = "PasskeyProof" )
Possible values for VerifyChallengeRequestSumType.
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go