identityclient

package
v0.0.0-...-48b9d42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for identityclient

Welcome to the Identity HTTP API documentation! You will find documentation for all HTTP APIs here.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: latest
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import identityclient "github.com/gunsluo/go-example/ory/identity-ui/identityclient"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), identityclient.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), identityclient.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), identityclient.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), identityclient.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ConsentApi GetConsentFlowRequest Get /self-service/consent/flows # Get Consent Flow
ConsentApi InitBrowserConsentFlowRequest Get /self-service/consent/browser # Initialize Consent Flow for Browsers
ConsentApi SubmitConsentFlowRequest Post /self-service/consent # Submit a Consent Flow
LoginApi GetLoginFlowRequest Get /self-service/login/flows # Get Login Flow
LoginApi InitBrowserLoginFlowRequest Get /self-service/login/browser # Initialize Login Flow for Browsers
LoginApi SubmitLoginFlowRequest Post /self-service/login # Submit a Login Flow
LogoutApi InitBrowserLogoutFlowRequest Get /self-service/logout/browser # Create a Logout URL for Browsers
LogoutApi SubmitLogoutFlowRequest Get /self-service/logout # Complete Self-Service Logout
RecoveryApi GetRecoveryFlowRequest Get /self-service/recovery/flows # Get Recovery Flow
RecoveryApi InitBrowserRecoveryFlowRequest Get /self-service/recovery/browser # Initialize Recovery Flow for Browsers
RecoveryApi SubmitRecoveryFlowRequest Post /self-service/recovery # Complete Recovery Flow
RegistrationApi GetRegistrationFlowRequest Get /self-service/registration/flows # Get Registration Flow
RegistrationApi InitBrowserRegistrationFlowRequest Get /self-service/registration/browser # Initialize Registration Flow for Browsers
RegistrationApi SubmitRegistrationFlowRequest Post /self-service/registration # Submit a Registration Flow
SessionApi ToSessionRequest Get /sessions/whoami # Check Who the Current HTTP Session Belongs To
SettingsApi GetSettingsFlowRequest Get /self-service/settings/flows # Get Settings Flow
SettingsApi InitBrowserSettingsFlowRequest Get /self-service/settings/browser # Initialize Settings Flow for Browsers
SettingsApi SubmitSettingsFlowRequest Post /self-service/settings # Complete Settings Flow
VerificationApi GetVerificationFlowRequest Get /self-service/verification/flows # Get Verification Flow
VerificationApi InitBrowserVerificationFlowRequest Get /self-service/verification/browser # Initialize Verification Flow for Browser Clients
VerificationApi SubmitVerificationFlowRequest Post /self-service/verification # Complete Verification Flow

Documentation For Models

Documentation For Authorization

oryAccessToken
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ConsentApi ConsentApi

	LoginApi LoginApi

	LogoutApi LogoutApi

	RecoveryApi RecoveryApi

	RegistrationApi RegistrationApi

	SessionApi SessionApi

	SettingsApi SettingsApi

	VerificationApi VerificationApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Identity API vlatest In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APILoginFlow

type APILoginFlow struct {
	Session Session `json:"session"`
	// The Session Token  A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header:  Authorization: bearer ${session-token}  The session token is only issued for API flows, not for Browser flows!
	SessionToken *string `json:"session_token,omitempty"`
}

APILoginFlow struct for APILoginFlow

func NewAPILoginFlow

func NewAPILoginFlow(session Session) *APILoginFlow

NewAPILoginFlow instantiates a new APILoginFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPILoginFlowWithDefaults

func NewAPILoginFlowWithDefaults() *APILoginFlow

NewAPILoginFlowWithDefaults instantiates a new APILoginFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APILoginFlow) GetSession

func (o *APILoginFlow) GetSession() Session

GetSession returns the Session field value

func (*APILoginFlow) GetSessionOk

func (o *APILoginFlow) GetSessionOk() (*Session, bool)

GetSessionOk returns a tuple with the Session field value and a boolean to check if the value has been set.

func (*APILoginFlow) GetSessionToken

func (o *APILoginFlow) GetSessionToken() string

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*APILoginFlow) GetSessionTokenOk

func (o *APILoginFlow) GetSessionTokenOk() (*string, bool)

GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APILoginFlow) HasSessionToken

func (o *APILoginFlow) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (APILoginFlow) MarshalJSON

func (o APILoginFlow) MarshalJSON() ([]byte, error)

func (*APILoginFlow) SetSession

func (o *APILoginFlow) SetSession(v Session)

SetSession sets field value

func (*APILoginFlow) SetSessionToken

func (o *APILoginFlow) SetSessionToken(v string)

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

type APIRegistrationFlow

type APIRegistrationFlow struct {
	Identity Identity `json:"identity"`
	Session  *Session `json:"session,omitempty"`
	// The Session Token  This field is only set when the session hook is configured as a post-registration hook.  A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header:  Authorization: bearer ${session-token}  The session token is only issued for API flows, not for Browser flows!
	SessionToken *string `json:"session_token,omitempty"`
}

APIRegistrationFlow struct for APIRegistrationFlow

func NewAPIRegistrationFlow

func NewAPIRegistrationFlow(identity Identity) *APIRegistrationFlow

NewAPIRegistrationFlow instantiates a new APIRegistrationFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIRegistrationFlowWithDefaults

func NewAPIRegistrationFlowWithDefaults() *APIRegistrationFlow

NewAPIRegistrationFlowWithDefaults instantiates a new APIRegistrationFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIRegistrationFlow) GetIdentity

func (o *APIRegistrationFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*APIRegistrationFlow) GetIdentityOk

func (o *APIRegistrationFlow) GetIdentityOk() (*Identity, bool)

GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.

func (*APIRegistrationFlow) GetSession

func (o *APIRegistrationFlow) GetSession() Session

GetSession returns the Session field value if set, zero value otherwise.

func (*APIRegistrationFlow) GetSessionOk

func (o *APIRegistrationFlow) GetSessionOk() (*Session, bool)

GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIRegistrationFlow) GetSessionToken

func (o *APIRegistrationFlow) GetSessionToken() string

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*APIRegistrationFlow) GetSessionTokenOk

func (o *APIRegistrationFlow) GetSessionTokenOk() (*string, bool)

GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIRegistrationFlow) HasSession

func (o *APIRegistrationFlow) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*APIRegistrationFlow) HasSessionToken

func (o *APIRegistrationFlow) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (APIRegistrationFlow) MarshalJSON

func (o APIRegistrationFlow) MarshalJSON() ([]byte, error)

func (*APIRegistrationFlow) SetIdentity

func (o *APIRegistrationFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*APIRegistrationFlow) SetSession

func (o *APIRegistrationFlow) SetSession(v Session)

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*APIRegistrationFlow) SetSessionToken

func (o *APIRegistrationFlow) SetSessionToken(v string)

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AuthenticatorAssuranceLevel

type AuthenticatorAssuranceLevel string

AuthenticatorAssuranceLevel The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder for an attacker to compromise the account. Generally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g. password + TOTP) have been used.

const (
	AUTHENTICATORASSURANCELEVEL_AAL0 AuthenticatorAssuranceLevel = "aal0"
	AUTHENTICATORASSURANCELEVEL_AAL1 AuthenticatorAssuranceLevel = "aal1"
	AUTHENTICATORASSURANCELEVEL_AAL2 AuthenticatorAssuranceLevel = "aal2"
	AUTHENTICATORASSURANCELEVEL_AAL3 AuthenticatorAssuranceLevel = "aal3"
)

List of authenticatorAssuranceLevel

func NewAuthenticatorAssuranceLevelFromValue

func NewAuthenticatorAssuranceLevelFromValue(v string) (*AuthenticatorAssuranceLevel, error)

NewAuthenticatorAssuranceLevelFromValue returns a pointer to a valid AuthenticatorAssuranceLevel for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AuthenticatorAssuranceLevel) IsValid

func (v AuthenticatorAssuranceLevel) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AuthenticatorAssuranceLevel) Ptr

Ptr returns reference to authenticatorAssuranceLevel value

func (*AuthenticatorAssuranceLevel) UnmarshalJSON

func (v *AuthenticatorAssuranceLevel) UnmarshalJSON(src []byte) error

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BrowserLocationChangeRequiredResponse

type BrowserLocationChangeRequiredResponse struct {
	Code *Code `json:"code,omitempty"`
	// Detail contains further information on the nature of the error.
	Detail *string `json:"detail,omitempty"`
	// Message is the error message.
	Msg *string `json:"msg,omitempty"`
	// Since when the flow has expired
	RedirectBrowserTo *string `json:"redirect_browser_to,omitempty"`
	// TraceId is the identifier for a trace. It is globally unique.
	TraceId *string `json:"traceId,omitempty"`
	// Type A URI reference that identifies the error type.
	Type *string `json:"type,omitempty"`
}

BrowserLocationChangeRequiredResponse struct for BrowserLocationChangeRequiredResponse

func NewBrowserLocationChangeRequiredResponse

func NewBrowserLocationChangeRequiredResponse() *BrowserLocationChangeRequiredResponse

NewBrowserLocationChangeRequiredResponse instantiates a new BrowserLocationChangeRequiredResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBrowserLocationChangeRequiredResponseWithDefaults

func NewBrowserLocationChangeRequiredResponseWithDefaults() *BrowserLocationChangeRequiredResponse

NewBrowserLocationChangeRequiredResponseWithDefaults instantiates a new BrowserLocationChangeRequiredResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BrowserLocationChangeRequiredResponse) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*BrowserLocationChangeRequiredResponse) GetCodeOk

func (o *BrowserLocationChangeRequiredResponse) GetCodeOk() (*Code, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserLocationChangeRequiredResponse) GetDetail

GetDetail returns the Detail field value if set, zero value otherwise.

func (*BrowserLocationChangeRequiredResponse) GetDetailOk

func (o *BrowserLocationChangeRequiredResponse) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserLocationChangeRequiredResponse) GetMsg

GetMsg returns the Msg field value if set, zero value otherwise.

func (*BrowserLocationChangeRequiredResponse) GetMsgOk

GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserLocationChangeRequiredResponse) GetRedirectBrowserTo

func (o *BrowserLocationChangeRequiredResponse) GetRedirectBrowserTo() string

GetRedirectBrowserTo returns the RedirectBrowserTo field value if set, zero value otherwise.

func (*BrowserLocationChangeRequiredResponse) GetRedirectBrowserToOk

func (o *BrowserLocationChangeRequiredResponse) GetRedirectBrowserToOk() (*string, bool)

GetRedirectBrowserToOk returns a tuple with the RedirectBrowserTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserLocationChangeRequiredResponse) GetTraceId

GetTraceId returns the TraceId field value if set, zero value otherwise.

func (*BrowserLocationChangeRequiredResponse) GetTraceIdOk

func (o *BrowserLocationChangeRequiredResponse) GetTraceIdOk() (*string, bool)

GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserLocationChangeRequiredResponse) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*BrowserLocationChangeRequiredResponse) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BrowserLocationChangeRequiredResponse) HasCode

HasCode returns a boolean if a field has been set.

func (*BrowserLocationChangeRequiredResponse) HasDetail

HasDetail returns a boolean if a field has been set.

func (*BrowserLocationChangeRequiredResponse) HasMsg

HasMsg returns a boolean if a field has been set.

func (*BrowserLocationChangeRequiredResponse) HasRedirectBrowserTo

func (o *BrowserLocationChangeRequiredResponse) HasRedirectBrowserTo() bool

HasRedirectBrowserTo returns a boolean if a field has been set.

func (*BrowserLocationChangeRequiredResponse) HasTraceId

HasTraceId returns a boolean if a field has been set.

func (*BrowserLocationChangeRequiredResponse) HasType

HasType returns a boolean if a field has been set.

func (BrowserLocationChangeRequiredResponse) MarshalJSON

func (o BrowserLocationChangeRequiredResponse) MarshalJSON() ([]byte, error)

func (*BrowserLocationChangeRequiredResponse) SetCode

SetCode gets a reference to the given Code and assigns it to the Code field.

func (*BrowserLocationChangeRequiredResponse) SetDetail

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*BrowserLocationChangeRequiredResponse) SetMsg

SetMsg gets a reference to the given string and assigns it to the Msg field.

func (*BrowserLocationChangeRequiredResponse) SetRedirectBrowserTo

func (o *BrowserLocationChangeRequiredResponse) SetRedirectBrowserTo(v string)

SetRedirectBrowserTo gets a reference to the given string and assigns it to the RedirectBrowserTo field.

func (*BrowserLocationChangeRequiredResponse) SetTraceId

SetTraceId gets a reference to the given string and assigns it to the TraceId field.

func (*BrowserLocationChangeRequiredResponse) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type Code

type Code int64

Code Code responses is error code when an error occurred. ``` Success Code = 2000 // Success BadRequest Code = 4000 // BadRequest InvalidArguments Code = 4001 // InvalidArguments Forbidden Code = 4003 // Forbidden NotFound Code = 4004 // NotFound Internal Code = 5000 // Internal NoActiveSessionFound Code = 6001 // NoActiveSessionFound AlreadyLoggedIn Code = 6002 // AlreadyLoggedIn LoginFlowExpired Code = 6003 // LoginFlowExpired StrategyNotResponsible Code = 6004 // StrategyNotResponsible CompletedByStrategy Code = 6005 // CompletedByStrategy NoStrategyResponsible Code = 6006 // NoStrategyResponsible InvalidCSRFTokenNotSent Code = 6007 // InvalidCSRFTokenNotSent InvalidCSRFTokenMismatch Code = 6008 // InvalidCSRFTokenMismatch OriginHeaderNeedsBrowserFlow Code = 6009 // OriginHeaderNeedsBrowserFlow CookieHeaderNeedsBrowserFlow Code = 6010 // CookieHeaderNeedsBrowserFlow AddressNotVerified Code = 6011 // AddressNotVerified IdentityDisabled Code = 6012 // IdentityDisabled AALNotSatisfied Code = 6013 // AALNotSatisfied RegistrationDisabled Code = 6014 // RegistrationDisabled RegistrationFlowExpired Code = 6015 // RegistrationFlowExpired HookAbortFlow Code = 6016 // HookAbortFlow VerificationDisabled Code = 6017 // VerificationDisabled VerificationFlowExpired Code = 6018 // VerificationFlowExpired VerificationFlowNotFound Code = 6019 // VerificationFlowNotFound WorkflowTokenNotFound Code = 6020 // WorkflowTokenNotFound WorkflowTokenExpired Code = 6021 // WorkflowTokenExpired SettingsDisabled Code = 6022 // SettingsDisabled SettingsFlowExpired Code = 6023 // SettingsFlowExpired SettingsFlowNotFound Code = 6024 // SettingsFlowNotFound SecurityIdentityMismatch Code = 6025 // SecurityIdentityMismatch RecoveryDisabled Code = 6026 // RecoveryDisabled RecoveryFlowExpired Code = 6027 // RecoveryFlowExpired RecoveryFlowNotFound Code = 6028 // RecoveryFlowNotFound NeedsReAuth Code = 6029 // NeedsReAuth SessionRequiredForHigherAAL Code = 6030 // SessionRequiredForHigherAAL BrowserLocationChangeRequired Code = 6031 // BrowserLocationChangeRequired ContinuityExpired Code = 6032 // ContinuityExpired APIFlowNotSupported Code = 6033 // APIFlowNotSupported ScopeMissing Code = 6034 // ScopeMissing IDTokenMissing Code = 6035 // IDTokenMissing ContinueFlow Code = 6036 // ContinueFlow ConsentFlowExpired Code = 6037 // ConsentFlowExpired IdentityNotFound Code = 6050 // IdentityNotFound IdentityMissing Code = 6051 // IdentityMissing IdentityHasVerified Code = 6052 // IdentityHasVerified IdentityNotVerified Code = 6053 // IdentityNotVerified PasswordMismatch Code = 6054 // PasswordMismatch PasswordMissing Code = 6055 // PasswordMissing InvalidPassword Code = 6056 // InvalidPassword TraitsEmailMissing Code = 6057 // TraitsEmailMissing TraitsMobileMissing Code = 6058 // TraitsMobileMissing InvalidTraitsType Code = 6059 // InvalidTraitsType InvalidTraitsEmail Code = 6060 // InvalidTraitsEmail InvalidTraitsMobile Code = 6061 // InvalidTraitsMobile DuplicateIdentity Code = 6062 // DuplicateIdentity WorkflowTokenHasSent Code = 6063 // WorkflowTokenHasSent WorkflowTokenMissing Code = 6064 // WorkflowTokenMissing WorkflowTokenMismatch Code = 6065 // WorkflowTokenMismatch TotpCodeMissing Code = 6066 // TotpCodeMissing TotpCodeInvalid Code = 6067 // TotpCodeInvalid TotpCodeMismatch Code = 6068 // TotpCodeMismatch RecoveryCodeMismatch Code = 6069 // RecoveryCodeMismatch IdentityNotBind Code = 6070 // IdentityNotBind Unknown Code = 9000 // Unknown ```

const (
	CODE__4000 Code = 4000
	CODE__4001 Code = 4001
	CODE__4003 Code = 4003
	CODE__4004 Code = 4004
	CODE__5000 Code = 5000
	CODE__6001 Code = 6001
	CODE__6002 Code = 6002
	CODE__6003 Code = 6003
	CODE__6004 Code = 6004
	CODE__6005 Code = 6005
	CODE__6006 Code = 6006
	CODE__6007 Code = 6007
	CODE__6008 Code = 6008
	CODE__6009 Code = 6009
	CODE__6010 Code = 6010
	CODE__6011 Code = 6011
	CODE__6012 Code = 6012
	CODE__6013 Code = 6013
	CODE__6014 Code = 6014
	CODE__6015 Code = 6015
	CODE__6016 Code = 6016
	CODE__6017 Code = 6017
	CODE__6018 Code = 6018
	CODE__6019 Code = 6019
	CODE__6020 Code = 6020
	CODE__6021 Code = 6021
	CODE__6022 Code = 6022
	CODE__6023 Code = 6023
	CODE__6024 Code = 6024
	CODE__6025 Code = 6025
	CODE__6026 Code = 6026
	CODE__6027 Code = 6027
	CODE__6028 Code = 6028
	CODE__6029 Code = 6029
	CODE__6030 Code = 6030
	CODE__6031 Code = 6031
	CODE__6032 Code = 6032
	CODE__6033 Code = 6033
	CODE__6034 Code = 6034
	CODE__6035 Code = 6035
	CODE__6036 Code = 6036
	CODE__6037 Code = 6037
	CODE__6038 Code = 6038
	CODE__6050 Code = 6050
	CODE__6051 Code = 6051
	CODE__6052 Code = 6052
	CODE__6053 Code = 6053
	CODE__6054 Code = 6054
	CODE__6055 Code = 6055
	CODE__6056 Code = 6056
	CODE__6057 Code = 6057
	CODE__6058 Code = 6058
	CODE__6059 Code = 6059
	CODE__6060 Code = 6060
	CODE__6061 Code = 6061
	CODE__6062 Code = 6062
	CODE__6063 Code = 6063
	CODE__6064 Code = 6064
	CODE__6065 Code = 6065
	CODE__6066 Code = 6066
	CODE__6067 Code = 6067
	CODE__6068 Code = 6068
	CODE__6069 Code = 6069
	CODE__6070 Code = 6070
	CODE__9000 Code = 9000
	CODE__2000 Code = 2000
)

List of code

func NewCodeFromValue

func NewCodeFromValue(v int64) (*Code, error)

NewCodeFromValue returns a pointer to a valid Code for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Code) IsValid

func (v Code) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Code) Ptr

func (v Code) Ptr() *Code

Ptr returns reference to code value

func (*Code) UnmarshalJSON

func (v *Code) UnmarshalJSON(src []byte) error

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConsentApi

type ConsentApi interface {

	/*
		 * GetConsentFlowRequest # Get Consent Flow
		 * This endpoint returns a consent flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/consent', async function (req, res) {
	const flow = await client.getSelfServiceConsentFlow(req.header('cookie'), req.query['flow'])

	res.render('consent', flow)
	})
	“`

	This request may fail due to several reasons. The `error.id` can be one of:

	`session_already_available`: The user is already signed in.
	`self_service_flow_expired`: The flow is expired and you should request a new one.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return ConsentApiApiGetConsentFlowRequestRequest
	*/
	GetConsentFlowRequest(ctx context.Context) ConsentApiApiGetConsentFlowRequestRequest

	/*
	 * GetConsentFlowRequestExecute executes the request
	 * @return ConsentFlow
	 */
	GetConsentFlowRequestExecute(r ConsentApiApiGetConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)

	/*
		 * InitBrowserConsentFlowRequest # Initialize Consent Flow for Browsers
		 * This endpoint initializes a browser-based user consent flow. This endpoint will set the appropriate
	cookies and anti-CSRF measures required for browser-based flows.

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.consent.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter
	`?refresh=true` was set.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return ConsentApiApiInitBrowserConsentFlowRequestRequest
	*/
	InitBrowserConsentFlowRequest(ctx context.Context) ConsentApiApiInitBrowserConsentFlowRequestRequest

	/*
	 * InitBrowserConsentFlowRequestExecute executes the request
	 * @return ConsentFlow
	 */
	InitBrowserConsentFlowRequestExecute(r ConsentApiApiInitBrowserConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)

	/*
		 * SubmitConsentFlowRequest # Submit a Consent Flow
		 * Use this endpoint to complete a consent flow. This endpoint
	behaves differently for API and browser flows.

	API flows expect `application/json` to be sent in the body and responds with
	HTTP 200 and a application/json body with the session token on success;
	HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
	HTTP 400 on form validation errors.

	Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
	a HTTP 303 redirect to the post/after consent URL or the `return_to` value if it was set and if the consent succeeded;
	a HTTP 303 redirect to the consent UI URL with the flow ID containing the validation errors otherwise.

	More information can be found at:
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return ConsentApiApiSubmitConsentFlowRequestRequest
	*/
	SubmitConsentFlowRequest(ctx context.Context) ConsentApiApiSubmitConsentFlowRequestRequest

	/*
	 * SubmitConsentFlowRequestExecute executes the request
	 * @return ConsentFlow
	 */
	SubmitConsentFlowRequestExecute(r ConsentApiApiSubmitConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)
}

type ConsentApiApiGetConsentFlowRequestRequest

type ConsentApiApiGetConsentFlowRequestRequest struct {
	ApiService ConsentApi
	// contains filtered or unexported fields
}

func (ConsentApiApiGetConsentFlowRequestRequest) Cookie

func (ConsentApiApiGetConsentFlowRequestRequest) Execute

func (ConsentApiApiGetConsentFlowRequestRequest) Id

type ConsentApiApiInitBrowserConsentFlowRequestRequest

type ConsentApiApiInitBrowserConsentFlowRequestRequest struct {
	ApiService ConsentApi
	// contains filtered or unexported fields
}

func (ConsentApiApiInitBrowserConsentFlowRequestRequest) ConsentChallenge

func (ConsentApiApiInitBrowserConsentFlowRequestRequest) Cookie

func (ConsentApiApiInitBrowserConsentFlowRequestRequest) Execute

func (ConsentApiApiInitBrowserConsentFlowRequestRequest) ReturnTo

type ConsentApiApiSubmitConsentFlowRequestRequest

type ConsentApiApiSubmitConsentFlowRequestRequest struct {
	ApiService ConsentApi
	// contains filtered or unexported fields
}

func (ConsentApiApiSubmitConsentFlowRequestRequest) Cookie

func (ConsentApiApiSubmitConsentFlowRequestRequest) Execute

func (ConsentApiApiSubmitConsentFlowRequestRequest) Flow

func (ConsentApiApiSubmitConsentFlowRequestRequest) SubmitConsentFlowBody

func (ConsentApiApiSubmitConsentFlowRequestRequest) XSessionToken

type ConsentApiService

type ConsentApiService service

ConsentApiService ConsentApi service

func (*ConsentApiService) GetConsentFlowRequest

  • GetConsentFlowRequest # Get Consent Flow
  • This endpoint returns a consent flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/consent', async function (req, res) { const flow = await client.getSelfServiceConsentFlow(req.header('cookie'), req.query['flow'])

res.render('consent', flow) }) ```

This request may fail due to several reasons. The `error.id` can be one of:

`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ConsentApiApiGetConsentFlowRequestRequest

func (*ConsentApiService) GetConsentFlowRequestExecute

* Execute executes the request * @return ConsentFlow

func (*ConsentApiService) InitBrowserConsentFlowRequest

  • InitBrowserConsentFlowRequest # Initialize Consent Flow for Browsers
  • This endpoint initializes a browser-based user consent flow. This endpoint will set the appropriate

cookies and anti-CSRF measures required for browser-based flows.

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.consent.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ConsentApiApiInitBrowserConsentFlowRequestRequest

func (*ConsentApiService) InitBrowserConsentFlowRequestExecute

func (a *ConsentApiService) InitBrowserConsentFlowRequestExecute(r ConsentApiApiInitBrowserConsentFlowRequestRequest) (*ConsentFlow, *http.Response, error)

* Execute executes the request * @return ConsentFlow

func (*ConsentApiService) SubmitConsentFlowRequest

  • SubmitConsentFlowRequest # Submit a Consent Flow
  • Use this endpoint to complete a consent flow. This endpoint

behaves differently for API and browser flows.

API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.

Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after consent URL or the `return_to` value if it was set and if the consent succeeded; a HTTP 303 redirect to the consent UI URL with the flow ID containing the validation errors otherwise.

More information can be found at:

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ConsentApiApiSubmitConsentFlowRequestRequest

func (*ConsentApiService) SubmitConsentFlowRequestExecute

* Execute executes the request * @return ConsentFlow

type ConsentFlow

type ConsentFlow struct {
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	// ID represents the flow's unique ID. When performing the consent flow, this represents the id in the consent UI's query parameter: http://<selfservice.flows.consent.ui_url>/?flow=<flow_id>
	Id       string   `json:"id"`
	Identity Identity `json:"identity"`
	// IssuedAt is the time (UTC) when the flow started.
	IssuedAt time.Time `json:"issued_at"`
	Method   *string   `json:"method,omitempty"`
	// NotAsk stores whether this consent flow should keep user session.
	NotAsk *bool `json:"not_ask,omitempty"`
	// OAuth 2.0 Consent Challenge.  This value is set using the `consent_challenge` query parameter of the registration and consent endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.
	Oauth2ConsentChallenge *string               `json:"oauth2_consent_challenge,omitempty"`
	Oauth2ConsentRequest   *OAuth2ConsentRequest `json:"oauth2_consent_request,omitempty"`
	// RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string `json:"return_to,omitempty"`
	// The state represents the state of the consent flow.  “` accepted: ask the user to accepted rejected: reject consent by the user “`
	State string      `json:"state"`
	Type  FlowType    `json:"type"`
	Ui    UiContainer `json:"ui"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ConsentFlow This object represents a consent flow. A consent flow is initiated at the \"Initiate Consent API / Browser Flow\" endpoint by a client. Once a consent flow is completed successfully, will be redirect oauth client back url.

func NewConsentFlow

func NewConsentFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state string, type_ FlowType, ui UiContainer) *ConsentFlow

NewConsentFlow instantiates a new ConsentFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConsentFlowWithDefaults

func NewConsentFlowWithDefaults() *ConsentFlow

NewConsentFlowWithDefaults instantiates a new ConsentFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConsentFlow) GetCreatedAt

func (o *ConsentFlow) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ConsentFlow) GetCreatedAtOk

func (o *ConsentFlow) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) GetExpiresAt

func (o *ConsentFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*ConsentFlow) GetExpiresAtOk

func (o *ConsentFlow) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetId

func (o *ConsentFlow) GetId() string

GetId returns the Id field value

func (*ConsentFlow) GetIdOk

func (o *ConsentFlow) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetIdentity

func (o *ConsentFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*ConsentFlow) GetIdentityOk

func (o *ConsentFlow) GetIdentityOk() (*Identity, bool)

GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetIssuedAt

func (o *ConsentFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*ConsentFlow) GetIssuedAtOk

func (o *ConsentFlow) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetMethod

func (o *ConsentFlow) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*ConsentFlow) GetMethodOk

func (o *ConsentFlow) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) GetNotAsk

func (o *ConsentFlow) GetNotAsk() bool

GetNotAsk returns the NotAsk field value if set, zero value otherwise.

func (*ConsentFlow) GetNotAskOk

func (o *ConsentFlow) GetNotAskOk() (*bool, bool)

GetNotAskOk returns a tuple with the NotAsk field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) GetOauth2ConsentChallenge

func (o *ConsentFlow) GetOauth2ConsentChallenge() string

GetOauth2ConsentChallenge returns the Oauth2ConsentChallenge field value if set, zero value otherwise.

func (*ConsentFlow) GetOauth2ConsentChallengeOk

func (o *ConsentFlow) GetOauth2ConsentChallengeOk() (*string, bool)

GetOauth2ConsentChallengeOk returns a tuple with the Oauth2ConsentChallenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) GetOauth2ConsentRequest

func (o *ConsentFlow) GetOauth2ConsentRequest() OAuth2ConsentRequest

GetOauth2ConsentRequest returns the Oauth2ConsentRequest field value if set, zero value otherwise.

func (*ConsentFlow) GetOauth2ConsentRequestOk

func (o *ConsentFlow) GetOauth2ConsentRequestOk() (*OAuth2ConsentRequest, bool)

GetOauth2ConsentRequestOk returns a tuple with the Oauth2ConsentRequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) GetRequestUrl

func (o *ConsentFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*ConsentFlow) GetRequestUrlOk

func (o *ConsentFlow) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetReturnTo

func (o *ConsentFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*ConsentFlow) GetReturnToOk

func (o *ConsentFlow) GetReturnToOk() (*string, bool)

GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) GetState

func (o *ConsentFlow) GetState() string

GetState returns the State field value

func (*ConsentFlow) GetStateOk

func (o *ConsentFlow) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetType

func (o *ConsentFlow) GetType() FlowType

GetType returns the Type field value

func (*ConsentFlow) GetTypeOk

func (o *ConsentFlow) GetTypeOk() (*FlowType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetUi

func (o *ConsentFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*ConsentFlow) GetUiOk

func (o *ConsentFlow) GetUiOk() (*UiContainer, bool)

GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.

func (*ConsentFlow) GetUpdatedAt

func (o *ConsentFlow) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ConsentFlow) GetUpdatedAtOk

func (o *ConsentFlow) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsentFlow) HasCreatedAt

func (o *ConsentFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ConsentFlow) HasMethod

func (o *ConsentFlow) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*ConsentFlow) HasNotAsk

func (o *ConsentFlow) HasNotAsk() bool

HasNotAsk returns a boolean if a field has been set.

func (*ConsentFlow) HasOauth2ConsentChallenge

func (o *ConsentFlow) HasOauth2ConsentChallenge() bool

HasOauth2ConsentChallenge returns a boolean if a field has been set.

func (*ConsentFlow) HasOauth2ConsentRequest

func (o *ConsentFlow) HasOauth2ConsentRequest() bool

HasOauth2ConsentRequest returns a boolean if a field has been set.

func (*ConsentFlow) HasReturnTo

func (o *ConsentFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*ConsentFlow) HasUpdatedAt

func (o *ConsentFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ConsentFlow) MarshalJSON

func (o ConsentFlow) MarshalJSON() ([]byte, error)

func (*ConsentFlow) SetCreatedAt

func (o *ConsentFlow) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ConsentFlow) SetExpiresAt

func (o *ConsentFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*ConsentFlow) SetId

func (o *ConsentFlow) SetId(v string)

SetId sets field value

func (*ConsentFlow) SetIdentity

func (o *ConsentFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*ConsentFlow) SetIssuedAt

func (o *ConsentFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*ConsentFlow) SetMethod

func (o *ConsentFlow) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*ConsentFlow) SetNotAsk

func (o *ConsentFlow) SetNotAsk(v bool)

SetNotAsk gets a reference to the given bool and assigns it to the NotAsk field.

func (*ConsentFlow) SetOauth2ConsentChallenge

func (o *ConsentFlow) SetOauth2ConsentChallenge(v string)

SetOauth2ConsentChallenge gets a reference to the given string and assigns it to the Oauth2ConsentChallenge field.

func (*ConsentFlow) SetOauth2ConsentRequest

func (o *ConsentFlow) SetOauth2ConsentRequest(v OAuth2ConsentRequest)

SetOauth2ConsentRequest gets a reference to the given OAuth2ConsentRequest and assigns it to the Oauth2ConsentRequest field.

func (*ConsentFlow) SetRequestUrl

func (o *ConsentFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*ConsentFlow) SetReturnTo

func (o *ConsentFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*ConsentFlow) SetState

func (o *ConsentFlow) SetState(v string)

SetState sets field value

func (*ConsentFlow) SetType

func (o *ConsentFlow) SetType(v FlowType)

SetType sets field value

func (*ConsentFlow) SetUi

func (o *ConsentFlow) SetUi(v UiContainer)

SetUi sets field value

func (*ConsentFlow) SetUpdatedAt

func (o *ConsentFlow) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type CredentialsType

type CredentialsType string

CredentialsType and so on.

const (
	CREDENTIALSTYPE_PASSWORD CredentialsType = "password"
	CREDENTIALSTYPE_OIDC     CredentialsType = "oidc"
	CREDENTIALSTYPE_TOTP     CredentialsType = "totp"
)

List of credentialsType

func NewCredentialsTypeFromValue

func NewCredentialsTypeFromValue(v string) (*CredentialsType, error)

NewCredentialsTypeFromValue returns a pointer to a valid CredentialsType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CredentialsType) IsValid

func (v CredentialsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CredentialsType) Ptr

Ptr returns reference to credentialsType value

func (*CredentialsType) UnmarshalJSON

func (v *CredentialsType) UnmarshalJSON(src []byte) error

type FlowType

type FlowType string

FlowType The flow type can either be `api` or `browser`.

const (
	FLOWTYPE_BROWSER FlowType = "browser"
	FLOWTYPE_API     FlowType = "api"
)

List of flowType

func NewFlowTypeFromValue

func NewFlowTypeFromValue(v string) (*FlowType, error)

NewFlowTypeFromValue returns a pointer to a valid FlowType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FlowType) IsValid

func (v FlowType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FlowType) Ptr

func (v FlowType) Ptr() *FlowType

Ptr returns reference to flowType value

func (*FlowType) UnmarshalJSON

func (v *FlowType) UnmarshalJSON(src []byte) error

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Identity

type Identity struct {
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Credentials represents all credentials that can be used for authenticating this identity.
	Credentials *map[string]IdentityCredential `json:"credentials,omitempty"`
	// ID is the identity's unique identifier.  The Identity ID can not be changed and can not be chosen. This ensures future compatibility and optimization for distributed stores such as CockroachDB.
	Id string `json:"id"`
	// Is the user been locked
	Locked *bool `json:"locked,omitempty"`
	// the identity's source, e.g. local or github...
	Source *string        `json:"source,omitempty"`
	State  *IdentityState `json:"state,omitempty"`
	// generate by id
	Subject *string        `json:"subject,omitempty"`
	Traits  IdentityTraits `json:"traits"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// VerifiableAddresses contains all the addresses that can be verified by the user.
	VerifiableAddresses []VerifiableAddress `json:"verifiable_addresses,omitempty"`
}

Identity An identity can be a real human, a service, an IoT device - everything that can be described as an \"actor\" in a system.

func NewIdentity

func NewIdentity(id string, traits IdentityTraits) *Identity

NewIdentity instantiates a new Identity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityWithDefaults

func NewIdentityWithDefaults() *Identity

NewIdentityWithDefaults instantiates a new Identity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Identity) GetCreatedAt

func (o *Identity) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Identity) GetCreatedAtOk

func (o *Identity) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetCredentials

func (o *Identity) GetCredentials() map[string]IdentityCredential

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*Identity) GetCredentialsOk

func (o *Identity) GetCredentialsOk() (*map[string]IdentityCredential, bool)

GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetId

func (o *Identity) GetId() string

GetId returns the Id field value

func (*Identity) GetIdOk

func (o *Identity) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Identity) GetLocked

func (o *Identity) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*Identity) GetLockedOk

func (o *Identity) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetSource

func (o *Identity) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*Identity) GetSourceOk

func (o *Identity) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetState

func (o *Identity) GetState() IdentityState

GetState returns the State field value if set, zero value otherwise.

func (*Identity) GetStateOk

func (o *Identity) GetStateOk() (*IdentityState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetSubject

func (o *Identity) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*Identity) GetSubjectOk

func (o *Identity) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetTraits

func (o *Identity) GetTraits() IdentityTraits

GetTraits returns the Traits field value

func (*Identity) GetTraitsOk

func (o *Identity) GetTraitsOk() (*IdentityTraits, bool)

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*Identity) GetUpdatedAt

func (o *Identity) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Identity) GetUpdatedAtOk

func (o *Identity) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetVerifiableAddresses

func (o *Identity) GetVerifiableAddresses() []VerifiableAddress

GetVerifiableAddresses returns the VerifiableAddresses field value if set, zero value otherwise.

func (*Identity) GetVerifiableAddressesOk

func (o *Identity) GetVerifiableAddressesOk() ([]VerifiableAddress, bool)

GetVerifiableAddressesOk returns a tuple with the VerifiableAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) HasCreatedAt

func (o *Identity) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Identity) HasCredentials

func (o *Identity) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*Identity) HasLocked

func (o *Identity) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*Identity) HasSource

func (o *Identity) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Identity) HasState

func (o *Identity) HasState() bool

HasState returns a boolean if a field has been set.

func (*Identity) HasSubject

func (o *Identity) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*Identity) HasUpdatedAt

func (o *Identity) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Identity) HasVerifiableAddresses

func (o *Identity) HasVerifiableAddresses() bool

HasVerifiableAddresses returns a boolean if a field has been set.

func (Identity) MarshalJSON

func (o Identity) MarshalJSON() ([]byte, error)

func (*Identity) SetCreatedAt

func (o *Identity) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Identity) SetCredentials

func (o *Identity) SetCredentials(v map[string]IdentityCredential)

SetCredentials gets a reference to the given map[string]IdentityCredential and assigns it to the Credentials field.

func (*Identity) SetId

func (o *Identity) SetId(v string)

SetId sets field value

func (*Identity) SetLocked

func (o *Identity) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*Identity) SetSource

func (o *Identity) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*Identity) SetState

func (o *Identity) SetState(v IdentityState)

SetState gets a reference to the given IdentityState and assigns it to the State field.

func (*Identity) SetSubject

func (o *Identity) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*Identity) SetTraits

func (o *Identity) SetTraits(v IdentityTraits)

SetTraits sets field value

func (*Identity) SetUpdatedAt

func (o *Identity) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Identity) SetVerifiableAddresses

func (o *Identity) SetVerifiableAddresses(v []VerifiableAddress)

SetVerifiableAddresses gets a reference to the given []VerifiableAddress and assigns it to the VerifiableAddresses field.

type IdentityCredential

type IdentityCredential struct {
	Config map[string]interface{} `json:"config,omitempty"`
	// CreatedAt is a helper struct field for.
	CreatedAt      *time.Time       `json:"created_at,omitempty"`
	CredentialType *CredentialsType `json:"credential_type,omitempty"`
	// ID is the identity credential's unique identifier.
	Id          *string                        `json:"id,omitempty"`
	Identifiers []IdentityCredentialIdentifier `json:"identifiers,omitempty"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

IdentityCredential IdentityCredential represents a specific credential type

func NewIdentityCredential

func NewIdentityCredential() *IdentityCredential

NewIdentityCredential instantiates a new IdentityCredential object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityCredentialWithDefaults

func NewIdentityCredentialWithDefaults() *IdentityCredential

NewIdentityCredentialWithDefaults instantiates a new IdentityCredential object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IdentityCredential) GetConfig

func (o *IdentityCredential) GetConfig() map[string]interface{}

GetConfig returns the Config field value if set, zero value otherwise.

func (*IdentityCredential) GetConfigOk

func (o *IdentityCredential) GetConfigOk() (map[string]interface{}, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredential) GetCreatedAt

func (o *IdentityCredential) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*IdentityCredential) GetCreatedAtOk

func (o *IdentityCredential) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredential) GetCredentialType

func (o *IdentityCredential) GetCredentialType() CredentialsType

GetCredentialType returns the CredentialType field value if set, zero value otherwise.

func (*IdentityCredential) GetCredentialTypeOk

func (o *IdentityCredential) GetCredentialTypeOk() (*CredentialsType, bool)

GetCredentialTypeOk returns a tuple with the CredentialType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredential) GetId

func (o *IdentityCredential) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IdentityCredential) GetIdOk

func (o *IdentityCredential) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredential) GetIdentifiers

func (o *IdentityCredential) GetIdentifiers() []IdentityCredentialIdentifier

GetIdentifiers returns the Identifiers field value if set, zero value otherwise.

func (*IdentityCredential) GetIdentifiersOk

func (o *IdentityCredential) GetIdentifiersOk() ([]IdentityCredentialIdentifier, bool)

GetIdentifiersOk returns a tuple with the Identifiers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredential) GetUpdatedAt

func (o *IdentityCredential) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*IdentityCredential) GetUpdatedAtOk

func (o *IdentityCredential) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredential) HasConfig

func (o *IdentityCredential) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*IdentityCredential) HasCreatedAt

func (o *IdentityCredential) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IdentityCredential) HasCredentialType

func (o *IdentityCredential) HasCredentialType() bool

HasCredentialType returns a boolean if a field has been set.

func (*IdentityCredential) HasId

func (o *IdentityCredential) HasId() bool

HasId returns a boolean if a field has been set.

func (*IdentityCredential) HasIdentifiers

func (o *IdentityCredential) HasIdentifiers() bool

HasIdentifiers returns a boolean if a field has been set.

func (*IdentityCredential) HasUpdatedAt

func (o *IdentityCredential) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (IdentityCredential) MarshalJSON

func (o IdentityCredential) MarshalJSON() ([]byte, error)

func (*IdentityCredential) SetConfig

func (o *IdentityCredential) SetConfig(v map[string]interface{})

SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.

func (*IdentityCredential) SetCreatedAt

func (o *IdentityCredential) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*IdentityCredential) SetCredentialType

func (o *IdentityCredential) SetCredentialType(v CredentialsType)

SetCredentialType gets a reference to the given CredentialsType and assigns it to the CredentialType field.

func (*IdentityCredential) SetId

func (o *IdentityCredential) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IdentityCredential) SetIdentifiers

func (o *IdentityCredential) SetIdentifiers(v []IdentityCredentialIdentifier)

SetIdentifiers gets a reference to the given []IdentityCredentialIdentifier and assigns it to the Identifiers field.

func (*IdentityCredential) SetUpdatedAt

func (o *IdentityCredential) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type IdentityCredentialIdentifier

type IdentityCredentialIdentifier struct {
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ID is the identity credential's unique identifier.
	Id *string `json:"id,omitempty"`
	// Identifier is the identifier, e.g. email, mobile or others.
	Identifier *string                `json:"identifier,omitempty"`
	Properties map[string]interface{} `json:"properties,omitempty"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

IdentityCredentialIdentifier IdentityCredentialIdentifier represents some specific identifiers

func NewIdentityCredentialIdentifier

func NewIdentityCredentialIdentifier() *IdentityCredentialIdentifier

NewIdentityCredentialIdentifier instantiates a new IdentityCredentialIdentifier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityCredentialIdentifierWithDefaults

func NewIdentityCredentialIdentifierWithDefaults() *IdentityCredentialIdentifier

NewIdentityCredentialIdentifierWithDefaults instantiates a new IdentityCredentialIdentifier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IdentityCredentialIdentifier) GetCreatedAt

func (o *IdentityCredentialIdentifier) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*IdentityCredentialIdentifier) GetCreatedAtOk

func (o *IdentityCredentialIdentifier) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifier) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*IdentityCredentialIdentifier) GetIdOk

func (o *IdentityCredentialIdentifier) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifier) GetIdentifier

func (o *IdentityCredentialIdentifier) GetIdentifier() string

GetIdentifier returns the Identifier field value if set, zero value otherwise.

func (*IdentityCredentialIdentifier) GetIdentifierOk

func (o *IdentityCredentialIdentifier) GetIdentifierOk() (*string, bool)

GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifier) GetProperties

func (o *IdentityCredentialIdentifier) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*IdentityCredentialIdentifier) GetPropertiesOk

func (o *IdentityCredentialIdentifier) GetPropertiesOk() (map[string]interface{}, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifier) GetUpdatedAt

func (o *IdentityCredentialIdentifier) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*IdentityCredentialIdentifier) GetUpdatedAtOk

func (o *IdentityCredentialIdentifier) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifier) HasCreatedAt

func (o *IdentityCredentialIdentifier) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IdentityCredentialIdentifier) HasId

HasId returns a boolean if a field has been set.

func (*IdentityCredentialIdentifier) HasIdentifier

func (o *IdentityCredentialIdentifier) HasIdentifier() bool

HasIdentifier returns a boolean if a field has been set.

func (*IdentityCredentialIdentifier) HasProperties

func (o *IdentityCredentialIdentifier) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*IdentityCredentialIdentifier) HasUpdatedAt

func (o *IdentityCredentialIdentifier) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (IdentityCredentialIdentifier) MarshalJSON

func (o IdentityCredentialIdentifier) MarshalJSON() ([]byte, error)

func (*IdentityCredentialIdentifier) SetCreatedAt

func (o *IdentityCredentialIdentifier) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*IdentityCredentialIdentifier) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*IdentityCredentialIdentifier) SetIdentifier

func (o *IdentityCredentialIdentifier) SetIdentifier(v string)

SetIdentifier gets a reference to the given string and assigns it to the Identifier field.

func (*IdentityCredentialIdentifier) SetProperties

func (o *IdentityCredentialIdentifier) SetProperties(v map[string]interface{})

SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.

func (*IdentityCredentialIdentifier) SetUpdatedAt

func (o *IdentityCredentialIdentifier) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type IdentityCredentialIdentifierOidcProperties

type IdentityCredentialIdentifierOidcProperties struct {
	InitialAccessToken  *string `json:"initial_access_token,omitempty"`
	InitialIdToken      *string `json:"initial_id_token,omitempty"`
	InitialRefreshToken *string `json:"initial_refresh_token,omitempty"`
	Provider            *string `json:"provider,omitempty"`
	Subject             *string `json:"subject,omitempty"`
}

IdentityCredentialIdentifierOidcProperties struct for IdentityCredentialIdentifierOidcProperties

func NewIdentityCredentialIdentifierOidcProperties

func NewIdentityCredentialIdentifierOidcProperties() *IdentityCredentialIdentifierOidcProperties

NewIdentityCredentialIdentifierOidcProperties instantiates a new IdentityCredentialIdentifierOidcProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityCredentialIdentifierOidcPropertiesWithDefaults

func NewIdentityCredentialIdentifierOidcPropertiesWithDefaults() *IdentityCredentialIdentifierOidcProperties

NewIdentityCredentialIdentifierOidcPropertiesWithDefaults instantiates a new IdentityCredentialIdentifierOidcProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IdentityCredentialIdentifierOidcProperties) GetInitialAccessToken

func (o *IdentityCredentialIdentifierOidcProperties) GetInitialAccessToken() string

GetInitialAccessToken returns the InitialAccessToken field value if set, zero value otherwise.

func (*IdentityCredentialIdentifierOidcProperties) GetInitialAccessTokenOk

func (o *IdentityCredentialIdentifierOidcProperties) GetInitialAccessTokenOk() (*string, bool)

GetInitialAccessTokenOk returns a tuple with the InitialAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierOidcProperties) GetInitialIdToken

func (o *IdentityCredentialIdentifierOidcProperties) GetInitialIdToken() string

GetInitialIdToken returns the InitialIdToken field value if set, zero value otherwise.

func (*IdentityCredentialIdentifierOidcProperties) GetInitialIdTokenOk

func (o *IdentityCredentialIdentifierOidcProperties) GetInitialIdTokenOk() (*string, bool)

GetInitialIdTokenOk returns a tuple with the InitialIdToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierOidcProperties) GetInitialRefreshToken

func (o *IdentityCredentialIdentifierOidcProperties) GetInitialRefreshToken() string

GetInitialRefreshToken returns the InitialRefreshToken field value if set, zero value otherwise.

func (*IdentityCredentialIdentifierOidcProperties) GetInitialRefreshTokenOk

func (o *IdentityCredentialIdentifierOidcProperties) GetInitialRefreshTokenOk() (*string, bool)

GetInitialRefreshTokenOk returns a tuple with the InitialRefreshToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierOidcProperties) GetProvider

GetProvider returns the Provider field value if set, zero value otherwise.

func (*IdentityCredentialIdentifierOidcProperties) GetProviderOk

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierOidcProperties) GetSubject

GetSubject returns the Subject field value if set, zero value otherwise.

func (*IdentityCredentialIdentifierOidcProperties) GetSubjectOk

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierOidcProperties) HasInitialAccessToken

func (o *IdentityCredentialIdentifierOidcProperties) HasInitialAccessToken() bool

HasInitialAccessToken returns a boolean if a field has been set.

func (*IdentityCredentialIdentifierOidcProperties) HasInitialIdToken

func (o *IdentityCredentialIdentifierOidcProperties) HasInitialIdToken() bool

HasInitialIdToken returns a boolean if a field has been set.

func (*IdentityCredentialIdentifierOidcProperties) HasInitialRefreshToken

func (o *IdentityCredentialIdentifierOidcProperties) HasInitialRefreshToken() bool

HasInitialRefreshToken returns a boolean if a field has been set.

func (*IdentityCredentialIdentifierOidcProperties) HasProvider

HasProvider returns a boolean if a field has been set.

func (*IdentityCredentialIdentifierOidcProperties) HasSubject

HasSubject returns a boolean if a field has been set.

func (IdentityCredentialIdentifierOidcProperties) MarshalJSON

func (*IdentityCredentialIdentifierOidcProperties) SetInitialAccessToken

func (o *IdentityCredentialIdentifierOidcProperties) SetInitialAccessToken(v string)

SetInitialAccessToken gets a reference to the given string and assigns it to the InitialAccessToken field.

func (*IdentityCredentialIdentifierOidcProperties) SetInitialIdToken

func (o *IdentityCredentialIdentifierOidcProperties) SetInitialIdToken(v string)

SetInitialIdToken gets a reference to the given string and assigns it to the InitialIdToken field.

func (*IdentityCredentialIdentifierOidcProperties) SetInitialRefreshToken

func (o *IdentityCredentialIdentifierOidcProperties) SetInitialRefreshToken(v string)

SetInitialRefreshToken gets a reference to the given string and assigns it to the InitialRefreshToken field.

func (*IdentityCredentialIdentifierOidcProperties) SetProvider

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*IdentityCredentialIdentifierOidcProperties) SetSubject

SetSubject gets a reference to the given string and assigns it to the Subject field.

type IdentityCredentialIdentifierPasswordProperties

type IdentityCredentialIdentifierPasswordProperties struct {
	// Primary  Is identifier's primary identity
	Primary bool    `json:"primary"`
	Type    *string `json:"type,omitempty"`
	// Verified  Is identifier been verified
	Verified bool `json:"verified"`
}

IdentityCredentialIdentifierPasswordProperties struct for IdentityCredentialIdentifierPasswordProperties

func NewIdentityCredentialIdentifierPasswordProperties

func NewIdentityCredentialIdentifierPasswordProperties(primary bool, verified bool) *IdentityCredentialIdentifierPasswordProperties

NewIdentityCredentialIdentifierPasswordProperties instantiates a new IdentityCredentialIdentifierPasswordProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityCredentialIdentifierPasswordPropertiesWithDefaults

func NewIdentityCredentialIdentifierPasswordPropertiesWithDefaults() *IdentityCredentialIdentifierPasswordProperties

NewIdentityCredentialIdentifierPasswordPropertiesWithDefaults instantiates a new IdentityCredentialIdentifierPasswordProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IdentityCredentialIdentifierPasswordProperties) GetPrimary

GetPrimary returns the Primary field value

func (*IdentityCredentialIdentifierPasswordProperties) GetPrimaryOk

GetPrimaryOk returns a tuple with the Primary field value and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierPasswordProperties) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*IdentityCredentialIdentifierPasswordProperties) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierPasswordProperties) GetVerified

GetVerified returns the Verified field value

func (*IdentityCredentialIdentifierPasswordProperties) GetVerifiedOk

GetVerifiedOk returns a tuple with the Verified field value and a boolean to check if the value has been set.

func (*IdentityCredentialIdentifierPasswordProperties) HasType

HasType returns a boolean if a field has been set.

func (IdentityCredentialIdentifierPasswordProperties) MarshalJSON

func (*IdentityCredentialIdentifierPasswordProperties) SetPrimary

SetPrimary sets field value

func (*IdentityCredentialIdentifierPasswordProperties) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (*IdentityCredentialIdentifierPasswordProperties) SetVerified

SetVerified sets field value

type IdentityState

type IdentityState string

IdentityState The state can either be `active` or `inactive`.

const (
	IDENTITYSTATE_ACTIVE   IdentityState = "active"
	IDENTITYSTATE_INACTIVE IdentityState = "inactive"
)

List of identityState

func NewIdentityStateFromValue

func NewIdentityStateFromValue(v string) (*IdentityState, error)

NewIdentityStateFromValue returns a pointer to a valid IdentityState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IdentityState) IsValid

func (v IdentityState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IdentityState) Ptr

func (v IdentityState) Ptr() *IdentityState

Ptr returns reference to identityState value

func (*IdentityState) UnmarshalJSON

func (v *IdentityState) UnmarshalJSON(src []byte) error

type IdentityTraits

type IdentityTraits struct {
	// The identity's email  It's optional, have at least one email and mobile
	Email *string `json:"email,omitempty"`
	// The identity's mobile  It's optional, have at least one email and mobile
	Mobile *string `json:"mobile,omitempty"`
}

IdentityTraits struct for IdentityTraits

func NewIdentityTraits

func NewIdentityTraits() *IdentityTraits

NewIdentityTraits instantiates a new IdentityTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityTraitsWithDefaults

func NewIdentityTraitsWithDefaults() *IdentityTraits

NewIdentityTraitsWithDefaults instantiates a new IdentityTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IdentityTraits) GetEmail

func (o *IdentityTraits) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*IdentityTraits) GetEmailOk

func (o *IdentityTraits) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityTraits) GetMobile

func (o *IdentityTraits) GetMobile() string

GetMobile returns the Mobile field value if set, zero value otherwise.

func (*IdentityTraits) GetMobileOk

func (o *IdentityTraits) GetMobileOk() (*string, bool)

GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityTraits) HasEmail

func (o *IdentityTraits) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*IdentityTraits) HasMobile

func (o *IdentityTraits) HasMobile() bool

HasMobile returns a boolean if a field has been set.

func (IdentityTraits) MarshalJSON

func (o IdentityTraits) MarshalJSON() ([]byte, error)

func (*IdentityTraits) SetEmail

func (o *IdentityTraits) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*IdentityTraits) SetMobile

func (o *IdentityTraits) SetMobile(v string)

SetMobile gets a reference to the given string and assigns it to the Mobile field.

type InitBrowserLogoutFlowResponse

type InitBrowserLogoutFlowResponse struct {
	// LogoutToken can be used to perform logout using AJAX.
	LogoutToken string `json:"logout_token"`
	// LogoutURL can be opened in a browser to sign the user out.  format: uri
	LogoutUrl string `json:"logout_url"`
}

InitBrowserLogoutFlowResponse struct for InitBrowserLogoutFlowResponse

func NewInitBrowserLogoutFlowResponse

func NewInitBrowserLogoutFlowResponse(logoutToken string, logoutUrl string) *InitBrowserLogoutFlowResponse

NewInitBrowserLogoutFlowResponse instantiates a new InitBrowserLogoutFlowResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInitBrowserLogoutFlowResponseWithDefaults

func NewInitBrowserLogoutFlowResponseWithDefaults() *InitBrowserLogoutFlowResponse

NewInitBrowserLogoutFlowResponseWithDefaults instantiates a new InitBrowserLogoutFlowResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InitBrowserLogoutFlowResponse) GetLogoutToken

func (o *InitBrowserLogoutFlowResponse) GetLogoutToken() string

GetLogoutToken returns the LogoutToken field value

func (*InitBrowserLogoutFlowResponse) GetLogoutTokenOk

func (o *InitBrowserLogoutFlowResponse) GetLogoutTokenOk() (*string, bool)

GetLogoutTokenOk returns a tuple with the LogoutToken field value and a boolean to check if the value has been set.

func (*InitBrowserLogoutFlowResponse) GetLogoutUrl

func (o *InitBrowserLogoutFlowResponse) GetLogoutUrl() string

GetLogoutUrl returns the LogoutUrl field value

func (*InitBrowserLogoutFlowResponse) GetLogoutUrlOk

func (o *InitBrowserLogoutFlowResponse) GetLogoutUrlOk() (*string, bool)

GetLogoutUrlOk returns a tuple with the LogoutUrl field value and a boolean to check if the value has been set.

func (InitBrowserLogoutFlowResponse) MarshalJSON

func (o InitBrowserLogoutFlowResponse) MarshalJSON() ([]byte, error)

func (*InitBrowserLogoutFlowResponse) SetLogoutToken

func (o *InitBrowserLogoutFlowResponse) SetLogoutToken(v string)

SetLogoutToken sets field value

func (*InitBrowserLogoutFlowResponse) SetLogoutUrl

func (o *InitBrowserLogoutFlowResponse) SetLogoutUrl(v string)

SetLogoutUrl sets field value

type JsonErrorResponse

type JsonErrorResponse struct {
	Code *Code `json:"code,omitempty"`
	// Detail contains further information on the nature of the error.
	Detail *string `json:"detail,omitempty"`
	// Message is the error message.
	Msg *string `json:"msg,omitempty"`
	// TraceId is the identifier for a trace. It is globally unique.
	TraceId *string `json:"traceId,omitempty"`
	// Type A URI reference that identifies the error type.
	Type *string `json:"type,omitempty"`
}

JsonErrorResponse Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.

func NewJsonErrorResponse

func NewJsonErrorResponse() *JsonErrorResponse

NewJsonErrorResponse instantiates a new JsonErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonErrorResponseWithDefaults

func NewJsonErrorResponseWithDefaults() *JsonErrorResponse

NewJsonErrorResponseWithDefaults instantiates a new JsonErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonErrorResponse) GetCode

func (o *JsonErrorResponse) GetCode() Code

GetCode returns the Code field value if set, zero value otherwise.

func (*JsonErrorResponse) GetCodeOk

func (o *JsonErrorResponse) GetCodeOk() (*Code, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonErrorResponse) GetDetail

func (o *JsonErrorResponse) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*JsonErrorResponse) GetDetailOk

func (o *JsonErrorResponse) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonErrorResponse) GetMsg

func (o *JsonErrorResponse) GetMsg() string

GetMsg returns the Msg field value if set, zero value otherwise.

func (*JsonErrorResponse) GetMsgOk

func (o *JsonErrorResponse) GetMsgOk() (*string, bool)

GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonErrorResponse) GetTraceId

func (o *JsonErrorResponse) GetTraceId() string

GetTraceId returns the TraceId field value if set, zero value otherwise.

func (*JsonErrorResponse) GetTraceIdOk

func (o *JsonErrorResponse) GetTraceIdOk() (*string, bool)

GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonErrorResponse) GetType

func (o *JsonErrorResponse) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*JsonErrorResponse) GetTypeOk

func (o *JsonErrorResponse) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonErrorResponse) HasCode

func (o *JsonErrorResponse) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*JsonErrorResponse) HasDetail

func (o *JsonErrorResponse) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*JsonErrorResponse) HasMsg

func (o *JsonErrorResponse) HasMsg() bool

HasMsg returns a boolean if a field has been set.

func (*JsonErrorResponse) HasTraceId

func (o *JsonErrorResponse) HasTraceId() bool

HasTraceId returns a boolean if a field has been set.

func (*JsonErrorResponse) HasType

func (o *JsonErrorResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (JsonErrorResponse) MarshalJSON

func (o JsonErrorResponse) MarshalJSON() ([]byte, error)

func (*JsonErrorResponse) SetCode

func (o *JsonErrorResponse) SetCode(v Code)

SetCode gets a reference to the given Code and assigns it to the Code field.

func (*JsonErrorResponse) SetDetail

func (o *JsonErrorResponse) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*JsonErrorResponse) SetMsg

func (o *JsonErrorResponse) SetMsg(v string)

SetMsg gets a reference to the given string and assigns it to the Msg field.

func (*JsonErrorResponse) SetTraceId

func (o *JsonErrorResponse) SetTraceId(v string)

SetTraceId gets a reference to the given string and assigns it to the TraceId field.

func (*JsonErrorResponse) SetType

func (o *JsonErrorResponse) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type LoginApi

type LoginApi interface {

	/*
		 * GetLoginFlowRequest # Get Login Flow
		 * This endpoint returns a login flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/login', async function (req, res) {
	const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow'])

	res.render('login', flow)
	})
	“`

	This request may fail due to several reasons. The `error.id` can be one of:

	`session_already_available`: The user is already signed in.
	`self_service_flow_expired`: The flow is expired and you should request a new one.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return LoginApiApiGetLoginFlowRequestRequest
	*/
	GetLoginFlowRequest(ctx context.Context) LoginApiApiGetLoginFlowRequestRequest

	/*
	 * GetLoginFlowRequestExecute executes the request
	 * @return LoginFlow
	 */
	GetLoginFlowRequestExecute(r LoginApiApiGetLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)

	/*
		 * InitBrowserLoginFlowRequest # Initialize Login Flow for Browsers
		 * This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate
	cookies and anti-CSRF measures required for browser-based flows.

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter
	`?refresh=true` was set.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return LoginApiApiInitBrowserLoginFlowRequestRequest
	*/
	InitBrowserLoginFlowRequest(ctx context.Context) LoginApiApiInitBrowserLoginFlowRequestRequest

	/*
	 * InitBrowserLoginFlowRequestExecute executes the request
	 * @return LoginFlow
	 */
	InitBrowserLoginFlowRequestExecute(r LoginApiApiInitBrowserLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)

	/*
		 * SubmitLoginFlowRequest # Submit a Login Flow
		 * Use this endpoint to complete a login flow. This endpoint
	behaves differently for API and browser flows.

	API flows expect `application/json` to be sent in the body and responds with
	HTTP 200 and a application/json body with the session token on success;
	HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
	HTTP 400 on form validation errors.

	Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
	a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded;
	a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.

	Browser flows with an accept header of `application/json` will not redirect but instead respond with
	HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
	HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.

	If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
	`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
	Most likely used in Social Sign In flows.

	More information can be found at:
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return LoginApiApiSubmitLoginFlowRequestRequest
	*/
	SubmitLoginFlowRequest(ctx context.Context) LoginApiApiSubmitLoginFlowRequestRequest

	/*
	 * SubmitLoginFlowRequestExecute executes the request
	 * @return SubmitLoginFlowResponse
	 */
	SubmitLoginFlowRequestExecute(r LoginApiApiSubmitLoginFlowRequestRequest) (*SubmitLoginFlowResponse, *http.Response, error)
}

type LoginApiApiGetLoginFlowRequestRequest

type LoginApiApiGetLoginFlowRequestRequest struct {
	ApiService LoginApi
	// contains filtered or unexported fields
}

func (LoginApiApiGetLoginFlowRequestRequest) Cookie

func (LoginApiApiGetLoginFlowRequestRequest) Execute

func (LoginApiApiGetLoginFlowRequestRequest) Id

type LoginApiApiInitBrowserLoginFlowRequestRequest

type LoginApiApiInitBrowserLoginFlowRequestRequest struct {
	ApiService LoginApi
	// contains filtered or unexported fields
}

func (LoginApiApiInitBrowserLoginFlowRequestRequest) Aal

func (LoginApiApiInitBrowserLoginFlowRequestRequest) Cookie

func (LoginApiApiInitBrowserLoginFlowRequestRequest) Execute

func (LoginApiApiInitBrowserLoginFlowRequestRequest) LoginChallenge

func (LoginApiApiInitBrowserLoginFlowRequestRequest) Refresh

func (LoginApiApiInitBrowserLoginFlowRequestRequest) ReturnTo

type LoginApiApiSubmitLoginFlowRequestRequest

type LoginApiApiSubmitLoginFlowRequestRequest struct {
	ApiService LoginApi
	// contains filtered or unexported fields
}

func (LoginApiApiSubmitLoginFlowRequestRequest) Cookie

func (LoginApiApiSubmitLoginFlowRequestRequest) Execute

func (LoginApiApiSubmitLoginFlowRequestRequest) Flow

func (LoginApiApiSubmitLoginFlowRequestRequest) SubmitLoginFlowBody

func (LoginApiApiSubmitLoginFlowRequestRequest) XSessionToken

type LoginApiService

type LoginApiService service

LoginApiService LoginApi service

func (*LoginApiService) GetLoginFlowRequest

  • GetLoginFlowRequest # Get Login Flow
  • This endpoint returns a login flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow'])

res.render('login', flow) }) ```

This request may fail due to several reasons. The `error.id` can be one of:

`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return LoginApiApiGetLoginFlowRequestRequest

func (*LoginApiService) GetLoginFlowRequestExecute

func (a *LoginApiService) GetLoginFlowRequestExecute(r LoginApiApiGetLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*LoginApiService) InitBrowserLoginFlowRequest

  • InitBrowserLoginFlowRequest # Initialize Login Flow for Browsers
  • This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate

cookies and anti-CSRF measures required for browser-based flows.

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return LoginApiApiInitBrowserLoginFlowRequestRequest

func (*LoginApiService) InitBrowserLoginFlowRequestExecute

func (a *LoginApiService) InitBrowserLoginFlowRequestExecute(r LoginApiApiInitBrowserLoginFlowRequestRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*LoginApiService) SubmitLoginFlowRequest

  • SubmitLoginFlowRequest # Submit a Login Flow
  • Use this endpoint to complete a login flow. This endpoint

behaves differently for API and browser flows.

API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.

Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.

Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.

More information can be found at:

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return LoginApiApiSubmitLoginFlowRequestRequest

func (*LoginApiService) SubmitLoginFlowRequestExecute

* Execute executes the request * @return SubmitLoginFlowResponse

type LoginFlow

type LoginFlow struct {
	Active *CredentialsType `json:"active,omitempty"`
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	// ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http://<selfservice.flows.login.ui_url>/?flow=<flow_id>
	Id string `json:"id"`
	// IssuedAt is the time (UTC) when the flow started.
	IssuedAt time.Time `json:"issued_at"`
	// OAuth 2.0 Login Challenge.  This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.
	Oauth2LoginChallenge *string             `json:"oauth2_login_challenge,omitempty"`
	Oauth2LoginRequest   *OAuth2LoginRequest `json:"oauth2_login_request,omitempty"`
	// Refresh stores whether this login flow should enforce re-authentication.
	Refresh *bool `json:"refresh,omitempty"`
	// RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl   string                       `json:"request_url"`
	RequestedAal *AuthenticatorAssuranceLevel `json:"requested_aal,omitempty"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string     `json:"return_to,omitempty"`
	Type     FlowType    `json:"type"`
	Ui       UiContainer `json:"ui"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

LoginFlow This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\" endpoint by a client. Once a login flow is completed successfully, a session cookie or session token will be issued.

func NewLoginFlow

func NewLoginFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ FlowType, ui UiContainer) *LoginFlow

NewLoginFlow instantiates a new LoginFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginFlowWithDefaults

func NewLoginFlowWithDefaults() *LoginFlow

NewLoginFlowWithDefaults instantiates a new LoginFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginFlow) GetActive

func (o *LoginFlow) GetActive() CredentialsType

GetActive returns the Active field value if set, zero value otherwise.

func (*LoginFlow) GetActiveOk

func (o *LoginFlow) GetActiveOk() (*CredentialsType, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetCreatedAt

func (o *LoginFlow) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*LoginFlow) GetCreatedAtOk

func (o *LoginFlow) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetExpiresAt

func (o *LoginFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*LoginFlow) GetExpiresAtOk

func (o *LoginFlow) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*LoginFlow) GetId

func (o *LoginFlow) GetId() string

GetId returns the Id field value

func (*LoginFlow) GetIdOk

func (o *LoginFlow) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*LoginFlow) GetIssuedAt

func (o *LoginFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*LoginFlow) GetIssuedAtOk

func (o *LoginFlow) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.

func (*LoginFlow) GetOauth2LoginChallenge

func (o *LoginFlow) GetOauth2LoginChallenge() string

GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.

func (*LoginFlow) GetOauth2LoginChallengeOk

func (o *LoginFlow) GetOauth2LoginChallengeOk() (*string, bool)

GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetOauth2LoginRequest

func (o *LoginFlow) GetOauth2LoginRequest() OAuth2LoginRequest

GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.

func (*LoginFlow) GetOauth2LoginRequestOk

func (o *LoginFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)

GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetRefresh

func (o *LoginFlow) GetRefresh() bool

GetRefresh returns the Refresh field value if set, zero value otherwise.

func (*LoginFlow) GetRefreshOk

func (o *LoginFlow) GetRefreshOk() (*bool, bool)

GetRefreshOk returns a tuple with the Refresh field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetRequestUrl

func (o *LoginFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*LoginFlow) GetRequestUrlOk

func (o *LoginFlow) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.

func (*LoginFlow) GetRequestedAal

func (o *LoginFlow) GetRequestedAal() AuthenticatorAssuranceLevel

GetRequestedAal returns the RequestedAal field value if set, zero value otherwise.

func (*LoginFlow) GetRequestedAalOk

func (o *LoginFlow) GetRequestedAalOk() (*AuthenticatorAssuranceLevel, bool)

GetRequestedAalOk returns a tuple with the RequestedAal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetReturnTo

func (o *LoginFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*LoginFlow) GetReturnToOk

func (o *LoginFlow) GetReturnToOk() (*string, bool)

GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) GetType

func (o *LoginFlow) GetType() FlowType

GetType returns the Type field value

func (*LoginFlow) GetTypeOk

func (o *LoginFlow) GetTypeOk() (*FlowType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LoginFlow) GetUi

func (o *LoginFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*LoginFlow) GetUiOk

func (o *LoginFlow) GetUiOk() (*UiContainer, bool)

GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.

func (*LoginFlow) GetUpdatedAt

func (o *LoginFlow) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*LoginFlow) GetUpdatedAtOk

func (o *LoginFlow) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginFlow) HasActive

func (o *LoginFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*LoginFlow) HasCreatedAt

func (o *LoginFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*LoginFlow) HasOauth2LoginChallenge

func (o *LoginFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*LoginFlow) HasOauth2LoginRequest

func (o *LoginFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*LoginFlow) HasRefresh

func (o *LoginFlow) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (*LoginFlow) HasRequestedAal

func (o *LoginFlow) HasRequestedAal() bool

HasRequestedAal returns a boolean if a field has been set.

func (*LoginFlow) HasReturnTo

func (o *LoginFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*LoginFlow) HasUpdatedAt

func (o *LoginFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (LoginFlow) MarshalJSON

func (o LoginFlow) MarshalJSON() ([]byte, error)

func (*LoginFlow) SetActive

func (o *LoginFlow) SetActive(v CredentialsType)

SetActive gets a reference to the given CredentialsType and assigns it to the Active field.

func (*LoginFlow) SetCreatedAt

func (o *LoginFlow) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*LoginFlow) SetExpiresAt

func (o *LoginFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*LoginFlow) SetId

func (o *LoginFlow) SetId(v string)

SetId sets field value

func (*LoginFlow) SetIssuedAt

func (o *LoginFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*LoginFlow) SetOauth2LoginChallenge

func (o *LoginFlow) SetOauth2LoginChallenge(v string)

SetOauth2LoginChallenge gets a reference to the given string and assigns it to the Oauth2LoginChallenge field.

func (*LoginFlow) SetOauth2LoginRequest

func (o *LoginFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

SetOauth2LoginRequest gets a reference to the given OAuth2LoginRequest and assigns it to the Oauth2LoginRequest field.

func (*LoginFlow) SetRefresh

func (o *LoginFlow) SetRefresh(v bool)

SetRefresh gets a reference to the given bool and assigns it to the Refresh field.

func (*LoginFlow) SetRequestUrl

func (o *LoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*LoginFlow) SetRequestedAal

func (o *LoginFlow) SetRequestedAal(v AuthenticatorAssuranceLevel)

SetRequestedAal gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the RequestedAal field.

func (*LoginFlow) SetReturnTo

func (o *LoginFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*LoginFlow) SetType

func (o *LoginFlow) SetType(v FlowType)

SetType sets field value

func (*LoginFlow) SetUi

func (o *LoginFlow) SetUi(v UiContainer)

SetUi sets field value

func (*LoginFlow) SetUpdatedAt

func (o *LoginFlow) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type LogoutApi

type LogoutApi interface {

	/*
		 * InitBrowserLogoutFlowRequest # Create a Logout URL for Browsers
		 * This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.

	This endpoint is NOT INTENDED for API clients and only works
	with browsers (Chrome, Firefox, ...). For API clients you can
	call the `/self-service/logout/api` URL directly with the Session Token.

	The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns
	a 401 error.

	When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return LogoutApiApiInitBrowserLogoutFlowRequestRequest
	*/
	InitBrowserLogoutFlowRequest(ctx context.Context) LogoutApiApiInitBrowserLogoutFlowRequestRequest

	/*
	 * InitBrowserLogoutFlowRequestExecute executes the request
	 * @return InitBrowserLogoutFlowResponse
	 */
	InitBrowserLogoutFlowRequestExecute(r LogoutApiApiInitBrowserLogoutFlowRequestRequest) (*InitBrowserLogoutFlowResponse, *http.Response, error)

	/*
		 * SubmitLogoutFlowRequest # Complete Self-Service Logout
		 * This endpoint logs out an identity in a self-service manner.

	If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other)
	to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.

	If the `Accept` HTTP header is set to `application/json`, a 204 No Content response
	will be sent on successful logout instead.

	This endpoint is NOT INTENDED for API clients and only works
	with browsers (Chrome, Firefox, ...). For API clients you can
	call the `/self-service/logout/api` URL directly with the Session Token.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return LogoutApiApiSubmitLogoutFlowRequestRequest
	*/
	SubmitLogoutFlowRequest(ctx context.Context) LogoutApiApiSubmitLogoutFlowRequestRequest

	/*
	 * SubmitLogoutFlowRequestExecute executes the request
	 */
	SubmitLogoutFlowRequestExecute(r LogoutApiApiSubmitLogoutFlowRequestRequest) (*http.Response, error)
}

type LogoutApiApiInitBrowserLogoutFlowRequestRequest

type LogoutApiApiInitBrowserLogoutFlowRequestRequest struct {
	ApiService LogoutApi
	// contains filtered or unexported fields
}

func (LogoutApiApiInitBrowserLogoutFlowRequestRequest) Cookie

func (LogoutApiApiInitBrowserLogoutFlowRequestRequest) Execute

func (LogoutApiApiInitBrowserLogoutFlowRequestRequest) LogoutChallenge

type LogoutApiApiSubmitLogoutFlowRequestRequest

type LogoutApiApiSubmitLogoutFlowRequestRequest struct {
	ApiService LogoutApi
	// contains filtered or unexported fields
}

func (LogoutApiApiSubmitLogoutFlowRequestRequest) Execute

func (LogoutApiApiSubmitLogoutFlowRequestRequest) LogoutChallenge

func (LogoutApiApiSubmitLogoutFlowRequestRequest) ReturnTo

func (LogoutApiApiSubmitLogoutFlowRequestRequest) Token

type LogoutApiService

type LogoutApiService service

LogoutApiService LogoutApi service

func (*LogoutApiService) InitBrowserLogoutFlowRequest

  • InitBrowserLogoutFlowRequest # Create a Logout URL for Browsers
  • This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Session Token.

The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error.

When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return LogoutApiApiInitBrowserLogoutFlowRequestRequest

func (*LogoutApiService) InitBrowserLogoutFlowRequestExecute

* Execute executes the request * @return InitBrowserLogoutFlowResponse

func (*LogoutApiService) SubmitLogoutFlowRequest

  • SubmitLogoutFlowRequest # Complete Self-Service Logout
  • This endpoint logs out an identity in a self-service manner.

If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.

If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Session Token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return LogoutApiApiSubmitLogoutFlowRequestRequest

func (*LogoutApiService) SubmitLogoutFlowRequestExecute

func (a *LogoutApiService) SubmitLogoutFlowRequestExecute(r LogoutApiApiSubmitLogoutFlowRequestRequest) (*http.Response, error)

* Execute executes the request

type NullableAPILoginFlow

type NullableAPILoginFlow struct {
	// contains filtered or unexported fields
}

func NewNullableAPILoginFlow

func NewNullableAPILoginFlow(val *APILoginFlow) *NullableAPILoginFlow

func (NullableAPILoginFlow) Get

func (NullableAPILoginFlow) IsSet

func (v NullableAPILoginFlow) IsSet() bool

func (NullableAPILoginFlow) MarshalJSON

func (v NullableAPILoginFlow) MarshalJSON() ([]byte, error)

func (*NullableAPILoginFlow) Set

func (v *NullableAPILoginFlow) Set(val *APILoginFlow)

func (*NullableAPILoginFlow) UnmarshalJSON

func (v *NullableAPILoginFlow) UnmarshalJSON(src []byte) error

func (*NullableAPILoginFlow) Unset

func (v *NullableAPILoginFlow) Unset()

type NullableAPIRegistrationFlow

type NullableAPIRegistrationFlow struct {
	// contains filtered or unexported fields
}

func NewNullableAPIRegistrationFlow

func NewNullableAPIRegistrationFlow(val *APIRegistrationFlow) *NullableAPIRegistrationFlow

func (NullableAPIRegistrationFlow) Get

func (NullableAPIRegistrationFlow) IsSet

func (NullableAPIRegistrationFlow) MarshalJSON

func (v NullableAPIRegistrationFlow) MarshalJSON() ([]byte, error)

func (*NullableAPIRegistrationFlow) Set

func (*NullableAPIRegistrationFlow) UnmarshalJSON

func (v *NullableAPIRegistrationFlow) UnmarshalJSON(src []byte) error

func (*NullableAPIRegistrationFlow) Unset

func (v *NullableAPIRegistrationFlow) Unset()

type NullableAuthenticatorAssuranceLevel

type NullableAuthenticatorAssuranceLevel struct {
	// contains filtered or unexported fields
}

func (NullableAuthenticatorAssuranceLevel) Get

func (NullableAuthenticatorAssuranceLevel) IsSet

func (NullableAuthenticatorAssuranceLevel) MarshalJSON

func (v NullableAuthenticatorAssuranceLevel) MarshalJSON() ([]byte, error)

func (*NullableAuthenticatorAssuranceLevel) Set

func (*NullableAuthenticatorAssuranceLevel) UnmarshalJSON

func (v *NullableAuthenticatorAssuranceLevel) UnmarshalJSON(src []byte) error

func (*NullableAuthenticatorAssuranceLevel) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBrowserLocationChangeRequiredResponse

type NullableBrowserLocationChangeRequiredResponse struct {
	// contains filtered or unexported fields
}

func (NullableBrowserLocationChangeRequiredResponse) Get

func (NullableBrowserLocationChangeRequiredResponse) IsSet

func (NullableBrowserLocationChangeRequiredResponse) MarshalJSON

func (*NullableBrowserLocationChangeRequiredResponse) Set

func (*NullableBrowserLocationChangeRequiredResponse) UnmarshalJSON

func (*NullableBrowserLocationChangeRequiredResponse) Unset

type NullableCode

type NullableCode struct {
	// contains filtered or unexported fields
}

func NewNullableCode

func NewNullableCode(val *Code) *NullableCode

func (NullableCode) Get

func (v NullableCode) Get() *Code

func (NullableCode) IsSet

func (v NullableCode) IsSet() bool

func (NullableCode) MarshalJSON

func (v NullableCode) MarshalJSON() ([]byte, error)

func (*NullableCode) Set

func (v *NullableCode) Set(val *Code)

func (*NullableCode) UnmarshalJSON

func (v *NullableCode) UnmarshalJSON(src []byte) error

func (*NullableCode) Unset

func (v *NullableCode) Unset()

type NullableConsentFlow

type NullableConsentFlow struct {
	// contains filtered or unexported fields
}

func NewNullableConsentFlow

func NewNullableConsentFlow(val *ConsentFlow) *NullableConsentFlow

func (NullableConsentFlow) Get

func (NullableConsentFlow) IsSet

func (v NullableConsentFlow) IsSet() bool

func (NullableConsentFlow) MarshalJSON

func (v NullableConsentFlow) MarshalJSON() ([]byte, error)

func (*NullableConsentFlow) Set

func (v *NullableConsentFlow) Set(val *ConsentFlow)

func (*NullableConsentFlow) UnmarshalJSON

func (v *NullableConsentFlow) UnmarshalJSON(src []byte) error

func (*NullableConsentFlow) Unset

func (v *NullableConsentFlow) Unset()

type NullableCredentialsType

type NullableCredentialsType struct {
	// contains filtered or unexported fields
}

func NewNullableCredentialsType

func NewNullableCredentialsType(val *CredentialsType) *NullableCredentialsType

func (NullableCredentialsType) Get

func (NullableCredentialsType) IsSet

func (v NullableCredentialsType) IsSet() bool

func (NullableCredentialsType) MarshalJSON

func (v NullableCredentialsType) MarshalJSON() ([]byte, error)

func (*NullableCredentialsType) Set

func (*NullableCredentialsType) UnmarshalJSON

func (v *NullableCredentialsType) UnmarshalJSON(src []byte) error

func (*NullableCredentialsType) Unset

func (v *NullableCredentialsType) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableFlowType

type NullableFlowType struct {
	// contains filtered or unexported fields
}

func NewNullableFlowType

func NewNullableFlowType(val *FlowType) *NullableFlowType

func (NullableFlowType) Get

func (v NullableFlowType) Get() *FlowType

func (NullableFlowType) IsSet

func (v NullableFlowType) IsSet() bool

func (NullableFlowType) MarshalJSON

func (v NullableFlowType) MarshalJSON() ([]byte, error)

func (*NullableFlowType) Set

func (v *NullableFlowType) Set(val *FlowType)

func (*NullableFlowType) UnmarshalJSON

func (v *NullableFlowType) UnmarshalJSON(src []byte) error

func (*NullableFlowType) Unset

func (v *NullableFlowType) Unset()

type NullableIdentity

type NullableIdentity struct {
	// contains filtered or unexported fields
}

func NewNullableIdentity

func NewNullableIdentity(val *Identity) *NullableIdentity

func (NullableIdentity) Get

func (v NullableIdentity) Get() *Identity

func (NullableIdentity) IsSet

func (v NullableIdentity) IsSet() bool

func (NullableIdentity) MarshalJSON

func (v NullableIdentity) MarshalJSON() ([]byte, error)

func (*NullableIdentity) Set

func (v *NullableIdentity) Set(val *Identity)

func (*NullableIdentity) UnmarshalJSON

func (v *NullableIdentity) UnmarshalJSON(src []byte) error

func (*NullableIdentity) Unset

func (v *NullableIdentity) Unset()

type NullableIdentityCredential

type NullableIdentityCredential struct {
	// contains filtered or unexported fields
}

func NewNullableIdentityCredential

func NewNullableIdentityCredential(val *IdentityCredential) *NullableIdentityCredential

func (NullableIdentityCredential) Get

func (NullableIdentityCredential) IsSet

func (v NullableIdentityCredential) IsSet() bool

func (NullableIdentityCredential) MarshalJSON

func (v NullableIdentityCredential) MarshalJSON() ([]byte, error)

func (*NullableIdentityCredential) Set

func (*NullableIdentityCredential) UnmarshalJSON

func (v *NullableIdentityCredential) UnmarshalJSON(src []byte) error

func (*NullableIdentityCredential) Unset

func (v *NullableIdentityCredential) Unset()

type NullableIdentityCredentialIdentifier

type NullableIdentityCredentialIdentifier struct {
	// contains filtered or unexported fields
}

func (NullableIdentityCredentialIdentifier) Get

func (NullableIdentityCredentialIdentifier) IsSet

func (NullableIdentityCredentialIdentifier) MarshalJSON

func (v NullableIdentityCredentialIdentifier) MarshalJSON() ([]byte, error)

func (*NullableIdentityCredentialIdentifier) Set

func (*NullableIdentityCredentialIdentifier) UnmarshalJSON

func (v *NullableIdentityCredentialIdentifier) UnmarshalJSON(src []byte) error

func (*NullableIdentityCredentialIdentifier) Unset

type NullableIdentityCredentialIdentifierOidcProperties

type NullableIdentityCredentialIdentifierOidcProperties struct {
	// contains filtered or unexported fields
}

func (NullableIdentityCredentialIdentifierOidcProperties) Get

func (NullableIdentityCredentialIdentifierOidcProperties) IsSet

func (NullableIdentityCredentialIdentifierOidcProperties) MarshalJSON

func (*NullableIdentityCredentialIdentifierOidcProperties) Set

func (*NullableIdentityCredentialIdentifierOidcProperties) UnmarshalJSON

func (*NullableIdentityCredentialIdentifierOidcProperties) Unset

type NullableIdentityCredentialIdentifierPasswordProperties

type NullableIdentityCredentialIdentifierPasswordProperties struct {
	// contains filtered or unexported fields
}

func (NullableIdentityCredentialIdentifierPasswordProperties) Get

func (NullableIdentityCredentialIdentifierPasswordProperties) IsSet

func (NullableIdentityCredentialIdentifierPasswordProperties) MarshalJSON

func (*NullableIdentityCredentialIdentifierPasswordProperties) Set

func (*NullableIdentityCredentialIdentifierPasswordProperties) UnmarshalJSON

func (*NullableIdentityCredentialIdentifierPasswordProperties) Unset

type NullableIdentityState

type NullableIdentityState struct {
	// contains filtered or unexported fields
}

func NewNullableIdentityState

func NewNullableIdentityState(val *IdentityState) *NullableIdentityState

func (NullableIdentityState) Get

func (NullableIdentityState) IsSet

func (v NullableIdentityState) IsSet() bool

func (NullableIdentityState) MarshalJSON

func (v NullableIdentityState) MarshalJSON() ([]byte, error)

func (*NullableIdentityState) Set

func (v *NullableIdentityState) Set(val *IdentityState)

func (*NullableIdentityState) UnmarshalJSON

func (v *NullableIdentityState) UnmarshalJSON(src []byte) error

func (*NullableIdentityState) Unset

func (v *NullableIdentityState) Unset()

type NullableIdentityTraits

type NullableIdentityTraits struct {
	// contains filtered or unexported fields
}

func NewNullableIdentityTraits

func NewNullableIdentityTraits(val *IdentityTraits) *NullableIdentityTraits

func (NullableIdentityTraits) Get

func (NullableIdentityTraits) IsSet

func (v NullableIdentityTraits) IsSet() bool

func (NullableIdentityTraits) MarshalJSON

func (v NullableIdentityTraits) MarshalJSON() ([]byte, error)

func (*NullableIdentityTraits) Set

func (*NullableIdentityTraits) UnmarshalJSON

func (v *NullableIdentityTraits) UnmarshalJSON(src []byte) error

func (*NullableIdentityTraits) Unset

func (v *NullableIdentityTraits) Unset()

type NullableInitBrowserLogoutFlowResponse

type NullableInitBrowserLogoutFlowResponse struct {
	// contains filtered or unexported fields
}

func (NullableInitBrowserLogoutFlowResponse) Get

func (NullableInitBrowserLogoutFlowResponse) IsSet

func (NullableInitBrowserLogoutFlowResponse) MarshalJSON

func (v NullableInitBrowserLogoutFlowResponse) MarshalJSON() ([]byte, error)

func (*NullableInitBrowserLogoutFlowResponse) Set

func (*NullableInitBrowserLogoutFlowResponse) UnmarshalJSON

func (v *NullableInitBrowserLogoutFlowResponse) UnmarshalJSON(src []byte) error

func (*NullableInitBrowserLogoutFlowResponse) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableJsonErrorResponse

type NullableJsonErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableJsonErrorResponse

func NewNullableJsonErrorResponse(val *JsonErrorResponse) *NullableJsonErrorResponse

func (NullableJsonErrorResponse) Get

func (NullableJsonErrorResponse) IsSet

func (v NullableJsonErrorResponse) IsSet() bool

func (NullableJsonErrorResponse) MarshalJSON

func (v NullableJsonErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableJsonErrorResponse) Set

func (*NullableJsonErrorResponse) UnmarshalJSON

func (v *NullableJsonErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableJsonErrorResponse) Unset

func (v *NullableJsonErrorResponse) Unset()

type NullableLoginFlow

type NullableLoginFlow struct {
	// contains filtered or unexported fields
}

func NewNullableLoginFlow

func NewNullableLoginFlow(val *LoginFlow) *NullableLoginFlow

func (NullableLoginFlow) Get

func (v NullableLoginFlow) Get() *LoginFlow

func (NullableLoginFlow) IsSet

func (v NullableLoginFlow) IsSet() bool

func (NullableLoginFlow) MarshalJSON

func (v NullableLoginFlow) MarshalJSON() ([]byte, error)

func (*NullableLoginFlow) Set

func (v *NullableLoginFlow) Set(val *LoginFlow)

func (*NullableLoginFlow) UnmarshalJSON

func (v *NullableLoginFlow) UnmarshalJSON(src []byte) error

func (*NullableLoginFlow) Unset

func (v *NullableLoginFlow) Unset()

type NullableOAuth2Client

type NullableOAuth2Client struct {
	// contains filtered or unexported fields
}

func NewNullableOAuth2Client

func NewNullableOAuth2Client(val *OAuth2Client) *NullableOAuth2Client

func (NullableOAuth2Client) Get

func (NullableOAuth2Client) IsSet

func (v NullableOAuth2Client) IsSet() bool

func (NullableOAuth2Client) MarshalJSON

func (v NullableOAuth2Client) MarshalJSON() ([]byte, error)

func (*NullableOAuth2Client) Set

func (v *NullableOAuth2Client) Set(val *OAuth2Client)

func (*NullableOAuth2Client) UnmarshalJSON

func (v *NullableOAuth2Client) UnmarshalJSON(src []byte) error

func (*NullableOAuth2Client) Unset

func (v *NullableOAuth2Client) Unset()

type NullableOAuth2ConsentRequest

type NullableOAuth2ConsentRequest struct {
	// contains filtered or unexported fields
}

func NewNullableOAuth2ConsentRequest

func NewNullableOAuth2ConsentRequest(val *OAuth2ConsentRequest) *NullableOAuth2ConsentRequest

func (NullableOAuth2ConsentRequest) Get

func (NullableOAuth2ConsentRequest) IsSet

func (NullableOAuth2ConsentRequest) MarshalJSON

func (v NullableOAuth2ConsentRequest) MarshalJSON() ([]byte, error)

func (*NullableOAuth2ConsentRequest) Set

func (*NullableOAuth2ConsentRequest) UnmarshalJSON

func (v *NullableOAuth2ConsentRequest) UnmarshalJSON(src []byte) error

func (*NullableOAuth2ConsentRequest) Unset

func (v *NullableOAuth2ConsentRequest) Unset()

type NullableOAuth2ConsentRequestOpenIDConnectContext

type NullableOAuth2ConsentRequestOpenIDConnectContext struct {
	// contains filtered or unexported fields
}

func (NullableOAuth2ConsentRequestOpenIDConnectContext) Get

func (NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet

func (NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Set

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Unset

type NullableOAuth2LoginRequest

type NullableOAuth2LoginRequest struct {
	// contains filtered or unexported fields
}

func NewNullableOAuth2LoginRequest

func NewNullableOAuth2LoginRequest(val *OAuth2LoginRequest) *NullableOAuth2LoginRequest

func (NullableOAuth2LoginRequest) Get

func (NullableOAuth2LoginRequest) IsSet

func (v NullableOAuth2LoginRequest) IsSet() bool

func (NullableOAuth2LoginRequest) MarshalJSON

func (v NullableOAuth2LoginRequest) MarshalJSON() ([]byte, error)

func (*NullableOAuth2LoginRequest) Set

func (*NullableOAuth2LoginRequest) UnmarshalJSON

func (v *NullableOAuth2LoginRequest) UnmarshalJSON(src []byte) error

func (*NullableOAuth2LoginRequest) Unset

func (v *NullableOAuth2LoginRequest) Unset()

type NullableRecoveryFlow

type NullableRecoveryFlow struct {
	// contains filtered or unexported fields
}

func NewNullableRecoveryFlow

func NewNullableRecoveryFlow(val *RecoveryFlow) *NullableRecoveryFlow

func (NullableRecoveryFlow) Get

func (NullableRecoveryFlow) IsSet

func (v NullableRecoveryFlow) IsSet() bool

func (NullableRecoveryFlow) MarshalJSON

func (v NullableRecoveryFlow) MarshalJSON() ([]byte, error)

func (*NullableRecoveryFlow) Set

func (v *NullableRecoveryFlow) Set(val *RecoveryFlow)

func (*NullableRecoveryFlow) UnmarshalJSON

func (v *NullableRecoveryFlow) UnmarshalJSON(src []byte) error

func (*NullableRecoveryFlow) Unset

func (v *NullableRecoveryFlow) Unset()

type NullableRecoveryMethod

type NullableRecoveryMethod struct {
	// contains filtered or unexported fields
}

func NewNullableRecoveryMethod

func NewNullableRecoveryMethod(val *RecoveryMethod) *NullableRecoveryMethod

func (NullableRecoveryMethod) Get

func (NullableRecoveryMethod) IsSet

func (v NullableRecoveryMethod) IsSet() bool

func (NullableRecoveryMethod) MarshalJSON

func (v NullableRecoveryMethod) MarshalJSON() ([]byte, error)

func (*NullableRecoveryMethod) Set

func (*NullableRecoveryMethod) UnmarshalJSON

func (v *NullableRecoveryMethod) UnmarshalJSON(src []byte) error

func (*NullableRecoveryMethod) Unset

func (v *NullableRecoveryMethod) Unset()

type NullableRecoveryState

type NullableRecoveryState struct {
	// contains filtered or unexported fields
}

func NewNullableRecoveryState

func NewNullableRecoveryState(val *RecoveryState) *NullableRecoveryState

func (NullableRecoveryState) Get

func (NullableRecoveryState) IsSet

func (v NullableRecoveryState) IsSet() bool

func (NullableRecoveryState) MarshalJSON

func (v NullableRecoveryState) MarshalJSON() ([]byte, error)

func (*NullableRecoveryState) Set

func (v *NullableRecoveryState) Set(val *RecoveryState)

func (*NullableRecoveryState) UnmarshalJSON

func (v *NullableRecoveryState) UnmarshalJSON(src []byte) error

func (*NullableRecoveryState) Unset

func (v *NullableRecoveryState) Unset()

type NullableRecoveryTraits

type NullableRecoveryTraits struct {
	// contains filtered or unexported fields
}

func NewNullableRecoveryTraits

func NewNullableRecoveryTraits(val *RecoveryTraits) *NullableRecoveryTraits

func (NullableRecoveryTraits) Get

func (NullableRecoveryTraits) IsSet

func (v NullableRecoveryTraits) IsSet() bool

func (NullableRecoveryTraits) MarshalJSON

func (v NullableRecoveryTraits) MarshalJSON() ([]byte, error)

func (*NullableRecoveryTraits) Set

func (*NullableRecoveryTraits) UnmarshalJSON

func (v *NullableRecoveryTraits) UnmarshalJSON(src []byte) error

func (*NullableRecoveryTraits) Unset

func (v *NullableRecoveryTraits) Unset()

type NullableRegistrationFlow

type NullableRegistrationFlow struct {
	// contains filtered or unexported fields
}

func NewNullableRegistrationFlow

func NewNullableRegistrationFlow(val *RegistrationFlow) *NullableRegistrationFlow

func (NullableRegistrationFlow) Get

func (NullableRegistrationFlow) IsSet

func (v NullableRegistrationFlow) IsSet() bool

func (NullableRegistrationFlow) MarshalJSON

func (v NullableRegistrationFlow) MarshalJSON() ([]byte, error)

func (*NullableRegistrationFlow) Set

func (*NullableRegistrationFlow) UnmarshalJSON

func (v *NullableRegistrationFlow) UnmarshalJSON(src []byte) error

func (*NullableRegistrationFlow) Unset

func (v *NullableRegistrationFlow) Unset()

type NullableRegistrationTraits

type NullableRegistrationTraits struct {
	// contains filtered or unexported fields
}

func NewNullableRegistrationTraits

func NewNullableRegistrationTraits(val *RegistrationTraits) *NullableRegistrationTraits

func (NullableRegistrationTraits) Get

func (NullableRegistrationTraits) IsSet

func (v NullableRegistrationTraits) IsSet() bool

func (NullableRegistrationTraits) MarshalJSON

func (v NullableRegistrationTraits) MarshalJSON() ([]byte, error)

func (*NullableRegistrationTraits) Set

func (*NullableRegistrationTraits) UnmarshalJSON

func (v *NullableRegistrationTraits) UnmarshalJSON(src []byte) error

func (*NullableRegistrationTraits) Unset

func (v *NullableRegistrationTraits) Unset()

type NullableSession

type NullableSession struct {
	// contains filtered or unexported fields
}

func NewNullableSession

func NewNullableSession(val *Session) *NullableSession

func (NullableSession) Get

func (v NullableSession) Get() *Session

func (NullableSession) IsSet

func (v NullableSession) IsSet() bool

func (NullableSession) MarshalJSON

func (v NullableSession) MarshalJSON() ([]byte, error)

func (*NullableSession) Set

func (v *NullableSession) Set(val *Session)

func (*NullableSession) UnmarshalJSON

func (v *NullableSession) UnmarshalJSON(src []byte) error

func (*NullableSession) Unset

func (v *NullableSession) Unset()

type NullableSessionAuthenticationMethod

type NullableSessionAuthenticationMethod struct {
	// contains filtered or unexported fields
}

func (NullableSessionAuthenticationMethod) Get

func (NullableSessionAuthenticationMethod) IsSet

func (NullableSessionAuthenticationMethod) MarshalJSON

func (v NullableSessionAuthenticationMethod) MarshalJSON() ([]byte, error)

func (*NullableSessionAuthenticationMethod) Set

func (*NullableSessionAuthenticationMethod) UnmarshalJSON

func (v *NullableSessionAuthenticationMethod) UnmarshalJSON(src []byte) error

func (*NullableSessionAuthenticationMethod) Unset

type NullableSettingsFlow

type NullableSettingsFlow struct {
	// contains filtered or unexported fields
}

func NewNullableSettingsFlow

func NewNullableSettingsFlow(val *SettingsFlow) *NullableSettingsFlow

func (NullableSettingsFlow) Get

func (NullableSettingsFlow) IsSet

func (v NullableSettingsFlow) IsSet() bool

func (NullableSettingsFlow) MarshalJSON

func (v NullableSettingsFlow) MarshalJSON() ([]byte, error)

func (*NullableSettingsFlow) Set

func (v *NullableSettingsFlow) Set(val *SettingsFlow)

func (*NullableSettingsFlow) UnmarshalJSON

func (v *NullableSettingsFlow) UnmarshalJSON(src []byte) error

func (*NullableSettingsFlow) Unset

func (v *NullableSettingsFlow) Unset()

type NullableSettingsMethod

type NullableSettingsMethod struct {
	// contains filtered or unexported fields
}

func NewNullableSettingsMethod

func NewNullableSettingsMethod(val *SettingsMethod) *NullableSettingsMethod

func (NullableSettingsMethod) Get

func (NullableSettingsMethod) IsSet

func (v NullableSettingsMethod) IsSet() bool

func (NullableSettingsMethod) MarshalJSON

func (v NullableSettingsMethod) MarshalJSON() ([]byte, error)

func (*NullableSettingsMethod) Set

func (*NullableSettingsMethod) UnmarshalJSON

func (v *NullableSettingsMethod) UnmarshalJSON(src []byte) error

func (*NullableSettingsMethod) Unset

func (v *NullableSettingsMethod) Unset()

type NullableSettingsState

type NullableSettingsState struct {
	// contains filtered or unexported fields
}

func NewNullableSettingsState

func NewNullableSettingsState(val *SettingsState) *NullableSettingsState

func (NullableSettingsState) Get

func (NullableSettingsState) IsSet

func (v NullableSettingsState) IsSet() bool

func (NullableSettingsState) MarshalJSON

func (v NullableSettingsState) MarshalJSON() ([]byte, error)

func (*NullableSettingsState) Set

func (v *NullableSettingsState) Set(val *SettingsState)

func (*NullableSettingsState) UnmarshalJSON

func (v *NullableSettingsState) UnmarshalJSON(src []byte) error

func (*NullableSettingsState) Unset

func (v *NullableSettingsState) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSubmitConsentFlowBody

type NullableSubmitConsentFlowBody struct {
	// contains filtered or unexported fields
}

func (NullableSubmitConsentFlowBody) Get

func (NullableSubmitConsentFlowBody) IsSet

func (NullableSubmitConsentFlowBody) MarshalJSON

func (v NullableSubmitConsentFlowBody) MarshalJSON() ([]byte, error)

func (*NullableSubmitConsentFlowBody) Set

func (*NullableSubmitConsentFlowBody) UnmarshalJSON

func (v *NullableSubmitConsentFlowBody) UnmarshalJSON(src []byte) error

func (*NullableSubmitConsentFlowBody) Unset

func (v *NullableSubmitConsentFlowBody) Unset()

type NullableSubmitConsentFlowBodyWithDefault

type NullableSubmitConsentFlowBodyWithDefault struct {
	// contains filtered or unexported fields
}

func (NullableSubmitConsentFlowBodyWithDefault) Get

func (NullableSubmitConsentFlowBodyWithDefault) IsSet

func (NullableSubmitConsentFlowBodyWithDefault) MarshalJSON

func (*NullableSubmitConsentFlowBodyWithDefault) Set

func (*NullableSubmitConsentFlowBodyWithDefault) UnmarshalJSON

func (v *NullableSubmitConsentFlowBodyWithDefault) UnmarshalJSON(src []byte) error

func (*NullableSubmitConsentFlowBodyWithDefault) Unset

type NullableSubmitLoginFlowBody

type NullableSubmitLoginFlowBody struct {
	// contains filtered or unexported fields
}

func NewNullableSubmitLoginFlowBody

func NewNullableSubmitLoginFlowBody(val *SubmitLoginFlowBody) *NullableSubmitLoginFlowBody

func (NullableSubmitLoginFlowBody) Get

func (NullableSubmitLoginFlowBody) IsSet

func (NullableSubmitLoginFlowBody) MarshalJSON

func (v NullableSubmitLoginFlowBody) MarshalJSON() ([]byte, error)

func (*NullableSubmitLoginFlowBody) Set

func (*NullableSubmitLoginFlowBody) UnmarshalJSON

func (v *NullableSubmitLoginFlowBody) UnmarshalJSON(src []byte) error

func (*NullableSubmitLoginFlowBody) Unset

func (v *NullableSubmitLoginFlowBody) Unset()

type NullableSubmitLoginFlowBodyWithOidc

type NullableSubmitLoginFlowBodyWithOidc struct {
	// contains filtered or unexported fields
}

func (NullableSubmitLoginFlowBodyWithOidc) Get

func (NullableSubmitLoginFlowBodyWithOidc) IsSet

func (NullableSubmitLoginFlowBodyWithOidc) MarshalJSON

func (v NullableSubmitLoginFlowBodyWithOidc) MarshalJSON() ([]byte, error)

func (*NullableSubmitLoginFlowBodyWithOidc) Set

func (*NullableSubmitLoginFlowBodyWithOidc) UnmarshalJSON

func (v *NullableSubmitLoginFlowBodyWithOidc) UnmarshalJSON(src []byte) error

func (*NullableSubmitLoginFlowBodyWithOidc) Unset

type NullableSubmitLoginFlowBodyWithPassword

type NullableSubmitLoginFlowBodyWithPassword struct {
	// contains filtered or unexported fields
}

func (NullableSubmitLoginFlowBodyWithPassword) Get

func (NullableSubmitLoginFlowBodyWithPassword) IsSet

func (NullableSubmitLoginFlowBodyWithPassword) MarshalJSON

func (v NullableSubmitLoginFlowBodyWithPassword) MarshalJSON() ([]byte, error)

func (*NullableSubmitLoginFlowBodyWithPassword) Set

func (*NullableSubmitLoginFlowBodyWithPassword) UnmarshalJSON

func (v *NullableSubmitLoginFlowBodyWithPassword) UnmarshalJSON(src []byte) error

func (*NullableSubmitLoginFlowBodyWithPassword) Unset

type NullableSubmitLoginFlowBodyWithTotp

type NullableSubmitLoginFlowBodyWithTotp struct {
	// contains filtered or unexported fields
}

func (NullableSubmitLoginFlowBodyWithTotp) Get

func (NullableSubmitLoginFlowBodyWithTotp) IsSet

func (NullableSubmitLoginFlowBodyWithTotp) MarshalJSON

func (v NullableSubmitLoginFlowBodyWithTotp) MarshalJSON() ([]byte, error)

func (*NullableSubmitLoginFlowBodyWithTotp) Set

func (*NullableSubmitLoginFlowBodyWithTotp) UnmarshalJSON

func (v *NullableSubmitLoginFlowBodyWithTotp) UnmarshalJSON(src []byte) error

func (*NullableSubmitLoginFlowBodyWithTotp) Unset

type NullableSubmitLoginFlowResponse

type NullableSubmitLoginFlowResponse struct {
	// contains filtered or unexported fields
}

func (NullableSubmitLoginFlowResponse) Get

func (NullableSubmitLoginFlowResponse) IsSet

func (NullableSubmitLoginFlowResponse) MarshalJSON

func (v NullableSubmitLoginFlowResponse) MarshalJSON() ([]byte, error)

func (*NullableSubmitLoginFlowResponse) Set

func (*NullableSubmitLoginFlowResponse) UnmarshalJSON

func (v *NullableSubmitLoginFlowResponse) UnmarshalJSON(src []byte) error

func (*NullableSubmitLoginFlowResponse) Unset

type NullableSubmitRecoveryFlowBody

type NullableSubmitRecoveryFlowBody struct {
	// contains filtered or unexported fields
}

func (NullableSubmitRecoveryFlowBody) Get

func (NullableSubmitRecoveryFlowBody) IsSet

func (NullableSubmitRecoveryFlowBody) MarshalJSON

func (v NullableSubmitRecoveryFlowBody) MarshalJSON() ([]byte, error)

func (*NullableSubmitRecoveryFlowBody) Set

func (*NullableSubmitRecoveryFlowBody) UnmarshalJSON

func (v *NullableSubmitRecoveryFlowBody) UnmarshalJSON(src []byte) error

func (*NullableSubmitRecoveryFlowBody) Unset

func (v *NullableSubmitRecoveryFlowBody) Unset()

type NullableSubmitRecoveryFlowBodyWithCaptcha

type NullableSubmitRecoveryFlowBodyWithCaptcha struct {
	// contains filtered or unexported fields
}

func (NullableSubmitRecoveryFlowBodyWithCaptcha) Get

func (NullableSubmitRecoveryFlowBodyWithCaptcha) IsSet

func (NullableSubmitRecoveryFlowBodyWithCaptcha) MarshalJSON

func (*NullableSubmitRecoveryFlowBodyWithCaptcha) Set

func (*NullableSubmitRecoveryFlowBodyWithCaptcha) UnmarshalJSON

func (v *NullableSubmitRecoveryFlowBodyWithCaptcha) UnmarshalJSON(src []byte) error

func (*NullableSubmitRecoveryFlowBodyWithCaptcha) Unset

type NullableSubmitRegistrationFlowBody

type NullableSubmitRegistrationFlowBody struct {
	// contains filtered or unexported fields
}

func (NullableSubmitRegistrationFlowBody) Get

func (NullableSubmitRegistrationFlowBody) IsSet

func (NullableSubmitRegistrationFlowBody) MarshalJSON

func (v NullableSubmitRegistrationFlowBody) MarshalJSON() ([]byte, error)

func (*NullableSubmitRegistrationFlowBody) Set

func (*NullableSubmitRegistrationFlowBody) UnmarshalJSON

func (v *NullableSubmitRegistrationFlowBody) UnmarshalJSON(src []byte) error

func (*NullableSubmitRegistrationFlowBody) Unset

type NullableSubmitRegistrationFlowBodyWithOidc

type NullableSubmitRegistrationFlowBodyWithOidc struct {
	// contains filtered or unexported fields
}

func (NullableSubmitRegistrationFlowBodyWithOidc) Get

func (NullableSubmitRegistrationFlowBodyWithOidc) IsSet

func (NullableSubmitRegistrationFlowBodyWithOidc) MarshalJSON

func (*NullableSubmitRegistrationFlowBodyWithOidc) Set

func (*NullableSubmitRegistrationFlowBodyWithOidc) UnmarshalJSON

func (v *NullableSubmitRegistrationFlowBodyWithOidc) UnmarshalJSON(src []byte) error

func (*NullableSubmitRegistrationFlowBodyWithOidc) Unset

type NullableSubmitRegistrationFlowBodyWithPassword

type NullableSubmitRegistrationFlowBodyWithPassword struct {
	// contains filtered or unexported fields
}

func (NullableSubmitRegistrationFlowBodyWithPassword) Get

func (NullableSubmitRegistrationFlowBodyWithPassword) IsSet

func (NullableSubmitRegistrationFlowBodyWithPassword) MarshalJSON

func (*NullableSubmitRegistrationFlowBodyWithPassword) Set

func (*NullableSubmitRegistrationFlowBodyWithPassword) UnmarshalJSON

func (*NullableSubmitRegistrationFlowBodyWithPassword) Unset

type NullableSubmitRegistrationFlowResponse

type NullableSubmitRegistrationFlowResponse struct {
	// contains filtered or unexported fields
}

func (NullableSubmitRegistrationFlowResponse) Get

func (NullableSubmitRegistrationFlowResponse) IsSet

func (NullableSubmitRegistrationFlowResponse) MarshalJSON

func (v NullableSubmitRegistrationFlowResponse) MarshalJSON() ([]byte, error)

func (*NullableSubmitRegistrationFlowResponse) Set

func (*NullableSubmitRegistrationFlowResponse) UnmarshalJSON

func (v *NullableSubmitRegistrationFlowResponse) UnmarshalJSON(src []byte) error

func (*NullableSubmitRegistrationFlowResponse) Unset

type NullableSubmitSettingsFlowBody

type NullableSubmitSettingsFlowBody struct {
	// contains filtered or unexported fields
}

func (NullableSubmitSettingsFlowBody) Get

func (NullableSubmitSettingsFlowBody) IsSet

func (NullableSubmitSettingsFlowBody) MarshalJSON

func (v NullableSubmitSettingsFlowBody) MarshalJSON() ([]byte, error)

func (*NullableSubmitSettingsFlowBody) Set

func (*NullableSubmitSettingsFlowBody) UnmarshalJSON

func (v *NullableSubmitSettingsFlowBody) UnmarshalJSON(src []byte) error

func (*NullableSubmitSettingsFlowBody) Unset

func (v *NullableSubmitSettingsFlowBody) Unset()

type NullableSubmitSettingsFlowBodyWithPassword

type NullableSubmitSettingsFlowBodyWithPassword struct {
	// contains filtered or unexported fields
}

func (NullableSubmitSettingsFlowBodyWithPassword) Get

func (NullableSubmitSettingsFlowBodyWithPassword) IsSet

func (NullableSubmitSettingsFlowBodyWithPassword) MarshalJSON

func (*NullableSubmitSettingsFlowBodyWithPassword) Set

func (*NullableSubmitSettingsFlowBodyWithPassword) UnmarshalJSON

func (v *NullableSubmitSettingsFlowBodyWithPassword) UnmarshalJSON(src []byte) error

func (*NullableSubmitSettingsFlowBodyWithPassword) Unset

type NullableSubmitSettingsFlowBodyWithProfile

type NullableSubmitSettingsFlowBodyWithProfile struct {
	// contains filtered or unexported fields
}

func (NullableSubmitSettingsFlowBodyWithProfile) Get

func (NullableSubmitSettingsFlowBodyWithProfile) IsSet

func (NullableSubmitSettingsFlowBodyWithProfile) MarshalJSON

func (*NullableSubmitSettingsFlowBodyWithProfile) Set

func (*NullableSubmitSettingsFlowBodyWithProfile) UnmarshalJSON

func (v *NullableSubmitSettingsFlowBodyWithProfile) UnmarshalJSON(src []byte) error

func (*NullableSubmitSettingsFlowBodyWithProfile) Unset

type NullableSubmitSettingsFlowBodyWithTotp

type NullableSubmitSettingsFlowBodyWithTotp struct {
	// contains filtered or unexported fields
}

func (NullableSubmitSettingsFlowBodyWithTotp) Get

func (NullableSubmitSettingsFlowBodyWithTotp) IsSet

func (NullableSubmitSettingsFlowBodyWithTotp) MarshalJSON

func (v NullableSubmitSettingsFlowBodyWithTotp) MarshalJSON() ([]byte, error)

func (*NullableSubmitSettingsFlowBodyWithTotp) Set

func (*NullableSubmitSettingsFlowBodyWithTotp) UnmarshalJSON

func (v *NullableSubmitSettingsFlowBodyWithTotp) UnmarshalJSON(src []byte) error

func (*NullableSubmitSettingsFlowBodyWithTotp) Unset

type NullableSubmitVerificationFlowBody

type NullableSubmitVerificationFlowBody struct {
	// contains filtered or unexported fields
}

func (NullableSubmitVerificationFlowBody) Get

func (NullableSubmitVerificationFlowBody) IsSet

func (NullableSubmitVerificationFlowBody) MarshalJSON

func (v NullableSubmitVerificationFlowBody) MarshalJSON() ([]byte, error)

func (*NullableSubmitVerificationFlowBody) Set

func (*NullableSubmitVerificationFlowBody) UnmarshalJSON

func (v *NullableSubmitVerificationFlowBody) UnmarshalJSON(src []byte) error

func (*NullableSubmitVerificationFlowBody) Unset

type NullableSubmitVerificationFlowBodyWithCaptcha

type NullableSubmitVerificationFlowBodyWithCaptcha struct {
	// contains filtered or unexported fields
}

func (NullableSubmitVerificationFlowBodyWithCaptcha) Get

func (NullableSubmitVerificationFlowBodyWithCaptcha) IsSet

func (NullableSubmitVerificationFlowBodyWithCaptcha) MarshalJSON

func (*NullableSubmitVerificationFlowBodyWithCaptcha) Set

func (*NullableSubmitVerificationFlowBodyWithCaptcha) UnmarshalJSON

func (*NullableSubmitVerificationFlowBodyWithCaptcha) Unset

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUiContainer

type NullableUiContainer struct {
	// contains filtered or unexported fields
}

func NewNullableUiContainer

func NewNullableUiContainer(val *UiContainer) *NullableUiContainer

func (NullableUiContainer) Get

func (NullableUiContainer) IsSet

func (v NullableUiContainer) IsSet() bool

func (NullableUiContainer) MarshalJSON

func (v NullableUiContainer) MarshalJSON() ([]byte, error)

func (*NullableUiContainer) Set

func (v *NullableUiContainer) Set(val *UiContainer)

func (*NullableUiContainer) UnmarshalJSON

func (v *NullableUiContainer) UnmarshalJSON(src []byte) error

func (*NullableUiContainer) Unset

func (v *NullableUiContainer) Unset()

type NullableUiNode

type NullableUiNode struct {
	// contains filtered or unexported fields
}

func NewNullableUiNode

func NewNullableUiNode(val *UiNode) *NullableUiNode

func (NullableUiNode) Get

func (v NullableUiNode) Get() *UiNode

func (NullableUiNode) IsSet

func (v NullableUiNode) IsSet() bool

func (NullableUiNode) MarshalJSON

func (v NullableUiNode) MarshalJSON() ([]byte, error)

func (*NullableUiNode) Set

func (v *NullableUiNode) Set(val *UiNode)

func (*NullableUiNode) UnmarshalJSON

func (v *NullableUiNode) UnmarshalJSON(src []byte) error

func (*NullableUiNode) Unset

func (v *NullableUiNode) Unset()

type NullableUiNodeAnchorAttributes

type NullableUiNodeAnchorAttributes struct {
	// contains filtered or unexported fields
}

func (NullableUiNodeAnchorAttributes) Get

func (NullableUiNodeAnchorAttributes) IsSet

func (NullableUiNodeAnchorAttributes) MarshalJSON

func (v NullableUiNodeAnchorAttributes) MarshalJSON() ([]byte, error)

func (*NullableUiNodeAnchorAttributes) Set

func (*NullableUiNodeAnchorAttributes) UnmarshalJSON

func (v *NullableUiNodeAnchorAttributes) UnmarshalJSON(src []byte) error

func (*NullableUiNodeAnchorAttributes) Unset

func (v *NullableUiNodeAnchorAttributes) Unset()

type NullableUiNodeAttributes

type NullableUiNodeAttributes struct {
	// contains filtered or unexported fields
}

func NewNullableUiNodeAttributes

func NewNullableUiNodeAttributes(val *UiNodeAttributes) *NullableUiNodeAttributes

func (NullableUiNodeAttributes) Get

func (NullableUiNodeAttributes) IsSet

func (v NullableUiNodeAttributes) IsSet() bool

func (NullableUiNodeAttributes) MarshalJSON

func (v NullableUiNodeAttributes) MarshalJSON() ([]byte, error)

func (*NullableUiNodeAttributes) Set

func (*NullableUiNodeAttributes) UnmarshalJSON

func (v *NullableUiNodeAttributes) UnmarshalJSON(src []byte) error

func (*NullableUiNodeAttributes) Unset

func (v *NullableUiNodeAttributes) Unset()

type NullableUiNodeImageAttributes

type NullableUiNodeImageAttributes struct {
	// contains filtered or unexported fields
}

func (NullableUiNodeImageAttributes) Get

func (NullableUiNodeImageAttributes) IsSet

func (NullableUiNodeImageAttributes) MarshalJSON

func (v NullableUiNodeImageAttributes) MarshalJSON() ([]byte, error)

func (*NullableUiNodeImageAttributes) Set

func (*NullableUiNodeImageAttributes) UnmarshalJSON

func (v *NullableUiNodeImageAttributes) UnmarshalJSON(src []byte) error

func (*NullableUiNodeImageAttributes) Unset

func (v *NullableUiNodeImageAttributes) Unset()

type NullableUiNodeInputAttributes

type NullableUiNodeInputAttributes struct {
	// contains filtered or unexported fields
}

func (NullableUiNodeInputAttributes) Get

func (NullableUiNodeInputAttributes) IsSet

func (NullableUiNodeInputAttributes) MarshalJSON

func (v NullableUiNodeInputAttributes) MarshalJSON() ([]byte, error)

func (*NullableUiNodeInputAttributes) Set

func (*NullableUiNodeInputAttributes) UnmarshalJSON

func (v *NullableUiNodeInputAttributes) UnmarshalJSON(src []byte) error

func (*NullableUiNodeInputAttributes) Unset

func (v *NullableUiNodeInputAttributes) Unset()

type NullableUiNodeMeta

type NullableUiNodeMeta struct {
	// contains filtered or unexported fields
}

func NewNullableUiNodeMeta

func NewNullableUiNodeMeta(val *UiNodeMeta) *NullableUiNodeMeta

func (NullableUiNodeMeta) Get

func (v NullableUiNodeMeta) Get() *UiNodeMeta

func (NullableUiNodeMeta) IsSet

func (v NullableUiNodeMeta) IsSet() bool

func (NullableUiNodeMeta) MarshalJSON

func (v NullableUiNodeMeta) MarshalJSON() ([]byte, error)

func (*NullableUiNodeMeta) Set

func (v *NullableUiNodeMeta) Set(val *UiNodeMeta)

func (*NullableUiNodeMeta) UnmarshalJSON

func (v *NullableUiNodeMeta) UnmarshalJSON(src []byte) error

func (*NullableUiNodeMeta) Unset

func (v *NullableUiNodeMeta) Unset()

type NullableUiNodeScriptAttributes

type NullableUiNodeScriptAttributes struct {
	// contains filtered or unexported fields
}

func (NullableUiNodeScriptAttributes) Get

func (NullableUiNodeScriptAttributes) IsSet

func (NullableUiNodeScriptAttributes) MarshalJSON

func (v NullableUiNodeScriptAttributes) MarshalJSON() ([]byte, error)

func (*NullableUiNodeScriptAttributes) Set

func (*NullableUiNodeScriptAttributes) UnmarshalJSON

func (v *NullableUiNodeScriptAttributes) UnmarshalJSON(src []byte) error

func (*NullableUiNodeScriptAttributes) Unset

func (v *NullableUiNodeScriptAttributes) Unset()

type NullableUiNodeTextAttributes

type NullableUiNodeTextAttributes struct {
	// contains filtered or unexported fields
}

func NewNullableUiNodeTextAttributes

func NewNullableUiNodeTextAttributes(val *UiNodeTextAttributes) *NullableUiNodeTextAttributes

func (NullableUiNodeTextAttributes) Get

func (NullableUiNodeTextAttributes) IsSet

func (NullableUiNodeTextAttributes) MarshalJSON

func (v NullableUiNodeTextAttributes) MarshalJSON() ([]byte, error)

func (*NullableUiNodeTextAttributes) Set

func (*NullableUiNodeTextAttributes) UnmarshalJSON

func (v *NullableUiNodeTextAttributes) UnmarshalJSON(src []byte) error

func (*NullableUiNodeTextAttributes) Unset

func (v *NullableUiNodeTextAttributes) Unset()

type NullableUiText

type NullableUiText struct {
	// contains filtered or unexported fields
}

func NewNullableUiText

func NewNullableUiText(val *UiText) *NullableUiText

func (NullableUiText) Get

func (v NullableUiText) Get() *UiText

func (NullableUiText) IsSet

func (v NullableUiText) IsSet() bool

func (NullableUiText) MarshalJSON

func (v NullableUiText) MarshalJSON() ([]byte, error)

func (*NullableUiText) Set

func (v *NullableUiText) Set(val *UiText)

func (*NullableUiText) UnmarshalJSON

func (v *NullableUiText) UnmarshalJSON(src []byte) error

func (*NullableUiText) Unset

func (v *NullableUiText) Unset()

type NullableVerifiableAddress

type NullableVerifiableAddress struct {
	// contains filtered or unexported fields
}

func NewNullableVerifiableAddress

func NewNullableVerifiableAddress(val *VerifiableAddress) *NullableVerifiableAddress

func (NullableVerifiableAddress) Get

func (NullableVerifiableAddress) IsSet

func (v NullableVerifiableAddress) IsSet() bool

func (NullableVerifiableAddress) MarshalJSON

func (v NullableVerifiableAddress) MarshalJSON() ([]byte, error)

func (*NullableVerifiableAddress) Set

func (*NullableVerifiableAddress) UnmarshalJSON

func (v *NullableVerifiableAddress) UnmarshalJSON(src []byte) error

func (*NullableVerifiableAddress) Unset

func (v *NullableVerifiableAddress) Unset()

type NullableVerificationFlow

type NullableVerificationFlow struct {
	// contains filtered or unexported fields
}

func NewNullableVerificationFlow

func NewNullableVerificationFlow(val *VerificationFlow) *NullableVerificationFlow

func (NullableVerificationFlow) Get

func (NullableVerificationFlow) IsSet

func (v NullableVerificationFlow) IsSet() bool

func (NullableVerificationFlow) MarshalJSON

func (v NullableVerificationFlow) MarshalJSON() ([]byte, error)

func (*NullableVerificationFlow) Set

func (*NullableVerificationFlow) UnmarshalJSON

func (v *NullableVerificationFlow) UnmarshalJSON(src []byte) error

func (*NullableVerificationFlow) Unset

func (v *NullableVerificationFlow) Unset()

type NullableVerificationMethod

type NullableVerificationMethod struct {
	// contains filtered or unexported fields
}

func NewNullableVerificationMethod

func NewNullableVerificationMethod(val *VerificationMethod) *NullableVerificationMethod

func (NullableVerificationMethod) Get

func (NullableVerificationMethod) IsSet

func (v NullableVerificationMethod) IsSet() bool

func (NullableVerificationMethod) MarshalJSON

func (v NullableVerificationMethod) MarshalJSON() ([]byte, error)

func (*NullableVerificationMethod) Set

func (*NullableVerificationMethod) UnmarshalJSON

func (v *NullableVerificationMethod) UnmarshalJSON(src []byte) error

func (*NullableVerificationMethod) Unset

func (v *NullableVerificationMethod) Unset()

type NullableVerificationState

type NullableVerificationState struct {
	// contains filtered or unexported fields
}

func NewNullableVerificationState

func NewNullableVerificationState(val *VerificationState) *NullableVerificationState

func (NullableVerificationState) Get

func (NullableVerificationState) IsSet

func (v NullableVerificationState) IsSet() bool

func (NullableVerificationState) MarshalJSON

func (v NullableVerificationState) MarshalJSON() ([]byte, error)

func (*NullableVerificationState) Set

func (*NullableVerificationState) UnmarshalJSON

func (v *NullableVerificationState) UnmarshalJSON(src []byte) error

func (*NullableVerificationState) Unset

func (v *NullableVerificationState) Unset()

type NullableVerificationTraits

type NullableVerificationTraits struct {
	// contains filtered or unexported fields
}

func NewNullableVerificationTraits

func NewNullableVerificationTraits(val *VerificationTraits) *NullableVerificationTraits

func (NullableVerificationTraits) Get

func (NullableVerificationTraits) IsSet

func (v NullableVerificationTraits) IsSet() bool

func (NullableVerificationTraits) MarshalJSON

func (v NullableVerificationTraits) MarshalJSON() ([]byte, error)

func (*NullableVerificationTraits) Set

func (*NullableVerificationTraits) UnmarshalJSON

func (v *NullableVerificationTraits) UnmarshalJSON(src []byte) error

func (*NullableVerificationTraits) Unset

func (v *NullableVerificationTraits) Unset()

type OAuth2Client

type OAuth2Client struct {
	AllowedCorsOrigins []string `json:"allowed_cors_origins,omitempty"`
	Audience           []string `json:"audience,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	AuthorizationCodeGrantAccessTokenLifespan *string `json:"authorization_code_grant_access_token_lifespan,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	AuthorizationCodeGrantIdTokenLifespan *string `json:"authorization_code_grant_id_token_lifespan,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	AuthorizationCodeGrantRefreshTokenLifespan *string `json:"authorization_code_grant_refresh_token_lifespan,omitempty"`
	// OpenID Connect Back-Channel Logout Session Required  Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false.
	BackchannelLogoutSessionRequired *bool `json:"backchannel_logout_session_required,omitempty"`
	// OpenID Connect Back-Channel Logout URI  RP URL that will cause the RP to log itself out when sent a Logout Token by the OP.
	BackchannelLogoutUri *string `json:"backchannel_logout_uri,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	ClientCredentialsGrantAccessTokenLifespan *string `json:"client_credentials_grant_access_token_lifespan,omitempty"`
	// OAuth 2.0 Client ID  The ID is autogenerated and immutable.
	ClientId *string `json:"client_id,omitempty"`
	// OAuth 2.0 Client Name  The human-readable name of the client to be presented to the end-user during authorization.
	ClientName *string `json:"client_name,omitempty"`
	// OAuth 2.0 Client Secret  The secret will be included in the create request as cleartext, and then never again. The secret is kept in hashed format and is not recoverable once lost.
	ClientSecret *string `json:"client_secret,omitempty"`
	// OAuth 2.0 Client Secret Expires At  The field is currently not supported and its value is always 0.
	ClientSecretExpiresAt *int64 `json:"client_secret_expires_at,omitempty"`
	// OAuth 2.0 Client URI  ClientURI is a URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion.
	ClientUri *string  `json:"client_uri,omitempty"`
	Contacts  []string `json:"contacts,omitempty"`
	// OAuth 2.0 Client Creation Date  CreatedAt returns the timestamp of the client's creation.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// OpenID Connect Front-Channel Logout Session Required  Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false.
	FrontchannelLogoutSessionRequired *bool `json:"frontchannel_logout_session_required,omitempty"`
	// OpenID Connect Front-Channel Logout URI  RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be.
	FrontchannelLogoutUri *string  `json:"frontchannel_logout_uri,omitempty"`
	GrantTypes            []string `json:"grant_types,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	ImplicitGrantAccessTokenLifespan *string `json:"implicit_grant_access_token_lifespan,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	ImplicitGrantIdTokenLifespan *string `json:"implicit_grant_id_token_lifespan,omitempty"`
	// OAuth 2.0 Client JSON Web Key Set  Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks parameters MUST NOT be used together.
	Jwks map[string]interface{} `json:"jwks,omitempty"`
	// OAuth 2.0 Client JSON Web Key Set URL  URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.
	JwksUri *string `json:"jwks_uri,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	JwtBearerGrantAccessTokenLifespan *string `json:"jwt_bearer_grant_access_token_lifespan,omitempty"`
	// OAuth 2.0 Client Logo URI  A URL string referencing the client's logo.
	LogoUri  *string                `json:"logo_uri,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// OAuth 2.0 Client Owner  Owner is a string identifying the owner of the OAuth 2.0 Client.
	Owner *string `json:"owner,omitempty"`
	// OAuth 2.0 Client Policy URI  PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data.
	PolicyUri              *string  `json:"policy_uri,omitempty"`
	PostLogoutRedirectUris []string `json:"post_logout_redirect_uris,omitempty"`
	RedirectUris           []string `json:"redirect_uris,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	RefreshTokenGrantAccessTokenLifespan *string `json:"refresh_token_grant_access_token_lifespan,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	RefreshTokenGrantIdTokenLifespan *string `json:"refresh_token_grant_id_token_lifespan,omitempty"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	RefreshTokenGrantRefreshTokenLifespan *string `json:"refresh_token_grant_refresh_token_lifespan,omitempty"`
	// OpenID Connect Dynamic Client Registration Access Token  RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client using Dynamic Client Registration.
	RegistrationAccessToken *string `json:"registration_access_token,omitempty"`
	// OpenID Connect Dynamic Client Registration URL  RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client.
	RegistrationClientUri *string `json:"registration_client_uri,omitempty"`
	// OpenID Connect Request Object Signing Algorithm  JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm.
	RequestObjectSigningAlg *string  `json:"request_object_signing_alg,omitempty"`
	RequestUris             []string `json:"request_uris,omitempty"`
	ResponseTypes           []string `json:"response_types,omitempty"`
	// OAuth 2.0 Client Scope  Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens.
	Scope *string `json:"scope,omitempty"`
	// OpenID Connect Sector Identifier URI  URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values.
	SectorIdentifierUri *string `json:"sector_identifier_uri,omitempty"`
	// OpenID Connect Subject Type  The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`.
	SubjectType *string `json:"subject_type,omitempty"`
	// OAuth 2.0 Token Endpoint Authentication Method  Requested Client Authentication method for the Token Endpoint. The options are:  `client_secret_post`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `client_secret_basic`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets.
	TokenEndpointAuthMethod *string `json:"token_endpoint_auth_method,omitempty"`
	// OAuth 2.0 Token Endpoint Signing Algorithm  Requested Client Authentication signing algorithm for the Token Endpoint.
	TokenEndpointAuthSigningAlg *string `json:"token_endpoint_auth_signing_alg,omitempty"`
	// OAuth 2.0 Client Terms of Service URI  A URL string pointing to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client.
	TosUri *string `json:"tos_uri,omitempty"`
	// OAuth 2.0 Client Last Update Date  UpdatedAt returns the timestamp of the last update.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// OpenID Connect Request Userinfo Signed Response Algorithm  JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type.
	UserinfoSignedResponseAlg *string `json:"userinfo_signed_response_alg,omitempty"`
}

OAuth2Client struct for OAuth2Client

func NewOAuth2Client

func NewOAuth2Client() *OAuth2Client

NewOAuth2Client instantiates a new OAuth2Client object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOAuth2ClientWithDefaults

func NewOAuth2ClientWithDefaults() *OAuth2Client

NewOAuth2ClientWithDefaults instantiates a new OAuth2Client object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OAuth2Client) GetAllowedCorsOrigins

func (o *OAuth2Client) GetAllowedCorsOrigins() []string

GetAllowedCorsOrigins returns the AllowedCorsOrigins field value if set, zero value otherwise.

func (*OAuth2Client) GetAllowedCorsOriginsOk

func (o *OAuth2Client) GetAllowedCorsOriginsOk() ([]string, bool)

GetAllowedCorsOriginsOk returns a tuple with the AllowedCorsOrigins field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetAudience

func (o *OAuth2Client) GetAudience() []string

GetAudience returns the Audience field value if set, zero value otherwise.

func (*OAuth2Client) GetAudienceOk

func (o *OAuth2Client) GetAudienceOk() ([]string, bool)

GetAudienceOk returns a tuple with the Audience field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan() string

GetAuthorizationCodeGrantAccessTokenLifespan returns the AuthorizationCodeGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk() (*string, bool)

GetAuthorizationCodeGrantAccessTokenLifespanOk returns a tuple with the AuthorizationCodeGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan() string

GetAuthorizationCodeGrantIdTokenLifespan returns the AuthorizationCodeGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk

func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk() (*string, bool)

GetAuthorizationCodeGrantIdTokenLifespanOk returns a tuple with the AuthorizationCodeGrantIdTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan() string

GetAuthorizationCodeGrantRefreshTokenLifespan returns the AuthorizationCodeGrantRefreshTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk

func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk() (*string, bool)

GetAuthorizationCodeGrantRefreshTokenLifespanOk returns a tuple with the AuthorizationCodeGrantRefreshTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetBackchannelLogoutSessionRequired

func (o *OAuth2Client) GetBackchannelLogoutSessionRequired() bool

GetBackchannelLogoutSessionRequired returns the BackchannelLogoutSessionRequired field value if set, zero value otherwise.

func (*OAuth2Client) GetBackchannelLogoutSessionRequiredOk

func (o *OAuth2Client) GetBackchannelLogoutSessionRequiredOk() (*bool, bool)

GetBackchannelLogoutSessionRequiredOk returns a tuple with the BackchannelLogoutSessionRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetBackchannelLogoutUri

func (o *OAuth2Client) GetBackchannelLogoutUri() string

GetBackchannelLogoutUri returns the BackchannelLogoutUri field value if set, zero value otherwise.

func (*OAuth2Client) GetBackchannelLogoutUriOk

func (o *OAuth2Client) GetBackchannelLogoutUriOk() (*string, bool)

GetBackchannelLogoutUriOk returns a tuple with the BackchannelLogoutUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan() string

GetClientCredentialsGrantAccessTokenLifespan returns the ClientCredentialsGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk() (*string, bool)

GetClientCredentialsGrantAccessTokenLifespanOk returns a tuple with the ClientCredentialsGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetClientId

func (o *OAuth2Client) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*OAuth2Client) GetClientIdOk

func (o *OAuth2Client) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetClientName

func (o *OAuth2Client) GetClientName() string

GetClientName returns the ClientName field value if set, zero value otherwise.

func (*OAuth2Client) GetClientNameOk

func (o *OAuth2Client) GetClientNameOk() (*string, bool)

GetClientNameOk returns a tuple with the ClientName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetClientSecret

func (o *OAuth2Client) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*OAuth2Client) GetClientSecretExpiresAt

func (o *OAuth2Client) GetClientSecretExpiresAt() int64

GetClientSecretExpiresAt returns the ClientSecretExpiresAt field value if set, zero value otherwise.

func (*OAuth2Client) GetClientSecretExpiresAtOk

func (o *OAuth2Client) GetClientSecretExpiresAtOk() (*int64, bool)

GetClientSecretExpiresAtOk returns a tuple with the ClientSecretExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetClientSecretOk

func (o *OAuth2Client) GetClientSecretOk() (*string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetClientUri

func (o *OAuth2Client) GetClientUri() string

GetClientUri returns the ClientUri field value if set, zero value otherwise.

func (*OAuth2Client) GetClientUriOk

func (o *OAuth2Client) GetClientUriOk() (*string, bool)

GetClientUriOk returns a tuple with the ClientUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetContacts

func (o *OAuth2Client) GetContacts() []string

GetContacts returns the Contacts field value if set, zero value otherwise.

func (*OAuth2Client) GetContactsOk

func (o *OAuth2Client) GetContactsOk() ([]string, bool)

GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetCreatedAt

func (o *OAuth2Client) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*OAuth2Client) GetCreatedAtOk

func (o *OAuth2Client) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetFrontchannelLogoutSessionRequired

func (o *OAuth2Client) GetFrontchannelLogoutSessionRequired() bool

GetFrontchannelLogoutSessionRequired returns the FrontchannelLogoutSessionRequired field value if set, zero value otherwise.

func (*OAuth2Client) GetFrontchannelLogoutSessionRequiredOk

func (o *OAuth2Client) GetFrontchannelLogoutSessionRequiredOk() (*bool, bool)

GetFrontchannelLogoutSessionRequiredOk returns a tuple with the FrontchannelLogoutSessionRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetFrontchannelLogoutUri

func (o *OAuth2Client) GetFrontchannelLogoutUri() string

GetFrontchannelLogoutUri returns the FrontchannelLogoutUri field value if set, zero value otherwise.

func (*OAuth2Client) GetFrontchannelLogoutUriOk

func (o *OAuth2Client) GetFrontchannelLogoutUriOk() (*string, bool)

GetFrontchannelLogoutUriOk returns a tuple with the FrontchannelLogoutUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetGrantTypes

func (o *OAuth2Client) GetGrantTypes() []string

GetGrantTypes returns the GrantTypes field value if set, zero value otherwise.

func (*OAuth2Client) GetGrantTypesOk

func (o *OAuth2Client) GetGrantTypesOk() ([]string, bool)

GetGrantTypesOk returns a tuple with the GrantTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetImplicitGrantAccessTokenLifespan

func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespan() string

GetImplicitGrantAccessTokenLifespan returns the ImplicitGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetImplicitGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespanOk() (*string, bool)

GetImplicitGrantAccessTokenLifespanOk returns a tuple with the ImplicitGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetImplicitGrantIdTokenLifespan

func (o *OAuth2Client) GetImplicitGrantIdTokenLifespan() string

GetImplicitGrantIdTokenLifespan returns the ImplicitGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetImplicitGrantIdTokenLifespanOk

func (o *OAuth2Client) GetImplicitGrantIdTokenLifespanOk() (*string, bool)

GetImplicitGrantIdTokenLifespanOk returns a tuple with the ImplicitGrantIdTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetJwks

func (o *OAuth2Client) GetJwks() map[string]interface{}

GetJwks returns the Jwks field value if set, zero value otherwise.

func (*OAuth2Client) GetJwksOk

func (o *OAuth2Client) GetJwksOk() (map[string]interface{}, bool)

GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetJwksUri

func (o *OAuth2Client) GetJwksUri() string

GetJwksUri returns the JwksUri field value if set, zero value otherwise.

func (*OAuth2Client) GetJwksUriOk

func (o *OAuth2Client) GetJwksUriOk() (*string, bool)

GetJwksUriOk returns a tuple with the JwksUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespan

func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespan() string

GetJwtBearerGrantAccessTokenLifespan returns the JwtBearerGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk() (*string, bool)

GetJwtBearerGrantAccessTokenLifespanOk returns a tuple with the JwtBearerGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetLogoUri

func (o *OAuth2Client) GetLogoUri() string

GetLogoUri returns the LogoUri field value if set, zero value otherwise.

func (*OAuth2Client) GetLogoUriOk

func (o *OAuth2Client) GetLogoUriOk() (*string, bool)

GetLogoUriOk returns a tuple with the LogoUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetMetadata

func (o *OAuth2Client) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*OAuth2Client) GetMetadataOk

func (o *OAuth2Client) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetOwner

func (o *OAuth2Client) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*OAuth2Client) GetOwnerOk

func (o *OAuth2Client) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetPolicyUri

func (o *OAuth2Client) GetPolicyUri() string

GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.

func (*OAuth2Client) GetPolicyUriOk

func (o *OAuth2Client) GetPolicyUriOk() (*string, bool)

GetPolicyUriOk returns a tuple with the PolicyUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetPostLogoutRedirectUris

func (o *OAuth2Client) GetPostLogoutRedirectUris() []string

GetPostLogoutRedirectUris returns the PostLogoutRedirectUris field value if set, zero value otherwise.

func (*OAuth2Client) GetPostLogoutRedirectUrisOk

func (o *OAuth2Client) GetPostLogoutRedirectUrisOk() ([]string, bool)

GetPostLogoutRedirectUrisOk returns a tuple with the PostLogoutRedirectUris field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRedirectUris

func (o *OAuth2Client) GetRedirectUris() []string

GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.

func (*OAuth2Client) GetRedirectUrisOk

func (o *OAuth2Client) GetRedirectUrisOk() ([]string, bool)

GetRedirectUrisOk returns a tuple with the RedirectUris field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan() string

GetRefreshTokenGrantAccessTokenLifespan returns the RefreshTokenGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk() (*string, bool)

GetRefreshTokenGrantAccessTokenLifespanOk returns a tuple with the RefreshTokenGrantAccessTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespan

func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespan() string

GetRefreshTokenGrantIdTokenLifespan returns the RefreshTokenGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk

func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk() (*string, bool)

GetRefreshTokenGrantIdTokenLifespanOk returns a tuple with the RefreshTokenGrantIdTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan() string

GetRefreshTokenGrantRefreshTokenLifespan returns the RefreshTokenGrantRefreshTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk

func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk() (*string, bool)

GetRefreshTokenGrantRefreshTokenLifespanOk returns a tuple with the RefreshTokenGrantRefreshTokenLifespan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRegistrationAccessToken

func (o *OAuth2Client) GetRegistrationAccessToken() string

GetRegistrationAccessToken returns the RegistrationAccessToken field value if set, zero value otherwise.

func (*OAuth2Client) GetRegistrationAccessTokenOk

func (o *OAuth2Client) GetRegistrationAccessTokenOk() (*string, bool)

GetRegistrationAccessTokenOk returns a tuple with the RegistrationAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRegistrationClientUri

func (o *OAuth2Client) GetRegistrationClientUri() string

GetRegistrationClientUri returns the RegistrationClientUri field value if set, zero value otherwise.

func (*OAuth2Client) GetRegistrationClientUriOk

func (o *OAuth2Client) GetRegistrationClientUriOk() (*string, bool)

GetRegistrationClientUriOk returns a tuple with the RegistrationClientUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRequestObjectSigningAlg

func (o *OAuth2Client) GetRequestObjectSigningAlg() string

GetRequestObjectSigningAlg returns the RequestObjectSigningAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetRequestObjectSigningAlgOk

func (o *OAuth2Client) GetRequestObjectSigningAlgOk() (*string, bool)

GetRequestObjectSigningAlgOk returns a tuple with the RequestObjectSigningAlg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetRequestUris

func (o *OAuth2Client) GetRequestUris() []string

GetRequestUris returns the RequestUris field value if set, zero value otherwise.

func (*OAuth2Client) GetRequestUrisOk

func (o *OAuth2Client) GetRequestUrisOk() ([]string, bool)

GetRequestUrisOk returns a tuple with the RequestUris field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetResponseTypes

func (o *OAuth2Client) GetResponseTypes() []string

GetResponseTypes returns the ResponseTypes field value if set, zero value otherwise.

func (*OAuth2Client) GetResponseTypesOk

func (o *OAuth2Client) GetResponseTypesOk() ([]string, bool)

GetResponseTypesOk returns a tuple with the ResponseTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetScope

func (o *OAuth2Client) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*OAuth2Client) GetScopeOk

func (o *OAuth2Client) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetSectorIdentifierUri

func (o *OAuth2Client) GetSectorIdentifierUri() string

GetSectorIdentifierUri returns the SectorIdentifierUri field value if set, zero value otherwise.

func (*OAuth2Client) GetSectorIdentifierUriOk

func (o *OAuth2Client) GetSectorIdentifierUriOk() (*string, bool)

GetSectorIdentifierUriOk returns a tuple with the SectorIdentifierUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetSubjectType

func (o *OAuth2Client) GetSubjectType() string

GetSubjectType returns the SubjectType field value if set, zero value otherwise.

func (*OAuth2Client) GetSubjectTypeOk

func (o *OAuth2Client) GetSubjectTypeOk() (*string, bool)

GetSubjectTypeOk returns a tuple with the SubjectType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetTokenEndpointAuthMethod

func (o *OAuth2Client) GetTokenEndpointAuthMethod() string

GetTokenEndpointAuthMethod returns the TokenEndpointAuthMethod field value if set, zero value otherwise.

func (*OAuth2Client) GetTokenEndpointAuthMethodOk

func (o *OAuth2Client) GetTokenEndpointAuthMethodOk() (*string, bool)

GetTokenEndpointAuthMethodOk returns a tuple with the TokenEndpointAuthMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetTokenEndpointAuthSigningAlg

func (o *OAuth2Client) GetTokenEndpointAuthSigningAlg() string

GetTokenEndpointAuthSigningAlg returns the TokenEndpointAuthSigningAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetTokenEndpointAuthSigningAlgOk

func (o *OAuth2Client) GetTokenEndpointAuthSigningAlgOk() (*string, bool)

GetTokenEndpointAuthSigningAlgOk returns a tuple with the TokenEndpointAuthSigningAlg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetTosUri

func (o *OAuth2Client) GetTosUri() string

GetTosUri returns the TosUri field value if set, zero value otherwise.

func (*OAuth2Client) GetTosUriOk

func (o *OAuth2Client) GetTosUriOk() (*string, bool)

GetTosUriOk returns a tuple with the TosUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetUpdatedAt

func (o *OAuth2Client) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*OAuth2Client) GetUpdatedAtOk

func (o *OAuth2Client) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) GetUserinfoSignedResponseAlg

func (o *OAuth2Client) GetUserinfoSignedResponseAlg() string

GetUserinfoSignedResponseAlg returns the UserinfoSignedResponseAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetUserinfoSignedResponseAlgOk

func (o *OAuth2Client) GetUserinfoSignedResponseAlgOk() (*string, bool)

GetUserinfoSignedResponseAlgOk returns a tuple with the UserinfoSignedResponseAlg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2Client) HasAllowedCorsOrigins

func (o *OAuth2Client) HasAllowedCorsOrigins() bool

HasAllowedCorsOrigins returns a boolean if a field has been set.

func (*OAuth2Client) HasAudience

func (o *OAuth2Client) HasAudience() bool

HasAudience returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan() bool

HasAuthorizationCodeGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan() bool

HasAuthorizationCodeGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan() bool

HasAuthorizationCodeGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasBackchannelLogoutSessionRequired

func (o *OAuth2Client) HasBackchannelLogoutSessionRequired() bool

HasBackchannelLogoutSessionRequired returns a boolean if a field has been set.

func (*OAuth2Client) HasBackchannelLogoutUri

func (o *OAuth2Client) HasBackchannelLogoutUri() bool

HasBackchannelLogoutUri returns a boolean if a field has been set.

func (*OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan() bool

HasClientCredentialsGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasClientId

func (o *OAuth2Client) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*OAuth2Client) HasClientName

func (o *OAuth2Client) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*OAuth2Client) HasClientSecret

func (o *OAuth2Client) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*OAuth2Client) HasClientSecretExpiresAt

func (o *OAuth2Client) HasClientSecretExpiresAt() bool

HasClientSecretExpiresAt returns a boolean if a field has been set.

func (*OAuth2Client) HasClientUri

func (o *OAuth2Client) HasClientUri() bool

HasClientUri returns a boolean if a field has been set.

func (*OAuth2Client) HasContacts

func (o *OAuth2Client) HasContacts() bool

HasContacts returns a boolean if a field has been set.

func (*OAuth2Client) HasCreatedAt

func (o *OAuth2Client) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OAuth2Client) HasFrontchannelLogoutSessionRequired

func (o *OAuth2Client) HasFrontchannelLogoutSessionRequired() bool

HasFrontchannelLogoutSessionRequired returns a boolean if a field has been set.

func (*OAuth2Client) HasFrontchannelLogoutUri

func (o *OAuth2Client) HasFrontchannelLogoutUri() bool

HasFrontchannelLogoutUri returns a boolean if a field has been set.

func (*OAuth2Client) HasGrantTypes

func (o *OAuth2Client) HasGrantTypes() bool

HasGrantTypes returns a boolean if a field has been set.

func (*OAuth2Client) HasImplicitGrantAccessTokenLifespan

func (o *OAuth2Client) HasImplicitGrantAccessTokenLifespan() bool

HasImplicitGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasImplicitGrantIdTokenLifespan

func (o *OAuth2Client) HasImplicitGrantIdTokenLifespan() bool

HasImplicitGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasJwks

func (o *OAuth2Client) HasJwks() bool

HasJwks returns a boolean if a field has been set.

func (*OAuth2Client) HasJwksUri

func (o *OAuth2Client) HasJwksUri() bool

HasJwksUri returns a boolean if a field has been set.

func (*OAuth2Client) HasJwtBearerGrantAccessTokenLifespan

func (o *OAuth2Client) HasJwtBearerGrantAccessTokenLifespan() bool

HasJwtBearerGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasLogoUri

func (o *OAuth2Client) HasLogoUri() bool

HasLogoUri returns a boolean if a field has been set.

func (*OAuth2Client) HasMetadata

func (o *OAuth2Client) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*OAuth2Client) HasOwner

func (o *OAuth2Client) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*OAuth2Client) HasPolicyUri

func (o *OAuth2Client) HasPolicyUri() bool

HasPolicyUri returns a boolean if a field has been set.

func (*OAuth2Client) HasPostLogoutRedirectUris

func (o *OAuth2Client) HasPostLogoutRedirectUris() bool

HasPostLogoutRedirectUris returns a boolean if a field has been set.

func (*OAuth2Client) HasRedirectUris

func (o *OAuth2Client) HasRedirectUris() bool

HasRedirectUris returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan() bool

HasRefreshTokenGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantIdTokenLifespan

func (o *OAuth2Client) HasRefreshTokenGrantIdTokenLifespan() bool

HasRefreshTokenGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan() bool

HasRefreshTokenGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRegistrationAccessToken

func (o *OAuth2Client) HasRegistrationAccessToken() bool

HasRegistrationAccessToken returns a boolean if a field has been set.

func (*OAuth2Client) HasRegistrationClientUri

func (o *OAuth2Client) HasRegistrationClientUri() bool

HasRegistrationClientUri returns a boolean if a field has been set.

func (*OAuth2Client) HasRequestObjectSigningAlg

func (o *OAuth2Client) HasRequestObjectSigningAlg() bool

HasRequestObjectSigningAlg returns a boolean if a field has been set.

func (*OAuth2Client) HasRequestUris

func (o *OAuth2Client) HasRequestUris() bool

HasRequestUris returns a boolean if a field has been set.

func (*OAuth2Client) HasResponseTypes

func (o *OAuth2Client) HasResponseTypes() bool

HasResponseTypes returns a boolean if a field has been set.

func (*OAuth2Client) HasScope

func (o *OAuth2Client) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*OAuth2Client) HasSectorIdentifierUri

func (o *OAuth2Client) HasSectorIdentifierUri() bool

HasSectorIdentifierUri returns a boolean if a field has been set.

func (*OAuth2Client) HasSubjectType

func (o *OAuth2Client) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (*OAuth2Client) HasTokenEndpointAuthMethod

func (o *OAuth2Client) HasTokenEndpointAuthMethod() bool

HasTokenEndpointAuthMethod returns a boolean if a field has been set.

func (*OAuth2Client) HasTokenEndpointAuthSigningAlg

func (o *OAuth2Client) HasTokenEndpointAuthSigningAlg() bool

HasTokenEndpointAuthSigningAlg returns a boolean if a field has been set.

func (*OAuth2Client) HasTosUri

func (o *OAuth2Client) HasTosUri() bool

HasTosUri returns a boolean if a field has been set.

func (*OAuth2Client) HasUpdatedAt

func (o *OAuth2Client) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*OAuth2Client) HasUserinfoSignedResponseAlg

func (o *OAuth2Client) HasUserinfoSignedResponseAlg() bool

HasUserinfoSignedResponseAlg returns a boolean if a field has been set.

func (OAuth2Client) MarshalJSON

func (o OAuth2Client) MarshalJSON() ([]byte, error)

func (*OAuth2Client) SetAllowedCorsOrigins

func (o *OAuth2Client) SetAllowedCorsOrigins(v []string)

SetAllowedCorsOrigins gets a reference to the given []string and assigns it to the AllowedCorsOrigins field.

func (*OAuth2Client) SetAudience

func (o *OAuth2Client) SetAudience(v []string)

SetAudience gets a reference to the given []string and assigns it to the Audience field.

func (*OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan(v string)

SetAuthorizationCodeGrantAccessTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantAccessTokenLifespan field.

func (*OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan(v string)

SetAuthorizationCodeGrantIdTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantIdTokenLifespan field.

func (*OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan(v string)

SetAuthorizationCodeGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantRefreshTokenLifespan field.

func (*OAuth2Client) SetBackchannelLogoutSessionRequired

func (o *OAuth2Client) SetBackchannelLogoutSessionRequired(v bool)

SetBackchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the BackchannelLogoutSessionRequired field.

func (*OAuth2Client) SetBackchannelLogoutUri

func (o *OAuth2Client) SetBackchannelLogoutUri(v string)

SetBackchannelLogoutUri gets a reference to the given string and assigns it to the BackchannelLogoutUri field.

func (*OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan(v string)

SetClientCredentialsGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ClientCredentialsGrantAccessTokenLifespan field.

func (*OAuth2Client) SetClientId

func (o *OAuth2Client) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*OAuth2Client) SetClientName

func (o *OAuth2Client) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*OAuth2Client) SetClientSecret

func (o *OAuth2Client) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*OAuth2Client) SetClientSecretExpiresAt

func (o *OAuth2Client) SetClientSecretExpiresAt(v int64)

SetClientSecretExpiresAt gets a reference to the given int64 and assigns it to the ClientSecretExpiresAt field.

func (*OAuth2Client) SetClientUri

func (o *OAuth2Client) SetClientUri(v string)

SetClientUri gets a reference to the given string and assigns it to the ClientUri field.

func (*OAuth2Client) SetContacts

func (o *OAuth2Client) SetContacts(v []string)

SetContacts gets a reference to the given []string and assigns it to the Contacts field.

func (*OAuth2Client) SetCreatedAt

func (o *OAuth2Client) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*OAuth2Client) SetFrontchannelLogoutSessionRequired

func (o *OAuth2Client) SetFrontchannelLogoutSessionRequired(v bool)

SetFrontchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the FrontchannelLogoutSessionRequired field.

func (*OAuth2Client) SetFrontchannelLogoutUri

func (o *OAuth2Client) SetFrontchannelLogoutUri(v string)

SetFrontchannelLogoutUri gets a reference to the given string and assigns it to the FrontchannelLogoutUri field.

func (*OAuth2Client) SetGrantTypes

func (o *OAuth2Client) SetGrantTypes(v []string)

SetGrantTypes gets a reference to the given []string and assigns it to the GrantTypes field.

func (*OAuth2Client) SetImplicitGrantAccessTokenLifespan

func (o *OAuth2Client) SetImplicitGrantAccessTokenLifespan(v string)

SetImplicitGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantAccessTokenLifespan field.

func (*OAuth2Client) SetImplicitGrantIdTokenLifespan

func (o *OAuth2Client) SetImplicitGrantIdTokenLifespan(v string)

SetImplicitGrantIdTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantIdTokenLifespan field.

func (*OAuth2Client) SetJwks

func (o *OAuth2Client) SetJwks(v map[string]interface{})

SetJwks gets a reference to the given map[string]interface{} and assigns it to the Jwks field.

func (*OAuth2Client) SetJwksUri

func (o *OAuth2Client) SetJwksUri(v string)

SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.

func (*OAuth2Client) SetJwtBearerGrantAccessTokenLifespan

func (o *OAuth2Client) SetJwtBearerGrantAccessTokenLifespan(v string)

SetJwtBearerGrantAccessTokenLifespan gets a reference to the given string and assigns it to the JwtBearerGrantAccessTokenLifespan field.

func (*OAuth2Client) SetLogoUri

func (o *OAuth2Client) SetLogoUri(v string)

SetLogoUri gets a reference to the given string and assigns it to the LogoUri field.

func (*OAuth2Client) SetMetadata

func (o *OAuth2Client) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*OAuth2Client) SetOwner

func (o *OAuth2Client) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*OAuth2Client) SetPolicyUri

func (o *OAuth2Client) SetPolicyUri(v string)

SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.

func (*OAuth2Client) SetPostLogoutRedirectUris

func (o *OAuth2Client) SetPostLogoutRedirectUris(v []string)

SetPostLogoutRedirectUris gets a reference to the given []string and assigns it to the PostLogoutRedirectUris field.

func (*OAuth2Client) SetRedirectUris

func (o *OAuth2Client) SetRedirectUris(v []string)

SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.

func (*OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan(v string)

SetRefreshTokenGrantAccessTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantAccessTokenLifespan field.

func (*OAuth2Client) SetRefreshTokenGrantIdTokenLifespan

func (o *OAuth2Client) SetRefreshTokenGrantIdTokenLifespan(v string)

SetRefreshTokenGrantIdTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantIdTokenLifespan field.

func (*OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan(v string)

SetRefreshTokenGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantRefreshTokenLifespan field.

func (*OAuth2Client) SetRegistrationAccessToken

func (o *OAuth2Client) SetRegistrationAccessToken(v string)

SetRegistrationAccessToken gets a reference to the given string and assigns it to the RegistrationAccessToken field.

func (*OAuth2Client) SetRegistrationClientUri

func (o *OAuth2Client) SetRegistrationClientUri(v string)

SetRegistrationClientUri gets a reference to the given string and assigns it to the RegistrationClientUri field.

func (*OAuth2Client) SetRequestObjectSigningAlg

func (o *OAuth2Client) SetRequestObjectSigningAlg(v string)

SetRequestObjectSigningAlg gets a reference to the given string and assigns it to the RequestObjectSigningAlg field.

func (*OAuth2Client) SetRequestUris

func (o *OAuth2Client) SetRequestUris(v []string)

SetRequestUris gets a reference to the given []string and assigns it to the RequestUris field.

func (*OAuth2Client) SetResponseTypes

func (o *OAuth2Client) SetResponseTypes(v []string)

SetResponseTypes gets a reference to the given []string and assigns it to the ResponseTypes field.

func (*OAuth2Client) SetScope

func (o *OAuth2Client) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OAuth2Client) SetSectorIdentifierUri

func (o *OAuth2Client) SetSectorIdentifierUri(v string)

SetSectorIdentifierUri gets a reference to the given string and assigns it to the SectorIdentifierUri field.

func (*OAuth2Client) SetSubjectType

func (o *OAuth2Client) SetSubjectType(v string)

SetSubjectType gets a reference to the given string and assigns it to the SubjectType field.

func (*OAuth2Client) SetTokenEndpointAuthMethod

func (o *OAuth2Client) SetTokenEndpointAuthMethod(v string)

SetTokenEndpointAuthMethod gets a reference to the given string and assigns it to the TokenEndpointAuthMethod field.

func (*OAuth2Client) SetTokenEndpointAuthSigningAlg

func (o *OAuth2Client) SetTokenEndpointAuthSigningAlg(v string)

SetTokenEndpointAuthSigningAlg gets a reference to the given string and assigns it to the TokenEndpointAuthSigningAlg field.

func (*OAuth2Client) SetTosUri

func (o *OAuth2Client) SetTosUri(v string)

SetTosUri gets a reference to the given string and assigns it to the TosUri field.

func (*OAuth2Client) SetUpdatedAt

func (o *OAuth2Client) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*OAuth2Client) SetUserinfoSignedResponseAlg

func (o *OAuth2Client) SetUserinfoSignedResponseAlg(v string)

SetUserinfoSignedResponseAlg gets a reference to the given string and assigns it to the UserinfoSignedResponseAlg field.

type OAuth2ConsentRequest

type OAuth2ConsentRequest struct {
	// ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
	Acr *string  `json:"acr,omitempty"`
	Amr []string `json:"amr,omitempty"`
	// ID is the identifier (\\\"authorization challenge\\\") of the consent authorization request. It is used to identify the session.
	Challenge *string                `json:"challenge,omitempty"`
	Client    *OAuth2Client          `json:"client,omitempty"`
	Context   map[string]interface{} `json:"context,omitempty"`
	// LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app.
	LoginChallenge *string `json:"login_challenge,omitempty"`
	// LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \\\"sid\\\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
	LoginSessionId *string                                   `json:"login_session_id,omitempty"`
	OidcContext    *OAuth2ConsentRequestOpenIDConnectContext `json:"oidc_context,omitempty"`
	// RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
	RequestUrl                   *string  `json:"request_url,omitempty"`
	RequestedAccessTokenAudience []string `json:"requested_access_token_audience,omitempty"`
	RequestedScope               []string `json:"requested_scope,omitempty"`
	// Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call.
	Skip *bool `json:"skip,omitempty"`
	// Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client.
	Subject *string `json:"subject,omitempty"`
}

OAuth2ConsentRequest OAuth2ConsentRequest struct for OAuth2ConsentRequest

func NewOAuth2ConsentRequest

func NewOAuth2ConsentRequest() *OAuth2ConsentRequest

NewOAuth2ConsentRequest instantiates a new OAuth2ConsentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOAuth2ConsentRequestWithDefaults

func NewOAuth2ConsentRequestWithDefaults() *OAuth2ConsentRequest

NewOAuth2ConsentRequestWithDefaults instantiates a new OAuth2ConsentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OAuth2ConsentRequest) GetAcr

func (o *OAuth2ConsentRequest) GetAcr() string

GetAcr returns the Acr field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetAcrOk

func (o *OAuth2ConsentRequest) GetAcrOk() (*string, bool)

GetAcrOk returns a tuple with the Acr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetAmr

func (o *OAuth2ConsentRequest) GetAmr() []string

GetAmr returns the Amr field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetAmrOk

func (o *OAuth2ConsentRequest) GetAmrOk() ([]string, bool)

GetAmrOk returns a tuple with the Amr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetChallenge

func (o *OAuth2ConsentRequest) GetChallenge() string

GetChallenge returns the Challenge field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetChallengeOk

func (o *OAuth2ConsentRequest) GetChallengeOk() (*string, bool)

GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetClient

func (o *OAuth2ConsentRequest) GetClient() OAuth2Client

GetClient returns the Client field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetClientOk

func (o *OAuth2ConsentRequest) GetClientOk() (*OAuth2Client, bool)

GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetContext

func (o *OAuth2ConsentRequest) GetContext() map[string]interface{}

GetContext returns the Context field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetContextOk

func (o *OAuth2ConsentRequest) GetContextOk() (map[string]interface{}, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetLoginChallenge

func (o *OAuth2ConsentRequest) GetLoginChallenge() string

GetLoginChallenge returns the LoginChallenge field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetLoginChallengeOk

func (o *OAuth2ConsentRequest) GetLoginChallengeOk() (*string, bool)

GetLoginChallengeOk returns a tuple with the LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetLoginSessionId

func (o *OAuth2ConsentRequest) GetLoginSessionId() string

GetLoginSessionId returns the LoginSessionId field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetLoginSessionIdOk

func (o *OAuth2ConsentRequest) GetLoginSessionIdOk() (*string, bool)

GetLoginSessionIdOk returns a tuple with the LoginSessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetOidcContext

GetOidcContext returns the OidcContext field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetOidcContextOk

GetOidcContextOk returns a tuple with the OidcContext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetRequestUrl

func (o *OAuth2ConsentRequest) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetRequestUrlOk

func (o *OAuth2ConsentRequest) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetRequestedAccessTokenAudience

func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudience() []string

GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk

func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)

GetRequestedAccessTokenAudienceOk returns a tuple with the RequestedAccessTokenAudience field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetRequestedScope

func (o *OAuth2ConsentRequest) GetRequestedScope() []string

GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetRequestedScopeOk

func (o *OAuth2ConsentRequest) GetRequestedScopeOk() ([]string, bool)

GetRequestedScopeOk returns a tuple with the RequestedScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetSkip

func (o *OAuth2ConsentRequest) GetSkip() bool

GetSkip returns the Skip field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetSkipOk

func (o *OAuth2ConsentRequest) GetSkipOk() (*bool, bool)

GetSkipOk returns a tuple with the Skip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) GetSubject

func (o *OAuth2ConsentRequest) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetSubjectOk

func (o *OAuth2ConsentRequest) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequest) HasAcr

func (o *OAuth2ConsentRequest) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasAmr

func (o *OAuth2ConsentRequest) HasAmr() bool

HasAmr returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasChallenge

func (o *OAuth2ConsentRequest) HasChallenge() bool

HasChallenge returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasClient

func (o *OAuth2ConsentRequest) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasContext

func (o *OAuth2ConsentRequest) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasLoginChallenge

func (o *OAuth2ConsentRequest) HasLoginChallenge() bool

HasLoginChallenge returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasLoginSessionId

func (o *OAuth2ConsentRequest) HasLoginSessionId() bool

HasLoginSessionId returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasOidcContext

func (o *OAuth2ConsentRequest) HasOidcContext() bool

HasOidcContext returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasRequestUrl

func (o *OAuth2ConsentRequest) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasRequestedAccessTokenAudience

func (o *OAuth2ConsentRequest) HasRequestedAccessTokenAudience() bool

HasRequestedAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasRequestedScope

func (o *OAuth2ConsentRequest) HasRequestedScope() bool

HasRequestedScope returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasSkip

func (o *OAuth2ConsentRequest) HasSkip() bool

HasSkip returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasSubject

func (o *OAuth2ConsentRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (OAuth2ConsentRequest) MarshalJSON

func (o OAuth2ConsentRequest) MarshalJSON() ([]byte, error)

func (*OAuth2ConsentRequest) SetAcr

func (o *OAuth2ConsentRequest) SetAcr(v string)

SetAcr gets a reference to the given string and assigns it to the Acr field.

func (*OAuth2ConsentRequest) SetAmr

func (o *OAuth2ConsentRequest) SetAmr(v []string)

SetAmr gets a reference to the given []string and assigns it to the Amr field.

func (*OAuth2ConsentRequest) SetChallenge

func (o *OAuth2ConsentRequest) SetChallenge(v string)

SetChallenge gets a reference to the given string and assigns it to the Challenge field.

func (*OAuth2ConsentRequest) SetClient

func (o *OAuth2ConsentRequest) SetClient(v OAuth2Client)

SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.

func (*OAuth2ConsentRequest) SetContext

func (o *OAuth2ConsentRequest) SetContext(v map[string]interface{})

SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.

func (*OAuth2ConsentRequest) SetLoginChallenge

func (o *OAuth2ConsentRequest) SetLoginChallenge(v string)

SetLoginChallenge gets a reference to the given string and assigns it to the LoginChallenge field.

func (*OAuth2ConsentRequest) SetLoginSessionId

func (o *OAuth2ConsentRequest) SetLoginSessionId(v string)

SetLoginSessionId gets a reference to the given string and assigns it to the LoginSessionId field.

func (*OAuth2ConsentRequest) SetOidcContext

SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.

func (*OAuth2ConsentRequest) SetRequestUrl

func (o *OAuth2ConsentRequest) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*OAuth2ConsentRequest) SetRequestedAccessTokenAudience

func (o *OAuth2ConsentRequest) SetRequestedAccessTokenAudience(v []string)

SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.

func (*OAuth2ConsentRequest) SetRequestedScope

func (o *OAuth2ConsentRequest) SetRequestedScope(v []string)

SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.

func (*OAuth2ConsentRequest) SetSkip

func (o *OAuth2ConsentRequest) SetSkip(v bool)

SetSkip gets a reference to the given bool and assigns it to the Skip field.

func (*OAuth2ConsentRequest) SetSubject

func (o *OAuth2ConsentRequest) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type OAuth2ConsentRequestOpenIDConnectContext

type OAuth2ConsentRequestOpenIDConnectContext struct {
	// ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.  OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter.
	AcrValues []string `json:"acr_values,omitempty"`
	// Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \\\"feature phone\\\" type display.  The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.
	Display *string `json:"display,omitempty"`
	// IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client.
	IdTokenHintClaims map[string]map[string]interface{} `json:"id_token_hint_claims,omitempty"`
	// LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional.
	LoginHint *string `json:"login_hint,omitempty"`
	// UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \\\"fr-CA fr en\\\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider.
	UiLocales []string `json:"ui_locales,omitempty"`
}

OAuth2ConsentRequestOpenIDConnectContext OAuth2ConsentRequestOpenIDConnectContext struct for OAuth2ConsentRequestOpenIDConnectContext

func NewOAuth2ConsentRequestOpenIDConnectContext

func NewOAuth2ConsentRequestOpenIDConnectContext() *OAuth2ConsentRequestOpenIDConnectContext

NewOAuth2ConsentRequestOpenIDConnectContext instantiates a new OAuth2ConsentRequestOpenIDConnectContext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults

func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults() *OAuth2ConsentRequestOpenIDConnectContext

NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults instantiates a new OAuth2ConsentRequestOpenIDConnectContext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues

GetAcrValues returns the AcrValues field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk() ([]string, bool)

GetAcrValuesOk returns a tuple with the AcrValues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplay

GetDisplay returns the Display field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk

GetDisplayOk returns a tuple with the Display field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[string]map[string]interface{}

GetIdTokenHintClaims returns the IdTokenHintClaims field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk() (map[string]map[string]interface{}, bool)

GetIdTokenHintClaimsOk returns a tuple with the IdTokenHintClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetLoginHint

GetLoginHint returns the LoginHint field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk() (*string, bool)

GetLoginHintOk returns a tuple with the LoginHint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales

GetUiLocales returns the UiLocales field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk() ([]string, bool)

GetUiLocalesOk returns a tuple with the UiLocales field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasAcrValues

HasAcrValues returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasDisplay

HasDisplay returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims

func (o *OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims() bool

HasIdTokenHintClaims returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint

HasLoginHint returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales

HasUiLocales returns a boolean if a field has been set.

func (OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON

func (*OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues(v []string)

SetAcrValues gets a reference to the given []string and assigns it to the AcrValues field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetDisplay

SetDisplay gets a reference to the given string and assigns it to the Display field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims(v map[string]map[string]interface{})

SetIdTokenHintClaims gets a reference to the given map[string]map[string]interface{} and assigns it to the IdTokenHintClaims field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint

SetLoginHint gets a reference to the given string and assigns it to the LoginHint field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales(v []string)

SetUiLocales gets a reference to the given []string and assigns it to the UiLocales field.

type OAuth2LoginRequest

type OAuth2LoginRequest struct {
	// ID is the identifier (\\\"login challenge\\\") of the login request. It is used to identify the session.
	Challenge   *string                                   `json:"challenge,omitempty"`
	Client      *OAuth2Client                             `json:"client,omitempty"`
	OidcContext *OAuth2ConsentRequestOpenIDConnectContext `json:"oidc_context,omitempty"`
	// RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
	RequestUrl                   *string  `json:"request_url,omitempty"`
	RequestedAccessTokenAudience []string `json:"requested_access_token_audience,omitempty"`
	RequestedScope               []string `json:"requested_scope,omitempty"`
	// SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \\\"sid\\\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
	SessionId *string `json:"session_id,omitempty"`
	// Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL.  This feature allows you to update / set session information.
	Skip *bool `json:"skip,omitempty"`
	// Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail.
	Subject *string `json:"subject,omitempty"`
}

OAuth2LoginRequest OAuth2LoginRequest struct for OAuth2LoginRequest

func NewOAuth2LoginRequest

func NewOAuth2LoginRequest() *OAuth2LoginRequest

NewOAuth2LoginRequest instantiates a new OAuth2LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOAuth2LoginRequestWithDefaults

func NewOAuth2LoginRequestWithDefaults() *OAuth2LoginRequest

NewOAuth2LoginRequestWithDefaults instantiates a new OAuth2LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OAuth2LoginRequest) GetChallenge

func (o *OAuth2LoginRequest) GetChallenge() string

GetChallenge returns the Challenge field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetChallengeOk

func (o *OAuth2LoginRequest) GetChallengeOk() (*string, bool)

GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetClient

func (o *OAuth2LoginRequest) GetClient() OAuth2Client

GetClient returns the Client field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetClientOk

func (o *OAuth2LoginRequest) GetClientOk() (*OAuth2Client, bool)

GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetOidcContext

GetOidcContext returns the OidcContext field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetOidcContextOk

GetOidcContextOk returns a tuple with the OidcContext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetRequestUrl

func (o *OAuth2LoginRequest) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestUrlOk

func (o *OAuth2LoginRequest) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetRequestedAccessTokenAudience

func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudience() []string

GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk

func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)

GetRequestedAccessTokenAudienceOk returns a tuple with the RequestedAccessTokenAudience field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetRequestedScope

func (o *OAuth2LoginRequest) GetRequestedScope() []string

GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestedScopeOk

func (o *OAuth2LoginRequest) GetRequestedScopeOk() ([]string, bool)

GetRequestedScopeOk returns a tuple with the RequestedScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetSessionId

func (o *OAuth2LoginRequest) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSessionIdOk

func (o *OAuth2LoginRequest) GetSessionIdOk() (*string, bool)

GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetSkip

func (o *OAuth2LoginRequest) GetSkip() bool

GetSkip returns the Skip field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSkipOk

func (o *OAuth2LoginRequest) GetSkipOk() (*bool, bool)

GetSkipOk returns a tuple with the Skip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) GetSubject

func (o *OAuth2LoginRequest) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSubjectOk

func (o *OAuth2LoginRequest) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OAuth2LoginRequest) HasChallenge

func (o *OAuth2LoginRequest) HasChallenge() bool

HasChallenge returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasClient

func (o *OAuth2LoginRequest) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasOidcContext

func (o *OAuth2LoginRequest) HasOidcContext() bool

HasOidcContext returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestUrl

func (o *OAuth2LoginRequest) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedAccessTokenAudience

func (o *OAuth2LoginRequest) HasRequestedAccessTokenAudience() bool

HasRequestedAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedScope

func (o *OAuth2LoginRequest) HasRequestedScope() bool

HasRequestedScope returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSessionId

func (o *OAuth2LoginRequest) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSkip

func (o *OAuth2LoginRequest) HasSkip() bool

HasSkip returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSubject

func (o *OAuth2LoginRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (OAuth2LoginRequest) MarshalJSON

func (o OAuth2LoginRequest) MarshalJSON() ([]byte, error)

func (*OAuth2LoginRequest) SetChallenge

func (o *OAuth2LoginRequest) SetChallenge(v string)

SetChallenge gets a reference to the given string and assigns it to the Challenge field.

func (*OAuth2LoginRequest) SetClient

func (o *OAuth2LoginRequest) SetClient(v OAuth2Client)

SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.

func (*OAuth2LoginRequest) SetOidcContext

SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.

func (*OAuth2LoginRequest) SetRequestUrl

func (o *OAuth2LoginRequest) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*OAuth2LoginRequest) SetRequestedAccessTokenAudience

func (o *OAuth2LoginRequest) SetRequestedAccessTokenAudience(v []string)

SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.

func (*OAuth2LoginRequest) SetRequestedScope

func (o *OAuth2LoginRequest) SetRequestedScope(v []string)

SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.

func (*OAuth2LoginRequest) SetSessionId

func (o *OAuth2LoginRequest) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

func (*OAuth2LoginRequest) SetSkip

func (o *OAuth2LoginRequest) SetSkip(v bool)

SetSkip gets a reference to the given bool and assigns it to the Skip field.

func (*OAuth2LoginRequest) SetSubject

func (o *OAuth2LoginRequest) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type RecoveryApi

type RecoveryApi interface {

	/*
		 * GetRecoveryFlowRequest # Get Recovery Flow
		 * This endpoint returns a recovery flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/recovery', async function (req, res) {
	const flow = await client.getRecoveryFlowRequest(req.header('Cookie'), req.query['flow'])

	res.render('recovery', flow)
	})
	“`

	More information can be found at.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return RecoveryApiApiGetRecoveryFlowRequestRequest
	*/
	GetRecoveryFlowRequest(ctx context.Context) RecoveryApiApiGetRecoveryFlowRequestRequest

	/*
	 * GetRecoveryFlowRequestExecute executes the request
	 * @return RecoveryFlow
	 */
	GetRecoveryFlowRequestExecute(r RecoveryApiApiGetRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)

	/*
		 * InitBrowserRecoveryFlowRequest # Initialize Recovery Flow for Browsers
		 * This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to
	`selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists, the browser is returned to the configured return URL.

	If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects
	or a 400 bad request error if the user is already authenticated.

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

	More information can be found at.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return RecoveryApiApiInitBrowserRecoveryFlowRequestRequest
	*/
	InitBrowserRecoveryFlowRequest(ctx context.Context) RecoveryApiApiInitBrowserRecoveryFlowRequestRequest

	/*
	 * InitBrowserRecoveryFlowRequestExecute executes the request
	 * @return RecoveryFlow
	 */
	InitBrowserRecoveryFlowRequestExecute(r RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)

	/*
		 * SubmitRecoveryFlowRequest # Complete Recovery Flow
		 * Use this endpoint to complete a recovery flow. This endpoint
	behaves differently for API and browser flows and has several states:

	`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent
	and works with API- and Browser-initiated flows.
	For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid.
	and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired).
	For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended.
	`sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It
	works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.
	`passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link")
	does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL
	(if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with
	a new Recovery Flow ID which contains an error message that the recovery link was invalid.

	More information can be found at.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return RecoveryApiApiSubmitRecoveryFlowRequestRequest
	*/
	SubmitRecoveryFlowRequest(ctx context.Context) RecoveryApiApiSubmitRecoveryFlowRequestRequest

	/*
	 * SubmitRecoveryFlowRequestExecute executes the request
	 * @return RecoveryFlow
	 */
	SubmitRecoveryFlowRequestExecute(r RecoveryApiApiSubmitRecoveryFlowRequestRequest) (*RecoveryFlow, *http.Response, error)
}

type RecoveryApiApiGetRecoveryFlowRequestRequest

type RecoveryApiApiGetRecoveryFlowRequestRequest struct {
	ApiService RecoveryApi
	// contains filtered or unexported fields
}

func (RecoveryApiApiGetRecoveryFlowRequestRequest) Cookie

func (RecoveryApiApiGetRecoveryFlowRequestRequest) Execute

func (RecoveryApiApiGetRecoveryFlowRequestRequest) Id

type RecoveryApiApiInitBrowserRecoveryFlowRequestRequest

type RecoveryApiApiInitBrowserRecoveryFlowRequestRequest struct {
	ApiService RecoveryApi
	// contains filtered or unexported fields
}

func (RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) Execute

func (RecoveryApiApiInitBrowserRecoveryFlowRequestRequest) ReturnTo

type RecoveryApiApiSubmitRecoveryFlowRequestRequest

type RecoveryApiApiSubmitRecoveryFlowRequestRequest struct {
	ApiService RecoveryApi
	// contains filtered or unexported fields
}

func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) Cookie

func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) Execute

func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) Flow

func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) SubmitRecoveryFlowBody

func (RecoveryApiApiSubmitRecoveryFlowRequestRequest) Token

type RecoveryApiService

type RecoveryApiService service

RecoveryApiService RecoveryApi service

func (*RecoveryApiService) GetRecoveryFlowRequest

  • GetRecoveryFlowRequest # Get Recovery Flow
  • This endpoint returns a recovery flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getRecoveryFlowRequest(req.header('Cookie'), req.query['flow'])

res.render('recovery', flow) }) ```

More information can be found at.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return RecoveryApiApiGetRecoveryFlowRequestRequest

func (*RecoveryApiService) GetRecoveryFlowRequestExecute

* Execute executes the request * @return RecoveryFlow

func (*RecoveryApiService) InitBrowserRecoveryFlowRequest

  • InitBrowserRecoveryFlowRequest # Initialize Recovery Flow for Browsers
  • This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to

`selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL.

If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated.

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

More information can be found at.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return RecoveryApiApiInitBrowserRecoveryFlowRequestRequest

func (*RecoveryApiService) InitBrowserRecoveryFlowRequestExecute

* Execute executes the request * @return RecoveryFlow

func (*RecoveryApiService) SubmitRecoveryFlowRequest

  • SubmitRecoveryFlowRequest # Complete Recovery Flow
  • Use this endpoint to complete a recovery flow. This endpoint

behaves differently for API and browser flows and has several states:

`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid.

More information can be found at.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return RecoveryApiApiSubmitRecoveryFlowRequestRequest

func (*RecoveryApiService) SubmitRecoveryFlowRequestExecute

* Execute executes the request * @return RecoveryFlow

type RecoveryFlow

type RecoveryFlow struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	// ID represents the request's unique ID. When performing the recovery flow, this represents the id in the recovery ui's query parameter: http://<selfservice.flows.recovery.ui_url>?request=<id>
	Id string `json:"id"`
	// IssuedAt is the time (UTC) when the request occurred.
	IssuedAt time.Time       `json:"issued_at"`
	Method   *RecoveryMethod `json:"method,omitempty"`
	// RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string       `json:"return_to,omitempty"`
	State    RecoveryState `json:"state"`
	Type     FlowType      `json:"type"`
	Ui       UiContainer   `json:"ui"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

RecoveryFlow This request is used when an identity wants to recover their account. We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)

func NewRecoveryFlow

func NewRecoveryFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state RecoveryState, type_ FlowType, ui UiContainer) *RecoveryFlow

NewRecoveryFlow instantiates a new RecoveryFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRecoveryFlowWithDefaults

func NewRecoveryFlowWithDefaults() *RecoveryFlow

NewRecoveryFlowWithDefaults instantiates a new RecoveryFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RecoveryFlow) GetCreatedAt

func (o *RecoveryFlow) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RecoveryFlow) GetCreatedAtOk

func (o *RecoveryFlow) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryFlow) GetExpiresAt

func (o *RecoveryFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*RecoveryFlow) GetExpiresAtOk

func (o *RecoveryFlow) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetId

func (o *RecoveryFlow) GetId() string

GetId returns the Id field value

func (*RecoveryFlow) GetIdOk

func (o *RecoveryFlow) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetIssuedAt

func (o *RecoveryFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*RecoveryFlow) GetIssuedAtOk

func (o *RecoveryFlow) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetMethod

func (o *RecoveryFlow) GetMethod() RecoveryMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*RecoveryFlow) GetMethodOk

func (o *RecoveryFlow) GetMethodOk() (*RecoveryMethod, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryFlow) GetRequestUrl

func (o *RecoveryFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RecoveryFlow) GetRequestUrlOk

func (o *RecoveryFlow) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetReturnTo

func (o *RecoveryFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*RecoveryFlow) GetReturnToOk

func (o *RecoveryFlow) GetReturnToOk() (*string, bool)

GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryFlow) GetState

func (o *RecoveryFlow) GetState() RecoveryState

GetState returns the State field value

func (*RecoveryFlow) GetStateOk

func (o *RecoveryFlow) GetStateOk() (*RecoveryState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetType

func (o *RecoveryFlow) GetType() FlowType

GetType returns the Type field value

func (*RecoveryFlow) GetTypeOk

func (o *RecoveryFlow) GetTypeOk() (*FlowType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetUi

func (o *RecoveryFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RecoveryFlow) GetUiOk

func (o *RecoveryFlow) GetUiOk() (*UiContainer, bool)

GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.

func (*RecoveryFlow) GetUpdatedAt

func (o *RecoveryFlow) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*RecoveryFlow) GetUpdatedAtOk

func (o *RecoveryFlow) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryFlow) HasCreatedAt

func (o *RecoveryFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RecoveryFlow) HasMethod

func (o *RecoveryFlow) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*RecoveryFlow) HasReturnTo

func (o *RecoveryFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*RecoveryFlow) HasUpdatedAt

func (o *RecoveryFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (RecoveryFlow) MarshalJSON

func (o RecoveryFlow) MarshalJSON() ([]byte, error)

func (*RecoveryFlow) SetCreatedAt

func (o *RecoveryFlow) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RecoveryFlow) SetExpiresAt

func (o *RecoveryFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*RecoveryFlow) SetId

func (o *RecoveryFlow) SetId(v string)

SetId sets field value

func (*RecoveryFlow) SetIssuedAt

func (o *RecoveryFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*RecoveryFlow) SetMethod

func (o *RecoveryFlow) SetMethod(v RecoveryMethod)

SetMethod gets a reference to the given RecoveryMethod and assigns it to the Method field.

func (*RecoveryFlow) SetRequestUrl

func (o *RecoveryFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RecoveryFlow) SetReturnTo

func (o *RecoveryFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*RecoveryFlow) SetState

func (o *RecoveryFlow) SetState(v RecoveryState)

SetState sets field value

func (*RecoveryFlow) SetType

func (o *RecoveryFlow) SetType(v FlowType)

SetType sets field value

func (*RecoveryFlow) SetUi

func (o *RecoveryFlow) SetUi(v UiContainer)

SetUi sets field value

func (*RecoveryFlow) SetUpdatedAt

func (o *RecoveryFlow) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type RecoveryMethod

type RecoveryMethod string

RecoveryMethod the model 'RecoveryMethod'

const (
	RECOVERYMETHOD_CAPTCHA RecoveryMethod = "captcha"
)

List of recoveryMethod

func NewRecoveryMethodFromValue

func NewRecoveryMethodFromValue(v string) (*RecoveryMethod, error)

NewRecoveryMethodFromValue returns a pointer to a valid RecoveryMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RecoveryMethod) IsValid

func (v RecoveryMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RecoveryMethod) Ptr

func (v RecoveryMethod) Ptr() *RecoveryMethod

Ptr returns reference to recoveryMethod value

func (*RecoveryMethod) UnmarshalJSON

func (v *RecoveryMethod) UnmarshalJSON(src []byte) error

type RecoveryState

type RecoveryState string

RecoveryState The state represents the state of the recovery flow. ``` choose_method: ask the user to choose a method (e.g. recover account via email) sent: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. ```

const (
	RECOVERYSTATE_CHOOSE_METHOD    RecoveryState = "choose_method"
	RECOVERYSTATE_SENT             RecoveryState = "sent"
	RECOVERYSTATE_PASSED_CHALLENGE RecoveryState = "passed_challenge"
)

List of recoveryState

func NewRecoveryStateFromValue

func NewRecoveryStateFromValue(v string) (*RecoveryState, error)

NewRecoveryStateFromValue returns a pointer to a valid RecoveryState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RecoveryState) IsValid

func (v RecoveryState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RecoveryState) Ptr

func (v RecoveryState) Ptr() *RecoveryState

Ptr returns reference to recoveryState value

func (*RecoveryState) UnmarshalJSON

func (v *RecoveryState) UnmarshalJSON(src []byte) error

type RecoveryTraits

type RecoveryTraits struct {
	// The identity's email  It's optional, have at least one email and mobile
	Email *string `json:"email,omitempty"`
	// The identity's mobile  It's optional, have at least one email and mobile
	Mobile *string `json:"mobile,omitempty"`
	// The identity's type, the value is traits.email or traits.mobile
	Type string `json:"type"`
}

RecoveryTraits struct for RecoveryTraits

func NewRecoveryTraits

func NewRecoveryTraits(type_ string) *RecoveryTraits

NewRecoveryTraits instantiates a new RecoveryTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRecoveryTraitsWithDefaults

func NewRecoveryTraitsWithDefaults() *RecoveryTraits

NewRecoveryTraitsWithDefaults instantiates a new RecoveryTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RecoveryTraits) GetEmail

func (o *RecoveryTraits) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*RecoveryTraits) GetEmailOk

func (o *RecoveryTraits) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryTraits) GetMobile

func (o *RecoveryTraits) GetMobile() string

GetMobile returns the Mobile field value if set, zero value otherwise.

func (*RecoveryTraits) GetMobileOk

func (o *RecoveryTraits) GetMobileOk() (*string, bool)

GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryTraits) GetType

func (o *RecoveryTraits) GetType() string

GetType returns the Type field value

func (*RecoveryTraits) GetTypeOk

func (o *RecoveryTraits) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RecoveryTraits) HasEmail

func (o *RecoveryTraits) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*RecoveryTraits) HasMobile

func (o *RecoveryTraits) HasMobile() bool

HasMobile returns a boolean if a field has been set.

func (RecoveryTraits) MarshalJSON

func (o RecoveryTraits) MarshalJSON() ([]byte, error)

func (*RecoveryTraits) SetEmail

func (o *RecoveryTraits) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*RecoveryTraits) SetMobile

func (o *RecoveryTraits) SetMobile(v string)

SetMobile gets a reference to the given string and assigns it to the Mobile field.

func (*RecoveryTraits) SetType

func (o *RecoveryTraits) SetType(v string)

SetType sets field value

type RegistrationApi

type RegistrationApi interface {

	/*
		 * GetRegistrationFlowRequest # Get Registration Flow
		 * This endpoint returns a registration flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/registration', async function (req, res) {
	const flow = await client.getRegistrationFlowRequest(req.header('cookie'), req.query['flow'])

	res.render('registration', flow)
	})
	“`

	This request may fail due to several reasons. The `error.id` can be one of:

	`session_already_available`: The user is already signed in.
	`self_service_flow_expired`: The flow is expired and you should request a new one.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return RegistrationApiApiGetRegistrationFlowRequestRequest
	*/
	GetRegistrationFlowRequest(ctx context.Context) RegistrationApiApiGetRegistrationFlowRequestRequest

	/*
	 * GetRegistrationFlowRequestExecute executes the request
	 * @return RegistrationFlow
	 */
	GetRegistrationFlowRequestExecute(r RegistrationApiApiGetRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error)

	/*
		 * InitBrowserRegistrationFlowRequest # Initialize Registration Flow for Browsers
		 * This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate
	cookies and anti-CSRF measures required for browser-based flows.

	:::info

	This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.

	:::

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists already, the browser will be redirected to `urls.default_redirect_url`.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return RegistrationApiApiInitBrowserRegistrationFlowRequestRequest
	*/
	InitBrowserRegistrationFlowRequest(ctx context.Context) RegistrationApiApiInitBrowserRegistrationFlowRequestRequest

	/*
	 * InitBrowserRegistrationFlowRequestExecute executes the request
	 * @return RegistrationFlow
	 */
	InitBrowserRegistrationFlowRequestExecute(r RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) (*RegistrationFlow, *http.Response, error)

	/*
		 * SubmitRegistrationFlowRequest # Submit a Registration Flow
		 * Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint
	behaves differently for API and browser flows.

	API flows expect `application/json` to be sent in the body and respond with
	HTTP 200 and a application/json body with the created identity success - if the session hook is configured the
	`session` and `session_token` will also be included;
	HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
	HTTP 400 on form validation errors.

	Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
	a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded;
	a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.

	Browser flows with an accept header of `application/json` will not redirect but instead respond with
	HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
	HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.

	If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
	`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
	Most likely used in Social Sign In flows.

	More information can be found at:
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return RegistrationApiApiSubmitRegistrationFlowRequestRequest
	*/
	SubmitRegistrationFlowRequest(ctx context.Context) RegistrationApiApiSubmitRegistrationFlowRequestRequest

	/*
	 * SubmitRegistrationFlowRequestExecute executes the request
	 * @return SubmitRegistrationFlowResponse
	 */
	SubmitRegistrationFlowRequestExecute(r RegistrationApiApiSubmitRegistrationFlowRequestRequest) (*SubmitRegistrationFlowResponse, *http.Response, error)
}

type RegistrationApiApiGetRegistrationFlowRequestRequest

type RegistrationApiApiGetRegistrationFlowRequestRequest struct {
	ApiService RegistrationApi
	// contains filtered or unexported fields
}

func (RegistrationApiApiGetRegistrationFlowRequestRequest) Cookie

func (RegistrationApiApiGetRegistrationFlowRequestRequest) Execute

func (RegistrationApiApiGetRegistrationFlowRequestRequest) Id

type RegistrationApiApiInitBrowserRegistrationFlowRequestRequest

type RegistrationApiApiInitBrowserRegistrationFlowRequestRequest struct {
	ApiService RegistrationApi
	// contains filtered or unexported fields
}

func (RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) Execute

func (RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) LoginChallenge

func (RegistrationApiApiInitBrowserRegistrationFlowRequestRequest) ReturnTo

type RegistrationApiApiSubmitRegistrationFlowRequestRequest

type RegistrationApiApiSubmitRegistrationFlowRequestRequest struct {
	ApiService RegistrationApi
	// contains filtered or unexported fields
}

func (RegistrationApiApiSubmitRegistrationFlowRequestRequest) Cookie

func (RegistrationApiApiSubmitRegistrationFlowRequestRequest) Execute

func (RegistrationApiApiSubmitRegistrationFlowRequestRequest) Flow

func (RegistrationApiApiSubmitRegistrationFlowRequestRequest) SubmitRegistrationFlowBody

type RegistrationApiService

type RegistrationApiService service

RegistrationApiService RegistrationApi service

func (*RegistrationApiService) GetRegistrationFlowRequest

  • GetRegistrationFlowRequest # Get Registration Flow
  • This endpoint returns a registration flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getRegistrationFlowRequest(req.header('cookie'), req.query['flow'])

res.render('registration', flow) }) ```

This request may fail due to several reasons. The `error.id` can be one of:

`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return RegistrationApiApiGetRegistrationFlowRequestRequest

func (*RegistrationApiService) GetRegistrationFlowRequestExecute

* Execute executes the request * @return RegistrationFlow

func (*RegistrationApiService) InitBrowserRegistrationFlowRequest

  • InitBrowserRegistrationFlowRequest # Initialize Registration Flow for Browsers
  • This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate

cookies and anti-CSRF measures required for browser-based flows.

:::info

This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.

:::

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return RegistrationApiApiInitBrowserRegistrationFlowRequestRequest

func (*RegistrationApiService) InitBrowserRegistrationFlowRequestExecute

* Execute executes the request * @return RegistrationFlow

func (*RegistrationApiService) SubmitRegistrationFlowRequest

  • SubmitRegistrationFlowRequest # Submit a Registration Flow
  • Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint

behaves differently for API and browser flows.

API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.

Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.

Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.

More information can be found at:

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return RegistrationApiApiSubmitRegistrationFlowRequestRequest

func (*RegistrationApiService) SubmitRegistrationFlowRequestExecute

* Execute executes the request * @return SubmitRegistrationFlowResponse

type RegistrationFlow

type RegistrationFlow struct {
	Active *CredentialsType `json:"active,omitempty"`
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	// ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http://<selfservice.flows.login.ui_url>/?flow=<flow_id>
	Id string `json:"id"`
	// IssuedAt is the time (UTC) when the flow started.
	IssuedAt time.Time `json:"issued_at"`
	// OAuth 2.0 Login Challenge.  This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.
	Oauth2LoginChallenge *string             `json:"oauth2_login_challenge,omitempty"`
	Oauth2LoginRequest   *OAuth2LoginRequest `json:"oauth2_login_request,omitempty"`
	// RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string     `json:"return_to,omitempty"`
	Type     FlowType    `json:"type"`
	Ui       UiContainer `json:"ui"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

RegistrationFlow This object represents a registration flow. A registration flow is initiated at the \"Initiate Registration API / Browser Flow\" endpoint by a client.

func NewRegistrationFlow

func NewRegistrationFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ FlowType, ui UiContainer) *RegistrationFlow

NewRegistrationFlow instantiates a new RegistrationFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegistrationFlowWithDefaults

func NewRegistrationFlowWithDefaults() *RegistrationFlow

NewRegistrationFlowWithDefaults instantiates a new RegistrationFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegistrationFlow) GetActive

func (o *RegistrationFlow) GetActive() CredentialsType

GetActive returns the Active field value if set, zero value otherwise.

func (*RegistrationFlow) GetActiveOk

func (o *RegistrationFlow) GetActiveOk() (*CredentialsType, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationFlow) GetCreatedAt

func (o *RegistrationFlow) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*RegistrationFlow) GetCreatedAtOk

func (o *RegistrationFlow) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationFlow) GetExpiresAt

func (o *RegistrationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*RegistrationFlow) GetExpiresAtOk

func (o *RegistrationFlow) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*RegistrationFlow) GetId

func (o *RegistrationFlow) GetId() string

GetId returns the Id field value

func (*RegistrationFlow) GetIdOk

func (o *RegistrationFlow) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RegistrationFlow) GetIssuedAt

func (o *RegistrationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*RegistrationFlow) GetIssuedAtOk

func (o *RegistrationFlow) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.

func (*RegistrationFlow) GetOauth2LoginChallenge

func (o *RegistrationFlow) GetOauth2LoginChallenge() string

GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.

func (*RegistrationFlow) GetOauth2LoginChallengeOk

func (o *RegistrationFlow) GetOauth2LoginChallengeOk() (*string, bool)

GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationFlow) GetOauth2LoginRequest

func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest

GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.

func (*RegistrationFlow) GetOauth2LoginRequestOk

func (o *RegistrationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)

GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationFlow) GetRequestUrl

func (o *RegistrationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RegistrationFlow) GetRequestUrlOk

func (o *RegistrationFlow) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.

func (*RegistrationFlow) GetReturnTo

func (o *RegistrationFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*RegistrationFlow) GetReturnToOk

func (o *RegistrationFlow) GetReturnToOk() (*string, bool)

GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationFlow) GetType

func (o *RegistrationFlow) GetType() FlowType

GetType returns the Type field value

func (*RegistrationFlow) GetTypeOk

func (o *RegistrationFlow) GetTypeOk() (*FlowType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RegistrationFlow) GetUi

func (o *RegistrationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RegistrationFlow) GetUiOk

func (o *RegistrationFlow) GetUiOk() (*UiContainer, bool)

GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.

func (*RegistrationFlow) GetUpdatedAt

func (o *RegistrationFlow) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*RegistrationFlow) GetUpdatedAtOk

func (o *RegistrationFlow) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationFlow) HasActive

func (o *RegistrationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RegistrationFlow) HasCreatedAt

func (o *RegistrationFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RegistrationFlow) HasOauth2LoginChallenge

func (o *RegistrationFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*RegistrationFlow) HasOauth2LoginRequest

func (o *RegistrationFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*RegistrationFlow) HasReturnTo

func (o *RegistrationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*RegistrationFlow) HasUpdatedAt

func (o *RegistrationFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (RegistrationFlow) MarshalJSON

func (o RegistrationFlow) MarshalJSON() ([]byte, error)

func (*RegistrationFlow) SetActive

func (o *RegistrationFlow) SetActive(v CredentialsType)

SetActive gets a reference to the given CredentialsType and assigns it to the Active field.

func (*RegistrationFlow) SetCreatedAt

func (o *RegistrationFlow) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RegistrationFlow) SetExpiresAt

func (o *RegistrationFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*RegistrationFlow) SetId

func (o *RegistrationFlow) SetId(v string)

SetId sets field value

func (*RegistrationFlow) SetIssuedAt

func (o *RegistrationFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*RegistrationFlow) SetOauth2LoginChallenge

func (o *RegistrationFlow) SetOauth2LoginChallenge(v string)

SetOauth2LoginChallenge gets a reference to the given string and assigns it to the Oauth2LoginChallenge field.

func (*RegistrationFlow) SetOauth2LoginRequest

func (o *RegistrationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

SetOauth2LoginRequest gets a reference to the given OAuth2LoginRequest and assigns it to the Oauth2LoginRequest field.

func (*RegistrationFlow) SetRequestUrl

func (o *RegistrationFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RegistrationFlow) SetReturnTo

func (o *RegistrationFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*RegistrationFlow) SetType

func (o *RegistrationFlow) SetType(v FlowType)

SetType sets field value

func (*RegistrationFlow) SetUi

func (o *RegistrationFlow) SetUi(v UiContainer)

SetUi sets field value

func (*RegistrationFlow) SetUpdatedAt

func (o *RegistrationFlow) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type RegistrationTraits

type RegistrationTraits struct {
	// The identity's email  It's optional, have at least one email and mobile
	Email *string `json:"email,omitempty"`
	// The identity's mobile  It's optional, have at least one email and mobile
	Mobile *string `json:"mobile,omitempty"`
	// The identity's type, the value is traits.email or traits.mobile
	Type string `json:"type"`
}

RegistrationTraits struct for RegistrationTraits

func NewRegistrationTraits

func NewRegistrationTraits(type_ string) *RegistrationTraits

NewRegistrationTraits instantiates a new RegistrationTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegistrationTraitsWithDefaults

func NewRegistrationTraitsWithDefaults() *RegistrationTraits

NewRegistrationTraitsWithDefaults instantiates a new RegistrationTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegistrationTraits) GetEmail

func (o *RegistrationTraits) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*RegistrationTraits) GetEmailOk

func (o *RegistrationTraits) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationTraits) GetMobile

func (o *RegistrationTraits) GetMobile() string

GetMobile returns the Mobile field value if set, zero value otherwise.

func (*RegistrationTraits) GetMobileOk

func (o *RegistrationTraits) GetMobileOk() (*string, bool)

GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegistrationTraits) GetType

func (o *RegistrationTraits) GetType() string

GetType returns the Type field value

func (*RegistrationTraits) GetTypeOk

func (o *RegistrationTraits) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RegistrationTraits) HasEmail

func (o *RegistrationTraits) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*RegistrationTraits) HasMobile

func (o *RegistrationTraits) HasMobile() bool

HasMobile returns a boolean if a field has been set.

func (RegistrationTraits) MarshalJSON

func (o RegistrationTraits) MarshalJSON() ([]byte, error)

func (*RegistrationTraits) SetEmail

func (o *RegistrationTraits) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*RegistrationTraits) SetMobile

func (o *RegistrationTraits) SetMobile(v string)

SetMobile gets a reference to the given string and assigns it to the Mobile field.

func (*RegistrationTraits) SetType

func (o *RegistrationTraits) SetType(v string)

SetType sets field value

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Session

type Session struct {
	// Active state. If false the session is no longer active.
	Active *bool `json:"active,omitempty"`
	// The Session Authentication Timestamp  When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).
	AuthenticatedAt *time.Time `json:"authenticated_at,omitempty"`
	// A list of authenticators which were used to authenticate the session.
	AuthenticationMethods       []SessionAuthenticationMethod `json:"authentication_methods,omitempty"`
	AuthenticatorAssuranceLevel *AuthenticatorAssuranceLevel  `json:"authenticator_assurance_level,omitempty"`
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The Session Expiry  When this session expires at.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Session ID
	Id       string   `json:"id"`
	Identity Identity `json:"identity"`
	// The Session Issuance Timestamp  When this session was issued at. Usually equal or close to `authenticated_at`.
	IssuedAt *time.Time `json:"issued_at,omitempty"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Session A Session

func NewSession

func NewSession(id string, identity Identity) *Session

NewSession instantiates a new Session object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSessionWithDefaults

func NewSessionWithDefaults() *Session

NewSessionWithDefaults instantiates a new Session object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Session) GetActive

func (o *Session) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Session) GetActiveOk

func (o *Session) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetAuthenticatedAt

func (o *Session) GetAuthenticatedAt() time.Time

GetAuthenticatedAt returns the AuthenticatedAt field value if set, zero value otherwise.

func (*Session) GetAuthenticatedAtOk

func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool)

GetAuthenticatedAtOk returns a tuple with the AuthenticatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetAuthenticationMethods

func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod

GetAuthenticationMethods returns the AuthenticationMethods field value if set, zero value otherwise.

func (*Session) GetAuthenticationMethodsOk

func (o *Session) GetAuthenticationMethodsOk() ([]SessionAuthenticationMethod, bool)

GetAuthenticationMethodsOk returns a tuple with the AuthenticationMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetAuthenticatorAssuranceLevel

func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel

GetAuthenticatorAssuranceLevel returns the AuthenticatorAssuranceLevel field value if set, zero value otherwise.

func (*Session) GetAuthenticatorAssuranceLevelOk

func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLevel, bool)

GetAuthenticatorAssuranceLevelOk returns a tuple with the AuthenticatorAssuranceLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetCreatedAt

func (o *Session) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Session) GetCreatedAtOk

func (o *Session) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetExpiresAt

func (o *Session) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*Session) GetExpiresAtOk

func (o *Session) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetId

func (o *Session) GetId() string

GetId returns the Id field value

func (*Session) GetIdOk

func (o *Session) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Session) GetIdentity

func (o *Session) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*Session) GetIdentityOk

func (o *Session) GetIdentityOk() (*Identity, bool)

GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.

func (*Session) GetIssuedAt

func (o *Session) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*Session) GetIssuedAtOk

func (o *Session) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) GetUpdatedAt

func (o *Session) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Session) GetUpdatedAtOk

func (o *Session) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Session) HasActive

func (o *Session) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Session) HasAuthenticatedAt

func (o *Session) HasAuthenticatedAt() bool

HasAuthenticatedAt returns a boolean if a field has been set.

func (*Session) HasAuthenticationMethods

func (o *Session) HasAuthenticationMethods() bool

HasAuthenticationMethods returns a boolean if a field has been set.

func (*Session) HasAuthenticatorAssuranceLevel

func (o *Session) HasAuthenticatorAssuranceLevel() bool

HasAuthenticatorAssuranceLevel returns a boolean if a field has been set.

func (*Session) HasCreatedAt

func (o *Session) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Session) HasExpiresAt

func (o *Session) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*Session) HasIssuedAt

func (o *Session) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*Session) HasUpdatedAt

func (o *Session) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Session) MarshalJSON

func (o Session) MarshalJSON() ([]byte, error)

func (*Session) SetActive

func (o *Session) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Session) SetAuthenticatedAt

func (o *Session) SetAuthenticatedAt(v time.Time)

SetAuthenticatedAt gets a reference to the given time.Time and assigns it to the AuthenticatedAt field.

func (*Session) SetAuthenticationMethods

func (o *Session) SetAuthenticationMethods(v []SessionAuthenticationMethod)

SetAuthenticationMethods gets a reference to the given []SessionAuthenticationMethod and assigns it to the AuthenticationMethods field.

func (*Session) SetAuthenticatorAssuranceLevel

func (o *Session) SetAuthenticatorAssuranceLevel(v AuthenticatorAssuranceLevel)

SetAuthenticatorAssuranceLevel gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the AuthenticatorAssuranceLevel field.

func (*Session) SetCreatedAt

func (o *Session) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Session) SetExpiresAt

func (o *Session) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*Session) SetId

func (o *Session) SetId(v string)

SetId sets field value

func (*Session) SetIdentity

func (o *Session) SetIdentity(v Identity)

SetIdentity sets field value

func (*Session) SetIssuedAt

func (o *Session) SetIssuedAt(v time.Time)

SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.

func (*Session) SetUpdatedAt

func (o *Session) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type SessionApi

type SessionApi interface {

	/*
		 * ToSessionRequest # Check Who the Current HTTP Session Belongs To
		 * Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.
	Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent.
	Additionally when the request it successful it adds the user ID to the 'X-Identity-Authenticated-Identity-Id' header
	in the response.

	If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:

	“`js
	pseudo-code example
	router.get('/protected-endpoint', async function (req, res) {
	const session = await client.toSessionRequest(undefined, req.header('cookie'))

	console.log(session)
	})
	“`

	When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:

	“`js
	pseudo-code example
	...
	const session = await client.toSessionRequest("the-session-token")

	console.log(session)
	“`

	Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor or change the configuration.

	This endpoint is useful for:

	AJAX calls. Remember to send credentials and set up CORS correctly!
	Reverse proxies and API Gateways
	Server-side calls - use the `X-Session-Token` header!

	# This endpoint authenticates users by checking

	if the `Cookie` HTTP header was set containing an Identity Session Cookie;
	if the `Authorization: bearer <session-token>` HTTP header was set with a valid Identity Session Token;
	if the `X-Session-Token` HTTP header was set with a valid Identity Session Token.

	If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code.

	As explained above, this request may fail due to several reasons. The `error.id` can be one of:

	`session_inactive`: No active session was found in the request (e.g. no Session Cookie / Session Token).
	`session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return SessionApiApiToSessionRequestRequest
	*/
	ToSessionRequest(ctx context.Context) SessionApiApiToSessionRequestRequest

	/*
	 * ToSessionRequestExecute executes the request
	 * @return Session
	 */
	ToSessionRequestExecute(r SessionApiApiToSessionRequestRequest) (*Session, *http.Response, error)
}

type SessionApiApiToSessionRequestRequest

type SessionApiApiToSessionRequestRequest struct {
	ApiService SessionApi
	// contains filtered or unexported fields
}

func (SessionApiApiToSessionRequestRequest) Cookie

func (SessionApiApiToSessionRequestRequest) Execute

func (SessionApiApiToSessionRequestRequest) XSessionToken

type SessionApiService

type SessionApiService service

SessionApiService SessionApi service

func (*SessionApiService) ToSessionRequest

  • ToSessionRequest # Check Who the Current HTTP Session Belongs To
  • Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.

Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. Additionally when the request it successful it adds the user ID to the 'X-Identity-Authenticated-Identity-Id' header in the response.

If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:

```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSessionRequest(undefined, req.header('cookie'))

console.log(session) }) ```

When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:

```js pseudo-code example ... const session = await client.toSessionRequest("the-session-token")

console.log(session) ```

Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.

This endpoint is useful for:

AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header!

This endpoint authenticates users by checking

if the `Cookie` HTTP header was set containing an Identity Session Cookie; if the `Authorization: bearer <session-token>` HTTP header was set with a valid Identity Session Token; if the `X-Session-Token` HTTP header was set with a valid Identity Session Token.

If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code.

As explained above, this request may fail due to several reasons. The `error.id` can be one of:

`session_inactive`: No active session was found in the request (e.g. no Session Cookie / Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return SessionApiApiToSessionRequestRequest

func (*SessionApiService) ToSessionRequestExecute

* Execute executes the request * @return Session

type SessionAuthenticationMethod

type SessionAuthenticationMethod struct {
	Aal *AuthenticatorAssuranceLevel `json:"aal,omitempty"`
	// When the authentication challenge was completed.
	CompletedAt *time.Time       `json:"completed_at,omitempty"`
	Method      *CredentialsType `json:"method,omitempty"`
}

SessionAuthenticationMethod A singular authenticator used during authentication / login.

func NewSessionAuthenticationMethod

func NewSessionAuthenticationMethod() *SessionAuthenticationMethod

NewSessionAuthenticationMethod instantiates a new SessionAuthenticationMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSessionAuthenticationMethodWithDefaults

func NewSessionAuthenticationMethodWithDefaults() *SessionAuthenticationMethod

NewSessionAuthenticationMethodWithDefaults instantiates a new SessionAuthenticationMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SessionAuthenticationMethod) GetAal

GetAal returns the Aal field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetAalOk

GetAalOk returns a tuple with the Aal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SessionAuthenticationMethod) GetCompletedAt

func (o *SessionAuthenticationMethod) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetCompletedAtOk

func (o *SessionAuthenticationMethod) GetCompletedAtOk() (*time.Time, bool)

GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SessionAuthenticationMethod) GetMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetMethodOk

func (o *SessionAuthenticationMethod) GetMethodOk() (*CredentialsType, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SessionAuthenticationMethod) HasAal

func (o *SessionAuthenticationMethod) HasAal() bool

HasAal returns a boolean if a field has been set.

func (*SessionAuthenticationMethod) HasCompletedAt

func (o *SessionAuthenticationMethod) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (*SessionAuthenticationMethod) HasMethod

func (o *SessionAuthenticationMethod) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (SessionAuthenticationMethod) MarshalJSON

func (o SessionAuthenticationMethod) MarshalJSON() ([]byte, error)

func (*SessionAuthenticationMethod) SetAal

SetAal gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the Aal field.

func (*SessionAuthenticationMethod) SetCompletedAt

func (o *SessionAuthenticationMethod) SetCompletedAt(v time.Time)

SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.

func (*SessionAuthenticationMethod) SetMethod

SetMethod gets a reference to the given CredentialsType and assigns it to the Method field.

type SettingsApi

type SettingsApi interface {

	/*
		 * GetSettingsFlowRequest # Get Settings Flow
		 * When accessing this endpoint through Identity' Public API you must ensure that either the Identity Session Cookie
	or the Identity Session Token are set.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor or change the configuration.

	You can access this endpoint without credentials when using Identity' Admin API.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Identity Session was found - sign in a user first.
	`security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other
	identity logged in instead.

	More information can be found at
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return SettingsApiApiGetSettingsFlowRequestRequest
	*/
	GetSettingsFlowRequest(ctx context.Context) SettingsApiApiGetSettingsFlowRequestRequest

	/*
	 * GetSettingsFlowRequestExecute executes the request
	 * @return SettingsFlow
	 */
	GetSettingsFlowRequestExecute(r SettingsApiApiGetSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)

	/*
		 * InitBrowserSettingsFlowRequest # Initialize Settings Flow for Browsers
		 * This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to
	`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid
	Identity Session Cookie is included in the request, a login flow will be initialized.

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session
	was set, the browser will be redirected to the login endpoint.

	If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects
	or a 401 forbidden error if no valid session was set.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Session was found - sign in a user first.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return SettingsApiApiInitBrowserSettingsFlowRequestRequest
	*/
	InitBrowserSettingsFlowRequest(ctx context.Context) SettingsApiApiInitBrowserSettingsFlowRequestRequest

	/*
	 * InitBrowserSettingsFlowRequestExecute executes the request
	 * @return SettingsFlow
	 */
	InitBrowserSettingsFlowRequestExecute(r SettingsApiApiInitBrowserSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)

	/*
		 * SubmitSettingsFlowRequest # Complete Settings Flow
		 * Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint
	behaves differently for API and browser flows.

	API-initiated flows expect `application/json` to be sent in the body and respond with
	HTTP 200 and an application/json body with the session token on success;
	HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.
	HTTP 401 when the endpoint is called without a valid session token.
	HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.
	Implies that the user needs to re-authenticate.

	Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with
	a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded;
	a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise.
	a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.

	Browser flows with HTTP Header `Accept: application/json` respond with
	HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
	HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 401 when the endpoint is called without a valid session cookie.
	HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low.
	HTTP 400 on form validation errors.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

	If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect
	the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`,
	or initiate a refresh login flow otherwise.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Identity Session was found - sign in a user first.
	`security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other
	identity logged in instead.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
	`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
	Most likely used in Social Sign In flows.

	More information can be found at [Identity User Settings & Profile Management Documentation](../self-service/flows/user-settings).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return SettingsApiApiSubmitSettingsFlowRequestRequest
	*/
	SubmitSettingsFlowRequest(ctx context.Context) SettingsApiApiSubmitSettingsFlowRequestRequest

	/*
	 * SubmitSettingsFlowRequestExecute executes the request
	 * @return SettingsFlow
	 */
	SubmitSettingsFlowRequestExecute(r SettingsApiApiSubmitSettingsFlowRequestRequest) (*SettingsFlow, *http.Response, error)
}

type SettingsApiApiGetSettingsFlowRequestRequest

type SettingsApiApiGetSettingsFlowRequestRequest struct {
	ApiService SettingsApi
	// contains filtered or unexported fields
}

func (SettingsApiApiGetSettingsFlowRequestRequest) Cookie

func (SettingsApiApiGetSettingsFlowRequestRequest) Execute

func (SettingsApiApiGetSettingsFlowRequestRequest) Id

func (SettingsApiApiGetSettingsFlowRequestRequest) XSessionToken

type SettingsApiApiInitBrowserSettingsFlowRequestRequest

type SettingsApiApiInitBrowserSettingsFlowRequestRequest struct {
	ApiService SettingsApi
	// contains filtered or unexported fields
}

func (SettingsApiApiInitBrowserSettingsFlowRequestRequest) Execute

func (SettingsApiApiInitBrowserSettingsFlowRequestRequest) ReturnTo

type SettingsApiApiSubmitSettingsFlowRequestRequest

type SettingsApiApiSubmitSettingsFlowRequestRequest struct {
	ApiService SettingsApi
	// contains filtered or unexported fields
}

func (SettingsApiApiSubmitSettingsFlowRequestRequest) Cookie

func (SettingsApiApiSubmitSettingsFlowRequestRequest) Execute

func (SettingsApiApiSubmitSettingsFlowRequestRequest) Flow

func (SettingsApiApiSubmitSettingsFlowRequestRequest) SubmitSettingsFlowBody

func (SettingsApiApiSubmitSettingsFlowRequestRequest) XSessionToken

type SettingsApiService

type SettingsApiService service

SettingsApiService SettingsApi service

func (*SettingsApiService) GetSettingsFlowRequest

  • GetSettingsFlowRequest # Get Settings Flow
  • When accessing this endpoint through Identity' Public API you must ensure that either the Identity Session Cookie

or the Identity Session Token are set.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.

You can access this endpoint without credentials when using Identity' Admin API.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Identity Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead.

More information can be found at

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return SettingsApiApiGetSettingsFlowRequestRequest

func (*SettingsApiService) GetSettingsFlowRequestExecute

* Execute executes the request * @return SettingsFlow

func (*SettingsApiService) InitBrowserSettingsFlowRequest

  • InitBrowserSettingsFlowRequest # Initialize Settings Flow for Browsers
  • This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to

`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Identity Session Cookie is included in the request, a login flow will be initialized.

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint.

If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return SettingsApiApiInitBrowserSettingsFlowRequestRequest

func (*SettingsApiService) InitBrowserSettingsFlowRequestExecute

* Execute executes the request * @return SettingsFlow

func (*SettingsApiService) SubmitSettingsFlowRequest

  • SubmitSettingsFlowRequest # Complete Settings Flow
  • Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint

behaves differently for API and browser flows.

API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate.

Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.

Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Identity Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.

More information can be found at [Identity User Settings & Profile Management Documentation](../self-service/flows/user-settings).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return SettingsApiApiSubmitSettingsFlowRequestRequest

func (*SettingsApiService) SubmitSettingsFlowRequestExecute

* Execute executes the request * @return SettingsFlow

type SettingsFlow

type SettingsFlow struct {
	Active *CredentialsType `json:"active,omitempty"`
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	// ID represents the flow's unique ID. When performing the settings flow, this represents the id in the settings ui's query parameter: http://<selfservice.flows.settings.ui_url>?flow=<id>
	Id       string   `json:"id"`
	Identity Identity `json:"identity"`
	// IssuedAt is the time (UTC) when the flow occurred.
	IssuedAt time.Time `json:"issued_at"`
	// RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string       `json:"return_to,omitempty"`
	State    SettingsState `json:"state"`
	Type     FlowType      `json:"type"`
	Ui       UiContainer   `json:"ui"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SettingsFlow This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings)

func NewSettingsFlow

func NewSettingsFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state SettingsState, type_ FlowType, ui UiContainer) *SettingsFlow

NewSettingsFlow instantiates a new SettingsFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSettingsFlowWithDefaults

func NewSettingsFlowWithDefaults() *SettingsFlow

NewSettingsFlowWithDefaults instantiates a new SettingsFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SettingsFlow) GetActive

func (o *SettingsFlow) GetActive() CredentialsType

GetActive returns the Active field value if set, zero value otherwise.

func (*SettingsFlow) GetActiveOk

func (o *SettingsFlow) GetActiveOk() (*CredentialsType, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SettingsFlow) GetCreatedAt

func (o *SettingsFlow) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SettingsFlow) GetCreatedAtOk

func (o *SettingsFlow) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SettingsFlow) GetExpiresAt

func (o *SettingsFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*SettingsFlow) GetExpiresAtOk

func (o *SettingsFlow) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetId

func (o *SettingsFlow) GetId() string

GetId returns the Id field value

func (*SettingsFlow) GetIdOk

func (o *SettingsFlow) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetIdentity

func (o *SettingsFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SettingsFlow) GetIdentityOk

func (o *SettingsFlow) GetIdentityOk() (*Identity, bool)

GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetIssuedAt

func (o *SettingsFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*SettingsFlow) GetIssuedAtOk

func (o *SettingsFlow) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetRequestUrl

func (o *SettingsFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SettingsFlow) GetRequestUrlOk

func (o *SettingsFlow) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetReturnTo

func (o *SettingsFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*SettingsFlow) GetReturnToOk

func (o *SettingsFlow) GetReturnToOk() (*string, bool)

GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SettingsFlow) GetState

func (o *SettingsFlow) GetState() SettingsState

GetState returns the State field value

func (*SettingsFlow) GetStateOk

func (o *SettingsFlow) GetStateOk() (*SettingsState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetType

func (o *SettingsFlow) GetType() FlowType

GetType returns the Type field value

func (*SettingsFlow) GetTypeOk

func (o *SettingsFlow) GetTypeOk() (*FlowType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetUi

func (o *SettingsFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*SettingsFlow) GetUiOk

func (o *SettingsFlow) GetUiOk() (*UiContainer, bool)

GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.

func (*SettingsFlow) GetUpdatedAt

func (o *SettingsFlow) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SettingsFlow) GetUpdatedAtOk

func (o *SettingsFlow) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SettingsFlow) HasActive

func (o *SettingsFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SettingsFlow) HasCreatedAt

func (o *SettingsFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SettingsFlow) HasReturnTo

func (o *SettingsFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*SettingsFlow) HasUpdatedAt

func (o *SettingsFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SettingsFlow) MarshalJSON

func (o SettingsFlow) MarshalJSON() ([]byte, error)

func (*SettingsFlow) SetActive

func (o *SettingsFlow) SetActive(v CredentialsType)

SetActive gets a reference to the given CredentialsType and assigns it to the Active field.

func (*SettingsFlow) SetCreatedAt

func (o *SettingsFlow) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SettingsFlow) SetExpiresAt

func (o *SettingsFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*SettingsFlow) SetId

func (o *SettingsFlow) SetId(v string)

SetId sets field value

func (*SettingsFlow) SetIdentity

func (o *SettingsFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*SettingsFlow) SetIssuedAt

func (o *SettingsFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*SettingsFlow) SetRequestUrl

func (o *SettingsFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SettingsFlow) SetReturnTo

func (o *SettingsFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*SettingsFlow) SetState

func (o *SettingsFlow) SetState(v SettingsState)

SetState sets field value

func (*SettingsFlow) SetType

func (o *SettingsFlow) SetType(v FlowType)

SetType sets field value

func (*SettingsFlow) SetUi

func (o *SettingsFlow) SetUi(v UiContainer)

SetUi sets field value

func (*SettingsFlow) SetUpdatedAt

func (o *SettingsFlow) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type SettingsMethod

type SettingsMethod string

SettingsMethod the model 'SettingsMethod'

const (
	SETTINGSMETHOD_PASSWORD SettingsMethod = "password"
	SETTINGSMETHOD_PROFILE  SettingsMethod = "profile"
	SETTINGSMETHOD_TOTP     SettingsMethod = "totp"
)

List of settingsMethod

func NewSettingsMethodFromValue

func NewSettingsMethodFromValue(v string) (*SettingsMethod, error)

NewSettingsMethodFromValue returns a pointer to a valid SettingsMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SettingsMethod) IsValid

func (v SettingsMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SettingsMethod) Ptr

func (v SettingsMethod) Ptr() *SettingsMethod

Ptr returns reference to settingsMethod value

func (*SettingsMethod) UnmarshalJSON

func (v *SettingsMethod) UnmarshalJSON(src []byte) error

type SettingsState

type SettingsState string

SettingsState show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent.

const (
	SETTINGSSTATE_SHOW_FORM SettingsState = "show_form"
	SETTINGSSTATE_SENT      SettingsState = "sent"
	SETTINGSSTATE_SUCCESS   SettingsState = "success"
)

List of settingsState

func NewSettingsStateFromValue

func NewSettingsStateFromValue(v string) (*SettingsState, error)

NewSettingsStateFromValue returns a pointer to a valid SettingsState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SettingsState) IsValid

func (v SettingsState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SettingsState) Ptr

func (v SettingsState) Ptr() *SettingsState

Ptr returns reference to settingsState value

func (*SettingsState) UnmarshalJSON

func (v *SettingsState) UnmarshalJSON(src []byte) error

type SubmitConsentFlowBody

type SubmitConsentFlowBody struct {
	SubmitConsentFlowBodyWithDefault *SubmitConsentFlowBodyWithDefault
}

SubmitConsentFlowBody - struct for SubmitConsentFlowBody

func SubmitConsentFlowBodyWithDefaultAsSubmitConsentFlowBody

func SubmitConsentFlowBodyWithDefaultAsSubmitConsentFlowBody(v *SubmitConsentFlowBodyWithDefault) SubmitConsentFlowBody

SubmitConsentFlowBodyWithDefaultAsSubmitConsentFlowBody is a convenience function that returns SubmitConsentFlowBodyWithDefault wrapped in SubmitConsentFlowBody

func (*SubmitConsentFlowBody) GetActualInstance

func (obj *SubmitConsentFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitConsentFlowBody) MarshalJSON

func (src SubmitConsentFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitConsentFlowBody) UnmarshalJSON

func (dst *SubmitConsentFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitConsentFlowBodyWithDefault

type SubmitConsentFlowBodyWithDefault struct {
	// Action is allow or deny.
	Action string `json:"action"`
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method should be set to \"consent\".
	Method string `json:"method"`
	// Do Not Ask Me  If set to true, don't ask me again.
	NotAsk bool `json:"not_ask"`
	// scope is selected by the user.
	Scope []string `json:"scope"`
}

SubmitConsentFlowBodyWithDefault struct for SubmitConsentFlowBodyWithDefault

func NewSubmitConsentFlowBodyWithDefault

func NewSubmitConsentFlowBodyWithDefault(action string, method string, notAsk bool, scope []string) *SubmitConsentFlowBodyWithDefault

NewSubmitConsentFlowBodyWithDefault instantiates a new SubmitConsentFlowBodyWithDefault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitConsentFlowBodyWithDefaultWithDefaults

func NewSubmitConsentFlowBodyWithDefaultWithDefaults() *SubmitConsentFlowBodyWithDefault

NewSubmitConsentFlowBodyWithDefaultWithDefaults instantiates a new SubmitConsentFlowBodyWithDefault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitConsentFlowBodyWithDefault) GetAction

GetAction returns the Action field value

func (*SubmitConsentFlowBodyWithDefault) GetActionOk

func (o *SubmitConsentFlowBodyWithDefault) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*SubmitConsentFlowBodyWithDefault) GetCsrfToken

func (o *SubmitConsentFlowBodyWithDefault) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitConsentFlowBodyWithDefault) GetCsrfTokenOk

func (o *SubmitConsentFlowBodyWithDefault) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitConsentFlowBodyWithDefault) GetMethod

GetMethod returns the Method field value

func (*SubmitConsentFlowBodyWithDefault) GetMethodOk

func (o *SubmitConsentFlowBodyWithDefault) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitConsentFlowBodyWithDefault) GetNotAsk

func (o *SubmitConsentFlowBodyWithDefault) GetNotAsk() bool

GetNotAsk returns the NotAsk field value

func (*SubmitConsentFlowBodyWithDefault) GetNotAskOk

func (o *SubmitConsentFlowBodyWithDefault) GetNotAskOk() (*bool, bool)

GetNotAskOk returns a tuple with the NotAsk field value and a boolean to check if the value has been set.

func (*SubmitConsentFlowBodyWithDefault) GetScope

func (o *SubmitConsentFlowBodyWithDefault) GetScope() []string

GetScope returns the Scope field value

func (*SubmitConsentFlowBodyWithDefault) GetScopeOk

func (o *SubmitConsentFlowBodyWithDefault) GetScopeOk() ([]string, bool)

GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.

func (*SubmitConsentFlowBodyWithDefault) HasCsrfToken

func (o *SubmitConsentFlowBodyWithDefault) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitConsentFlowBodyWithDefault) MarshalJSON

func (o SubmitConsentFlowBodyWithDefault) MarshalJSON() ([]byte, error)

func (*SubmitConsentFlowBodyWithDefault) SetAction

func (o *SubmitConsentFlowBodyWithDefault) SetAction(v string)

SetAction sets field value

func (*SubmitConsentFlowBodyWithDefault) SetCsrfToken

func (o *SubmitConsentFlowBodyWithDefault) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitConsentFlowBodyWithDefault) SetMethod

func (o *SubmitConsentFlowBodyWithDefault) SetMethod(v string)

SetMethod sets field value

func (*SubmitConsentFlowBodyWithDefault) SetNotAsk

func (o *SubmitConsentFlowBodyWithDefault) SetNotAsk(v bool)

SetNotAsk sets field value

func (*SubmitConsentFlowBodyWithDefault) SetScope

func (o *SubmitConsentFlowBodyWithDefault) SetScope(v []string)

SetScope sets field value

type SubmitLoginFlowBody

type SubmitLoginFlowBody struct {
	SubmitLoginFlowBodyWithOidc     *SubmitLoginFlowBodyWithOidc
	SubmitLoginFlowBodyWithPassword *SubmitLoginFlowBodyWithPassword
	SubmitLoginFlowBodyWithTotp     *SubmitLoginFlowBodyWithTotp
}

SubmitLoginFlowBody - struct for SubmitLoginFlowBody

func SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody

func SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithOidc) SubmitLoginFlowBody

SubmitLoginFlowBodyWithOidcAsSubmitLoginFlowBody is a convenience function that returns SubmitLoginFlowBodyWithOidc wrapped in SubmitLoginFlowBody

func SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody

func SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithPassword) SubmitLoginFlowBody

SubmitLoginFlowBodyWithPasswordAsSubmitLoginFlowBody is a convenience function that returns SubmitLoginFlowBodyWithPassword wrapped in SubmitLoginFlowBody

func SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody

func SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody(v *SubmitLoginFlowBodyWithTotp) SubmitLoginFlowBody

SubmitLoginFlowBodyWithTotpAsSubmitLoginFlowBody is a convenience function that returns SubmitLoginFlowBodyWithTotp wrapped in SubmitLoginFlowBody

func (*SubmitLoginFlowBody) GetActualInstance

func (obj *SubmitLoginFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitLoginFlowBody) MarshalJSON

func (src SubmitLoginFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitLoginFlowBody) UnmarshalJSON

func (dst *SubmitLoginFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitLoginFlowBodyWithOidc

type SubmitLoginFlowBodyWithOidc struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `oidc` when using the oidc method.
	Method string `json:"method"`
	// The provider to register with
	Provider string `json:"provider"`
}

SubmitLoginFlowBodyWithOidc struct for SubmitLoginFlowBodyWithOidc

func NewSubmitLoginFlowBodyWithOidc

func NewSubmitLoginFlowBodyWithOidc(method string, provider string) *SubmitLoginFlowBodyWithOidc

NewSubmitLoginFlowBodyWithOidc instantiates a new SubmitLoginFlowBodyWithOidc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitLoginFlowBodyWithOidcWithDefaults

func NewSubmitLoginFlowBodyWithOidcWithDefaults() *SubmitLoginFlowBodyWithOidc

NewSubmitLoginFlowBodyWithOidcWithDefaults instantiates a new SubmitLoginFlowBodyWithOidc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitLoginFlowBodyWithOidc) GetCsrfToken

func (o *SubmitLoginFlowBodyWithOidc) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitLoginFlowBodyWithOidc) GetCsrfTokenOk

func (o *SubmitLoginFlowBodyWithOidc) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithOidc) GetMethod

func (o *SubmitLoginFlowBodyWithOidc) GetMethod() string

GetMethod returns the Method field value

func (*SubmitLoginFlowBodyWithOidc) GetMethodOk

func (o *SubmitLoginFlowBodyWithOidc) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithOidc) GetProvider

func (o *SubmitLoginFlowBodyWithOidc) GetProvider() string

GetProvider returns the Provider field value

func (*SubmitLoginFlowBodyWithOidc) GetProviderOk

func (o *SubmitLoginFlowBodyWithOidc) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithOidc) HasCsrfToken

func (o *SubmitLoginFlowBodyWithOidc) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitLoginFlowBodyWithOidc) MarshalJSON

func (o SubmitLoginFlowBodyWithOidc) MarshalJSON() ([]byte, error)

func (*SubmitLoginFlowBodyWithOidc) SetCsrfToken

func (o *SubmitLoginFlowBodyWithOidc) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitLoginFlowBodyWithOidc) SetMethod

func (o *SubmitLoginFlowBodyWithOidc) SetMethod(v string)

SetMethod sets field value

func (*SubmitLoginFlowBodyWithOidc) SetProvider

func (o *SubmitLoginFlowBodyWithOidc) SetProvider(v string)

SetProvider sets field value

type SubmitLoginFlowBodyWithPassword

type SubmitLoginFlowBodyWithPassword struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Identifier is the email or username of the user trying to log in.
	Identifier string `json:"identifier"`
	// Method should be set to \"password\" when logging in using the identifier and password strategy.
	Method string `json:"method"`
	// The user's password.
	Password string `json:"password"`
}

SubmitLoginFlowBodyWithPassword struct for SubmitLoginFlowBodyWithPassword

func NewSubmitLoginFlowBodyWithPassword

func NewSubmitLoginFlowBodyWithPassword(identifier string, method string, password string) *SubmitLoginFlowBodyWithPassword

NewSubmitLoginFlowBodyWithPassword instantiates a new SubmitLoginFlowBodyWithPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitLoginFlowBodyWithPasswordWithDefaults

func NewSubmitLoginFlowBodyWithPasswordWithDefaults() *SubmitLoginFlowBodyWithPassword

NewSubmitLoginFlowBodyWithPasswordWithDefaults instantiates a new SubmitLoginFlowBodyWithPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitLoginFlowBodyWithPassword) GetCsrfToken

func (o *SubmitLoginFlowBodyWithPassword) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitLoginFlowBodyWithPassword) GetCsrfTokenOk

func (o *SubmitLoginFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithPassword) GetIdentifier

func (o *SubmitLoginFlowBodyWithPassword) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*SubmitLoginFlowBodyWithPassword) GetIdentifierOk

func (o *SubmitLoginFlowBodyWithPassword) GetIdentifierOk() (*string, bool)

GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithPassword) GetMethod

func (o *SubmitLoginFlowBodyWithPassword) GetMethod() string

GetMethod returns the Method field value

func (*SubmitLoginFlowBodyWithPassword) GetMethodOk

func (o *SubmitLoginFlowBodyWithPassword) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithPassword) GetPassword

func (o *SubmitLoginFlowBodyWithPassword) GetPassword() string

GetPassword returns the Password field value

func (*SubmitLoginFlowBodyWithPassword) GetPasswordOk

func (o *SubmitLoginFlowBodyWithPassword) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithPassword) HasCsrfToken

func (o *SubmitLoginFlowBodyWithPassword) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitLoginFlowBodyWithPassword) MarshalJSON

func (o SubmitLoginFlowBodyWithPassword) MarshalJSON() ([]byte, error)

func (*SubmitLoginFlowBodyWithPassword) SetCsrfToken

func (o *SubmitLoginFlowBodyWithPassword) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitLoginFlowBodyWithPassword) SetIdentifier

func (o *SubmitLoginFlowBodyWithPassword) SetIdentifier(v string)

SetIdentifier sets field value

func (*SubmitLoginFlowBodyWithPassword) SetMethod

func (o *SubmitLoginFlowBodyWithPassword) SetMethod(v string)

SetMethod sets field value

func (*SubmitLoginFlowBodyWithPassword) SetPassword

func (o *SubmitLoginFlowBodyWithPassword) SetPassword(v string)

SetPassword sets field value

type SubmitLoginFlowBodyWithTotp

type SubmitLoginFlowBodyWithTotp struct {
	// The ChangeAuthCode  recovery_code | totp_code
	ChangeAuthCode *string `json:"change_auth_code,omitempty"`
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method should be set to \"totp\" when logging in using the TOTP strategy.
	Method string `json:"method"`
	// The Recovery code.
	RecoveryCode *string `json:"recovery_code,omitempty"`
	// The TOTP code.
	TotpCode *string `json:"totp_code,omitempty"`
}

SubmitLoginFlowBodyWithTotp struct for SubmitLoginFlowBodyWithTotp

func NewSubmitLoginFlowBodyWithTotp

func NewSubmitLoginFlowBodyWithTotp(method string) *SubmitLoginFlowBodyWithTotp

NewSubmitLoginFlowBodyWithTotp instantiates a new SubmitLoginFlowBodyWithTotp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitLoginFlowBodyWithTotpWithDefaults

func NewSubmitLoginFlowBodyWithTotpWithDefaults() *SubmitLoginFlowBodyWithTotp

NewSubmitLoginFlowBodyWithTotpWithDefaults instantiates a new SubmitLoginFlowBodyWithTotp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitLoginFlowBodyWithTotp) GetChangeAuthCode

func (o *SubmitLoginFlowBodyWithTotp) GetChangeAuthCode() string

GetChangeAuthCode returns the ChangeAuthCode field value if set, zero value otherwise.

func (*SubmitLoginFlowBodyWithTotp) GetChangeAuthCodeOk

func (o *SubmitLoginFlowBodyWithTotp) GetChangeAuthCodeOk() (*string, bool)

GetChangeAuthCodeOk returns a tuple with the ChangeAuthCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithTotp) GetCsrfToken

func (o *SubmitLoginFlowBodyWithTotp) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitLoginFlowBodyWithTotp) GetCsrfTokenOk

func (o *SubmitLoginFlowBodyWithTotp) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithTotp) GetMethod

func (o *SubmitLoginFlowBodyWithTotp) GetMethod() string

GetMethod returns the Method field value

func (*SubmitLoginFlowBodyWithTotp) GetMethodOk

func (o *SubmitLoginFlowBodyWithTotp) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithTotp) GetRecoveryCode

func (o *SubmitLoginFlowBodyWithTotp) GetRecoveryCode() string

GetRecoveryCode returns the RecoveryCode field value if set, zero value otherwise.

func (*SubmitLoginFlowBodyWithTotp) GetRecoveryCodeOk

func (o *SubmitLoginFlowBodyWithTotp) GetRecoveryCodeOk() (*string, bool)

GetRecoveryCodeOk returns a tuple with the RecoveryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithTotp) GetTotpCode

func (o *SubmitLoginFlowBodyWithTotp) GetTotpCode() string

GetTotpCode returns the TotpCode field value if set, zero value otherwise.

func (*SubmitLoginFlowBodyWithTotp) GetTotpCodeOk

func (o *SubmitLoginFlowBodyWithTotp) GetTotpCodeOk() (*string, bool)

GetTotpCodeOk returns a tuple with the TotpCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowBodyWithTotp) HasChangeAuthCode

func (o *SubmitLoginFlowBodyWithTotp) HasChangeAuthCode() bool

HasChangeAuthCode returns a boolean if a field has been set.

func (*SubmitLoginFlowBodyWithTotp) HasCsrfToken

func (o *SubmitLoginFlowBodyWithTotp) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitLoginFlowBodyWithTotp) HasRecoveryCode

func (o *SubmitLoginFlowBodyWithTotp) HasRecoveryCode() bool

HasRecoveryCode returns a boolean if a field has been set.

func (*SubmitLoginFlowBodyWithTotp) HasTotpCode

func (o *SubmitLoginFlowBodyWithTotp) HasTotpCode() bool

HasTotpCode returns a boolean if a field has been set.

func (SubmitLoginFlowBodyWithTotp) MarshalJSON

func (o SubmitLoginFlowBodyWithTotp) MarshalJSON() ([]byte, error)

func (*SubmitLoginFlowBodyWithTotp) SetChangeAuthCode

func (o *SubmitLoginFlowBodyWithTotp) SetChangeAuthCode(v string)

SetChangeAuthCode gets a reference to the given string and assigns it to the ChangeAuthCode field.

func (*SubmitLoginFlowBodyWithTotp) SetCsrfToken

func (o *SubmitLoginFlowBodyWithTotp) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitLoginFlowBodyWithTotp) SetMethod

func (o *SubmitLoginFlowBodyWithTotp) SetMethod(v string)

SetMethod sets field value

func (*SubmitLoginFlowBodyWithTotp) SetRecoveryCode

func (o *SubmitLoginFlowBodyWithTotp) SetRecoveryCode(v string)

SetRecoveryCode gets a reference to the given string and assigns it to the RecoveryCode field.

func (*SubmitLoginFlowBodyWithTotp) SetTotpCode

func (o *SubmitLoginFlowBodyWithTotp) SetTotpCode(v string)

SetTotpCode gets a reference to the given string and assigns it to the TotpCode field.

type SubmitLoginFlowResponse

type SubmitLoginFlowResponse struct {
	Session Session `json:"session"`
	// The Session Token  A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header:  Authorization: bearer ${session-token}  The session token is only issued for API flows, not for Browser flows!
	SessionToken *string `json:"session_token,omitempty"`
}

SubmitLoginFlowResponse The Response for Login Flows via API

func NewSubmitLoginFlowResponse

func NewSubmitLoginFlowResponse(session Session) *SubmitLoginFlowResponse

NewSubmitLoginFlowResponse instantiates a new SubmitLoginFlowResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitLoginFlowResponseWithDefaults

func NewSubmitLoginFlowResponseWithDefaults() *SubmitLoginFlowResponse

NewSubmitLoginFlowResponseWithDefaults instantiates a new SubmitLoginFlowResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitLoginFlowResponse) GetSession

func (o *SubmitLoginFlowResponse) GetSession() Session

GetSession returns the Session field value

func (*SubmitLoginFlowResponse) GetSessionOk

func (o *SubmitLoginFlowResponse) GetSessionOk() (*Session, bool)

GetSessionOk returns a tuple with the Session field value and a boolean to check if the value has been set.

func (*SubmitLoginFlowResponse) GetSessionToken

func (o *SubmitLoginFlowResponse) GetSessionToken() string

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*SubmitLoginFlowResponse) GetSessionTokenOk

func (o *SubmitLoginFlowResponse) GetSessionTokenOk() (*string, bool)

GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitLoginFlowResponse) HasSessionToken

func (o *SubmitLoginFlowResponse) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SubmitLoginFlowResponse) MarshalJSON

func (o SubmitLoginFlowResponse) MarshalJSON() ([]byte, error)

func (*SubmitLoginFlowResponse) SetSession

func (o *SubmitLoginFlowResponse) SetSession(v Session)

SetSession sets field value

func (*SubmitLoginFlowResponse) SetSessionToken

func (o *SubmitLoginFlowResponse) SetSessionToken(v string)

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

type SubmitRecoveryFlowBody

type SubmitRecoveryFlowBody struct {
	SubmitRecoveryFlowBodyWithCaptcha *SubmitRecoveryFlowBodyWithCaptcha
}

SubmitRecoveryFlowBody - struct for SubmitRecoveryFlowBody

func SubmitRecoveryFlowBodyWithCaptchaAsSubmitRecoveryFlowBody

func SubmitRecoveryFlowBodyWithCaptchaAsSubmitRecoveryFlowBody(v *SubmitRecoveryFlowBodyWithCaptcha) SubmitRecoveryFlowBody

SubmitRecoveryFlowBodyWithCaptchaAsSubmitRecoveryFlowBody is a convenience function that returns SubmitRecoveryFlowBodyWithCaptcha wrapped in SubmitRecoveryFlowBody

func (*SubmitRecoveryFlowBody) GetActualInstance

func (obj *SubmitRecoveryFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitRecoveryFlowBody) MarshalJSON

func (src SubmitRecoveryFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitRecoveryFlowBody) UnmarshalJSON

func (dst *SubmitRecoveryFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitRecoveryFlowBodyWithCaptcha

type SubmitRecoveryFlowBodyWithCaptcha struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method supports `captcha` only right now.
	Method string `json:"method"`
	// Recovery Token
	Token  *string        `json:"token,omitempty"`
	Traits RecoveryTraits `json:"traits"`
}

SubmitRecoveryFlowBodyWithCaptcha struct for SubmitRecoveryFlowBodyWithCaptcha

func NewSubmitRecoveryFlowBodyWithCaptcha

func NewSubmitRecoveryFlowBodyWithCaptcha(method string, traits RecoveryTraits) *SubmitRecoveryFlowBodyWithCaptcha

NewSubmitRecoveryFlowBodyWithCaptcha instantiates a new SubmitRecoveryFlowBodyWithCaptcha object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitRecoveryFlowBodyWithCaptchaWithDefaults

func NewSubmitRecoveryFlowBodyWithCaptchaWithDefaults() *SubmitRecoveryFlowBodyWithCaptcha

NewSubmitRecoveryFlowBodyWithCaptchaWithDefaults instantiates a new SubmitRecoveryFlowBodyWithCaptcha object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitRecoveryFlowBodyWithCaptcha) GetCsrfToken

func (o *SubmitRecoveryFlowBodyWithCaptcha) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitRecoveryFlowBodyWithCaptcha) GetCsrfTokenOk

func (o *SubmitRecoveryFlowBodyWithCaptcha) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitRecoveryFlowBodyWithCaptcha) GetMethod

GetMethod returns the Method field value

func (*SubmitRecoveryFlowBodyWithCaptcha) GetMethodOk

func (o *SubmitRecoveryFlowBodyWithCaptcha) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitRecoveryFlowBodyWithCaptcha) GetToken

GetToken returns the Token field value if set, zero value otherwise.

func (*SubmitRecoveryFlowBodyWithCaptcha) GetTokenOk

func (o *SubmitRecoveryFlowBodyWithCaptcha) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitRecoveryFlowBodyWithCaptcha) GetTraits

GetTraits returns the Traits field value

func (*SubmitRecoveryFlowBodyWithCaptcha) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*SubmitRecoveryFlowBodyWithCaptcha) HasCsrfToken

func (o *SubmitRecoveryFlowBodyWithCaptcha) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitRecoveryFlowBodyWithCaptcha) HasToken

HasToken returns a boolean if a field has been set.

func (SubmitRecoveryFlowBodyWithCaptcha) MarshalJSON

func (o SubmitRecoveryFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)

func (*SubmitRecoveryFlowBodyWithCaptcha) SetCsrfToken

func (o *SubmitRecoveryFlowBodyWithCaptcha) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitRecoveryFlowBodyWithCaptcha) SetMethod

func (o *SubmitRecoveryFlowBodyWithCaptcha) SetMethod(v string)

SetMethod sets field value

func (*SubmitRecoveryFlowBodyWithCaptcha) SetToken

SetToken gets a reference to the given string and assigns it to the Token field.

func (*SubmitRecoveryFlowBodyWithCaptcha) SetTraits

SetTraits sets field value

type SubmitRegistrationFlowBody

type SubmitRegistrationFlowBody struct {
	SubmitRegistrationFlowBodyWithOidc     *SubmitRegistrationFlowBodyWithOidc
	SubmitRegistrationFlowBodyWithPassword *SubmitRegistrationFlowBodyWithPassword
}

SubmitRegistrationFlowBody - struct for SubmitRegistrationFlowBody

func SubmitRegistrationFlowBodyWithOidcAsSubmitRegistrationFlowBody

func SubmitRegistrationFlowBodyWithOidcAsSubmitRegistrationFlowBody(v *SubmitRegistrationFlowBodyWithOidc) SubmitRegistrationFlowBody

SubmitRegistrationFlowBodyWithOidcAsSubmitRegistrationFlowBody is a convenience function that returns SubmitRegistrationFlowBodyWithOidc wrapped in SubmitRegistrationFlowBody

func SubmitRegistrationFlowBodyWithPasswordAsSubmitRegistrationFlowBody

func SubmitRegistrationFlowBodyWithPasswordAsSubmitRegistrationFlowBody(v *SubmitRegistrationFlowBodyWithPassword) SubmitRegistrationFlowBody

SubmitRegistrationFlowBodyWithPasswordAsSubmitRegistrationFlowBody is a convenience function that returns SubmitRegistrationFlowBodyWithPassword wrapped in SubmitRegistrationFlowBody

func (*SubmitRegistrationFlowBody) GetActualInstance

func (obj *SubmitRegistrationFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitRegistrationFlowBody) MarshalJSON

func (src SubmitRegistrationFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitRegistrationFlowBody) UnmarshalJSON

func (dst *SubmitRegistrationFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitRegistrationFlowBodyWithOidc

type SubmitRegistrationFlowBodyWithOidc struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `oidc` when using the oidc method.
	Method string `json:"method"`
	// The provider to register with
	Provider string             `json:"provider"`
	Traits   RegistrationTraits `json:"traits"`
}

SubmitRegistrationFlowBodyWithOidc SubmitRegistrationFlowBodyWithOidc is used to decode the registration form payload when using the oidc method.

func NewSubmitRegistrationFlowBodyWithOidc

func NewSubmitRegistrationFlowBodyWithOidc(method string, provider string, traits RegistrationTraits) *SubmitRegistrationFlowBodyWithOidc

NewSubmitRegistrationFlowBodyWithOidc instantiates a new SubmitRegistrationFlowBodyWithOidc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitRegistrationFlowBodyWithOidcWithDefaults

func NewSubmitRegistrationFlowBodyWithOidcWithDefaults() *SubmitRegistrationFlowBodyWithOidc

NewSubmitRegistrationFlowBodyWithOidcWithDefaults instantiates a new SubmitRegistrationFlowBodyWithOidc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitRegistrationFlowBodyWithOidc) GetCsrfToken

func (o *SubmitRegistrationFlowBodyWithOidc) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitRegistrationFlowBodyWithOidc) GetCsrfTokenOk

func (o *SubmitRegistrationFlowBodyWithOidc) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithOidc) GetMethod

GetMethod returns the Method field value

func (*SubmitRegistrationFlowBodyWithOidc) GetMethodOk

func (o *SubmitRegistrationFlowBodyWithOidc) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithOidc) GetProvider

func (o *SubmitRegistrationFlowBodyWithOidc) GetProvider() string

GetProvider returns the Provider field value

func (*SubmitRegistrationFlowBodyWithOidc) GetProviderOk

func (o *SubmitRegistrationFlowBodyWithOidc) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithOidc) GetTraits

GetTraits returns the Traits field value

func (*SubmitRegistrationFlowBodyWithOidc) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithOidc) HasCsrfToken

func (o *SubmitRegistrationFlowBodyWithOidc) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitRegistrationFlowBodyWithOidc) MarshalJSON

func (o SubmitRegistrationFlowBodyWithOidc) MarshalJSON() ([]byte, error)

func (*SubmitRegistrationFlowBodyWithOidc) SetCsrfToken

func (o *SubmitRegistrationFlowBodyWithOidc) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitRegistrationFlowBodyWithOidc) SetMethod

SetMethod sets field value

func (*SubmitRegistrationFlowBodyWithOidc) SetProvider

func (o *SubmitRegistrationFlowBodyWithOidc) SetProvider(v string)

SetProvider sets field value

func (*SubmitRegistrationFlowBodyWithOidc) SetTraits

SetTraits sets field value

type SubmitRegistrationFlowBodyWithPassword

type SubmitRegistrationFlowBodyWithPassword struct {
	// Password to sign the user up with
	ConfirmPassword string `json:"confirm_password"`
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `password` when using the password method.
	Method string `json:"method"`
	// Password to sign the user up with
	Password string             `json:"password"`
	Traits   RegistrationTraits `json:"traits"`
}

SubmitRegistrationFlowBodyWithPassword SubmitRegistrationFlowBodyWithPassword is used to decode the registration form payload when using the password method.

func NewSubmitRegistrationFlowBodyWithPassword

func NewSubmitRegistrationFlowBodyWithPassword(confirmPassword string, method string, password string, traits RegistrationTraits) *SubmitRegistrationFlowBodyWithPassword

NewSubmitRegistrationFlowBodyWithPassword instantiates a new SubmitRegistrationFlowBodyWithPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitRegistrationFlowBodyWithPasswordWithDefaults

func NewSubmitRegistrationFlowBodyWithPasswordWithDefaults() *SubmitRegistrationFlowBodyWithPassword

NewSubmitRegistrationFlowBodyWithPasswordWithDefaults instantiates a new SubmitRegistrationFlowBodyWithPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitRegistrationFlowBodyWithPassword) GetConfirmPassword

func (o *SubmitRegistrationFlowBodyWithPassword) GetConfirmPassword() string

GetConfirmPassword returns the ConfirmPassword field value

func (*SubmitRegistrationFlowBodyWithPassword) GetConfirmPasswordOk

func (o *SubmitRegistrationFlowBodyWithPassword) GetConfirmPasswordOk() (*string, bool)

GetConfirmPasswordOk returns a tuple with the ConfirmPassword field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithPassword) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitRegistrationFlowBodyWithPassword) GetCsrfTokenOk

func (o *SubmitRegistrationFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithPassword) GetMethod

GetMethod returns the Method field value

func (*SubmitRegistrationFlowBodyWithPassword) GetMethodOk

func (o *SubmitRegistrationFlowBodyWithPassword) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithPassword) GetPassword

GetPassword returns the Password field value

func (*SubmitRegistrationFlowBodyWithPassword) GetPasswordOk

func (o *SubmitRegistrationFlowBodyWithPassword) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithPassword) GetTraits

GetTraits returns the Traits field value

func (*SubmitRegistrationFlowBodyWithPassword) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowBodyWithPassword) HasCsrfToken

func (o *SubmitRegistrationFlowBodyWithPassword) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitRegistrationFlowBodyWithPassword) MarshalJSON

func (o SubmitRegistrationFlowBodyWithPassword) MarshalJSON() ([]byte, error)

func (*SubmitRegistrationFlowBodyWithPassword) SetConfirmPassword

func (o *SubmitRegistrationFlowBodyWithPassword) SetConfirmPassword(v string)

SetConfirmPassword sets field value

func (*SubmitRegistrationFlowBodyWithPassword) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitRegistrationFlowBodyWithPassword) SetMethod

SetMethod sets field value

func (*SubmitRegistrationFlowBodyWithPassword) SetPassword

SetPassword sets field value

func (*SubmitRegistrationFlowBodyWithPassword) SetTraits

SetTraits sets field value

type SubmitRegistrationFlowResponse

type SubmitRegistrationFlowResponse struct {
	Identity Identity `json:"identity"`
	Session  *Session `json:"session,omitempty"`
	// The Session Token  This field is only set when the session hook is configured as a post-registration hook.  A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header:  Authorization: bearer ${session-token}  The session token is only issued for API flows, not for Browser flows!
	SessionToken *string `json:"session_token,omitempty"`
}

SubmitRegistrationFlowResponse The Response for Registration Flows via API

func NewSubmitRegistrationFlowResponse

func NewSubmitRegistrationFlowResponse(identity Identity) *SubmitRegistrationFlowResponse

NewSubmitRegistrationFlowResponse instantiates a new SubmitRegistrationFlowResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitRegistrationFlowResponseWithDefaults

func NewSubmitRegistrationFlowResponseWithDefaults() *SubmitRegistrationFlowResponse

NewSubmitRegistrationFlowResponseWithDefaults instantiates a new SubmitRegistrationFlowResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitRegistrationFlowResponse) GetIdentity

func (o *SubmitRegistrationFlowResponse) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SubmitRegistrationFlowResponse) GetIdentityOk

func (o *SubmitRegistrationFlowResponse) GetIdentityOk() (*Identity, bool)

GetIdentityOk returns a tuple with the Identity field value and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowResponse) GetSession

func (o *SubmitRegistrationFlowResponse) GetSession() Session

GetSession returns the Session field value if set, zero value otherwise.

func (*SubmitRegistrationFlowResponse) GetSessionOk

func (o *SubmitRegistrationFlowResponse) GetSessionOk() (*Session, bool)

GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowResponse) GetSessionToken

func (o *SubmitRegistrationFlowResponse) GetSessionToken() string

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*SubmitRegistrationFlowResponse) GetSessionTokenOk

func (o *SubmitRegistrationFlowResponse) GetSessionTokenOk() (*string, bool)

GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitRegistrationFlowResponse) HasSession

func (o *SubmitRegistrationFlowResponse) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*SubmitRegistrationFlowResponse) HasSessionToken

func (o *SubmitRegistrationFlowResponse) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SubmitRegistrationFlowResponse) MarshalJSON

func (o SubmitRegistrationFlowResponse) MarshalJSON() ([]byte, error)

func (*SubmitRegistrationFlowResponse) SetIdentity

func (o *SubmitRegistrationFlowResponse) SetIdentity(v Identity)

SetIdentity sets field value

func (*SubmitRegistrationFlowResponse) SetSession

func (o *SubmitRegistrationFlowResponse) SetSession(v Session)

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*SubmitRegistrationFlowResponse) SetSessionToken

func (o *SubmitRegistrationFlowResponse) SetSessionToken(v string)

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

type SubmitSettingsFlowBody

type SubmitSettingsFlowBody struct {
	SubmitSettingsFlowBodyWithPassword *SubmitSettingsFlowBodyWithPassword
	SubmitSettingsFlowBodyWithProfile  *SubmitSettingsFlowBodyWithProfile
	SubmitSettingsFlowBodyWithTotp     *SubmitSettingsFlowBodyWithTotp
}

SubmitSettingsFlowBody - struct for SubmitSettingsFlowBody

func SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody

func SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithPassword) SubmitSettingsFlowBody

SubmitSettingsFlowBodyWithPasswordAsSubmitSettingsFlowBody is a convenience function that returns SubmitSettingsFlowBodyWithPassword wrapped in SubmitSettingsFlowBody

func SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody

func SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithProfile) SubmitSettingsFlowBody

SubmitSettingsFlowBodyWithProfileAsSubmitSettingsFlowBody is a convenience function that returns SubmitSettingsFlowBodyWithProfile wrapped in SubmitSettingsFlowBody

func SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody

func SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody(v *SubmitSettingsFlowBodyWithTotp) SubmitSettingsFlowBody

SubmitSettingsFlowBodyWithTotpAsSubmitSettingsFlowBody is a convenience function that returns SubmitSettingsFlowBodyWithTotp wrapped in SubmitSettingsFlowBody

func (*SubmitSettingsFlowBody) GetActualInstance

func (obj *SubmitSettingsFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitSettingsFlowBody) MarshalJSON

func (src SubmitSettingsFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSettingsFlowBody) UnmarshalJSON

func (dst *SubmitSettingsFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSettingsFlowBodyWithPassword

type SubmitSettingsFlowBodyWithPassword struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to password when trying to update a password.
	Method string `json:"method"`
	// Password is the updated password
	Password string `json:"password"`
}

SubmitSettingsFlowBodyWithPassword struct for SubmitSettingsFlowBodyWithPassword

func NewSubmitSettingsFlowBodyWithPassword

func NewSubmitSettingsFlowBodyWithPassword(method string, password string) *SubmitSettingsFlowBodyWithPassword

NewSubmitSettingsFlowBodyWithPassword instantiates a new SubmitSettingsFlowBodyWithPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitSettingsFlowBodyWithPasswordWithDefaults

func NewSubmitSettingsFlowBodyWithPasswordWithDefaults() *SubmitSettingsFlowBodyWithPassword

NewSubmitSettingsFlowBodyWithPasswordWithDefaults instantiates a new SubmitSettingsFlowBodyWithPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitSettingsFlowBodyWithPassword) GetCsrfToken

func (o *SubmitSettingsFlowBodyWithPassword) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSettingsFlowBodyWithPassword) GetCsrfTokenOk

func (o *SubmitSettingsFlowBodyWithPassword) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithPassword) GetMethod

GetMethod returns the Method field value

func (*SubmitSettingsFlowBodyWithPassword) GetMethodOk

func (o *SubmitSettingsFlowBodyWithPassword) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithPassword) GetPassword

func (o *SubmitSettingsFlowBodyWithPassword) GetPassword() string

GetPassword returns the Password field value

func (*SubmitSettingsFlowBodyWithPassword) GetPasswordOk

func (o *SubmitSettingsFlowBodyWithPassword) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithPassword) HasCsrfToken

func (o *SubmitSettingsFlowBodyWithPassword) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSettingsFlowBodyWithPassword) MarshalJSON

func (o SubmitSettingsFlowBodyWithPassword) MarshalJSON() ([]byte, error)

func (*SubmitSettingsFlowBodyWithPassword) SetCsrfToken

func (o *SubmitSettingsFlowBodyWithPassword) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSettingsFlowBodyWithPassword) SetMethod

SetMethod sets field value

func (*SubmitSettingsFlowBodyWithPassword) SetPassword

func (o *SubmitSettingsFlowBodyWithPassword) SetPassword(v string)

SetPassword sets field value

type SubmitSettingsFlowBodyWithProfile

type SubmitSettingsFlowBodyWithProfile struct {
	// The Anti-CSRF Token  This token is only required when performing browser flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to profile when trying to update a profile.
	Method string `json:"method"`
	// Token must contain a valid token based on the
	Token  string         `json:"token"`
	Traits IdentityTraits `json:"traits"`
}

SubmitSettingsFlowBodyWithProfile struct for SubmitSettingsFlowBodyWithProfile

func NewSubmitSettingsFlowBodyWithProfile

func NewSubmitSettingsFlowBodyWithProfile(method string, token string, traits IdentityTraits) *SubmitSettingsFlowBodyWithProfile

NewSubmitSettingsFlowBodyWithProfile instantiates a new SubmitSettingsFlowBodyWithProfile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitSettingsFlowBodyWithProfileWithDefaults

func NewSubmitSettingsFlowBodyWithProfileWithDefaults() *SubmitSettingsFlowBodyWithProfile

NewSubmitSettingsFlowBodyWithProfileWithDefaults instantiates a new SubmitSettingsFlowBodyWithProfile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitSettingsFlowBodyWithProfile) GetCsrfToken

func (o *SubmitSettingsFlowBodyWithProfile) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSettingsFlowBodyWithProfile) GetCsrfTokenOk

func (o *SubmitSettingsFlowBodyWithProfile) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithProfile) GetMethod

GetMethod returns the Method field value

func (*SubmitSettingsFlowBodyWithProfile) GetMethodOk

func (o *SubmitSettingsFlowBodyWithProfile) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithProfile) GetToken

GetToken returns the Token field value

func (*SubmitSettingsFlowBodyWithProfile) GetTokenOk

func (o *SubmitSettingsFlowBodyWithProfile) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithProfile) GetTraits

GetTraits returns the Traits field value

func (*SubmitSettingsFlowBodyWithProfile) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithProfile) HasCsrfToken

func (o *SubmitSettingsFlowBodyWithProfile) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSettingsFlowBodyWithProfile) MarshalJSON

func (o SubmitSettingsFlowBodyWithProfile) MarshalJSON() ([]byte, error)

func (*SubmitSettingsFlowBodyWithProfile) SetCsrfToken

func (o *SubmitSettingsFlowBodyWithProfile) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSettingsFlowBodyWithProfile) SetMethod

func (o *SubmitSettingsFlowBodyWithProfile) SetMethod(v string)

SetMethod sets field value

func (*SubmitSettingsFlowBodyWithProfile) SetToken

SetToken sets field value

func (*SubmitSettingsFlowBodyWithProfile) SetTraits

SetTraits sets field value

type SubmitSettingsFlowBodyWithTotp

type SubmitSettingsFlowBodyWithTotp struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to \"totp\" when trying to add, update, or remove a totp pairing.
	Method string `json:"method"`
	// RecoveryCodesRegenerate if true will generate new recovery codes
	RecoveryCodesRegenerate *bool `json:"recovery_codes_regenerate,omitempty"`
	// Code must contain a valid TOTP based on the
	TotpCode *string `json:"totp_code,omitempty"`
	// UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device.
	TotpUnlink *bool `json:"totp_unlink,omitempty"`
}

SubmitSettingsFlowBodyWithTotp struct for SubmitSettingsFlowBodyWithTotp

func NewSubmitSettingsFlowBodyWithTotp

func NewSubmitSettingsFlowBodyWithTotp(method string) *SubmitSettingsFlowBodyWithTotp

NewSubmitSettingsFlowBodyWithTotp instantiates a new SubmitSettingsFlowBodyWithTotp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitSettingsFlowBodyWithTotpWithDefaults

func NewSubmitSettingsFlowBodyWithTotpWithDefaults() *SubmitSettingsFlowBodyWithTotp

NewSubmitSettingsFlowBodyWithTotpWithDefaults instantiates a new SubmitSettingsFlowBodyWithTotp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitSettingsFlowBodyWithTotp) GetCsrfToken

func (o *SubmitSettingsFlowBodyWithTotp) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSettingsFlowBodyWithTotp) GetCsrfTokenOk

func (o *SubmitSettingsFlowBodyWithTotp) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithTotp) GetMethod

func (o *SubmitSettingsFlowBodyWithTotp) GetMethod() string

GetMethod returns the Method field value

func (*SubmitSettingsFlowBodyWithTotp) GetMethodOk

func (o *SubmitSettingsFlowBodyWithTotp) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerate

func (o *SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerate() bool

GetRecoveryCodesRegenerate returns the RecoveryCodesRegenerate field value if set, zero value otherwise.

func (*SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerateOk

func (o *SubmitSettingsFlowBodyWithTotp) GetRecoveryCodesRegenerateOk() (*bool, bool)

GetRecoveryCodesRegenerateOk returns a tuple with the RecoveryCodesRegenerate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithTotp) GetTotpCode

func (o *SubmitSettingsFlowBodyWithTotp) GetTotpCode() string

GetTotpCode returns the TotpCode field value if set, zero value otherwise.

func (*SubmitSettingsFlowBodyWithTotp) GetTotpCodeOk

func (o *SubmitSettingsFlowBodyWithTotp) GetTotpCodeOk() (*string, bool)

GetTotpCodeOk returns a tuple with the TotpCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SubmitSettingsFlowBodyWithTotp) GetTotpUnlink() bool

GetTotpUnlink returns the TotpUnlink field value if set, zero value otherwise.

func (*SubmitSettingsFlowBodyWithTotp) GetTotpUnlinkOk

func (o *SubmitSettingsFlowBodyWithTotp) GetTotpUnlinkOk() (*bool, bool)

GetTotpUnlinkOk returns a tuple with the TotpUnlink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitSettingsFlowBodyWithTotp) HasCsrfToken

func (o *SubmitSettingsFlowBodyWithTotp) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSettingsFlowBodyWithTotp) HasRecoveryCodesRegenerate

func (o *SubmitSettingsFlowBodyWithTotp) HasRecoveryCodesRegenerate() bool

HasRecoveryCodesRegenerate returns a boolean if a field has been set.

func (*SubmitSettingsFlowBodyWithTotp) HasTotpCode

func (o *SubmitSettingsFlowBodyWithTotp) HasTotpCode() bool

HasTotpCode returns a boolean if a field has been set.

func (o *SubmitSettingsFlowBodyWithTotp) HasTotpUnlink() bool

HasTotpUnlink returns a boolean if a field has been set.

func (SubmitSettingsFlowBodyWithTotp) MarshalJSON

func (o SubmitSettingsFlowBodyWithTotp) MarshalJSON() ([]byte, error)

func (*SubmitSettingsFlowBodyWithTotp) SetCsrfToken

func (o *SubmitSettingsFlowBodyWithTotp) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSettingsFlowBodyWithTotp) SetMethod

func (o *SubmitSettingsFlowBodyWithTotp) SetMethod(v string)

SetMethod sets field value

func (*SubmitSettingsFlowBodyWithTotp) SetRecoveryCodesRegenerate

func (o *SubmitSettingsFlowBodyWithTotp) SetRecoveryCodesRegenerate(v bool)

SetRecoveryCodesRegenerate gets a reference to the given bool and assigns it to the RecoveryCodesRegenerate field.

func (*SubmitSettingsFlowBodyWithTotp) SetTotpCode

func (o *SubmitSettingsFlowBodyWithTotp) SetTotpCode(v string)

SetTotpCode gets a reference to the given string and assigns it to the TotpCode field.

func (o *SubmitSettingsFlowBodyWithTotp) SetTotpUnlink(v bool)

SetTotpUnlink gets a reference to the given bool and assigns it to the TotpUnlink field.

type SubmitVerificationFlowBody

type SubmitVerificationFlowBody struct {
	SubmitVerificationFlowBodyWithCaptcha *SubmitVerificationFlowBodyWithCaptcha
}

SubmitVerificationFlowBody - struct for SubmitVerificationFlowBody

func SubmitVerificationFlowBodyWithCaptchaAsSubmitVerificationFlowBody

func SubmitVerificationFlowBodyWithCaptchaAsSubmitVerificationFlowBody(v *SubmitVerificationFlowBodyWithCaptcha) SubmitVerificationFlowBody

SubmitVerificationFlowBodyWithCaptchaAsSubmitVerificationFlowBody is a convenience function that returns SubmitVerificationFlowBodyWithCaptcha wrapped in SubmitVerificationFlowBody

func (*SubmitVerificationFlowBody) GetActualInstance

func (obj *SubmitVerificationFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitVerificationFlowBody) MarshalJSON

func (src SubmitVerificationFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitVerificationFlowBody) UnmarshalJSON

func (dst *SubmitVerificationFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitVerificationFlowBodyWithCaptcha

type SubmitVerificationFlowBodyWithCaptcha struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method supports `captcha` only right now.
	Method string `json:"method"`
	// Verification Token
	Token  *string            `json:"token,omitempty"`
	Traits VerificationTraits `json:"traits"`
}

SubmitVerificationFlowBodyWithCaptcha struct for SubmitVerificationFlowBodyWithCaptcha

func NewSubmitVerificationFlowBodyWithCaptcha

func NewSubmitVerificationFlowBodyWithCaptcha(method string, traits VerificationTraits) *SubmitVerificationFlowBodyWithCaptcha

NewSubmitVerificationFlowBodyWithCaptcha instantiates a new SubmitVerificationFlowBodyWithCaptcha object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubmitVerificationFlowBodyWithCaptchaWithDefaults

func NewSubmitVerificationFlowBodyWithCaptchaWithDefaults() *SubmitVerificationFlowBodyWithCaptcha

NewSubmitVerificationFlowBodyWithCaptchaWithDefaults instantiates a new SubmitVerificationFlowBodyWithCaptcha object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubmitVerificationFlowBodyWithCaptcha) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitVerificationFlowBodyWithCaptcha) GetCsrfTokenOk

func (o *SubmitVerificationFlowBodyWithCaptcha) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitVerificationFlowBodyWithCaptcha) GetMethod

GetMethod returns the Method field value

func (*SubmitVerificationFlowBodyWithCaptcha) GetMethodOk

func (o *SubmitVerificationFlowBodyWithCaptcha) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*SubmitVerificationFlowBodyWithCaptcha) GetToken

GetToken returns the Token field value if set, zero value otherwise.

func (*SubmitVerificationFlowBodyWithCaptcha) GetTokenOk

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubmitVerificationFlowBodyWithCaptcha) GetTraits

GetTraits returns the Traits field value

func (*SubmitVerificationFlowBodyWithCaptcha) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*SubmitVerificationFlowBodyWithCaptcha) HasCsrfToken

func (o *SubmitVerificationFlowBodyWithCaptcha) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitVerificationFlowBodyWithCaptcha) HasToken

HasToken returns a boolean if a field has been set.

func (SubmitVerificationFlowBodyWithCaptcha) MarshalJSON

func (o SubmitVerificationFlowBodyWithCaptcha) MarshalJSON() ([]byte, error)

func (*SubmitVerificationFlowBodyWithCaptcha) SetCsrfToken

func (o *SubmitVerificationFlowBodyWithCaptcha) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitVerificationFlowBodyWithCaptcha) SetMethod

SetMethod sets field value

func (*SubmitVerificationFlowBodyWithCaptcha) SetToken

SetToken gets a reference to the given string and assigns it to the Token field.

func (*SubmitVerificationFlowBodyWithCaptcha) SetTraits

SetTraits sets field value

type UiContainer

type UiContainer struct {
	// Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`.
	Action   string   `json:"action"`
	Messages []UiText `json:"messages,omitempty"`
	// Method is the form method (e.g. POST)
	Method string   `json:"method"`
	Nodes  []UiNode `json:"nodes"`
}

UiContainer Container represents a HTML Form. The container can work with both HTTP Form and JSON requests

func NewUiContainer

func NewUiContainer(action string, method string, nodes []UiNode) *UiContainer

NewUiContainer instantiates a new UiContainer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiContainerWithDefaults

func NewUiContainerWithDefaults() *UiContainer

NewUiContainerWithDefaults instantiates a new UiContainer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiContainer) GetAction

func (o *UiContainer) GetAction() string

GetAction returns the Action field value

func (*UiContainer) GetActionOk

func (o *UiContainer) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*UiContainer) GetMessages

func (o *UiContainer) GetMessages() []UiText

GetMessages returns the Messages field value if set, zero value otherwise.

func (*UiContainer) GetMessagesOk

func (o *UiContainer) GetMessagesOk() ([]UiText, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiContainer) GetMethod

func (o *UiContainer) GetMethod() string

GetMethod returns the Method field value

func (*UiContainer) GetMethodOk

func (o *UiContainer) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UiContainer) GetNodes

func (o *UiContainer) GetNodes() []UiNode

GetNodes returns the Nodes field value

func (*UiContainer) GetNodesOk

func (o *UiContainer) GetNodesOk() ([]UiNode, bool)

GetNodesOk returns a tuple with the Nodes field value and a boolean to check if the value has been set.

func (*UiContainer) HasMessages

func (o *UiContainer) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (UiContainer) MarshalJSON

func (o UiContainer) MarshalJSON() ([]byte, error)

func (*UiContainer) SetAction

func (o *UiContainer) SetAction(v string)

SetAction sets field value

func (*UiContainer) SetMessages

func (o *UiContainer) SetMessages(v []UiText)

SetMessages gets a reference to the given []UiText and assigns it to the Messages field.

func (*UiContainer) SetMethod

func (o *UiContainer) SetMethod(v string)

SetMethod sets field value

func (*UiContainer) SetNodes

func (o *UiContainer) SetNodes(v []UiNode)

SetNodes sets field value

type UiNode

type UiNode struct {
	Attributes UiNodeAttributes `json:"attributes"`
	// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup captcha CaptchaGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup consent ConsentGroup
	Group    string     `json:"group"`
	Messages []UiText   `json:"messages"`
	Meta     UiNodeMeta `json:"meta"`
	// The node's type text Text input Input img Image a Anchor script Script
	Type string `json:"type"`
}

UiNode Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an `<img>` tag, or an `<input element>` but also `some plain text`.

func NewUiNode

func NewUiNode(attributes UiNodeAttributes, group string, messages []UiText, meta UiNodeMeta, type_ string) *UiNode

NewUiNode instantiates a new UiNode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeWithDefaults

func NewUiNodeWithDefaults() *UiNode

NewUiNodeWithDefaults instantiates a new UiNode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNode) GetAttributes

func (o *UiNode) GetAttributes() UiNodeAttributes

GetAttributes returns the Attributes field value

func (*UiNode) GetAttributesOk

func (o *UiNode) GetAttributesOk() (*UiNodeAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*UiNode) GetGroup

func (o *UiNode) GetGroup() string

GetGroup returns the Group field value

func (*UiNode) GetGroupOk

func (o *UiNode) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.

func (*UiNode) GetMessages

func (o *UiNode) GetMessages() []UiText

GetMessages returns the Messages field value

func (*UiNode) GetMessagesOk

func (o *UiNode) GetMessagesOk() ([]UiText, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*UiNode) GetMeta

func (o *UiNode) GetMeta() UiNodeMeta

GetMeta returns the Meta field value

func (*UiNode) GetMetaOk

func (o *UiNode) GetMetaOk() (*UiNodeMeta, bool)

GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.

func (*UiNode) GetType

func (o *UiNode) GetType() string

GetType returns the Type field value

func (*UiNode) GetTypeOk

func (o *UiNode) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (UiNode) MarshalJSON

func (o UiNode) MarshalJSON() ([]byte, error)

func (*UiNode) SetAttributes

func (o *UiNode) SetAttributes(v UiNodeAttributes)

SetAttributes sets field value

func (*UiNode) SetGroup

func (o *UiNode) SetGroup(v string)

SetGroup sets field value

func (*UiNode) SetMessages

func (o *UiNode) SetMessages(v []UiText)

SetMessages sets field value

func (*UiNode) SetMeta

func (o *UiNode) SetMeta(v UiNodeMeta)

SetMeta sets field value

func (*UiNode) SetType

func (o *UiNode) SetType(v string)

SetType sets field value

type UiNodeAnchorAttributes

type UiNodeAnchorAttributes struct {
	// The link's href (destination) URL.  format: uri
	Href string `json:"href"`
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"a\".
	NodeType string `json:"node_type"`
	Title    UiText `json:"title"`
}

UiNodeAnchorAttributes struct for UiNodeAnchorAttributes

func NewUiNodeAnchorAttributes

func NewUiNodeAnchorAttributes(href string, id string, nodeType string, title UiText) *UiNodeAnchorAttributes

NewUiNodeAnchorAttributes instantiates a new UiNodeAnchorAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeAnchorAttributesWithDefaults

func NewUiNodeAnchorAttributesWithDefaults() *UiNodeAnchorAttributes

NewUiNodeAnchorAttributesWithDefaults instantiates a new UiNodeAnchorAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNodeAnchorAttributes) GetHref

func (o *UiNodeAnchorAttributes) GetHref() string

GetHref returns the Href field value

func (*UiNodeAnchorAttributes) GetHrefOk

func (o *UiNodeAnchorAttributes) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*UiNodeAnchorAttributes) GetId

func (o *UiNodeAnchorAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeAnchorAttributes) GetIdOk

func (o *UiNodeAnchorAttributes) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UiNodeAnchorAttributes) GetNodeType

func (o *UiNodeAnchorAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeAnchorAttributes) GetNodeTypeOk

func (o *UiNodeAnchorAttributes) GetNodeTypeOk() (*string, bool)

GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.

func (*UiNodeAnchorAttributes) GetTitle

func (o *UiNodeAnchorAttributes) GetTitle() UiText

GetTitle returns the Title field value

func (*UiNodeAnchorAttributes) GetTitleOk

func (o *UiNodeAnchorAttributes) GetTitleOk() (*UiText, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (UiNodeAnchorAttributes) MarshalJSON

func (o UiNodeAnchorAttributes) MarshalJSON() ([]byte, error)

func (*UiNodeAnchorAttributes) SetHref

func (o *UiNodeAnchorAttributes) SetHref(v string)

SetHref sets field value

func (*UiNodeAnchorAttributes) SetId

func (o *UiNodeAnchorAttributes) SetId(v string)

SetId sets field value

func (*UiNodeAnchorAttributes) SetNodeType

func (o *UiNodeAnchorAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeAnchorAttributes) SetTitle

func (o *UiNodeAnchorAttributes) SetTitle(v UiText)

SetTitle sets field value

type UiNodeAttributes

type UiNodeAttributes struct {
	UiNodeAnchorAttributes *UiNodeAnchorAttributes
	UiNodeImageAttributes  *UiNodeImageAttributes
	UiNodeInputAttributes  *UiNodeInputAttributes
	UiNodeScriptAttributes *UiNodeScriptAttributes
	UiNodeTextAttributes   *UiNodeTextAttributes
}

UiNodeAttributes - struct for UiNodeAttributes

func UiNodeAnchorAttributesAsUiNodeAttributes

func UiNodeAnchorAttributesAsUiNodeAttributes(v *UiNodeAnchorAttributes) UiNodeAttributes

UiNodeAnchorAttributesAsUiNodeAttributes is a convenience function that returns UiNodeAnchorAttributes wrapped in UiNodeAttributes

func UiNodeImageAttributesAsUiNodeAttributes

func UiNodeImageAttributesAsUiNodeAttributes(v *UiNodeImageAttributes) UiNodeAttributes

UiNodeImageAttributesAsUiNodeAttributes is a convenience function that returns UiNodeImageAttributes wrapped in UiNodeAttributes

func UiNodeInputAttributesAsUiNodeAttributes

func UiNodeInputAttributesAsUiNodeAttributes(v *UiNodeInputAttributes) UiNodeAttributes

UiNodeInputAttributesAsUiNodeAttributes is a convenience function that returns UiNodeInputAttributes wrapped in UiNodeAttributes

func UiNodeScriptAttributesAsUiNodeAttributes

func UiNodeScriptAttributesAsUiNodeAttributes(v *UiNodeScriptAttributes) UiNodeAttributes

UiNodeScriptAttributesAsUiNodeAttributes is a convenience function that returns UiNodeScriptAttributes wrapped in UiNodeAttributes

func UiNodeTextAttributesAsUiNodeAttributes

func UiNodeTextAttributesAsUiNodeAttributes(v *UiNodeTextAttributes) UiNodeAttributes

UiNodeTextAttributesAsUiNodeAttributes is a convenience function that returns UiNodeTextAttributes wrapped in UiNodeAttributes

func (*UiNodeAttributes) GetActualInstance

func (obj *UiNodeAttributes) GetActualInstance() interface{}

Get the actual instance

func (UiNodeAttributes) MarshalJSON

func (src UiNodeAttributes) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UiNodeAttributes) UnmarshalJSON

func (dst *UiNodeAttributes) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UiNodeImageAttributes

type UiNodeImageAttributes struct {
	// Height of the image
	Height int64 `json:"height"`
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"img\".
	NodeType string `json:"node_type"`
	// The image's source URL.  format: uri
	Src string `json:"src"`
	// Width of the image
	Width int64 `json:"width"`
}

UiNodeImageAttributes struct for UiNodeImageAttributes

func NewUiNodeImageAttributes

func NewUiNodeImageAttributes(height int64, id string, nodeType string, src string, width int64) *UiNodeImageAttributes

NewUiNodeImageAttributes instantiates a new UiNodeImageAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeImageAttributesWithDefaults

func NewUiNodeImageAttributesWithDefaults() *UiNodeImageAttributes

NewUiNodeImageAttributesWithDefaults instantiates a new UiNodeImageAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNodeImageAttributes) GetHeight

func (o *UiNodeImageAttributes) GetHeight() int64

GetHeight returns the Height field value

func (*UiNodeImageAttributes) GetHeightOk

func (o *UiNodeImageAttributes) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*UiNodeImageAttributes) GetId

func (o *UiNodeImageAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeImageAttributes) GetIdOk

func (o *UiNodeImageAttributes) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UiNodeImageAttributes) GetNodeType

func (o *UiNodeImageAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeImageAttributes) GetNodeTypeOk

func (o *UiNodeImageAttributes) GetNodeTypeOk() (*string, bool)

GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.

func (*UiNodeImageAttributes) GetSrc

func (o *UiNodeImageAttributes) GetSrc() string

GetSrc returns the Src field value

func (*UiNodeImageAttributes) GetSrcOk

func (o *UiNodeImageAttributes) GetSrcOk() (*string, bool)

GetSrcOk returns a tuple with the Src field value and a boolean to check if the value has been set.

func (*UiNodeImageAttributes) GetWidth

func (o *UiNodeImageAttributes) GetWidth() int64

GetWidth returns the Width field value

func (*UiNodeImageAttributes) GetWidthOk

func (o *UiNodeImageAttributes) GetWidthOk() (*int64, bool)

GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.

func (UiNodeImageAttributes) MarshalJSON

func (o UiNodeImageAttributes) MarshalJSON() ([]byte, error)

func (*UiNodeImageAttributes) SetHeight

func (o *UiNodeImageAttributes) SetHeight(v int64)

SetHeight sets field value

func (*UiNodeImageAttributes) SetId

func (o *UiNodeImageAttributes) SetId(v string)

SetId sets field value

func (*UiNodeImageAttributes) SetNodeType

func (o *UiNodeImageAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeImageAttributes) SetSrc

func (o *UiNodeImageAttributes) SetSrc(v string)

SetSrc sets field value

func (*UiNodeImageAttributes) SetWidth

func (o *UiNodeImageAttributes) SetWidth(v int64)

SetWidth sets field value

type UiNodeInputAttributes

type UiNodeInputAttributes struct {
	// The input's checked.
	Checked *bool `json:"checked,omitempty"`
	// Sets the input's disabled field to true or false.
	Disabled bool `json:"disabled"`
	// The input's element id
	Id    string  `json:"id"`
	Label *UiText `json:"label,omitempty"`
	// The input's element name.
	Name string `json:"name"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"input\".
	NodeType string `json:"node_type"`
	// OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn.
	Onclick *string `json:"onclick,omitempty"`
	// The input's pattern.
	Pattern *string `json:"pattern,omitempty"`
	// Mark this input field as required.
	Required bool   `json:"required"`
	Type     string `json:"type"`
	// The input's value.
	Value interface{} `json:"value,omitempty"`
}

UiNodeInputAttributes InputAttributes represents the attributes of an input node

func NewUiNodeInputAttributes

func NewUiNodeInputAttributes(disabled bool, id string, name string, nodeType string, required bool, type_ string) *UiNodeInputAttributes

NewUiNodeInputAttributes instantiates a new UiNodeInputAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeInputAttributesWithDefaults

func NewUiNodeInputAttributesWithDefaults() *UiNodeInputAttributes

NewUiNodeInputAttributesWithDefaults instantiates a new UiNodeInputAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNodeInputAttributes) GetChecked

func (o *UiNodeInputAttributes) GetChecked() bool

GetChecked returns the Checked field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetCheckedOk

func (o *UiNodeInputAttributes) GetCheckedOk() (*bool, bool)

GetCheckedOk returns a tuple with the Checked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetDisabled

func (o *UiNodeInputAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*UiNodeInputAttributes) GetDisabledOk

func (o *UiNodeInputAttributes) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetId

func (o *UiNodeInputAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeInputAttributes) GetIdOk

func (o *UiNodeInputAttributes) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetLabel

func (o *UiNodeInputAttributes) GetLabel() UiText

GetLabel returns the Label field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetLabelOk

func (o *UiNodeInputAttributes) GetLabelOk() (*UiText, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetName

func (o *UiNodeInputAttributes) GetName() string

GetName returns the Name field value

func (*UiNodeInputAttributes) GetNameOk

func (o *UiNodeInputAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetNodeType

func (o *UiNodeInputAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeInputAttributes) GetNodeTypeOk

func (o *UiNodeInputAttributes) GetNodeTypeOk() (*string, bool)

GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetOnclick

func (o *UiNodeInputAttributes) GetOnclick() string

GetOnclick returns the Onclick field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetOnclickOk

func (o *UiNodeInputAttributes) GetOnclickOk() (*string, bool)

GetOnclickOk returns a tuple with the Onclick field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetPattern

func (o *UiNodeInputAttributes) GetPattern() string

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetPatternOk

func (o *UiNodeInputAttributes) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetRequired

func (o *UiNodeInputAttributes) GetRequired() bool

GetRequired returns the Required field value

func (*UiNodeInputAttributes) GetRequiredOk

func (o *UiNodeInputAttributes) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetType

func (o *UiNodeInputAttributes) GetType() string

GetType returns the Type field value

func (*UiNodeInputAttributes) GetTypeOk

func (o *UiNodeInputAttributes) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*UiNodeInputAttributes) GetValue

func (o *UiNodeInputAttributes) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UiNodeInputAttributes) GetValueOk

func (o *UiNodeInputAttributes) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UiNodeInputAttributes) HasChecked

func (o *UiNodeInputAttributes) HasChecked() bool

HasChecked returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasLabel

func (o *UiNodeInputAttributes) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasOnclick

func (o *UiNodeInputAttributes) HasOnclick() bool

HasOnclick returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasPattern

func (o *UiNodeInputAttributes) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasValue

func (o *UiNodeInputAttributes) HasValue() bool

HasValue returns a boolean if a field has been set.

func (UiNodeInputAttributes) MarshalJSON

func (o UiNodeInputAttributes) MarshalJSON() ([]byte, error)

func (*UiNodeInputAttributes) SetChecked

func (o *UiNodeInputAttributes) SetChecked(v bool)

SetChecked gets a reference to the given bool and assigns it to the Checked field.

func (*UiNodeInputAttributes) SetDisabled

func (o *UiNodeInputAttributes) SetDisabled(v bool)

SetDisabled sets field value

func (*UiNodeInputAttributes) SetId

func (o *UiNodeInputAttributes) SetId(v string)

SetId sets field value

func (*UiNodeInputAttributes) SetLabel

func (o *UiNodeInputAttributes) SetLabel(v UiText)

SetLabel gets a reference to the given UiText and assigns it to the Label field.

func (*UiNodeInputAttributes) SetName

func (o *UiNodeInputAttributes) SetName(v string)

SetName sets field value

func (*UiNodeInputAttributes) SetNodeType

func (o *UiNodeInputAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeInputAttributes) SetOnclick

func (o *UiNodeInputAttributes) SetOnclick(v string)

SetOnclick gets a reference to the given string and assigns it to the Onclick field.

func (*UiNodeInputAttributes) SetPattern

func (o *UiNodeInputAttributes) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*UiNodeInputAttributes) SetRequired

func (o *UiNodeInputAttributes) SetRequired(v bool)

SetRequired sets field value

func (*UiNodeInputAttributes) SetType

func (o *UiNodeInputAttributes) SetType(v string)

SetType sets field value

func (*UiNodeInputAttributes) SetValue

func (o *UiNodeInputAttributes) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

type UiNodeMeta

type UiNodeMeta struct {
	Label *UiText `json:"label,omitempty"`
}

UiNodeMeta This might include a label and other information that can optionally be used to render UIs.

func NewUiNodeMeta

func NewUiNodeMeta() *UiNodeMeta

NewUiNodeMeta instantiates a new UiNodeMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeMetaWithDefaults

func NewUiNodeMetaWithDefaults() *UiNodeMeta

NewUiNodeMetaWithDefaults instantiates a new UiNodeMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNodeMeta) GetLabel

func (o *UiNodeMeta) GetLabel() UiText

GetLabel returns the Label field value if set, zero value otherwise.

func (*UiNodeMeta) GetLabelOk

func (o *UiNodeMeta) GetLabelOk() (*UiText, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiNodeMeta) HasLabel

func (o *UiNodeMeta) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (UiNodeMeta) MarshalJSON

func (o UiNodeMeta) MarshalJSON() ([]byte, error)

func (*UiNodeMeta) SetLabel

func (o *UiNodeMeta) SetLabel(v UiText)

SetLabel gets a reference to the given UiText and assigns it to the Label field.

type UiNodeScriptAttributes

type UiNodeScriptAttributes struct {
	// The script async type
	Async bool `json:"async"`
	// The script cross origin policy
	Crossorigin string `json:"crossorigin"`
	// A unique identifier
	Id string `json:"id"`
	// The script's integrity hash
	Integrity string `json:"integrity"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\".
	NodeType string `json:"node_type"`
	// Nonce for CSP  A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value!
	Nonce string `json:"nonce"`
	// The script referrer policy
	Referrerpolicy string `json:"referrerpolicy"`
	// The script source
	Src string `json:"src"`
	// The script MIME type
	Type string `json:"type"`
}

UiNodeScriptAttributes struct for UiNodeScriptAttributes

func NewUiNodeScriptAttributes

func NewUiNodeScriptAttributes(async bool, crossorigin string, id string, integrity string, nodeType string, nonce string, referrerpolicy string, src string, type_ string) *UiNodeScriptAttributes

NewUiNodeScriptAttributes instantiates a new UiNodeScriptAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeScriptAttributesWithDefaults

func NewUiNodeScriptAttributesWithDefaults() *UiNodeScriptAttributes

NewUiNodeScriptAttributesWithDefaults instantiates a new UiNodeScriptAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNodeScriptAttributes) GetAsync

func (o *UiNodeScriptAttributes) GetAsync() bool

GetAsync returns the Async field value

func (*UiNodeScriptAttributes) GetAsyncOk

func (o *UiNodeScriptAttributes) GetAsyncOk() (*bool, bool)

GetAsyncOk returns a tuple with the Async field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetCrossorigin

func (o *UiNodeScriptAttributes) GetCrossorigin() string

GetCrossorigin returns the Crossorigin field value

func (*UiNodeScriptAttributes) GetCrossoriginOk

func (o *UiNodeScriptAttributes) GetCrossoriginOk() (*string, bool)

GetCrossoriginOk returns a tuple with the Crossorigin field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetId

func (o *UiNodeScriptAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeScriptAttributes) GetIdOk

func (o *UiNodeScriptAttributes) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetIntegrity

func (o *UiNodeScriptAttributes) GetIntegrity() string

GetIntegrity returns the Integrity field value

func (*UiNodeScriptAttributes) GetIntegrityOk

func (o *UiNodeScriptAttributes) GetIntegrityOk() (*string, bool)

GetIntegrityOk returns a tuple with the Integrity field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetNodeType

func (o *UiNodeScriptAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeScriptAttributes) GetNodeTypeOk

func (o *UiNodeScriptAttributes) GetNodeTypeOk() (*string, bool)

GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetNonce

func (o *UiNodeScriptAttributes) GetNonce() string

GetNonce returns the Nonce field value

func (*UiNodeScriptAttributes) GetNonceOk

func (o *UiNodeScriptAttributes) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetReferrerpolicy

func (o *UiNodeScriptAttributes) GetReferrerpolicy() string

GetReferrerpolicy returns the Referrerpolicy field value

func (*UiNodeScriptAttributes) GetReferrerpolicyOk

func (o *UiNodeScriptAttributes) GetReferrerpolicyOk() (*string, bool)

GetReferrerpolicyOk returns a tuple with the Referrerpolicy field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetSrc

func (o *UiNodeScriptAttributes) GetSrc() string

GetSrc returns the Src field value

func (*UiNodeScriptAttributes) GetSrcOk

func (o *UiNodeScriptAttributes) GetSrcOk() (*string, bool)

GetSrcOk returns a tuple with the Src field value and a boolean to check if the value has been set.

func (*UiNodeScriptAttributes) GetType

func (o *UiNodeScriptAttributes) GetType() string

GetType returns the Type field value

func (*UiNodeScriptAttributes) GetTypeOk

func (o *UiNodeScriptAttributes) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (UiNodeScriptAttributes) MarshalJSON

func (o UiNodeScriptAttributes) MarshalJSON() ([]byte, error)

func (*UiNodeScriptAttributes) SetAsync

func (o *UiNodeScriptAttributes) SetAsync(v bool)

SetAsync sets field value

func (*UiNodeScriptAttributes) SetCrossorigin

func (o *UiNodeScriptAttributes) SetCrossorigin(v string)

SetCrossorigin sets field value

func (*UiNodeScriptAttributes) SetId

func (o *UiNodeScriptAttributes) SetId(v string)

SetId sets field value

func (*UiNodeScriptAttributes) SetIntegrity

func (o *UiNodeScriptAttributes) SetIntegrity(v string)

SetIntegrity sets field value

func (*UiNodeScriptAttributes) SetNodeType

func (o *UiNodeScriptAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeScriptAttributes) SetNonce

func (o *UiNodeScriptAttributes) SetNonce(v string)

SetNonce sets field value

func (*UiNodeScriptAttributes) SetReferrerpolicy

func (o *UiNodeScriptAttributes) SetReferrerpolicy(v string)

SetReferrerpolicy sets field value

func (*UiNodeScriptAttributes) SetSrc

func (o *UiNodeScriptAttributes) SetSrc(v string)

SetSrc sets field value

func (*UiNodeScriptAttributes) SetType

func (o *UiNodeScriptAttributes) SetType(v string)

SetType sets field value

type UiNodeTextAttributes

type UiNodeTextAttributes struct {
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"text\".
	NodeType string `json:"node_type"`
	Text     UiText `json:"text"`
}

UiNodeTextAttributes struct for UiNodeTextAttributes

func NewUiNodeTextAttributes

func NewUiNodeTextAttributes(id string, nodeType string, text UiText) *UiNodeTextAttributes

NewUiNodeTextAttributes instantiates a new UiNodeTextAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiNodeTextAttributesWithDefaults

func NewUiNodeTextAttributesWithDefaults() *UiNodeTextAttributes

NewUiNodeTextAttributesWithDefaults instantiates a new UiNodeTextAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiNodeTextAttributes) GetId

func (o *UiNodeTextAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeTextAttributes) GetIdOk

func (o *UiNodeTextAttributes) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UiNodeTextAttributes) GetNodeType

func (o *UiNodeTextAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeTextAttributes) GetNodeTypeOk

func (o *UiNodeTextAttributes) GetNodeTypeOk() (*string, bool)

GetNodeTypeOk returns a tuple with the NodeType field value and a boolean to check if the value has been set.

func (*UiNodeTextAttributes) GetText

func (o *UiNodeTextAttributes) GetText() UiText

GetText returns the Text field value

func (*UiNodeTextAttributes) GetTextOk

func (o *UiNodeTextAttributes) GetTextOk() (*UiText, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (UiNodeTextAttributes) MarshalJSON

func (o UiNodeTextAttributes) MarshalJSON() ([]byte, error)

func (*UiNodeTextAttributes) SetId

func (o *UiNodeTextAttributes) SetId(v string)

SetId sets field value

func (*UiNodeTextAttributes) SetNodeType

func (o *UiNodeTextAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeTextAttributes) SetText

func (o *UiNodeTextAttributes) SetText(v UiText)

SetText sets field value

type UiText

type UiText struct {
	// The message's context. Useful when customizing messages.
	Context map[string]interface{} `json:"context,omitempty"`
	// The message ID.
	Id string `json:"id"`
	// The message text. Written in american english.
	Text string `json:"text"`
	Type string `json:"type"`
}

UiText struct for UiText

func NewUiText

func NewUiText(id string, text string, type_ string) *UiText

NewUiText instantiates a new UiText object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUiTextWithDefaults

func NewUiTextWithDefaults() *UiText

NewUiTextWithDefaults instantiates a new UiText object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UiText) GetContext

func (o *UiText) GetContext() map[string]interface{}

GetContext returns the Context field value if set, zero value otherwise.

func (*UiText) GetContextOk

func (o *UiText) GetContextOk() (map[string]interface{}, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UiText) GetId

func (o *UiText) GetId() string

GetId returns the Id field value

func (*UiText) GetIdOk

func (o *UiText) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UiText) GetText

func (o *UiText) GetText() string

GetText returns the Text field value

func (*UiText) GetTextOk

func (o *UiText) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*UiText) GetType

func (o *UiText) GetType() string

GetType returns the Type field value

func (*UiText) GetTypeOk

func (o *UiText) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*UiText) HasContext

func (o *UiText) HasContext() bool

HasContext returns a boolean if a field has been set.

func (UiText) MarshalJSON

func (o UiText) MarshalJSON() ([]byte, error)

func (*UiText) SetContext

func (o *UiText) SetContext(v map[string]interface{})

SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.

func (*UiText) SetId

func (o *UiText) SetId(v string)

SetId sets field value

func (*UiText) SetText

func (o *UiText) SetText(v string)

SetText sets field value

func (*UiText) SetType

func (o *UiText) SetType(v string)

SetType sets field value

type VerifiableAddress

type VerifiableAddress struct {
	// The ID
	Id string `json:"id"`
	// The identifier  example foo@user.com
	Identifier string `json:"identifier"`
	// Primary  Is identifier's primary identity
	Primary bool `json:"primary"`
	// Verified  Is the identifier been verified
	Verified bool `json:"verified"`
}

VerifiableAddress VerifiableAddress is an identity's verifiable address

func NewVerifiableAddress

func NewVerifiableAddress(id string, identifier string, primary bool, verified bool) *VerifiableAddress

NewVerifiableAddress instantiates a new VerifiableAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVerifiableAddressWithDefaults

func NewVerifiableAddressWithDefaults() *VerifiableAddress

NewVerifiableAddressWithDefaults instantiates a new VerifiableAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VerifiableAddress) GetId

func (o *VerifiableAddress) GetId() string

GetId returns the Id field value

func (*VerifiableAddress) GetIdOk

func (o *VerifiableAddress) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*VerifiableAddress) GetIdentifier

func (o *VerifiableAddress) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*VerifiableAddress) GetIdentifierOk

func (o *VerifiableAddress) GetIdentifierOk() (*string, bool)

GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.

func (*VerifiableAddress) GetPrimary

func (o *VerifiableAddress) GetPrimary() bool

GetPrimary returns the Primary field value

func (*VerifiableAddress) GetPrimaryOk

func (o *VerifiableAddress) GetPrimaryOk() (*bool, bool)

GetPrimaryOk returns a tuple with the Primary field value and a boolean to check if the value has been set.

func (*VerifiableAddress) GetVerified

func (o *VerifiableAddress) GetVerified() bool

GetVerified returns the Verified field value

func (*VerifiableAddress) GetVerifiedOk

func (o *VerifiableAddress) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value and a boolean to check if the value has been set.

func (VerifiableAddress) MarshalJSON

func (o VerifiableAddress) MarshalJSON() ([]byte, error)

func (*VerifiableAddress) SetId

func (o *VerifiableAddress) SetId(v string)

SetId sets field value

func (*VerifiableAddress) SetIdentifier

func (o *VerifiableAddress) SetIdentifier(v string)

SetIdentifier sets field value

func (*VerifiableAddress) SetPrimary

func (o *VerifiableAddress) SetPrimary(v bool)

SetPrimary sets field value

func (*VerifiableAddress) SetVerified

func (o *VerifiableAddress) SetVerified(v bool)

SetVerified sets field value

type VerificationApi

type VerificationApi interface {

	/*
		 * GetVerificationFlowRequest # Get Verification Flow
		 * This endpoint returns a verification flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/recovery', async function (req, res) {
	const flow = await client.getVerificationFlowRequest(req.header('cookie'), req.query['flow'])

	res.render('verification', flow)
	})
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return VerificationApiApiGetVerificationFlowRequestRequest
	*/
	GetVerificationFlowRequest(ctx context.Context) VerificationApiApiGetVerificationFlowRequestRequest

	/*
	 * GetVerificationFlowRequestExecute executes the request
	 * @return VerificationFlow
	 */
	GetVerificationFlowRequestExecute(r VerificationApiApiGetVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)

	/*
		 * InitBrowserVerificationFlowRequest # Initialize Verification Flow for Browser Clients
		 * This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to
	`selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.

	If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.

	This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return VerificationApiApiInitBrowserVerificationFlowRequestRequest
	*/
	InitBrowserVerificationFlowRequest(ctx context.Context) VerificationApiApiInitBrowserVerificationFlowRequestRequest

	/*
	 * InitBrowserVerificationFlowRequestExecute executes the request
	 * @return VerificationFlow
	 */
	InitBrowserVerificationFlowRequestExecute(r VerificationApiApiInitBrowserVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)

	/*
		 * SubmitVerificationFlowRequest # Complete Verification Flow
		 * Use this endpoint to complete a verification flow. This endpoint
	behaves differently for API and browser flows and has several states:

	`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent
	and works with API- and Browser-initiated flows.
	For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid
	and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired).
	For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended.
	`sent_email` is the success state after `choose_method` when using the `captcha` method and allows the user to request another verification email. It
	works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.
	`passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification captcha")
	does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL
	(if the captcha was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with
	a new Verification Flow ID which contains an error message that the verification captcha was invalid.

	More information can be found at:
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return VerificationApiApiSubmitVerificationFlowRequestRequest
	*/
	SubmitVerificationFlowRequest(ctx context.Context) VerificationApiApiSubmitVerificationFlowRequestRequest

	/*
	 * SubmitVerificationFlowRequestExecute executes the request
	 * @return VerificationFlow
	 */
	SubmitVerificationFlowRequestExecute(r VerificationApiApiSubmitVerificationFlowRequestRequest) (*VerificationFlow, *http.Response, error)
}

type VerificationApiApiGetVerificationFlowRequestRequest

type VerificationApiApiGetVerificationFlowRequestRequest struct {
	ApiService VerificationApi
	// contains filtered or unexported fields
}

func (VerificationApiApiGetVerificationFlowRequestRequest) Cookie

func (VerificationApiApiGetVerificationFlowRequestRequest) Execute

func (VerificationApiApiGetVerificationFlowRequestRequest) Id

type VerificationApiApiInitBrowserVerificationFlowRequestRequest

type VerificationApiApiInitBrowserVerificationFlowRequestRequest struct {
	ApiService VerificationApi
	// contains filtered or unexported fields
}

func (VerificationApiApiInitBrowserVerificationFlowRequestRequest) Execute

func (VerificationApiApiInitBrowserVerificationFlowRequestRequest) LoginChallenge

func (VerificationApiApiInitBrowserVerificationFlowRequestRequest) ReturnTo

type VerificationApiApiSubmitVerificationFlowRequestRequest

type VerificationApiApiSubmitVerificationFlowRequestRequest struct {
	ApiService VerificationApi
	// contains filtered or unexported fields
}

func (VerificationApiApiSubmitVerificationFlowRequestRequest) Cookie

func (VerificationApiApiSubmitVerificationFlowRequestRequest) Execute

func (VerificationApiApiSubmitVerificationFlowRequestRequest) Flow

func (VerificationApiApiSubmitVerificationFlowRequestRequest) SubmitVerificationFlowBody

func (VerificationApiApiSubmitVerificationFlowRequestRequest) Token

type VerificationApiService

type VerificationApiService service

VerificationApiService VerificationApi service

func (*VerificationApiService) GetVerificationFlowRequest

  • GetVerificationFlowRequest # Get Verification Flow
  • This endpoint returns a verification flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getVerificationFlowRequest(req.header('cookie'), req.query['flow'])

res.render('verification', flow) })

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return VerificationApiApiGetVerificationFlowRequestRequest

func (*VerificationApiService) GetVerificationFlowRequestExecute

* Execute executes the request * @return VerificationFlow

func (*VerificationApiService) InitBrowserVerificationFlowRequest

  • InitBrowserVerificationFlowRequest # Initialize Verification Flow for Browser Clients
  • This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to

`selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.

If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return VerificationApiApiInitBrowserVerificationFlowRequestRequest

func (*VerificationApiService) InitBrowserVerificationFlowRequestExecute

* Execute executes the request * @return VerificationFlow

func (*VerificationApiService) SubmitVerificationFlowRequest

  • SubmitVerificationFlowRequest # Complete Verification Flow
  • Use this endpoint to complete a verification flow. This endpoint

behaves differently for API and browser flows and has several states:

`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `captcha` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification captcha") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the captcha was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification captcha was invalid.

More information can be found at:

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return VerificationApiApiSubmitVerificationFlowRequestRequest

func (*VerificationApiService) SubmitVerificationFlowRequestExecute

* Execute executes the request * @return VerificationFlow

type VerificationFlow

type VerificationFlow struct {
	// CreatedAt is a helper struct field for.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// ID represents the request's unique ID. When performing the verification flow, this represents the id in the verify ui's query parameter: http://<selfservice.flows.verification.ui_url>?request=<id>  type: string
	Id string `json:"id"`
	// IssuedAt is the time (UTC) when the request occurred.
	IssuedAt *time.Time          `json:"issued_at,omitempty"`
	Method   *VerificationMethod `json:"method,omitempty"`
	// OAuth 2.0 Login Challenge.  This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.
	Oauth2LoginChallenge *string             `json:"oauth2_login_challenge,omitempty"`
	Oauth2LoginRequest   *OAuth2LoginRequest `json:"oauth2_login_request,omitempty"`
	// RequestURL is the initial URL that was requested from Identity. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl *string `json:"request_url,omitempty"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string           `json:"return_to,omitempty"`
	State    VerificationState `json:"state"`
	Type     FlowType          `json:"type"`
	Ui       UiContainer       `json:"ui"`
	// UpdatedAt is a helper struct field for.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

VerificationFlow Used to verify an out-of-band communication channel such as an email address or a phone number.

func NewVerificationFlow

func NewVerificationFlow(id string, state VerificationState, type_ FlowType, ui UiContainer) *VerificationFlow

NewVerificationFlow instantiates a new VerificationFlow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVerificationFlowWithDefaults

func NewVerificationFlowWithDefaults() *VerificationFlow

NewVerificationFlowWithDefaults instantiates a new VerificationFlow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VerificationFlow) GetCreatedAt

func (o *VerificationFlow) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetCreatedAtOk

func (o *VerificationFlow) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetExpiresAt

func (o *VerificationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VerificationFlow) GetExpiresAtOk

func (o *VerificationFlow) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetId

func (o *VerificationFlow) GetId() string

GetId returns the Id field value

func (*VerificationFlow) GetIdOk

func (o *VerificationFlow) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*VerificationFlow) GetIssuedAt

func (o *VerificationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetIssuedAtOk

func (o *VerificationFlow) GetIssuedAtOk() (*time.Time, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetMethod

func (o *VerificationFlow) GetMethod() VerificationMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*VerificationFlow) GetMethodOk

func (o *VerificationFlow) GetMethodOk() (*VerificationMethod, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetOauth2LoginChallenge

func (o *VerificationFlow) GetOauth2LoginChallenge() string

GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.

func (*VerificationFlow) GetOauth2LoginChallengeOk

func (o *VerificationFlow) GetOauth2LoginChallengeOk() (*string, bool)

GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetOauth2LoginRequest

func (o *VerificationFlow) GetOauth2LoginRequest() OAuth2LoginRequest

GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.

func (*VerificationFlow) GetOauth2LoginRequestOk

func (o *VerificationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)

GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetRequestUrl

func (o *VerificationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*VerificationFlow) GetRequestUrlOk

func (o *VerificationFlow) GetRequestUrlOk() (*string, bool)

GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetReturnTo

func (o *VerificationFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*VerificationFlow) GetReturnToOk

func (o *VerificationFlow) GetReturnToOk() (*string, bool)

GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) GetState

func (o *VerificationFlow) GetState() VerificationState

GetState returns the State field value

func (*VerificationFlow) GetStateOk

func (o *VerificationFlow) GetStateOk() (*VerificationState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*VerificationFlow) GetType

func (o *VerificationFlow) GetType() FlowType

GetType returns the Type field value

func (*VerificationFlow) GetTypeOk

func (o *VerificationFlow) GetTypeOk() (*FlowType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VerificationFlow) GetUi

func (o *VerificationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*VerificationFlow) GetUiOk

func (o *VerificationFlow) GetUiOk() (*UiContainer, bool)

GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.

func (*VerificationFlow) GetUpdatedAt

func (o *VerificationFlow) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetUpdatedAtOk

func (o *VerificationFlow) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationFlow) HasCreatedAt

func (o *VerificationFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VerificationFlow) HasExpiresAt

func (o *VerificationFlow) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VerificationFlow) HasIssuedAt

func (o *VerificationFlow) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*VerificationFlow) HasMethod

func (o *VerificationFlow) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*VerificationFlow) HasOauth2LoginChallenge

func (o *VerificationFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*VerificationFlow) HasOauth2LoginRequest

func (o *VerificationFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*VerificationFlow) HasRequestUrl

func (o *VerificationFlow) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*VerificationFlow) HasReturnTo

func (o *VerificationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*VerificationFlow) HasUpdatedAt

func (o *VerificationFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (VerificationFlow) MarshalJSON

func (o VerificationFlow) MarshalJSON() ([]byte, error)

func (*VerificationFlow) SetCreatedAt

func (o *VerificationFlow) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VerificationFlow) SetExpiresAt

func (o *VerificationFlow) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*VerificationFlow) SetId

func (o *VerificationFlow) SetId(v string)

SetId sets field value

func (*VerificationFlow) SetIssuedAt

func (o *VerificationFlow) SetIssuedAt(v time.Time)

SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.

func (*VerificationFlow) SetMethod

func (o *VerificationFlow) SetMethod(v VerificationMethod)

SetMethod gets a reference to the given VerificationMethod and assigns it to the Method field.

func (*VerificationFlow) SetOauth2LoginChallenge

func (o *VerificationFlow) SetOauth2LoginChallenge(v string)

SetOauth2LoginChallenge gets a reference to the given string and assigns it to the Oauth2LoginChallenge field.

func (*VerificationFlow) SetOauth2LoginRequest

func (o *VerificationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

SetOauth2LoginRequest gets a reference to the given OAuth2LoginRequest and assigns it to the Oauth2LoginRequest field.

func (*VerificationFlow) SetRequestUrl

func (o *VerificationFlow) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*VerificationFlow) SetReturnTo

func (o *VerificationFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*VerificationFlow) SetState

func (o *VerificationFlow) SetState(v VerificationState)

SetState sets field value

func (*VerificationFlow) SetType

func (o *VerificationFlow) SetType(v FlowType)

SetType sets field value

func (*VerificationFlow) SetUi

func (o *VerificationFlow) SetUi(v UiContainer)

SetUi sets field value

func (*VerificationFlow) SetUpdatedAt

func (o *VerificationFlow) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type VerificationMethod

type VerificationMethod string

VerificationMethod the model 'VerificationMethod'

const (
	VERIFICATIONMETHOD_CAPTCHA VerificationMethod = "captcha"
)

List of verificationMethod

func NewVerificationMethodFromValue

func NewVerificationMethodFromValue(v string) (*VerificationMethod, error)

NewVerificationMethodFromValue returns a pointer to a valid VerificationMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VerificationMethod) IsValid

func (v VerificationMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VerificationMethod) Ptr

Ptr returns reference to verificationMethod value

func (*VerificationMethod) UnmarshalJSON

func (v *VerificationMethod) UnmarshalJSON(src []byte) error

type VerificationState

type VerificationState string

VerificationState The state represents the state of the verification flow. ``` choose_method: ask the user to choose a method (e.g. recover account via email) sent: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. ```

const (
	VERIFICATIONSTATE_CHOOSE_METHOD    VerificationState = "choose_method"
	VERIFICATIONSTATE_SENT             VerificationState = "sent"
	VERIFICATIONSTATE_PASSED_CHALLENGE VerificationState = "passed_challenge"
)

List of verificationState

func NewVerificationStateFromValue

func NewVerificationStateFromValue(v string) (*VerificationState, error)

NewVerificationStateFromValue returns a pointer to a valid VerificationState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VerificationState) IsValid

func (v VerificationState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VerificationState) Ptr

Ptr returns reference to verificationState value

func (*VerificationState) UnmarshalJSON

func (v *VerificationState) UnmarshalJSON(src []byte) error

type VerificationTraits

type VerificationTraits struct {
	// The identity's email  It's optional, have at least one email and mobile
	Email *string `json:"email,omitempty"`
	// The identity's mobile  It's optional, have at least one email and mobile
	Mobile *string `json:"mobile,omitempty"`
	// The identity's type, the value is traits.email or traits.mobile
	Type string `json:"type"`
}

VerificationTraits struct for VerificationTraits

func NewVerificationTraits

func NewVerificationTraits(type_ string) *VerificationTraits

NewVerificationTraits instantiates a new VerificationTraits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVerificationTraitsWithDefaults

func NewVerificationTraitsWithDefaults() *VerificationTraits

NewVerificationTraitsWithDefaults instantiates a new VerificationTraits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VerificationTraits) GetEmail

func (o *VerificationTraits) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*VerificationTraits) GetEmailOk

func (o *VerificationTraits) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationTraits) GetMobile

func (o *VerificationTraits) GetMobile() string

GetMobile returns the Mobile field value if set, zero value otherwise.

func (*VerificationTraits) GetMobileOk

func (o *VerificationTraits) GetMobileOk() (*string, bool)

GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerificationTraits) GetType

func (o *VerificationTraits) GetType() string

GetType returns the Type field value

func (*VerificationTraits) GetTypeOk

func (o *VerificationTraits) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VerificationTraits) HasEmail

func (o *VerificationTraits) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*VerificationTraits) HasMobile

func (o *VerificationTraits) HasMobile() bool

HasMobile returns a boolean if a field has been set.

func (VerificationTraits) MarshalJSON

func (o VerificationTraits) MarshalJSON() ([]byte, error)

func (*VerificationTraits) SetEmail

func (o *VerificationTraits) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*VerificationTraits) SetMobile

func (o *VerificationTraits) SetMobile(v string)

SetMobile gets a reference to the given string and assigns it to the Mobile field.

func (*VerificationTraits) SetType

func (o *VerificationTraits) SetType(v string)

SetType sets field value

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL