client

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 20 Imported by: 81

README

ory/kratos-client-go

This is the official Ory Kratos SDK for go.

Ory Self-Hosted

This SDK is for use with self-hosted Ory Kratos. If you are developing against Ory Network, please use the Ory Network SDK.

Please do not make any pull requests against this repository! Its contents are fully auto-generated by the ory/sdk repository. Any changes to this repository will be overwritten on the next CI run!

Installation

package repository is missing, please open an issue about this.

Documentation

Generation

This code base, including this README, is auto-generated using OpenAPI Generator. If you find bugs in the SDK please check if there is an open issue at OpenAPITools/openapi-generator or ory/sdk already before opening an issue here.

Feedback

If you have feedback on how to improve the Ory SDK or are looking to contribute, please open an issue in ory/sdk to discuss your ideas.

Thanks for being a part of the Ory community!

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// 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")
)
View Source
var AllowedAuthenticatorAssuranceLevelEnumValues = []AuthenticatorAssuranceLevel{
	"aal0",
	"aal1",
	"aal2",
	"aal3",
}

All allowed values of AuthenticatorAssuranceLevel enum

View Source
var AllowedCourierMessageStatusEnumValues = []CourierMessageStatus{
	"queued",
	"sent",
	"processing",
	"abandoned",
}

All allowed values of CourierMessageStatus enum

View Source
var AllowedCourierMessageTypeEnumValues = []CourierMessageType{
	"email",
	"phone",
}

All allowed values of CourierMessageType enum

View Source
var AllowedLoginFlowStateEnumValues = []LoginFlowState{
	"choose_method",
	"sent_email",
	"passed_challenge",
}

All allowed values of LoginFlowState enum

View Source
var AllowedRecoveryFlowStateEnumValues = []RecoveryFlowState{
	"choose_method",
	"sent_email",
	"passed_challenge",
}

All allowed values of RecoveryFlowState enum

View Source
var AllowedRegistrationFlowStateEnumValues = []RegistrationFlowState{
	"choose_method",
	"sent_email",
	"passed_challenge",
}

All allowed values of RegistrationFlowState enum

View Source
var AllowedSettingsFlowStateEnumValues = []SettingsFlowState{
	"show_form",
	"success",
}

All allowed values of SettingsFlowState enum

View Source
var AllowedVerificationFlowStateEnumValues = []VerificationFlowState{
	"choose_method",
	"sent_email",
	"passed_challenge",
}

All allowed values of VerificationFlowState enum

Functions

func CacheExpires

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

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

func IsNil added in v1.1.0

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	CourierAPI CourierAPI

	FrontendAPI FrontendAPI

	IdentityAPI IdentityAPI

	MetadataAPI MetadataAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Ory Identities API API vv1.1.0 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 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 APIResponse 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. To learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials

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 BatchPatchIdentitiesResponse added in v0.13.1

type BatchPatchIdentitiesResponse struct {
	// The patch responses for the individual identities.
	Identities           []IdentityPatchResponse `json:"identities,omitempty"`
	AdditionalProperties map[string]interface{}
}

BatchPatchIdentitiesResponse Patch identities response

func NewBatchPatchIdentitiesResponse added in v0.13.1

func NewBatchPatchIdentitiesResponse() *BatchPatchIdentitiesResponse

NewBatchPatchIdentitiesResponse instantiates a new BatchPatchIdentitiesResponse 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 NewBatchPatchIdentitiesResponseWithDefaults added in v0.13.1

func NewBatchPatchIdentitiesResponseWithDefaults() *BatchPatchIdentitiesResponse

NewBatchPatchIdentitiesResponseWithDefaults instantiates a new BatchPatchIdentitiesResponse 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 (*BatchPatchIdentitiesResponse) GetIdentities added in v0.13.1

GetIdentities returns the Identities field value if set, zero value otherwise.

func (*BatchPatchIdentitiesResponse) GetIdentitiesOk added in v0.13.1

func (o *BatchPatchIdentitiesResponse) GetIdentitiesOk() ([]IdentityPatchResponse, bool)

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

func (*BatchPatchIdentitiesResponse) HasIdentities added in v0.13.1

func (o *BatchPatchIdentitiesResponse) HasIdentities() bool

HasIdentities returns a boolean if a field has been set.

func (BatchPatchIdentitiesResponse) MarshalJSON added in v0.13.1

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

func (*BatchPatchIdentitiesResponse) SetIdentities added in v0.13.1

SetIdentities gets a reference to the given []IdentityPatchResponse and assigns it to the Identities field.

func (BatchPatchIdentitiesResponse) ToMap added in v1.1.0

func (o BatchPatchIdentitiesResponse) ToMap() (map[string]interface{}, error)

func (*BatchPatchIdentitiesResponse) UnmarshalJSON added in v1.0.0

func (o *BatchPatchIdentitiesResponse) UnmarshalJSON(bytes []byte) (err 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 ConsistencyRequestParameters added in v1.1.0

type ConsistencyRequestParameters struct {
	// Read Consistency Level (preview)  The read consistency level determines the consistency guarantee for reads:  strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old.  The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`.  Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting:  `GET /admin/identities`  This feature is in preview and only available in Ory Network.  ConsistencyLevelUnset  ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong  ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual  ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
	Consistency          *string `json:"consistency,omitempty"`
	AdditionalProperties map[string]interface{}
}

ConsistencyRequestParameters Control API consistency guarantees

func NewConsistencyRequestParameters added in v1.1.0

func NewConsistencyRequestParameters() *ConsistencyRequestParameters

NewConsistencyRequestParameters instantiates a new ConsistencyRequestParameters 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 NewConsistencyRequestParametersWithDefaults added in v1.1.0

func NewConsistencyRequestParametersWithDefaults() *ConsistencyRequestParameters

NewConsistencyRequestParametersWithDefaults instantiates a new ConsistencyRequestParameters 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 (*ConsistencyRequestParameters) GetConsistency added in v1.1.0

func (o *ConsistencyRequestParameters) GetConsistency() string

GetConsistency returns the Consistency field value if set, zero value otherwise.

func (*ConsistencyRequestParameters) GetConsistencyOk added in v1.1.0

func (o *ConsistencyRequestParameters) GetConsistencyOk() (*string, bool)

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

func (*ConsistencyRequestParameters) HasConsistency added in v1.1.0

func (o *ConsistencyRequestParameters) HasConsistency() bool

HasConsistency returns a boolean if a field has been set.

func (ConsistencyRequestParameters) MarshalJSON added in v1.1.0

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

func (*ConsistencyRequestParameters) SetConsistency added in v1.1.0

func (o *ConsistencyRequestParameters) SetConsistency(v string)

SetConsistency gets a reference to the given string and assigns it to the Consistency field.

func (ConsistencyRequestParameters) ToMap added in v1.1.0

func (o ConsistencyRequestParameters) ToMap() (map[string]interface{}, error)

func (*ConsistencyRequestParameters) UnmarshalJSON added in v1.1.0

func (o *ConsistencyRequestParameters) UnmarshalJSON(bytes []byte) (err error)

type ContinueWith added in v0.13.1

type ContinueWith struct {
	ContinueWithRecoveryUi         *ContinueWithRecoveryUi
	ContinueWithSetOrySessionToken *ContinueWithSetOrySessionToken
	ContinueWithSettingsUi         *ContinueWithSettingsUi
	ContinueWithVerificationUi     *ContinueWithVerificationUi
}

ContinueWith - struct for ContinueWith

func ContinueWithRecoveryUiAsContinueWith added in v1.1.0

func ContinueWithRecoveryUiAsContinueWith(v *ContinueWithRecoveryUi) ContinueWith

ContinueWithRecoveryUiAsContinueWith is a convenience function that returns ContinueWithRecoveryUi wrapped in ContinueWith

func ContinueWithSetOrySessionTokenAsContinueWith added in v0.13.1

func ContinueWithSetOrySessionTokenAsContinueWith(v *ContinueWithSetOrySessionToken) ContinueWith

ContinueWithSetOrySessionTokenAsContinueWith is a convenience function that returns ContinueWithSetOrySessionToken wrapped in ContinueWith

func ContinueWithSettingsUiAsContinueWith added in v1.1.0

func ContinueWithSettingsUiAsContinueWith(v *ContinueWithSettingsUi) ContinueWith

ContinueWithSettingsUiAsContinueWith is a convenience function that returns ContinueWithSettingsUi wrapped in ContinueWith

func ContinueWithVerificationUiAsContinueWith added in v0.13.1

func ContinueWithVerificationUiAsContinueWith(v *ContinueWithVerificationUi) ContinueWith

ContinueWithVerificationUiAsContinueWith is a convenience function that returns ContinueWithVerificationUi wrapped in ContinueWith

func (*ContinueWith) GetActualInstance added in v0.13.1

func (obj *ContinueWith) GetActualInstance() interface{}

Get the actual instance

func (ContinueWith) MarshalJSON added in v0.13.1

func (src ContinueWith) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ContinueWith) UnmarshalJSON added in v0.13.1

func (dst *ContinueWith) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ContinueWithRecoveryUi added in v1.1.0

type ContinueWithRecoveryUi struct {
	// Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString
	Action               string                     `json:"action"`
	Flow                 ContinueWithRecoveryUiFlow `json:"flow"`
	AdditionalProperties map[string]interface{}
}

ContinueWithRecoveryUi Indicates, that the UI flow could be continued by showing a recovery ui

func NewContinueWithRecoveryUi added in v1.1.0

func NewContinueWithRecoveryUi(action string, flow ContinueWithRecoveryUiFlow) *ContinueWithRecoveryUi

NewContinueWithRecoveryUi instantiates a new ContinueWithRecoveryUi 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 NewContinueWithRecoveryUiWithDefaults added in v1.1.0

func NewContinueWithRecoveryUiWithDefaults() *ContinueWithRecoveryUi

NewContinueWithRecoveryUiWithDefaults instantiates a new ContinueWithRecoveryUi 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 (*ContinueWithRecoveryUi) GetAction added in v1.1.0

func (o *ContinueWithRecoveryUi) GetAction() string

GetAction returns the Action field value

func (*ContinueWithRecoveryUi) GetActionOk added in v1.1.0

func (o *ContinueWithRecoveryUi) GetActionOk() (*string, bool)

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

func (*ContinueWithRecoveryUi) GetFlow added in v1.1.0

GetFlow returns the Flow field value

func (*ContinueWithRecoveryUi) GetFlowOk added in v1.1.0

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

func (ContinueWithRecoveryUi) MarshalJSON added in v1.1.0

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

func (*ContinueWithRecoveryUi) SetAction added in v1.1.0

func (o *ContinueWithRecoveryUi) SetAction(v string)

SetAction sets field value

func (*ContinueWithRecoveryUi) SetFlow added in v1.1.0

SetFlow sets field value

func (ContinueWithRecoveryUi) ToMap added in v1.1.0

func (o ContinueWithRecoveryUi) ToMap() (map[string]interface{}, error)

func (*ContinueWithRecoveryUi) UnmarshalJSON added in v1.1.0

func (o *ContinueWithRecoveryUi) UnmarshalJSON(bytes []byte) (err error)

type ContinueWithRecoveryUiFlow added in v1.1.0

type ContinueWithRecoveryUiFlow struct {
	// The ID of the recovery flow
	Id string `json:"id"`
	// The URL of the recovery flow
	Url                  *string `json:"url,omitempty"`
	AdditionalProperties map[string]interface{}
}

ContinueWithRecoveryUiFlow struct for ContinueWithRecoveryUiFlow

func NewContinueWithRecoveryUiFlow added in v1.1.0

func NewContinueWithRecoveryUiFlow(id string) *ContinueWithRecoveryUiFlow

NewContinueWithRecoveryUiFlow instantiates a new ContinueWithRecoveryUiFlow 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 NewContinueWithRecoveryUiFlowWithDefaults added in v1.1.0

func NewContinueWithRecoveryUiFlowWithDefaults() *ContinueWithRecoveryUiFlow

NewContinueWithRecoveryUiFlowWithDefaults instantiates a new ContinueWithRecoveryUiFlow 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 (*ContinueWithRecoveryUiFlow) GetId added in v1.1.0

GetId returns the Id field value

func (*ContinueWithRecoveryUiFlow) GetIdOk added in v1.1.0

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

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

func (*ContinueWithRecoveryUiFlow) GetUrl added in v1.1.0

func (o *ContinueWithRecoveryUiFlow) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ContinueWithRecoveryUiFlow) GetUrlOk added in v1.1.0

func (o *ContinueWithRecoveryUiFlow) GetUrlOk() (*string, bool)

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

func (*ContinueWithRecoveryUiFlow) HasUrl added in v1.1.0

func (o *ContinueWithRecoveryUiFlow) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ContinueWithRecoveryUiFlow) MarshalJSON added in v1.1.0

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

func (*ContinueWithRecoveryUiFlow) SetId added in v1.1.0

func (o *ContinueWithRecoveryUiFlow) SetId(v string)

SetId sets field value

func (*ContinueWithRecoveryUiFlow) SetUrl added in v1.1.0

func (o *ContinueWithRecoveryUiFlow) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (ContinueWithRecoveryUiFlow) ToMap added in v1.1.0

func (o ContinueWithRecoveryUiFlow) ToMap() (map[string]interface{}, error)

func (*ContinueWithRecoveryUiFlow) UnmarshalJSON added in v1.1.0

func (o *ContinueWithRecoveryUiFlow) UnmarshalJSON(bytes []byte) (err error)

type ContinueWithSetOrySessionToken added in v0.13.1

type ContinueWithSetOrySessionToken struct {
	// Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString
	Action string `json:"action"`
	// Token is the token of the session
	OrySessionToken      string `json:"ory_session_token"`
	AdditionalProperties map[string]interface{}
}

ContinueWithSetOrySessionToken Indicates that a session was issued, and the application should use this token for authenticated requests

func NewContinueWithSetOrySessionToken added in v0.13.1

func NewContinueWithSetOrySessionToken(action string, orySessionToken string) *ContinueWithSetOrySessionToken

NewContinueWithSetOrySessionToken instantiates a new ContinueWithSetOrySessionToken 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 NewContinueWithSetOrySessionTokenWithDefaults added in v0.13.1

func NewContinueWithSetOrySessionTokenWithDefaults() *ContinueWithSetOrySessionToken

NewContinueWithSetOrySessionTokenWithDefaults instantiates a new ContinueWithSetOrySessionToken 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 (*ContinueWithSetOrySessionToken) GetAction added in v0.13.1

func (o *ContinueWithSetOrySessionToken) GetAction() string

GetAction returns the Action field value

func (*ContinueWithSetOrySessionToken) GetActionOk added in v0.13.1

func (o *ContinueWithSetOrySessionToken) GetActionOk() (*string, bool)

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

func (*ContinueWithSetOrySessionToken) GetOrySessionToken added in v0.13.1

func (o *ContinueWithSetOrySessionToken) GetOrySessionToken() string

GetOrySessionToken returns the OrySessionToken field value

func (*ContinueWithSetOrySessionToken) GetOrySessionTokenOk added in v0.13.1

func (o *ContinueWithSetOrySessionToken) GetOrySessionTokenOk() (*string, bool)

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

func (ContinueWithSetOrySessionToken) MarshalJSON added in v0.13.1

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

func (*ContinueWithSetOrySessionToken) SetAction added in v0.13.1

func (o *ContinueWithSetOrySessionToken) SetAction(v string)

SetAction sets field value

func (*ContinueWithSetOrySessionToken) SetOrySessionToken added in v0.13.1

func (o *ContinueWithSetOrySessionToken) SetOrySessionToken(v string)

SetOrySessionToken sets field value

func (ContinueWithSetOrySessionToken) ToMap added in v1.1.0

func (o ContinueWithSetOrySessionToken) ToMap() (map[string]interface{}, error)

func (*ContinueWithSetOrySessionToken) UnmarshalJSON added in v1.0.0

func (o *ContinueWithSetOrySessionToken) UnmarshalJSON(bytes []byte) (err error)

type ContinueWithSettingsUi added in v1.1.0

type ContinueWithSettingsUi struct {
	// Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString
	Action               string                     `json:"action"`
	Flow                 ContinueWithSettingsUiFlow `json:"flow"`
	AdditionalProperties map[string]interface{}
}

ContinueWithSettingsUi Indicates, that the UI flow could be continued by showing a settings ui

func NewContinueWithSettingsUi added in v1.1.0

func NewContinueWithSettingsUi(action string, flow ContinueWithSettingsUiFlow) *ContinueWithSettingsUi

NewContinueWithSettingsUi instantiates a new ContinueWithSettingsUi 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 NewContinueWithSettingsUiWithDefaults added in v1.1.0

func NewContinueWithSettingsUiWithDefaults() *ContinueWithSettingsUi

NewContinueWithSettingsUiWithDefaults instantiates a new ContinueWithSettingsUi 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 (*ContinueWithSettingsUi) GetAction added in v1.1.0

func (o *ContinueWithSettingsUi) GetAction() string

GetAction returns the Action field value

func (*ContinueWithSettingsUi) GetActionOk added in v1.1.0

func (o *ContinueWithSettingsUi) GetActionOk() (*string, bool)

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

func (*ContinueWithSettingsUi) GetFlow added in v1.1.0

GetFlow returns the Flow field value

func (*ContinueWithSettingsUi) GetFlowOk added in v1.1.0

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

func (ContinueWithSettingsUi) MarshalJSON added in v1.1.0

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

func (*ContinueWithSettingsUi) SetAction added in v1.1.0

func (o *ContinueWithSettingsUi) SetAction(v string)

SetAction sets field value

func (*ContinueWithSettingsUi) SetFlow added in v1.1.0

SetFlow sets field value

func (ContinueWithSettingsUi) ToMap added in v1.1.0

func (o ContinueWithSettingsUi) ToMap() (map[string]interface{}, error)

func (*ContinueWithSettingsUi) UnmarshalJSON added in v1.1.0

func (o *ContinueWithSettingsUi) UnmarshalJSON(bytes []byte) (err error)

type ContinueWithSettingsUiFlow added in v1.1.0

type ContinueWithSettingsUiFlow struct {
	// The ID of the settings flow
	Id                   string `json:"id"`
	AdditionalProperties map[string]interface{}
}

ContinueWithSettingsUiFlow struct for ContinueWithSettingsUiFlow

func NewContinueWithSettingsUiFlow added in v1.1.0

func NewContinueWithSettingsUiFlow(id string) *ContinueWithSettingsUiFlow

NewContinueWithSettingsUiFlow instantiates a new ContinueWithSettingsUiFlow 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 NewContinueWithSettingsUiFlowWithDefaults added in v1.1.0

func NewContinueWithSettingsUiFlowWithDefaults() *ContinueWithSettingsUiFlow

NewContinueWithSettingsUiFlowWithDefaults instantiates a new ContinueWithSettingsUiFlow 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 (*ContinueWithSettingsUiFlow) GetId added in v1.1.0

GetId returns the Id field value

func (*ContinueWithSettingsUiFlow) GetIdOk added in v1.1.0

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

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

func (ContinueWithSettingsUiFlow) MarshalJSON added in v1.1.0

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

func (*ContinueWithSettingsUiFlow) SetId added in v1.1.0

func (o *ContinueWithSettingsUiFlow) SetId(v string)

SetId sets field value

func (ContinueWithSettingsUiFlow) ToMap added in v1.1.0

func (o ContinueWithSettingsUiFlow) ToMap() (map[string]interface{}, error)

func (*ContinueWithSettingsUiFlow) UnmarshalJSON added in v1.1.0

func (o *ContinueWithSettingsUiFlow) UnmarshalJSON(bytes []byte) (err error)

type ContinueWithVerificationUi added in v0.13.1

type ContinueWithVerificationUi struct {
	// Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString
	Action               string                         `json:"action"`
	Flow                 ContinueWithVerificationUiFlow `json:"flow"`
	AdditionalProperties map[string]interface{}
}

ContinueWithVerificationUi Indicates, that the UI flow could be continued by showing a verification ui

func NewContinueWithVerificationUi added in v0.13.1

func NewContinueWithVerificationUi(action string, flow ContinueWithVerificationUiFlow) *ContinueWithVerificationUi

NewContinueWithVerificationUi instantiates a new ContinueWithVerificationUi 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 NewContinueWithVerificationUiWithDefaults added in v0.13.1

func NewContinueWithVerificationUiWithDefaults() *ContinueWithVerificationUi

NewContinueWithVerificationUiWithDefaults instantiates a new ContinueWithVerificationUi 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 (*ContinueWithVerificationUi) GetAction added in v0.13.1

func (o *ContinueWithVerificationUi) GetAction() string

GetAction returns the Action field value

func (*ContinueWithVerificationUi) GetActionOk added in v0.13.1

func (o *ContinueWithVerificationUi) GetActionOk() (*string, bool)

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

func (*ContinueWithVerificationUi) GetFlow added in v0.13.1

GetFlow returns the Flow field value

func (*ContinueWithVerificationUi) GetFlowOk added in v0.13.1

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

func (ContinueWithVerificationUi) MarshalJSON added in v0.13.1

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

func (*ContinueWithVerificationUi) SetAction added in v0.13.1

func (o *ContinueWithVerificationUi) SetAction(v string)

SetAction sets field value

func (*ContinueWithVerificationUi) SetFlow added in v0.13.1

SetFlow sets field value

func (ContinueWithVerificationUi) ToMap added in v1.1.0

func (o ContinueWithVerificationUi) ToMap() (map[string]interface{}, error)

func (*ContinueWithVerificationUi) UnmarshalJSON added in v1.0.0

func (o *ContinueWithVerificationUi) UnmarshalJSON(bytes []byte) (err error)

type ContinueWithVerificationUiFlow added in v0.13.1

type ContinueWithVerificationUiFlow struct {
	// The ID of the verification flow
	Id string `json:"id"`
	// The URL of the verification flow
	Url *string `json:"url,omitempty"`
	// The address that should be verified in this flow
	VerifiableAddress    string `json:"verifiable_address"`
	AdditionalProperties map[string]interface{}
}

ContinueWithVerificationUiFlow struct for ContinueWithVerificationUiFlow

func NewContinueWithVerificationUiFlow added in v0.13.1

func NewContinueWithVerificationUiFlow(id string, verifiableAddress string) *ContinueWithVerificationUiFlow

NewContinueWithVerificationUiFlow instantiates a new ContinueWithVerificationUiFlow 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 NewContinueWithVerificationUiFlowWithDefaults added in v0.13.1

func NewContinueWithVerificationUiFlowWithDefaults() *ContinueWithVerificationUiFlow

NewContinueWithVerificationUiFlowWithDefaults instantiates a new ContinueWithVerificationUiFlow 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 (*ContinueWithVerificationUiFlow) GetId added in v0.13.1

GetId returns the Id field value

func (*ContinueWithVerificationUiFlow) GetIdOk added in v0.13.1

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

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

func (*ContinueWithVerificationUiFlow) GetUrl added in v0.13.1

GetUrl returns the Url field value if set, zero value otherwise.

func (*ContinueWithVerificationUiFlow) GetUrlOk added in v0.13.1

func (o *ContinueWithVerificationUiFlow) GetUrlOk() (*string, bool)

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

func (*ContinueWithVerificationUiFlow) GetVerifiableAddress added in v0.13.1

func (o *ContinueWithVerificationUiFlow) GetVerifiableAddress() string

GetVerifiableAddress returns the VerifiableAddress field value

func (*ContinueWithVerificationUiFlow) GetVerifiableAddressOk added in v0.13.1

func (o *ContinueWithVerificationUiFlow) GetVerifiableAddressOk() (*string, bool)

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

func (*ContinueWithVerificationUiFlow) HasUrl added in v0.13.1

HasUrl returns a boolean if a field has been set.

func (ContinueWithVerificationUiFlow) MarshalJSON added in v0.13.1

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

func (*ContinueWithVerificationUiFlow) SetId added in v0.13.1

SetId sets field value

func (*ContinueWithVerificationUiFlow) SetUrl added in v0.13.1

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*ContinueWithVerificationUiFlow) SetVerifiableAddress added in v0.13.1

func (o *ContinueWithVerificationUiFlow) SetVerifiableAddress(v string)

SetVerifiableAddress sets field value

func (ContinueWithVerificationUiFlow) ToMap added in v1.1.0

func (o ContinueWithVerificationUiFlow) ToMap() (map[string]interface{}, error)

func (*ContinueWithVerificationUiFlow) UnmarshalJSON added in v1.0.0

func (o *ContinueWithVerificationUiFlow) UnmarshalJSON(bytes []byte) (err error)

type CourierAPI added in v1.1.0

type CourierAPI interface {

	/*
		GetCourierMessage Get a Message

		Gets a specific messages by the given ID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id MessageID is the ID of the message.
		@return CourierAPIGetCourierMessageRequest
	*/
	GetCourierMessage(ctx context.Context, id string) CourierAPIGetCourierMessageRequest

	// GetCourierMessageExecute executes the request
	//  @return Message
	GetCourierMessageExecute(r CourierAPIGetCourierMessageRequest) (*Message, *http.Response, error)

	/*
		ListCourierMessages List Messages

		Lists all messages by given status and recipient.

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

	// ListCourierMessagesExecute executes the request
	//  @return []Message
	ListCourierMessagesExecute(r CourierAPIListCourierMessagesRequest) ([]Message, *http.Response, error)
}

type CourierAPIGetCourierMessageRequest added in v1.1.0

type CourierAPIGetCourierMessageRequest struct {
	ApiService CourierAPI
	// contains filtered or unexported fields
}

func (CourierAPIGetCourierMessageRequest) Execute added in v1.1.0

type CourierAPIListCourierMessagesRequest added in v1.1.0

type CourierAPIListCourierMessagesRequest struct {
	ApiService CourierAPI
	// contains filtered or unexported fields
}

func (CourierAPIListCourierMessagesRequest) Execute added in v1.1.0

func (CourierAPIListCourierMessagesRequest) PageSize added in v1.1.0

Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (CourierAPIListCourierMessagesRequest) PageToken added in v1.1.0

Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (CourierAPIListCourierMessagesRequest) Recipient added in v1.1.0

Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter.

func (CourierAPIListCourierMessagesRequest) Status added in v1.1.0

Status filters out messages based on status. If no value is provided, it doesn't take effect on filter.

type CourierAPIService added in v1.1.0

type CourierAPIService service

CourierAPIService CourierAPI service

func (*CourierAPIService) GetCourierMessage added in v1.1.0

GetCourierMessage Get a Message

Gets a specific messages by the given ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id MessageID is the ID of the message.
@return CourierAPIGetCourierMessageRequest

func (*CourierAPIService) GetCourierMessageExecute added in v1.1.0

func (a *CourierAPIService) GetCourierMessageExecute(r CourierAPIGetCourierMessageRequest) (*Message, *http.Response, error)

Execute executes the request

@return Message

func (*CourierAPIService) ListCourierMessages added in v1.1.0

ListCourierMessages List Messages

Lists all messages by given status and recipient.

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

func (*CourierAPIService) ListCourierMessagesExecute added in v1.1.0

func (a *CourierAPIService) ListCourierMessagesExecute(r CourierAPIListCourierMessagesRequest) ([]Message, *http.Response, error)

Execute executes the request

@return []Message

type CourierMessageStatus added in v0.11.0

type CourierMessageStatus string

CourierMessageStatus A Message's Status

const (
	COURIERMESSAGESTATUS_QUEUED     CourierMessageStatus = "queued"
	COURIERMESSAGESTATUS_SENT       CourierMessageStatus = "sent"
	COURIERMESSAGESTATUS_PROCESSING CourierMessageStatus = "processing"
	COURIERMESSAGESTATUS_ABANDONED  CourierMessageStatus = "abandoned"
)

List of courierMessageStatus

func NewCourierMessageStatusFromValue added in v0.11.0

func NewCourierMessageStatusFromValue(v string) (*CourierMessageStatus, error)

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

func (CourierMessageStatus) IsValid added in v0.11.0

func (v CourierMessageStatus) IsValid() bool

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

func (CourierMessageStatus) Ptr added in v0.11.0

Ptr returns reference to courierMessageStatus value

func (*CourierMessageStatus) UnmarshalJSON added in v0.11.0

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

type CourierMessageType added in v0.11.0

type CourierMessageType string

CourierMessageType It can either be `email` or `phone`

const (
	COURIERMESSAGETYPE_EMAIL CourierMessageType = "email"
	COURIERMESSAGETYPE_PHONE CourierMessageType = "phone"
)

List of courierMessageType

func NewCourierMessageTypeFromValue added in v0.11.0

func NewCourierMessageTypeFromValue(v string) (*CourierMessageType, error)

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

func (CourierMessageType) IsValid added in v0.11.0

func (v CourierMessageType) IsValid() bool

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

func (CourierMessageType) Ptr added in v0.11.0

Ptr returns reference to courierMessageType value

func (*CourierMessageType) UnmarshalJSON added in v0.11.0

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

type CreateIdentityBody added in v0.11.0

type CreateIdentityBody struct {
	Credentials *IdentityWithCredentials `json:"credentials,omitempty"`
	// Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`.
	MetadataAdmin interface{} `json:"metadata_admin,omitempty"`
	// Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field.
	MetadataPublic interface{} `json:"metadata_public,omitempty"`
	// RecoveryAddresses contains all the addresses that can be used to recover an identity.  Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update.
	RecoveryAddresses []RecoveryIdentityAddress `json:"recovery_addresses,omitempty"`
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
	SchemaId string `json:"schema_id"`
	// State is the identity's state. active StateActive inactive StateInactive
	State *string `json:"state,omitempty"`
	// Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
	Traits map[string]interface{} `json:"traits"`
	// VerifiableAddresses contains all the addresses that can be verified by the user.  Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update.
	VerifiableAddresses  []VerifiableIdentityAddress `json:"verifiable_addresses,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateIdentityBody Create Identity Body

func NewCreateIdentityBody added in v0.11.0

func NewCreateIdentityBody(schemaId string, traits map[string]interface{}) *CreateIdentityBody

NewCreateIdentityBody instantiates a new CreateIdentityBody 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 NewCreateIdentityBodyWithDefaults added in v0.11.0

func NewCreateIdentityBodyWithDefaults() *CreateIdentityBody

NewCreateIdentityBodyWithDefaults instantiates a new CreateIdentityBody 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 (*CreateIdentityBody) GetCredentials added in v0.11.0

func (o *CreateIdentityBody) GetCredentials() IdentityWithCredentials

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

func (*CreateIdentityBody) GetCredentialsOk added in v0.11.0

func (o *CreateIdentityBody) GetCredentialsOk() (*IdentityWithCredentials, 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 (*CreateIdentityBody) GetMetadataAdmin added in v0.11.0

func (o *CreateIdentityBody) GetMetadataAdmin() interface{}

GetMetadataAdmin returns the MetadataAdmin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateIdentityBody) GetMetadataAdminOk added in v0.11.0

func (o *CreateIdentityBody) GetMetadataAdminOk() (*interface{}, bool)

GetMetadataAdminOk returns a tuple with the MetadataAdmin 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 (*CreateIdentityBody) GetMetadataPublic added in v0.11.0

func (o *CreateIdentityBody) GetMetadataPublic() interface{}

GetMetadataPublic returns the MetadataPublic field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateIdentityBody) GetMetadataPublicOk added in v0.11.0

func (o *CreateIdentityBody) GetMetadataPublicOk() (*interface{}, bool)

GetMetadataPublicOk returns a tuple with the MetadataPublic 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 (*CreateIdentityBody) GetRecoveryAddresses added in v0.11.0

func (o *CreateIdentityBody) GetRecoveryAddresses() []RecoveryIdentityAddress

GetRecoveryAddresses returns the RecoveryAddresses field value if set, zero value otherwise.

func (*CreateIdentityBody) GetRecoveryAddressesOk added in v0.11.0

func (o *CreateIdentityBody) GetRecoveryAddressesOk() ([]RecoveryIdentityAddress, bool)

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

func (*CreateIdentityBody) GetSchemaId added in v0.11.0

func (o *CreateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*CreateIdentityBody) GetSchemaIdOk added in v0.11.0

func (o *CreateIdentityBody) GetSchemaIdOk() (*string, bool)

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

func (*CreateIdentityBody) GetState added in v0.11.0

func (o *CreateIdentityBody) GetState() string

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

func (*CreateIdentityBody) GetStateOk added in v0.11.0

func (o *CreateIdentityBody) GetStateOk() (*string, 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 (*CreateIdentityBody) GetTraits added in v0.11.0

func (o *CreateIdentityBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*CreateIdentityBody) GetTraitsOk added in v0.11.0

func (o *CreateIdentityBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*CreateIdentityBody) GetVerifiableAddresses added in v0.11.0

func (o *CreateIdentityBody) GetVerifiableAddresses() []VerifiableIdentityAddress

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

func (*CreateIdentityBody) GetVerifiableAddressesOk added in v0.11.0

func (o *CreateIdentityBody) GetVerifiableAddressesOk() ([]VerifiableIdentityAddress, 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 (*CreateIdentityBody) HasCredentials added in v0.11.0

func (o *CreateIdentityBody) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*CreateIdentityBody) HasMetadataAdmin added in v0.11.0

func (o *CreateIdentityBody) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*CreateIdentityBody) HasMetadataPublic added in v0.11.0

func (o *CreateIdentityBody) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (*CreateIdentityBody) HasRecoveryAddresses added in v0.11.0

func (o *CreateIdentityBody) HasRecoveryAddresses() bool

HasRecoveryAddresses returns a boolean if a field has been set.

func (*CreateIdentityBody) HasState added in v0.11.0

func (o *CreateIdentityBody) HasState() bool

HasState returns a boolean if a field has been set.

func (*CreateIdentityBody) HasVerifiableAddresses added in v0.11.0

func (o *CreateIdentityBody) HasVerifiableAddresses() bool

HasVerifiableAddresses returns a boolean if a field has been set.

func (CreateIdentityBody) MarshalJSON added in v0.11.0

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

func (*CreateIdentityBody) SetCredentials added in v0.11.0

func (o *CreateIdentityBody) SetCredentials(v IdentityWithCredentials)

SetCredentials gets a reference to the given IdentityWithCredentials and assigns it to the Credentials field.

func (*CreateIdentityBody) SetMetadataAdmin added in v0.11.0

func (o *CreateIdentityBody) SetMetadataAdmin(v interface{})

SetMetadataAdmin gets a reference to the given interface{} and assigns it to the MetadataAdmin field.

func (*CreateIdentityBody) SetMetadataPublic added in v0.11.0

func (o *CreateIdentityBody) SetMetadataPublic(v interface{})

SetMetadataPublic gets a reference to the given interface{} and assigns it to the MetadataPublic field.

func (*CreateIdentityBody) SetRecoveryAddresses added in v0.11.0

func (o *CreateIdentityBody) SetRecoveryAddresses(v []RecoveryIdentityAddress)

SetRecoveryAddresses gets a reference to the given []RecoveryIdentityAddress and assigns it to the RecoveryAddresses field.

func (*CreateIdentityBody) SetSchemaId added in v0.11.0

func (o *CreateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*CreateIdentityBody) SetState added in v0.11.0

func (o *CreateIdentityBody) SetState(v string)

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

func (*CreateIdentityBody) SetTraits added in v0.11.0

func (o *CreateIdentityBody) SetTraits(v map[string]interface{})

SetTraits sets field value

func (*CreateIdentityBody) SetVerifiableAddresses added in v0.11.0

func (o *CreateIdentityBody) SetVerifiableAddresses(v []VerifiableIdentityAddress)

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

func (CreateIdentityBody) ToMap added in v1.1.0

func (o CreateIdentityBody) ToMap() (map[string]interface{}, error)

func (*CreateIdentityBody) UnmarshalJSON added in v1.0.0

func (o *CreateIdentityBody) UnmarshalJSON(bytes []byte) (err error)

type CreateRecoveryCodeForIdentityBody added in v0.11.0

type CreateRecoveryCodeForIdentityBody struct {
	// Code Expires In  The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`.
	ExpiresIn *string `json:"expires_in,omitempty"`
	// Identity to Recover  The identity's ID you wish to recover.
	IdentityId           string `json:"identity_id"`
	AdditionalProperties map[string]interface{}
}

CreateRecoveryCodeForIdentityBody Create Recovery Code for Identity Request Body

func NewCreateRecoveryCodeForIdentityBody added in v0.11.0

func NewCreateRecoveryCodeForIdentityBody(identityId string) *CreateRecoveryCodeForIdentityBody

NewCreateRecoveryCodeForIdentityBody instantiates a new CreateRecoveryCodeForIdentityBody 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 NewCreateRecoveryCodeForIdentityBodyWithDefaults added in v0.11.0

func NewCreateRecoveryCodeForIdentityBodyWithDefaults() *CreateRecoveryCodeForIdentityBody

NewCreateRecoveryCodeForIdentityBodyWithDefaults instantiates a new CreateRecoveryCodeForIdentityBody 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 (*CreateRecoveryCodeForIdentityBody) GetExpiresIn added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) GetExpiresIn() string

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*CreateRecoveryCodeForIdentityBody) GetExpiresInOk added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) GetExpiresInOk() (*string, bool)

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

func (*CreateRecoveryCodeForIdentityBody) GetIdentityId added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) GetIdentityId() string

GetIdentityId returns the IdentityId field value

func (*CreateRecoveryCodeForIdentityBody) GetIdentityIdOk added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) GetIdentityIdOk() (*string, bool)

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

func (*CreateRecoveryCodeForIdentityBody) HasExpiresIn added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (CreateRecoveryCodeForIdentityBody) MarshalJSON added in v0.11.0

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

func (*CreateRecoveryCodeForIdentityBody) SetExpiresIn added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) SetExpiresIn(v string)

SetExpiresIn gets a reference to the given string and assigns it to the ExpiresIn field.

func (*CreateRecoveryCodeForIdentityBody) SetIdentityId added in v0.11.0

func (o *CreateRecoveryCodeForIdentityBody) SetIdentityId(v string)

SetIdentityId sets field value

func (CreateRecoveryCodeForIdentityBody) ToMap added in v1.1.0

func (o CreateRecoveryCodeForIdentityBody) ToMap() (map[string]interface{}, error)

func (*CreateRecoveryCodeForIdentityBody) UnmarshalJSON added in v1.0.0

func (o *CreateRecoveryCodeForIdentityBody) UnmarshalJSON(bytes []byte) (err error)

type CreateRecoveryLinkForIdentityBody added in v0.11.0

type CreateRecoveryLinkForIdentityBody struct {
	// Link Expires In  The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`.
	ExpiresIn *string `json:"expires_in,omitempty"`
	// Identity to Recover  The identity's ID you wish to recover.
	IdentityId           string `json:"identity_id"`
	AdditionalProperties map[string]interface{}
}

CreateRecoveryLinkForIdentityBody Create Recovery Link for Identity Request Body

func NewCreateRecoveryLinkForIdentityBody added in v0.11.0

func NewCreateRecoveryLinkForIdentityBody(identityId string) *CreateRecoveryLinkForIdentityBody

NewCreateRecoveryLinkForIdentityBody instantiates a new CreateRecoveryLinkForIdentityBody 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 NewCreateRecoveryLinkForIdentityBodyWithDefaults added in v0.11.0

func NewCreateRecoveryLinkForIdentityBodyWithDefaults() *CreateRecoveryLinkForIdentityBody

NewCreateRecoveryLinkForIdentityBodyWithDefaults instantiates a new CreateRecoveryLinkForIdentityBody 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 (*CreateRecoveryLinkForIdentityBody) GetExpiresIn added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) GetExpiresIn() string

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*CreateRecoveryLinkForIdentityBody) GetExpiresInOk added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) GetExpiresInOk() (*string, bool)

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

func (*CreateRecoveryLinkForIdentityBody) GetIdentityId added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) GetIdentityId() string

GetIdentityId returns the IdentityId field value

func (*CreateRecoveryLinkForIdentityBody) GetIdentityIdOk added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) GetIdentityIdOk() (*string, bool)

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

func (*CreateRecoveryLinkForIdentityBody) HasExpiresIn added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (CreateRecoveryLinkForIdentityBody) MarshalJSON added in v0.11.0

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

func (*CreateRecoveryLinkForIdentityBody) SetExpiresIn added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) SetExpiresIn(v string)

SetExpiresIn gets a reference to the given string and assigns it to the ExpiresIn field.

func (*CreateRecoveryLinkForIdentityBody) SetIdentityId added in v0.11.0

func (o *CreateRecoveryLinkForIdentityBody) SetIdentityId(v string)

SetIdentityId sets field value

func (CreateRecoveryLinkForIdentityBody) ToMap added in v1.1.0

func (o CreateRecoveryLinkForIdentityBody) ToMap() (map[string]interface{}, error)

func (*CreateRecoveryLinkForIdentityBody) UnmarshalJSON added in v1.0.0

func (o *CreateRecoveryLinkForIdentityBody) UnmarshalJSON(bytes []byte) (err error)

type DeleteMySessionsCount added in v0.11.0

type DeleteMySessionsCount struct {
	// The number of sessions that were revoked.
	Count                *int64 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeleteMySessionsCount Deleted Session Count

func NewDeleteMySessionsCount added in v0.11.0

func NewDeleteMySessionsCount() *DeleteMySessionsCount

NewDeleteMySessionsCount instantiates a new DeleteMySessionsCount 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 NewDeleteMySessionsCountWithDefaults added in v0.11.0

func NewDeleteMySessionsCountWithDefaults() *DeleteMySessionsCount

NewDeleteMySessionsCountWithDefaults instantiates a new DeleteMySessionsCount 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 (*DeleteMySessionsCount) GetCount added in v0.11.0

func (o *DeleteMySessionsCount) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*DeleteMySessionsCount) GetCountOk added in v0.11.0

func (o *DeleteMySessionsCount) GetCountOk() (*int64, bool)

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

func (*DeleteMySessionsCount) HasCount added in v0.11.0

func (o *DeleteMySessionsCount) HasCount() bool

HasCount returns a boolean if a field has been set.

func (DeleteMySessionsCount) MarshalJSON added in v0.11.0

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

func (*DeleteMySessionsCount) SetCount added in v0.11.0

func (o *DeleteMySessionsCount) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (DeleteMySessionsCount) ToMap added in v1.1.0

func (o DeleteMySessionsCount) ToMap() (map[string]interface{}, error)

func (*DeleteMySessionsCount) UnmarshalJSON added in v1.0.0

func (o *DeleteMySessionsCount) UnmarshalJSON(bytes []byte) (err error)

type ErrorAuthenticatorAssuranceLevelNotSatisfied

type ErrorAuthenticatorAssuranceLevelNotSatisfied struct {
	Error *GenericError `json:"error,omitempty"`
	// Points to where to redirect the user to next.
	RedirectBrowserTo    *string `json:"redirect_browser_to,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorAuthenticatorAssuranceLevelNotSatisfied struct for ErrorAuthenticatorAssuranceLevelNotSatisfied

func NewErrorAuthenticatorAssuranceLevelNotSatisfied

func NewErrorAuthenticatorAssuranceLevelNotSatisfied() *ErrorAuthenticatorAssuranceLevelNotSatisfied

NewErrorAuthenticatorAssuranceLevelNotSatisfied instantiates a new ErrorAuthenticatorAssuranceLevelNotSatisfied 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 NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults

func NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults() *ErrorAuthenticatorAssuranceLevelNotSatisfied

NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults instantiates a new ErrorAuthenticatorAssuranceLevelNotSatisfied 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 (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetError added in v0.13.1

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetErrorOk added in v0.13.1

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserTo

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserTo() string

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserToOk

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) 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 (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasError added in v0.13.1

HasError returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasRedirectBrowserTo

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) HasRedirectBrowserTo() bool

HasRedirectBrowserTo returns a boolean if a field has been set.

func (ErrorAuthenticatorAssuranceLevelNotSatisfied) MarshalJSON

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetError added in v0.13.1

SetError gets a reference to the given GenericError and assigns it to the Error field.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetRedirectBrowserTo

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) SetRedirectBrowserTo(v string)

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

func (ErrorAuthenticatorAssuranceLevelNotSatisfied) ToMap added in v1.1.0

func (o ErrorAuthenticatorAssuranceLevelNotSatisfied) ToMap() (map[string]interface{}, error)

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) UnmarshalJSON added in v1.0.0

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) UnmarshalJSON(bytes []byte) (err error)

type ErrorBrowserLocationChangeRequired added in v0.11.0

type ErrorBrowserLocationChangeRequired struct {
	Error *ErrorGeneric `json:"error,omitempty"`
	// Points to where to redirect the user to next.
	RedirectBrowserTo    *string `json:"redirect_browser_to,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorBrowserLocationChangeRequired struct for ErrorBrowserLocationChangeRequired

func NewErrorBrowserLocationChangeRequired added in v0.11.0

func NewErrorBrowserLocationChangeRequired() *ErrorBrowserLocationChangeRequired

NewErrorBrowserLocationChangeRequired instantiates a new ErrorBrowserLocationChangeRequired 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 NewErrorBrowserLocationChangeRequiredWithDefaults added in v0.11.0

func NewErrorBrowserLocationChangeRequiredWithDefaults() *ErrorBrowserLocationChangeRequired

NewErrorBrowserLocationChangeRequiredWithDefaults instantiates a new ErrorBrowserLocationChangeRequired 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 (*ErrorBrowserLocationChangeRequired) GetError added in v0.13.1

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorBrowserLocationChangeRequired) GetErrorOk added in v0.13.1

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

func (*ErrorBrowserLocationChangeRequired) GetRedirectBrowserTo added in v0.11.0

func (o *ErrorBrowserLocationChangeRequired) GetRedirectBrowserTo() string

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

func (*ErrorBrowserLocationChangeRequired) GetRedirectBrowserToOk added in v0.11.0

func (o *ErrorBrowserLocationChangeRequired) 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 (*ErrorBrowserLocationChangeRequired) HasError added in v0.13.1

HasError returns a boolean if a field has been set.

func (*ErrorBrowserLocationChangeRequired) HasRedirectBrowserTo added in v0.11.0

func (o *ErrorBrowserLocationChangeRequired) HasRedirectBrowserTo() bool

HasRedirectBrowserTo returns a boolean if a field has been set.

func (ErrorBrowserLocationChangeRequired) MarshalJSON added in v0.11.0

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

func (*ErrorBrowserLocationChangeRequired) SetError added in v0.13.1

SetError gets a reference to the given ErrorGeneric and assigns it to the Error field.

func (*ErrorBrowserLocationChangeRequired) SetRedirectBrowserTo added in v0.11.0

func (o *ErrorBrowserLocationChangeRequired) SetRedirectBrowserTo(v string)

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

func (ErrorBrowserLocationChangeRequired) ToMap added in v1.1.0

func (o ErrorBrowserLocationChangeRequired) ToMap() (map[string]interface{}, error)

func (*ErrorBrowserLocationChangeRequired) UnmarshalJSON added in v1.0.0

func (o *ErrorBrowserLocationChangeRequired) UnmarshalJSON(bytes []byte) (err error)

type ErrorFlowReplaced added in v0.11.0

type ErrorFlowReplaced struct {
	Error *GenericError `json:"error,omitempty"`
	// The flow ID that should be used for the new flow as it contains the correct messages.
	UseFlowId            *string `json:"use_flow_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorFlowReplaced Is sent when a flow is replaced by a different flow of the same class

func NewErrorFlowReplaced added in v0.11.0

func NewErrorFlowReplaced() *ErrorFlowReplaced

NewErrorFlowReplaced instantiates a new ErrorFlowReplaced 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 NewErrorFlowReplacedWithDefaults added in v0.11.0

func NewErrorFlowReplacedWithDefaults() *ErrorFlowReplaced

NewErrorFlowReplacedWithDefaults instantiates a new ErrorFlowReplaced 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 (*ErrorFlowReplaced) GetError added in v0.13.1

func (o *ErrorFlowReplaced) GetError() GenericError

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorFlowReplaced) GetErrorOk added in v0.13.1

func (o *ErrorFlowReplaced) GetErrorOk() (*GenericError, bool)

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

func (*ErrorFlowReplaced) GetUseFlowId added in v0.11.0

func (o *ErrorFlowReplaced) GetUseFlowId() string

GetUseFlowId returns the UseFlowId field value if set, zero value otherwise.

func (*ErrorFlowReplaced) GetUseFlowIdOk added in v0.11.0

func (o *ErrorFlowReplaced) GetUseFlowIdOk() (*string, bool)

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

func (*ErrorFlowReplaced) HasError added in v0.13.1

func (o *ErrorFlowReplaced) HasError() bool

HasError returns a boolean if a field has been set.

func (*ErrorFlowReplaced) HasUseFlowId added in v0.11.0

func (o *ErrorFlowReplaced) HasUseFlowId() bool

HasUseFlowId returns a boolean if a field has been set.

func (ErrorFlowReplaced) MarshalJSON added in v0.11.0

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

func (*ErrorFlowReplaced) SetError added in v0.13.1

func (o *ErrorFlowReplaced) SetError(v GenericError)

SetError gets a reference to the given GenericError and assigns it to the Error field.

func (*ErrorFlowReplaced) SetUseFlowId added in v0.11.0

func (o *ErrorFlowReplaced) SetUseFlowId(v string)

SetUseFlowId gets a reference to the given string and assigns it to the UseFlowId field.

func (ErrorFlowReplaced) ToMap added in v1.1.0

func (o ErrorFlowReplaced) ToMap() (map[string]interface{}, error)

func (*ErrorFlowReplaced) UnmarshalJSON added in v1.0.0

func (o *ErrorFlowReplaced) UnmarshalJSON(bytes []byte) (err error)

type ErrorGeneric added in v0.11.0

type ErrorGeneric struct {
	Error                GenericError `json:"error"`
	AdditionalProperties map[string]interface{}
}

ErrorGeneric The standard Ory JSON API error format.

func NewErrorGeneric added in v0.11.0

func NewErrorGeneric(error_ GenericError) *ErrorGeneric

NewErrorGeneric instantiates a new ErrorGeneric 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 NewErrorGenericWithDefaults added in v0.11.0

func NewErrorGenericWithDefaults() *ErrorGeneric

NewErrorGenericWithDefaults instantiates a new ErrorGeneric 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 (*ErrorGeneric) GetError added in v0.11.0

func (o *ErrorGeneric) GetError() GenericError

GetError returns the Error field value

func (*ErrorGeneric) GetErrorOk added in v0.11.0

func (o *ErrorGeneric) GetErrorOk() (*GenericError, bool)

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

func (ErrorGeneric) MarshalJSON added in v0.11.0

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

func (*ErrorGeneric) SetError added in v0.11.0

func (o *ErrorGeneric) SetError(v GenericError)

SetError sets field value

func (ErrorGeneric) ToMap added in v1.1.0

func (o ErrorGeneric) ToMap() (map[string]interface{}, error)

func (*ErrorGeneric) UnmarshalJSON added in v1.0.0

func (o *ErrorGeneric) UnmarshalJSON(bytes []byte) (err error)

type FlowError added in v0.11.0

type FlowError struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time             `json:"created_at,omitempty"`
	Error     map[string]interface{} `json:"error,omitempty"`
	// ID of the error container.
	Id string `json:"id"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

FlowError struct for FlowError

func NewFlowError added in v0.11.0

func NewFlowError(id string) *FlowError

NewFlowError instantiates a new FlowError 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 NewFlowErrorWithDefaults added in v0.11.0

func NewFlowErrorWithDefaults() *FlowError

NewFlowErrorWithDefaults instantiates a new FlowError 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 (*FlowError) GetCreatedAt added in v0.11.0

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

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

func (*FlowError) GetCreatedAtOk added in v0.11.0

func (o *FlowError) 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 (*FlowError) GetError added in v0.11.0

func (o *FlowError) GetError() map[string]interface{}

GetError returns the Error field value if set, zero value otherwise.

func (*FlowError) GetErrorOk added in v0.11.0

func (o *FlowError) GetErrorOk() (map[string]interface{}, bool)

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

func (*FlowError) GetId added in v0.11.0

func (o *FlowError) GetId() string

GetId returns the Id field value

func (*FlowError) GetIdOk added in v0.11.0

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

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

func (*FlowError) GetUpdatedAt added in v0.11.0

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

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

func (*FlowError) GetUpdatedAtOk added in v0.11.0

func (o *FlowError) 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 (*FlowError) HasCreatedAt added in v0.11.0

func (o *FlowError) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FlowError) HasError added in v0.11.0

func (o *FlowError) HasError() bool

HasError returns a boolean if a field has been set.

func (*FlowError) HasUpdatedAt added in v0.11.0

func (o *FlowError) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FlowError) MarshalJSON added in v0.11.0

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

func (*FlowError) SetCreatedAt added in v0.11.0

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

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

func (*FlowError) SetError added in v0.11.0

func (o *FlowError) SetError(v map[string]interface{})

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

func (*FlowError) SetId added in v0.11.0

func (o *FlowError) SetId(v string)

SetId sets field value

func (*FlowError) SetUpdatedAt added in v0.11.0

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

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

func (FlowError) ToMap added in v1.1.0

func (o FlowError) ToMap() (map[string]interface{}, error)

func (*FlowError) UnmarshalJSON added in v1.0.0

func (o *FlowError) UnmarshalJSON(bytes []byte) (err error)

type FrontendAPI added in v1.1.0

type FrontendAPI interface {

	/*
		CreateBrowserLoginFlow Create 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!

	The optional query parameter login_challenge is set when using Kratos with
	Hydra in an OAuth2 flow. See the oauth2_provider.url configuration
	option.

	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 [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

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

	/*
		CreateBrowserLogoutFlow 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 Ory 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 FrontendAPICreateBrowserLogoutFlowRequest
	*/
	CreateBrowserLogoutFlow(ctx context.Context) FrontendAPICreateBrowserLogoutFlowRequest

	// CreateBrowserLogoutFlowExecute executes the request
	//  @return LogoutFlow
	CreateBrowserLogoutFlowExecute(r FrontendAPICreateBrowserLogoutFlowRequest) (*LogoutFlow, *http.Response, error)

	/*
		CreateBrowserRecoveryFlow Create 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 [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

	// CreateBrowserRecoveryFlowExecute executes the request
	//  @return RecoveryFlow
	CreateBrowserRecoveryFlowExecute(r FrontendAPICreateBrowserRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

	/*
		CreateBrowserRegistrationFlow Create 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.

	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.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

	// CreateBrowserRegistrationFlowExecute executes the request
	//  @return RegistrationFlow
	CreateBrowserRegistrationFlowExecute(r FrontendAPICreateBrowserRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)

	/*
		CreateBrowserSettingsFlow Create 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
	Ory Kratos 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 Ory 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.

	More information can be found at [Ory Kratos 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 FrontendAPICreateBrowserSettingsFlowRequest
	*/
	CreateBrowserSettingsFlow(ctx context.Context) FrontendAPICreateBrowserSettingsFlowRequest

	// CreateBrowserSettingsFlowExecute executes the request
	//  @return SettingsFlow
	CreateBrowserSettingsFlowExecute(r FrontendAPICreateBrowserSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

	/*
		CreateBrowserVerificationFlow Create 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, ...).

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

	// CreateBrowserVerificationFlowExecute executes the request
	//  @return VerificationFlow
	CreateBrowserVerificationFlowExecute(r FrontendAPICreateBrowserVerificationFlowRequest) (*VerificationFlow, *http.Response, error)

	/*
		CreateNativeLoginFlow Create Login Flow for Native Apps

		This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on.

	If a valid provided session cookie or session token is provided, a 400 Bad Request error
	will be returned unless the URL query parameter `?refresh=true` is set.

	To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks, including CSRF login attacks.

	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.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

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

	/*
		CreateNativeRecoveryFlow Create Recovery Flow for Native Apps

		This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.

	If a valid provided session cookie or session token is provided, a 400 Bad Request error.

	On an existing recovery flow, use the `getRecoveryFlow` API endpoint.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

	// CreateNativeRecoveryFlowExecute executes the request
	//  @return RecoveryFlow
	CreateNativeRecoveryFlowExecute(r FrontendAPICreateNativeRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

	/*
		CreateNativeRegistrationFlow Create Registration Flow for Native Apps

		This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on.

	If a valid provided session cookie or session token is provided, a 400 Bad Request error
	will be returned unless the URL query parameter `?refresh=true` is set.

	To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	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.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

	// CreateNativeRegistrationFlowExecute executes the request
	//  @return RegistrationFlow
	CreateNativeRegistrationFlowExecute(r FrontendAPICreateNativeRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)

	/*
		CreateNativeSettingsFlow Create Settings Flow for Native Apps

		This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on.
	You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK.

	To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	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.

	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 Ory Session was found - sign in a user first.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos 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 FrontendAPICreateNativeSettingsFlowRequest
	*/
	CreateNativeSettingsFlow(ctx context.Context) FrontendAPICreateNativeSettingsFlowRequest

	// CreateNativeSettingsFlowExecute executes the request
	//  @return SettingsFlow
	CreateNativeSettingsFlowExecute(r FrontendAPICreateNativeSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

	/*
		CreateNativeVerificationFlow Create Verification Flow for Native Apps

		This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on.

	To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

	// CreateNativeVerificationFlowExecute executes the request
	//  @return VerificationFlow
	CreateNativeVerificationFlowExecute(r FrontendAPICreateNativeVerificationFlowRequest) (*VerificationFlow, *http.Response, error)

	/*
		DisableMyOtherSessions Disable my other sessions

		Calling this endpoint invalidates all except the current session that belong to the logged-in user.
	Session data are not deleted.

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

	// DisableMyOtherSessionsExecute executes the request
	//  @return DeleteMySessionsCount
	DisableMyOtherSessionsExecute(r FrontendAPIDisableMyOtherSessionsRequest) (*DeleteMySessionsCount, *http.Response, error)

	/*
		DisableMySession Disable one of my sessions

		Calling this endpoint invalidates the specified session. The current session cannot be revoked.
	Session data are not deleted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the session's ID.
		@return FrontendAPIDisableMySessionRequest
	*/
	DisableMySession(ctx context.Context, id string) FrontendAPIDisableMySessionRequest

	// DisableMySessionExecute executes the request
	DisableMySessionExecute(r FrontendAPIDisableMySessionRequest) (*http.Response, error)

	/*
		ExchangeSessionToken Exchange Session Token

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

	// ExchangeSessionTokenExecute executes the request
	//  @return SuccessfulNativeLogin
	ExchangeSessionTokenExecute(r FrontendAPIExchangeSessionTokenRequest) (*SuccessfulNativeLogin, *http.Response, error)

	/*
		GetFlowError Get User-Flow Errors

		This endpoint returns the error associated with a user-facing self service errors.

	This endpoint supports stub values to help you implement the error UI:

	`?id=stub:500` - returns a stub 500 (Internal Server Error) error.

	More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).

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

	// GetFlowErrorExecute executes the request
	//  @return FlowError
	GetFlowErrorExecute(r FrontendAPIGetFlowErrorRequest) (*FlowError, *http.Response, error)

	/*
		GetLoginFlow 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.getLoginFlow(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.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

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

	/*
		GetRecoveryFlow 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.getRecoveryFlow(req.header('Cookie'), req.query['flow'])

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

	More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

	// GetRecoveryFlowExecute executes the request
	//  @return RecoveryFlow
	GetRecoveryFlowExecute(r FrontendAPIGetRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

	/*
		GetRegistrationFlow 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.getRegistrationFlow(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.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

	// GetRegistrationFlowExecute executes the request
	//  @return RegistrationFlow
	GetRegistrationFlowExecute(r FrontendAPIGetRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)

	/*
		GetSettingsFlow Get Settings Flow

		When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie
	or the Ory Kratos 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 Ory Kratos' 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 Ory 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 [Ory Kratos 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 FrontendAPIGetSettingsFlowRequest
	*/
	GetSettingsFlow(ctx context.Context) FrontendAPIGetSettingsFlowRequest

	// GetSettingsFlowExecute executes the request
	//  @return SettingsFlow
	GetSettingsFlowExecute(r FrontendAPIGetSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

	/*
		GetVerificationFlow 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.getVerificationFlow(req.header('cookie'), req.query['flow'])

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

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

	// GetVerificationFlowExecute executes the request
	//  @return VerificationFlow
	GetVerificationFlowExecute(r FrontendAPIGetVerificationFlowRequest) (*VerificationFlow, *http.Response, error)

	/*
		GetWebAuthnJavaScript Get WebAuthn JavaScript

		This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.

	If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:

	“`html
	<script src="https://public-kratos.example.org/.well-known/ory/webauthn.js" type="script" async />
	“`

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

	// GetWebAuthnJavaScriptExecute executes the request
	//  @return string
	GetWebAuthnJavaScriptExecute(r FrontendAPIGetWebAuthnJavaScriptRequest) (string, *http.Response, error)

	/*
		ListMySessions Get My Active Sessions

		This endpoints returns all other active sessions that belong to the logged-in user.
	The current session can be retrieved by calling the `/sessions/whoami` endpoint.

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

	// ListMySessionsExecute executes the request
	//  @return []Session
	ListMySessionsExecute(r FrontendAPIListMySessionsRequest) ([]Session, *http.Response, error)

	/*
		PerformNativeLogout Perform Logout for Native Apps

		Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully
	revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when
	the Ory Session Token has been revoked already before.

	If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned.

	This endpoint does not remove any HTTP
	Cookies - use the Browser-Based Self-Service Logout Flow instead.

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

	// PerformNativeLogoutExecute executes the request
	PerformNativeLogoutExecute(r FrontendAPIPerformNativeLogoutRequest) (*http.Response, error)

	/*
		ToSession 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.
	When the request it successful it adds the user ID to the 'X-Kratos-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.toSession(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.toSession("the-session-token")

	console.log(session)
	“`

	When using a token template, the token is included in the `tokenized` field of the session.

	“`js
	pseudo-code example
	...
	const session = await client.toSession("the-session-token", { tokenize_as: "example-jwt-template" })

	console.log(session.tokenized) // The JWT
	“`

	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 Ory Kratos Session Cookie;
	if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token;
	if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token.

	If none of these headers are set or the cookie 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 Ory Session Cookie / Ory 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 FrontendAPIToSessionRequest
	*/
	ToSession(ctx context.Context) FrontendAPIToSessionRequest

	// ToSessionExecute executes the request
	//  @return Session
	ToSessionExecute(r FrontendAPIToSessionRequest) (*Session, *http.Response, error)

	/*
		UpdateLoginFlow 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 [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

	// UpdateLoginFlowExecute executes the request
	//  @return SuccessfulNativeLogin
	UpdateLoginFlowExecute(r FrontendAPIUpdateLoginFlowRequest) (*SuccessfulNativeLogin, *http.Response, error)

	/*
		UpdateLogoutFlow Update Logout Flow

		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 Ory Session Token.

	More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).

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

	// UpdateLogoutFlowExecute executes the request
	UpdateLogoutFlowExecute(r FrontendAPIUpdateLogoutFlowRequest) (*http.Response, error)

	/*
		UpdateRecoveryFlow Update Recovery Flow

		Use this endpoint to update 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 [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

	// UpdateRecoveryFlowExecute executes the request
	//  @return RecoveryFlow
	UpdateRecoveryFlowExecute(r FrontendAPIUpdateRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

	/*
		UpdateRegistrationFlow Update 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 [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

	// UpdateRegistrationFlowExecute executes the request
	//  @return SuccessfulNativeRegistration
	UpdateRegistrationFlowExecute(r FrontendAPIUpdateRegistrationFlowRequest) (*SuccessfulNativeRegistration, *http.Response, error)

	/*
		UpdateSettingsFlow 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 Ory 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 [Ory Kratos 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 FrontendAPIUpdateSettingsFlowRequest
	*/
	UpdateSettingsFlow(ctx context.Context) FrontendAPIUpdateSettingsFlowRequest

	// UpdateSettingsFlowExecute executes the request
	//  @return SettingsFlow
	UpdateSettingsFlowExecute(r FrontendAPIUpdateSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

	/*
		UpdateVerificationFlow 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 `link` 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 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 Verification UI URL with
	a new Verification Flow ID which contains an error message that the verification link was invalid.

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

	// UpdateVerificationFlowExecute executes the request
	//  @return VerificationFlow
	UpdateVerificationFlowExecute(r FrontendAPIUpdateVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
}

type FrontendAPICreateBrowserLoginFlowRequest added in v1.1.0

type FrontendAPICreateBrowserLoginFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateBrowserLoginFlowRequest) Aal added in v1.1.0

Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session&#39;s authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \&quot;upgrade\&quot; the session&#39;s security by asking the user to perform TOTP / WebAuth/ ... you would set this to \&quot;aal2\&quot;.

func (FrontendAPICreateBrowserLoginFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPICreateBrowserLoginFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateBrowserLoginFlowRequest) LoginChallenge added in v1.1.0

An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from &#x60;login_challenge&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?login_challenge&#x3D;abcde&#x60;).

func (FrontendAPICreateBrowserLoginFlowRequest) Organization added in v1.1.0

An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.

func (FrontendAPICreateBrowserLoginFlowRequest) Refresh added in v1.1.0

Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.

func (FrontendAPICreateBrowserLoginFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

type FrontendAPICreateBrowserLogoutFlowRequest added in v1.1.0

type FrontendAPICreateBrowserLogoutFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateBrowserLogoutFlowRequest) Cookie added in v1.1.0

HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.

func (FrontendAPICreateBrowserLogoutFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateBrowserLogoutFlowRequest) ReturnTo added in v1.1.0

Return to URL The URL to which the browser should be redirected to after the logout has been performed.

type FrontendAPICreateBrowserRecoveryFlowRequest added in v1.1.0

type FrontendAPICreateBrowserRecoveryFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateBrowserRecoveryFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateBrowserRecoveryFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

type FrontendAPICreateBrowserRegistrationFlowRequest added in v1.1.0

type FrontendAPICreateBrowserRegistrationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateBrowserRegistrationFlowRequest) AfterVerificationReturnTo added in v1.1.0

The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default &#x60;selfservice.flows.verification.after.default_redirect_to&#x60; value.

func (FrontendAPICreateBrowserRegistrationFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateBrowserRegistrationFlowRequest) LoginChallenge added in v1.1.0

Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from &#x60;login_challenge&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?login_challenge&#x3D;abcde&#x60;). This feature is compatible with Ory Hydra when not running on the Ory Network.

func (FrontendAPICreateBrowserRegistrationFlowRequest) Organization added in v1.1.0

func (FrontendAPICreateBrowserRegistrationFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

type FrontendAPICreateBrowserSettingsFlowRequest added in v1.1.0

type FrontendAPICreateBrowserSettingsFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateBrowserSettingsFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPICreateBrowserSettingsFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateBrowserSettingsFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

type FrontendAPICreateBrowserVerificationFlowRequest added in v1.1.0

type FrontendAPICreateBrowserVerificationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateBrowserVerificationFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateBrowserVerificationFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

type FrontendAPICreateNativeLoginFlowRequest added in v1.1.0

type FrontendAPICreateNativeLoginFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateNativeLoginFlowRequest) Aal added in v1.1.0

Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session&#39;s authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \&quot;upgrade\&quot; the session&#39;s security by asking the user to perform TOTP / WebAuth/ ... you would set this to \&quot;aal2\&quot;.

func (FrontendAPICreateNativeLoginFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateNativeLoginFlowRequest) Refresh added in v1.1.0

Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.

func (FrontendAPICreateNativeLoginFlowRequest) ReturnSessionTokenExchangeCode added in v1.1.0

func (r FrontendAPICreateNativeLoginFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendAPICreateNativeLoginFlowRequest

EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.

func (FrontendAPICreateNativeLoginFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

func (FrontendAPICreateNativeLoginFlowRequest) Via added in v1.1.0

Via should contain the identity&#39;s credential the code should be sent to. Only relevant in aal2 flows.

func (FrontendAPICreateNativeLoginFlowRequest) XSessionToken added in v1.1.0

The Session Token of the Identity performing the settings flow.

type FrontendAPICreateNativeRecoveryFlowRequest added in v1.1.0

type FrontendAPICreateNativeRecoveryFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateNativeRecoveryFlowRequest) Execute added in v1.1.0

type FrontendAPICreateNativeRegistrationFlowRequest added in v1.1.0

type FrontendAPICreateNativeRegistrationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateNativeRegistrationFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateNativeRegistrationFlowRequest) ReturnSessionTokenExchangeCode added in v1.1.0

func (r FrontendAPICreateNativeRegistrationFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendAPICreateNativeRegistrationFlowRequest

EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.

func (FrontendAPICreateNativeRegistrationFlowRequest) ReturnTo added in v1.1.0

The URL to return the browser to after the flow was completed.

type FrontendAPICreateNativeSettingsFlowRequest added in v1.1.0

type FrontendAPICreateNativeSettingsFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateNativeSettingsFlowRequest) Execute added in v1.1.0

func (FrontendAPICreateNativeSettingsFlowRequest) XSessionToken added in v1.1.0

The Session Token of the Identity performing the settings flow.

type FrontendAPICreateNativeVerificationFlowRequest added in v1.1.0

type FrontendAPICreateNativeVerificationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPICreateNativeVerificationFlowRequest) Execute added in v1.1.0

type FrontendAPIDisableMyOtherSessionsRequest added in v1.1.0

type FrontendAPIDisableMyOtherSessionsRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIDisableMyOtherSessionsRequest) Cookie added in v1.1.0

Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored.

func (FrontendAPIDisableMyOtherSessionsRequest) Execute added in v1.1.0

func (FrontendAPIDisableMyOtherSessionsRequest) XSessionToken added in v1.1.0

Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.

type FrontendAPIDisableMySessionRequest added in v1.1.0

type FrontendAPIDisableMySessionRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIDisableMySessionRequest) Cookie added in v1.1.0

Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored.

func (FrontendAPIDisableMySessionRequest) Execute added in v1.1.0

func (FrontendAPIDisableMySessionRequest) XSessionToken added in v1.1.0

Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.

type FrontendAPIExchangeSessionTokenRequest added in v1.1.0

type FrontendAPIExchangeSessionTokenRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIExchangeSessionTokenRequest) Execute added in v1.1.0

func (FrontendAPIExchangeSessionTokenRequest) InitCode added in v1.1.0

The part of the code return when initializing the flow.

func (FrontendAPIExchangeSessionTokenRequest) ReturnToCode added in v1.1.0

The part of the code returned by the return_to URL.

type FrontendAPIGetFlowErrorRequest added in v1.1.0

type FrontendAPIGetFlowErrorRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetFlowErrorRequest) Execute added in v1.1.0

func (FrontendAPIGetFlowErrorRequest) Id added in v1.1.0

Error is the error&#39;s ID

type FrontendAPIGetLoginFlowRequest added in v1.1.0

type FrontendAPIGetLoginFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetLoginFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIGetLoginFlowRequest) Execute added in v1.1.0

func (FrontendAPIGetLoginFlowRequest) Id added in v1.1.0

The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).

type FrontendAPIGetRecoveryFlowRequest added in v1.1.0

type FrontendAPIGetRecoveryFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetRecoveryFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIGetRecoveryFlowRequest) Execute added in v1.1.0

func (FrontendAPIGetRecoveryFlowRequest) Id added in v1.1.0

The Flow ID The value for this parameter comes from &#x60;request&#x60; URL Query parameter sent to your application (e.g. &#x60;/recovery?flow&#x3D;abcde&#x60;).

type FrontendAPIGetRegistrationFlowRequest added in v1.1.0

type FrontendAPIGetRegistrationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetRegistrationFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIGetRegistrationFlowRequest) Execute added in v1.1.0

func (FrontendAPIGetRegistrationFlowRequest) Id added in v1.1.0

The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).

type FrontendAPIGetSettingsFlowRequest added in v1.1.0

type FrontendAPIGetSettingsFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetSettingsFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIGetSettingsFlowRequest) Execute added in v1.1.0

func (FrontendAPIGetSettingsFlowRequest) Id added in v1.1.0

ID is the Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;).

func (FrontendAPIGetSettingsFlowRequest) XSessionToken added in v1.1.0

The Session Token When using the SDK in an app without a browser, please include the session token here.

type FrontendAPIGetVerificationFlowRequest added in v1.1.0

type FrontendAPIGetVerificationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetVerificationFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.

func (FrontendAPIGetVerificationFlowRequest) Execute added in v1.1.0

func (FrontendAPIGetVerificationFlowRequest) Id added in v1.1.0

The Flow ID The value for this parameter comes from &#x60;request&#x60; URL Query parameter sent to your application (e.g. &#x60;/verification?flow&#x3D;abcde&#x60;).

type FrontendAPIGetWebAuthnJavaScriptRequest added in v1.1.0

type FrontendAPIGetWebAuthnJavaScriptRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIGetWebAuthnJavaScriptRequest) Execute added in v1.1.0

type FrontendAPIListMySessionsRequest added in v1.1.0

type FrontendAPIListMySessionsRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIListMySessionsRequest) Cookie added in v1.1.0

Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored.

func (FrontendAPIListMySessionsRequest) Execute added in v1.1.0

func (FrontendAPIListMySessionsRequest) Page added in v1.1.0

Deprecated Pagination Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the &#x60;Link&#x60; header.

func (FrontendAPIListMySessionsRequest) PageSize added in v1.1.0

Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (FrontendAPIListMySessionsRequest) PageToken added in v1.1.0

Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (FrontendAPIListMySessionsRequest) PerPage added in v1.1.0

Deprecated Items per Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This is the number of items per page.

func (FrontendAPIListMySessionsRequest) XSessionToken added in v1.1.0

Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.

type FrontendAPIPerformNativeLogoutRequest added in v1.1.0

type FrontendAPIPerformNativeLogoutRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIPerformNativeLogoutRequest) Execute added in v1.1.0

func (FrontendAPIPerformNativeLogoutRequest) PerformNativeLogoutBody added in v1.1.0

type FrontendAPIService added in v1.1.0

type FrontendAPIService service

FrontendAPIService FrontendAPI service

func (*FrontendAPIService) CreateBrowserLoginFlow added in v1.1.0

CreateBrowserLoginFlow Create 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!

The optional query parameter login_challenge is set when using Kratos with Hydra in an OAuth2 flow. See the oauth2_provider.url configuration option.

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 [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) CreateBrowserLoginFlowExecute added in v1.1.0

func (a *FrontendAPIService) CreateBrowserLoginFlowExecute(r FrontendAPICreateBrowserLoginFlowRequest) (*LoginFlow, *http.Response, error)

Execute executes the request

@return LoginFlow

func (*FrontendAPIService) CreateBrowserLogoutFlow added in v1.1.0

CreateBrowserLogoutFlow 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 Ory 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 FrontendAPICreateBrowserLogoutFlowRequest

func (*FrontendAPIService) CreateBrowserLogoutFlowExecute added in v1.1.0

Execute executes the request

@return LogoutFlow

func (*FrontendAPIService) CreateBrowserRecoveryFlow added in v1.1.0

CreateBrowserRecoveryFlow Create 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 [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*FrontendAPIService) CreateBrowserRecoveryFlowExecute added in v1.1.0

Execute executes the request

@return RecoveryFlow

func (*FrontendAPIService) CreateBrowserRegistrationFlow added in v1.1.0

CreateBrowserRegistrationFlow Create 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.

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.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) CreateBrowserRegistrationFlowExecute added in v1.1.0

Execute executes the request

@return RegistrationFlow

func (*FrontendAPIService) CreateBrowserSettingsFlow added in v1.1.0

CreateBrowserSettingsFlow Create 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 Ory Kratos 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 Ory 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.

More information can be found at [Ory Kratos 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 FrontendAPICreateBrowserSettingsFlowRequest

func (*FrontendAPIService) CreateBrowserSettingsFlowExecute added in v1.1.0

Execute executes the request

@return SettingsFlow

func (*FrontendAPIService) CreateBrowserVerificationFlow added in v1.1.0

CreateBrowserVerificationFlow Create 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, ...).

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

func (*FrontendAPIService) CreateBrowserVerificationFlowExecute added in v1.1.0

Execute executes the request

@return VerificationFlow

func (*FrontendAPIService) CreateNativeLoginFlow added in v1.1.0

CreateNativeLoginFlow Create Login Flow for Native Apps

This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on.

If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set.

To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks.

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.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) CreateNativeLoginFlowExecute added in v1.1.0

Execute executes the request

@return LoginFlow

func (*FrontendAPIService) CreateNativeRecoveryFlow added in v1.1.0

CreateNativeRecoveryFlow Create Recovery Flow for Native Apps

This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.

If a valid provided session cookie or session token is provided, a 400 Bad Request error.

On an existing recovery flow, use the `getRecoveryFlow` API endpoint.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*FrontendAPIService) CreateNativeRecoveryFlowExecute added in v1.1.0

Execute executes the request

@return RecoveryFlow

func (*FrontendAPIService) CreateNativeRegistrationFlow added in v1.1.0

CreateNativeRegistrationFlow Create Registration Flow for Native Apps

This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on.

If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set.

To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

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.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) CreateNativeRegistrationFlowExecute added in v1.1.0

Execute executes the request

@return RegistrationFlow

func (*FrontendAPIService) CreateNativeSettingsFlow added in v1.1.0

CreateNativeSettingsFlow Create Settings Flow for Native Apps

This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK.

To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

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.

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 Ory Session was found - sign in a user first.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos 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 FrontendAPICreateNativeSettingsFlowRequest

func (*FrontendAPIService) CreateNativeSettingsFlowExecute added in v1.1.0

Execute executes the request

@return SettingsFlow

func (*FrontendAPIService) CreateNativeVerificationFlow added in v1.1.0

CreateNativeVerificationFlow Create Verification Flow for Native Apps

This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on.

To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

func (*FrontendAPIService) CreateNativeVerificationFlowExecute added in v1.1.0

Execute executes the request

@return VerificationFlow

func (*FrontendAPIService) DisableMyOtherSessions added in v1.1.0

DisableMyOtherSessions Disable my other sessions

Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.

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

func (*FrontendAPIService) DisableMyOtherSessionsExecute added in v1.1.0

Execute executes the request

@return DeleteMySessionsCount

func (*FrontendAPIService) DisableMySession added in v1.1.0

DisableMySession Disable one of my sessions

Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
@return FrontendAPIDisableMySessionRequest

func (*FrontendAPIService) DisableMySessionExecute added in v1.1.0

func (a *FrontendAPIService) DisableMySessionExecute(r FrontendAPIDisableMySessionRequest) (*http.Response, error)

Execute executes the request

func (*FrontendAPIService) ExchangeSessionToken added in v1.1.0

ExchangeSessionToken Exchange Session Token

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

func (*FrontendAPIService) ExchangeSessionTokenExecute added in v1.1.0

Execute executes the request

@return SuccessfulNativeLogin

func (*FrontendAPIService) GetFlowError added in v1.1.0

GetFlowError Get User-Flow Errors

This endpoint returns the error associated with a user-facing self service errors.

This endpoint supports stub values to help you implement the error UI:

`?id=stub:500` - returns a stub 500 (Internal Server Error) error.

More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).

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

func (*FrontendAPIService) GetFlowErrorExecute added in v1.1.0

Execute executes the request

@return FlowError

func (*FrontendAPIService) GetLoginFlow added in v1.1.0

GetLoginFlow 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.getLoginFlow(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.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) GetLoginFlowExecute added in v1.1.0

Execute executes the request

@return LoginFlow

func (*FrontendAPIService) GetRecoveryFlow added in v1.1.0

GetRecoveryFlow 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.getRecoveryFlow(req.header('Cookie'), req.query['flow'])

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

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*FrontendAPIService) GetRecoveryFlowExecute added in v1.1.0

Execute executes the request

@return RecoveryFlow

func (*FrontendAPIService) GetRegistrationFlow added in v1.1.0

GetRegistrationFlow 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.getRegistrationFlow(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.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) GetRegistrationFlowExecute added in v1.1.0

Execute executes the request

@return RegistrationFlow

func (*FrontendAPIService) GetSettingsFlow added in v1.1.0

GetSettingsFlow Get Settings Flow

When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos 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 Ory Kratos' 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 Ory 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 [Ory Kratos 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 FrontendAPIGetSettingsFlowRequest

func (*FrontendAPIService) GetSettingsFlowExecute added in v1.1.0

Execute executes the request

@return SettingsFlow

func (*FrontendAPIService) GetVerificationFlow added in v1.1.0

GetVerificationFlow 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.getVerificationFlow(req.header('cookie'), req.query['flow'])

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

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

func (*FrontendAPIService) GetVerificationFlowExecute added in v1.1.0

Execute executes the request

@return VerificationFlow

func (*FrontendAPIService) GetWebAuthnJavaScript added in v1.1.0

GetWebAuthnJavaScript Get WebAuthn JavaScript

This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.

If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:

```html <script src="https://public-kratos.example.org/.well-known/ory/webauthn.js" type="script" async /> ```

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) GetWebAuthnJavaScriptExecute added in v1.1.0

func (a *FrontendAPIService) GetWebAuthnJavaScriptExecute(r FrontendAPIGetWebAuthnJavaScriptRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*FrontendAPIService) ListMySessions added in v1.1.0

ListMySessions Get My Active Sessions

This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.

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

func (*FrontendAPIService) ListMySessionsExecute added in v1.1.0

Execute executes the request

@return []Session

func (*FrontendAPIService) PerformNativeLogout added in v1.1.0

PerformNativeLogout Perform Logout for Native Apps

Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before.

If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned.

This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.

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

func (*FrontendAPIService) PerformNativeLogoutExecute added in v1.1.0

func (a *FrontendAPIService) PerformNativeLogoutExecute(r FrontendAPIPerformNativeLogoutRequest) (*http.Response, error)

Execute executes the request

func (*FrontendAPIService) ToSession added in v1.1.0

ToSession 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. When the request it successful it adds the user ID to the 'X-Kratos-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.toSession(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.toSession("the-session-token")

console.log(session) ```

When using a token template, the token is included in the `tokenized` field of the session.

```js pseudo-code example ... const session = await client.toSession("the-session-token", { tokenize_as: "example-jwt-template" })

console.log(session.tokenized) // The JWT ```

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 Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token.

If none of these headers are set or the cookie 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 Ory Session Cookie / Ory 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 FrontendAPIToSessionRequest

func (*FrontendAPIService) ToSessionExecute added in v1.1.0

Execute executes the request

@return Session

func (*FrontendAPIService) UpdateLoginFlow added in v1.1.0

UpdateLoginFlow 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 [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) UpdateLoginFlowExecute added in v1.1.0

Execute executes the request

@return SuccessfulNativeLogin

func (*FrontendAPIService) UpdateLogoutFlow added in v1.1.0

UpdateLogoutFlow Update Logout Flow

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 Ory Session Token.

More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).

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

func (*FrontendAPIService) UpdateLogoutFlowExecute added in v1.1.0

func (a *FrontendAPIService) UpdateLogoutFlowExecute(r FrontendAPIUpdateLogoutFlowRequest) (*http.Response, error)

Execute executes the request

func (*FrontendAPIService) UpdateRecoveryFlow added in v1.1.0

UpdateRecoveryFlow Update Recovery Flow

Use this endpoint to update 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 [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*FrontendAPIService) UpdateRecoveryFlowExecute added in v1.1.0

Execute executes the request

@return RecoveryFlow

func (*FrontendAPIService) UpdateRegistrationFlow added in v1.1.0

UpdateRegistrationFlow Update 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 [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*FrontendAPIService) UpdateRegistrationFlowExecute added in v1.1.0

Execute executes the request

@return SuccessfulNativeRegistration

func (*FrontendAPIService) UpdateSettingsFlow added in v1.1.0

UpdateSettingsFlow 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 Ory 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 [Ory Kratos 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 FrontendAPIUpdateSettingsFlowRequest

func (*FrontendAPIService) UpdateSettingsFlowExecute added in v1.1.0

Execute executes the request

@return SettingsFlow

func (*FrontendAPIService) UpdateVerificationFlow added in v1.1.0

UpdateVerificationFlow 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 `link` 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 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 Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid.

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).

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

func (*FrontendAPIService) UpdateVerificationFlowExecute added in v1.1.0

Execute executes the request

@return VerificationFlow

type FrontendAPIToSessionRequest added in v1.1.0

type FrontendAPIToSessionRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIToSessionRequest) Cookie added in v1.1.0

Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored.

func (FrontendAPIToSessionRequest) Execute added in v1.1.0

func (FrontendAPIToSessionRequest) TokenizeAs added in v1.1.0

Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors).

func (FrontendAPIToSessionRequest) XSessionToken added in v1.1.0

func (r FrontendAPIToSessionRequest) XSessionToken(xSessionToken string) FrontendAPIToSessionRequest

Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.

type FrontendAPIUpdateLoginFlowRequest added in v1.1.0

type FrontendAPIUpdateLoginFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIUpdateLoginFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIUpdateLoginFlowRequest) Execute added in v1.1.0

func (FrontendAPIUpdateLoginFlowRequest) Flow added in v1.1.0

The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).

func (FrontendAPIUpdateLoginFlowRequest) UpdateLoginFlowBody added in v1.1.0

func (FrontendAPIUpdateLoginFlowRequest) XSessionToken added in v1.1.0

The Session Token of the Identity performing the settings flow.

type FrontendAPIUpdateLogoutFlowRequest added in v1.1.0

type FrontendAPIUpdateLogoutFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIUpdateLogoutFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIUpdateLogoutFlowRequest) Execute added in v1.1.0

func (FrontendAPIUpdateLogoutFlowRequest) ReturnTo added in v1.1.0

The URL to return to after the logout was completed.

func (FrontendAPIUpdateLogoutFlowRequest) Token added in v1.1.0

A Valid Logout Token If you do not have a logout token because you only have a session cookie, call &#x60;/self-service/logout/browser&#x60; to generate a URL for this endpoint.

type FrontendAPIUpdateRecoveryFlowRequest added in v1.1.0

type FrontendAPIUpdateRecoveryFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIUpdateRecoveryFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIUpdateRecoveryFlowRequest) Execute added in v1.1.0

func (FrontendAPIUpdateRecoveryFlowRequest) Flow added in v1.1.0

The Recovery Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/recovery?flow&#x3D;abcde&#x60;).

func (FrontendAPIUpdateRecoveryFlowRequest) Token added in v1.1.0

Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.

func (FrontendAPIUpdateRecoveryFlowRequest) UpdateRecoveryFlowBody added in v1.1.0

type FrontendAPIUpdateRegistrationFlowRequest added in v1.1.0

type FrontendAPIUpdateRegistrationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIUpdateRegistrationFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIUpdateRegistrationFlowRequest) Execute added in v1.1.0

func (FrontendAPIUpdateRegistrationFlowRequest) Flow added in v1.1.0

The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).

func (FrontendAPIUpdateRegistrationFlowRequest) UpdateRegistrationFlowBody added in v1.1.0

type FrontendAPIUpdateSettingsFlowRequest added in v1.1.0

type FrontendAPIUpdateSettingsFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIUpdateSettingsFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIUpdateSettingsFlowRequest) Execute added in v1.1.0

func (FrontendAPIUpdateSettingsFlowRequest) Flow added in v1.1.0

The Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;).

func (FrontendAPIUpdateSettingsFlowRequest) UpdateSettingsFlowBody added in v1.1.0

func (FrontendAPIUpdateSettingsFlowRequest) XSessionToken added in v1.1.0

The Session Token of the Identity performing the settings flow.

type FrontendAPIUpdateVerificationFlowRequest added in v1.1.0

type FrontendAPIUpdateVerificationFlowRequest struct {
	ApiService FrontendAPI
	// contains filtered or unexported fields
}

func (FrontendAPIUpdateVerificationFlowRequest) Cookie added in v1.1.0

HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.

func (FrontendAPIUpdateVerificationFlowRequest) Execute added in v1.1.0

func (FrontendAPIUpdateVerificationFlowRequest) Flow added in v1.1.0

The Verification Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/verification?flow&#x3D;abcde&#x60;).

func (FrontendAPIUpdateVerificationFlowRequest) Token added in v1.1.0

Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.

func (FrontendAPIUpdateVerificationFlowRequest) UpdateVerificationFlowBody added in v1.1.0

type GenericError

type GenericError struct {
	// The status code
	Code *int64 `json:"code,omitempty"`
	// Debug information  This field is often not exposed to protect against leaking sensitive information.
	Debug *string `json:"debug,omitempty"`
	// Further error details
	Details map[string]interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason *string `json:"reason,omitempty"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// The status description
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

GenericError struct for GenericError

func NewGenericError

func NewGenericError(message string) *GenericError

NewGenericError instantiates a new GenericError 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 NewGenericErrorWithDefaults

func NewGenericErrorWithDefaults() *GenericError

NewGenericErrorWithDefaults instantiates a new GenericError 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 (*GenericError) GetCode

func (o *GenericError) GetCode() int64

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

func (*GenericError) GetCodeOk

func (o *GenericError) GetCodeOk() (*int64, 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 (*GenericError) GetDebug

func (o *GenericError) GetDebug() string

GetDebug returns the Debug field value if set, zero value otherwise.

func (*GenericError) GetDebugOk

func (o *GenericError) GetDebugOk() (*string, bool)

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

func (*GenericError) GetDetails

func (o *GenericError) GetDetails() map[string]interface{}

GetDetails returns the Details field value if set, zero value otherwise.

func (*GenericError) GetDetailsOk

func (o *GenericError) GetDetailsOk() (map[string]interface{}, bool)

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

func (*GenericError) GetId

func (o *GenericError) GetId() string

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

func (*GenericError) GetIdOk

func (o *GenericError) 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 (*GenericError) GetMessage

func (o *GenericError) GetMessage() string

GetMessage returns the Message field value

func (*GenericError) GetMessageOk

func (o *GenericError) GetMessageOk() (*string, bool)

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

func (*GenericError) GetReason

func (o *GenericError) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*GenericError) GetReasonOk

func (o *GenericError) GetReasonOk() (*string, bool)

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

func (*GenericError) GetRequest

func (o *GenericError) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise.

func (*GenericError) GetRequestOk

func (o *GenericError) GetRequestOk() (*string, bool)

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

func (*GenericError) GetStatus

func (o *GenericError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*GenericError) GetStatusOk

func (o *GenericError) GetStatusOk() (*string, bool)

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

func (*GenericError) HasCode

func (o *GenericError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*GenericError) HasDebug

func (o *GenericError) HasDebug() bool

HasDebug returns a boolean if a field has been set.

func (*GenericError) HasDetails

func (o *GenericError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*GenericError) HasId

func (o *GenericError) HasId() bool

HasId returns a boolean if a field has been set.

func (*GenericError) HasReason

func (o *GenericError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*GenericError) HasRequest

func (o *GenericError) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*GenericError) HasStatus

func (o *GenericError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GenericError) MarshalJSON

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

func (*GenericError) SetCode

func (o *GenericError) SetCode(v int64)

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

func (*GenericError) SetDebug

func (o *GenericError) SetDebug(v string)

SetDebug gets a reference to the given string and assigns it to the Debug field.

func (*GenericError) SetDetails

func (o *GenericError) SetDetails(v map[string]interface{})

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

func (*GenericError) SetId

func (o *GenericError) SetId(v string)

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

func (*GenericError) SetMessage

func (o *GenericError) SetMessage(v string)

SetMessage sets field value

func (*GenericError) SetReason

func (o *GenericError) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*GenericError) SetRequest

func (o *GenericError) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*GenericError) SetStatus

func (o *GenericError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (GenericError) ToMap added in v1.1.0

func (o GenericError) ToMap() (map[string]interface{}, error)

func (*GenericError) UnmarshalJSON added in v1.0.0

func (o *GenericError) UnmarshalJSON(bytes []byte) (err 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 GetVersion200Response added in v0.11.0

type GetVersion200Response struct {
	// The version of Ory Kratos.
	Version              string `json:"version"`
	AdditionalProperties map[string]interface{}
}

GetVersion200Response struct for GetVersion200Response

func NewGetVersion200Response added in v0.11.0

func NewGetVersion200Response(version string) *GetVersion200Response

NewGetVersion200Response instantiates a new GetVersion200Response 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 NewGetVersion200ResponseWithDefaults added in v0.11.0

func NewGetVersion200ResponseWithDefaults() *GetVersion200Response

NewGetVersion200ResponseWithDefaults instantiates a new GetVersion200Response 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 (*GetVersion200Response) GetVersion added in v0.11.0

func (o *GetVersion200Response) GetVersion() string

GetVersion returns the Version field value

func (*GetVersion200Response) GetVersionOk added in v0.11.0

func (o *GetVersion200Response) GetVersionOk() (*string, bool)

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

func (GetVersion200Response) MarshalJSON added in v0.11.0

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

func (*GetVersion200Response) SetVersion added in v0.11.0

func (o *GetVersion200Response) SetVersion(v string)

SetVersion sets field value

func (GetVersion200Response) ToMap added in v1.1.0

func (o GetVersion200Response) ToMap() (map[string]interface{}, error)

func (*GetVersion200Response) UnmarshalJSON added in v1.0.0

func (o *GetVersion200Response) UnmarshalJSON(bytes []byte) (err error)

type HealthNotReadyStatus

type HealthNotReadyStatus struct {
	// Errors contains a list of errors that caused the not ready status.
	Errors               *map[string]string `json:"errors,omitempty"`
	AdditionalProperties map[string]interface{}
}

HealthNotReadyStatus struct for HealthNotReadyStatus

func NewHealthNotReadyStatus

func NewHealthNotReadyStatus() *HealthNotReadyStatus

NewHealthNotReadyStatus instantiates a new HealthNotReadyStatus 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 NewHealthNotReadyStatusWithDefaults

func NewHealthNotReadyStatusWithDefaults() *HealthNotReadyStatus

NewHealthNotReadyStatusWithDefaults instantiates a new HealthNotReadyStatus 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 (*HealthNotReadyStatus) GetErrors

func (o *HealthNotReadyStatus) GetErrors() map[string]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*HealthNotReadyStatus) GetErrorsOk

func (o *HealthNotReadyStatus) GetErrorsOk() (*map[string]string, bool)

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

func (*HealthNotReadyStatus) HasErrors

func (o *HealthNotReadyStatus) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (HealthNotReadyStatus) MarshalJSON

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

func (*HealthNotReadyStatus) SetErrors

func (o *HealthNotReadyStatus) SetErrors(v map[string]string)

SetErrors gets a reference to the given map[string]string and assigns it to the Errors field.

func (HealthNotReadyStatus) ToMap added in v1.1.0

func (o HealthNotReadyStatus) ToMap() (map[string]interface{}, error)

func (*HealthNotReadyStatus) UnmarshalJSON added in v1.0.0

func (o *HealthNotReadyStatus) UnmarshalJSON(bytes []byte) (err error)

type HealthStatus

type HealthStatus struct {
	// Status always contains \"ok\".
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

HealthStatus struct for HealthStatus

func NewHealthStatus

func NewHealthStatus() *HealthStatus

NewHealthStatus instantiates a new HealthStatus 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 NewHealthStatusWithDefaults

func NewHealthStatusWithDefaults() *HealthStatus

NewHealthStatusWithDefaults instantiates a new HealthStatus 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 (*HealthStatus) GetStatus

func (o *HealthStatus) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HealthStatus) GetStatusOk

func (o *HealthStatus) GetStatusOk() (*string, bool)

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

func (*HealthStatus) HasStatus

func (o *HealthStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HealthStatus) MarshalJSON

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

func (*HealthStatus) SetStatus

func (o *HealthStatus) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (HealthStatus) ToMap added in v1.1.0

func (o HealthStatus) ToMap() (map[string]interface{}, error)

func (*HealthStatus) UnmarshalJSON added in v1.0.0

func (o *HealthStatus) UnmarshalJSON(bytes []byte) (err error)

type Identity

type Identity struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Credentials represents all credentials that can be used for authenticating this identity.
	Credentials *map[string]IdentityCredentials `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"`
	// NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
	MetadataAdmin interface{} `json:"metadata_admin,omitempty"`
	// NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
	MetadataPublic interface{}    `json:"metadata_public,omitempty"`
	OrganizationId NullableString `json:"organization_id,omitempty"`
	// RecoveryAddresses contains all the addresses that can be used to recover an identity.
	RecoveryAddresses []RecoveryIdentityAddress `json:"recovery_addresses,omitempty"`
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
	SchemaId string `json:"schema_id"`
	// SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.  format: url
	SchemaUrl string `json:"schema_url"`
	// State is the identity's state.  This value has currently no effect. active StateActive inactive StateInactive
	State          *string    `json:"state,omitempty"`
	StateChangedAt *time.Time `json:"state_changed_at,omitempty"`
	// Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
	Traits interface{} `json:"traits"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// VerifiableAddresses contains all the addresses that can be verified by the user.
	VerifiableAddresses  []VerifiableIdentityAddress `json:"verifiable_addresses,omitempty"`
	AdditionalProperties map[string]interface{}
}

Identity An [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) represents a (human) user in Ory.

func NewIdentity

func NewIdentity(id string, schemaId string, schemaUrl string, traits interface{}) *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]IdentityCredentials

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

func (*Identity) GetCredentialsOk

func (o *Identity) GetCredentialsOk() (*map[string]IdentityCredentials, 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) GetMetadataAdmin

func (o *Identity) GetMetadataAdmin() interface{}

GetMetadataAdmin returns the MetadataAdmin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Identity) GetMetadataAdminOk

func (o *Identity) GetMetadataAdminOk() (*interface{}, bool)

GetMetadataAdminOk returns a tuple with the MetadataAdmin 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 (*Identity) GetMetadataPublic

func (o *Identity) GetMetadataPublic() interface{}

GetMetadataPublic returns the MetadataPublic field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Identity) GetMetadataPublicOk

func (o *Identity) GetMetadataPublicOk() (*interface{}, bool)

GetMetadataPublicOk returns a tuple with the MetadataPublic 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 (*Identity) GetOrganizationId added in v1.1.0

func (o *Identity) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Identity) GetOrganizationIdOk added in v1.1.0

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

GetOrganizationIdOk returns a tuple with the OrganizationId 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 (*Identity) GetRecoveryAddresses

func (o *Identity) GetRecoveryAddresses() []RecoveryIdentityAddress

GetRecoveryAddresses returns the RecoveryAddresses field value if set, zero value otherwise.

func (*Identity) GetRecoveryAddressesOk

func (o *Identity) GetRecoveryAddressesOk() ([]RecoveryIdentityAddress, bool)

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

func (*Identity) GetSchemaId

func (o *Identity) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*Identity) GetSchemaIdOk

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

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

func (*Identity) GetSchemaUrl

func (o *Identity) GetSchemaUrl() string

GetSchemaUrl returns the SchemaUrl field value

func (*Identity) GetSchemaUrlOk

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

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

func (*Identity) GetState

func (o *Identity) GetState() string

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

func (*Identity) GetStateChangedAt

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

GetStateChangedAt returns the StateChangedAt field value if set, zero value otherwise.

func (*Identity) GetStateChangedAtOk

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

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

func (*Identity) GetStateOk

func (o *Identity) GetStateOk() (*string, 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) GetTraits

func (o *Identity) GetTraits() interface{}

GetTraits returns the Traits field value If the value is explicit nil, the zero value for interface{} will be returned

func (*Identity) GetTraitsOk

func (o *Identity) GetTraitsOk() (*interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value 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 (*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() []VerifiableIdentityAddress

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

func (*Identity) GetVerifiableAddressesOk

func (o *Identity) GetVerifiableAddressesOk() ([]VerifiableIdentityAddress, 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) HasMetadataAdmin

func (o *Identity) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*Identity) HasMetadataPublic

func (o *Identity) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (*Identity) HasOrganizationId added in v1.1.0

func (o *Identity) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*Identity) HasRecoveryAddresses

func (o *Identity) HasRecoveryAddresses() bool

HasRecoveryAddresses 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) HasStateChangedAt

func (o *Identity) HasStateChangedAt() bool

HasStateChangedAt 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]IdentityCredentials)

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

func (*Identity) SetId

func (o *Identity) SetId(v string)

SetId sets field value

func (*Identity) SetMetadataAdmin

func (o *Identity) SetMetadataAdmin(v interface{})

SetMetadataAdmin gets a reference to the given interface{} and assigns it to the MetadataAdmin field.

func (*Identity) SetMetadataPublic

func (o *Identity) SetMetadataPublic(v interface{})

SetMetadataPublic gets a reference to the given interface{} and assigns it to the MetadataPublic field.

func (*Identity) SetOrganizationId added in v1.1.0

func (o *Identity) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given NullableString and assigns it to the OrganizationId field.

func (*Identity) SetOrganizationIdNil added in v1.1.0

func (o *Identity) SetOrganizationIdNil()

SetOrganizationIdNil sets the value for OrganizationId to be an explicit nil

func (*Identity) SetRecoveryAddresses

func (o *Identity) SetRecoveryAddresses(v []RecoveryIdentityAddress)

SetRecoveryAddresses gets a reference to the given []RecoveryIdentityAddress and assigns it to the RecoveryAddresses field.

func (*Identity) SetSchemaId

func (o *Identity) SetSchemaId(v string)

SetSchemaId sets field value

func (*Identity) SetSchemaUrl

func (o *Identity) SetSchemaUrl(v string)

SetSchemaUrl sets field value

func (*Identity) SetState

func (o *Identity) SetState(v string)

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

func (*Identity) SetStateChangedAt

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

SetStateChangedAt gets a reference to the given time.Time and assigns it to the StateChangedAt field.

func (*Identity) SetTraits

func (o *Identity) SetTraits(v interface{})

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 []VerifiableIdentityAddress)

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

func (Identity) ToMap added in v1.1.0

func (o Identity) ToMap() (map[string]interface{}, error)

func (*Identity) UnmarshalJSON added in v1.0.0

func (o *Identity) UnmarshalJSON(bytes []byte) (err error)

func (*Identity) UnsetOrganizationId added in v1.1.0

func (o *Identity) UnsetOrganizationId()

UnsetOrganizationId ensures that no value is present for OrganizationId, not even an explicit nil

type IdentityAPI added in v1.1.0

type IdentityAPI interface {

	/*
		BatchPatchIdentities Create and deletes multiple identities

		Creates or delete multiple
	[identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model).
	This endpoint can also be used to [import
	credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)
	for instance passwords, social sign in configurations or multifactor methods.

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

	// BatchPatchIdentitiesExecute executes the request
	//  @return BatchPatchIdentitiesResponse
	BatchPatchIdentitiesExecute(r IdentityAPIBatchPatchIdentitiesRequest) (*BatchPatchIdentitiesResponse, *http.Response, error)

	/*
		CreateIdentity Create an Identity

		Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model).  This endpoint can also be used to
	[import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)
	for instance passwords, social sign in configurations or multifactor methods.

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

	// CreateIdentityExecute executes the request
	//  @return Identity
	CreateIdentityExecute(r IdentityAPICreateIdentityRequest) (*Identity, *http.Response, error)

	/*
		CreateRecoveryCodeForIdentity Create a Recovery Code

		This endpoint creates a recovery code which should be given to the user in order for them to recover
	(or activate) their account.

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

	// CreateRecoveryCodeForIdentityExecute executes the request
	//  @return RecoveryCodeForIdentity
	CreateRecoveryCodeForIdentityExecute(r IdentityAPICreateRecoveryCodeForIdentityRequest) (*RecoveryCodeForIdentity, *http.Response, error)

	/*
		CreateRecoveryLinkForIdentity Create a Recovery Link

		This endpoint creates a recovery link which should be given to the user in order for them to recover
	(or activate) their account.

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

	// CreateRecoveryLinkForIdentityExecute executes the request
	//  @return RecoveryLinkForIdentity
	CreateRecoveryLinkForIdentityExecute(r IdentityAPICreateRecoveryLinkForIdentityRequest) (*RecoveryLinkForIdentity, *http.Response, error)

	/*
		DeleteIdentity Delete an Identity

		Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone.
	This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is
	assumed that is has been deleted already.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the identity's ID.
		@return IdentityAPIDeleteIdentityRequest
	*/
	DeleteIdentity(ctx context.Context, id string) IdentityAPIDeleteIdentityRequest

	// DeleteIdentityExecute executes the request
	DeleteIdentityExecute(r IdentityAPIDeleteIdentityRequest) (*http.Response, error)

	/*
		DeleteIdentityCredentials Delete a credential for a specific identity

		Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type
	You can only delete second factor (aal2) credentials.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the identity's ID.
		@param type_ Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink  CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow).  It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
		@return IdentityAPIDeleteIdentityCredentialsRequest
	*/
	DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityAPIDeleteIdentityCredentialsRequest

	// DeleteIdentityCredentialsExecute executes the request
	DeleteIdentityCredentialsExecute(r IdentityAPIDeleteIdentityCredentialsRequest) (*http.Response, error)

	/*
		DeleteIdentitySessions Delete & Invalidate an Identity's Sessions

		Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the identity's ID.
		@return IdentityAPIDeleteIdentitySessionsRequest
	*/
	DeleteIdentitySessions(ctx context.Context, id string) IdentityAPIDeleteIdentitySessionsRequest

	// DeleteIdentitySessionsExecute executes the request
	DeleteIdentitySessionsExecute(r IdentityAPIDeleteIdentitySessionsRequest) (*http.Response, error)

	/*
		DisableSession Deactivate a Session

		Calling this endpoint deactivates the specified session. Session data is not deleted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the session's ID.
		@return IdentityAPIDisableSessionRequest
	*/
	DisableSession(ctx context.Context, id string) IdentityAPIDisableSessionRequest

	// DisableSessionExecute executes the request
	DisableSessionExecute(r IdentityAPIDisableSessionRequest) (*http.Response, error)

	/*
		ExtendSession Extend a Session

		Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it
	will only extend the session after the specified time has passed.

	Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the session's ID.
		@return IdentityAPIExtendSessionRequest
	*/
	ExtendSession(ctx context.Context, id string) IdentityAPIExtendSessionRequest

	// ExtendSessionExecute executes the request
	//  @return Session
	ExtendSessionExecute(r IdentityAPIExtendSessionRequest) (*Session, *http.Response, error)

	/*
		GetIdentity Get an Identity

		Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally
	include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID must be set to the ID of identity you want to get
		@return IdentityAPIGetIdentityRequest
	*/
	GetIdentity(ctx context.Context, id string) IdentityAPIGetIdentityRequest

	// GetIdentityExecute executes the request
	//  @return Identity
	GetIdentityExecute(r IdentityAPIGetIdentityRequest) (*Identity, *http.Response, error)

	/*
		GetIdentitySchema Get Identity JSON Schema

		Return a specific identity schema.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID must be set to the ID of schema you want to get
		@return IdentityAPIGetIdentitySchemaRequest
	*/
	GetIdentitySchema(ctx context.Context, id string) IdentityAPIGetIdentitySchemaRequest

	// GetIdentitySchemaExecute executes the request
	//  @return map[string]interface{}
	GetIdentitySchemaExecute(r IdentityAPIGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error)

	/*
		GetSession Get Session

		This endpoint is useful for:

	Getting a session object with all specified expandables that exist in an administrative context.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the session's ID.
		@return IdentityAPIGetSessionRequest
	*/
	GetSession(ctx context.Context, id string) IdentityAPIGetSessionRequest

	// GetSessionExecute executes the request
	//  @return Session
	GetSessionExecute(r IdentityAPIGetSessionRequest) (*Session, *http.Response, error)

	/*
		ListIdentities List Identities

		Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.

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

	// ListIdentitiesExecute executes the request
	//  @return []Identity
	ListIdentitiesExecute(r IdentityAPIListIdentitiesRequest) ([]Identity, *http.Response, error)

	/*
		ListIdentitySchemas Get all Identity Schemas

		Returns a list of all identity schemas currently in use.

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

	// ListIdentitySchemasExecute executes the request
	//  @return []IdentitySchemaContainer
	ListIdentitySchemasExecute(r IdentityAPIListIdentitySchemasRequest) ([]IdentitySchemaContainer, *http.Response, error)

	/*
		ListIdentitySessions List an Identity's Sessions

		This endpoint returns all sessions that belong to the given Identity.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID is the identity's ID.
		@return IdentityAPIListIdentitySessionsRequest
	*/
	ListIdentitySessions(ctx context.Context, id string) IdentityAPIListIdentitySessionsRequest

	// ListIdentitySessionsExecute executes the request
	//  @return []Session
	ListIdentitySessionsExecute(r IdentityAPIListIdentitySessionsRequest) ([]Session, *http.Response, error)

	/*
		ListSessions List All Sessions

		Listing all sessions that exist.

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

	// ListSessionsExecute executes the request
	//  @return []Session
	ListSessionsExecute(r IdentityAPIListSessionsRequest) ([]Session, *http.Response, error)

	/*
		PatchIdentity Patch an Identity

		Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/).
	The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID must be set to the ID of identity you want to update
		@return IdentityAPIPatchIdentityRequest
	*/
	PatchIdentity(ctx context.Context, id string) IdentityAPIPatchIdentityRequest

	// PatchIdentityExecute executes the request
	//  @return Identity
	PatchIdentityExecute(r IdentityAPIPatchIdentityRequest) (*Identity, *http.Response, error)

	/*
		UpdateIdentity Update an Identity

		This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity
	payload (except credentials) is expected. It is possible to update the identity's credentials as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id ID must be set to the ID of identity you want to update
		@return IdentityAPIUpdateIdentityRequest
	*/
	UpdateIdentity(ctx context.Context, id string) IdentityAPIUpdateIdentityRequest

	// UpdateIdentityExecute executes the request
	//  @return Identity
	UpdateIdentityExecute(r IdentityAPIUpdateIdentityRequest) (*Identity, *http.Response, error)
}

type IdentityAPIBatchPatchIdentitiesRequest added in v1.1.0

type IdentityAPIBatchPatchIdentitiesRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIBatchPatchIdentitiesRequest) Execute added in v1.1.0

func (IdentityAPIBatchPatchIdentitiesRequest) PatchIdentitiesBody added in v1.1.0

type IdentityAPICreateIdentityRequest added in v1.1.0

type IdentityAPICreateIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPICreateIdentityRequest) CreateIdentityBody added in v1.1.0

func (IdentityAPICreateIdentityRequest) Execute added in v1.1.0

type IdentityAPICreateRecoveryCodeForIdentityRequest added in v1.1.0

type IdentityAPICreateRecoveryCodeForIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPICreateRecoveryCodeForIdentityRequest) CreateRecoveryCodeForIdentityBody added in v1.1.0

func (IdentityAPICreateRecoveryCodeForIdentityRequest) Execute added in v1.1.0

type IdentityAPICreateRecoveryLinkForIdentityRequest added in v1.1.0

type IdentityAPICreateRecoveryLinkForIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPICreateRecoveryLinkForIdentityRequest) CreateRecoveryLinkForIdentityBody added in v1.1.0

func (IdentityAPICreateRecoveryLinkForIdentityRequest) Execute added in v1.1.0

func (IdentityAPICreateRecoveryLinkForIdentityRequest) ReturnTo added in v1.1.0

type IdentityAPIDeleteIdentityCredentialsRequest added in v1.1.0

type IdentityAPIDeleteIdentityCredentialsRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIDeleteIdentityCredentialsRequest) Execute added in v1.1.0

type IdentityAPIDeleteIdentityRequest added in v1.1.0

type IdentityAPIDeleteIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIDeleteIdentityRequest) Execute added in v1.1.0

type IdentityAPIDeleteIdentitySessionsRequest added in v1.1.0

type IdentityAPIDeleteIdentitySessionsRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIDeleteIdentitySessionsRequest) Execute added in v1.1.0

type IdentityAPIDisableSessionRequest added in v1.1.0

type IdentityAPIDisableSessionRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIDisableSessionRequest) Execute added in v1.1.0

type IdentityAPIExtendSessionRequest added in v1.1.0

type IdentityAPIExtendSessionRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIExtendSessionRequest) Execute added in v1.1.0

type IdentityAPIGetIdentityRequest added in v1.1.0

type IdentityAPIGetIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIGetIdentityRequest) Execute added in v1.1.0

func (IdentityAPIGetIdentityRequest) IncludeCredential added in v1.1.0

func (r IdentityAPIGetIdentityRequest) IncludeCredential(includeCredential []string) IdentityAPIGetIdentityRequest

Include Credentials in Response Include any credential, for example &#x60;password&#x60; or &#x60;oidc&#x60;, in the response. When set to &#x60;oidc&#x60;, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.

type IdentityAPIGetIdentitySchemaRequest added in v1.1.0

type IdentityAPIGetIdentitySchemaRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIGetIdentitySchemaRequest) Execute added in v1.1.0

func (r IdentityAPIGetIdentitySchemaRequest) Execute() (map[string]interface{}, *http.Response, error)

type IdentityAPIGetSessionRequest added in v1.1.0

type IdentityAPIGetSessionRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIGetSessionRequest) Execute added in v1.1.0

func (IdentityAPIGetSessionRequest) Expand added in v1.1.0

ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand&#x3D;Identity&amp;expand&#x3D;Devices If no value is provided, the expandable properties are skipped.

type IdentityAPIListIdentitiesRequest added in v1.1.0

type IdentityAPIListIdentitiesRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIListIdentitiesRequest) Consistency added in v1.1.0

Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with &#x60;ory patch project --replace &#39;/previews/default_read_consistency_level&#x3D;\&quot;strong\&quot;&#39;&#x60;. Setting the default consistency level to &#x60;eventual&#x60; may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: &#x60;GET /admin/identities&#x60; This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.

func (IdentityAPIListIdentitiesRequest) CredentialsIdentifier added in v1.1.0

func (r IdentityAPIListIdentitiesRequest) CredentialsIdentifier(credentialsIdentifier string) IdentityAPIListIdentitiesRequest

CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.

func (IdentityAPIListIdentitiesRequest) Execute added in v1.1.0

func (IdentityAPIListIdentitiesRequest) Ids added in v1.1.0

List of ids used to filter identities. If this list is empty, then no filter will be applied.

func (IdentityAPIListIdentitiesRequest) Page added in v1.1.0

Deprecated Pagination Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the &#x60;Link&#x60; header.

func (IdentityAPIListIdentitiesRequest) PageSize added in v1.1.0

Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListIdentitiesRequest) PageToken added in v1.1.0

Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListIdentitiesRequest) PerPage added in v1.1.0

Deprecated Items per Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This is the number of items per page.

func (IdentityAPIListIdentitiesRequest) PreviewCredentialsIdentifierSimilar added in v1.1.0

func (r IdentityAPIListIdentitiesRequest) PreviewCredentialsIdentifierSimilar(previewCredentialsIdentifierSimilar string) IdentityAPIListIdentitiesRequest

This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.

type IdentityAPIListIdentitySchemasRequest added in v1.1.0

type IdentityAPIListIdentitySchemasRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIListIdentitySchemasRequest) Execute added in v1.1.0

func (IdentityAPIListIdentitySchemasRequest) Page added in v1.1.0

Deprecated Pagination Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the &#x60;Link&#x60; header.

func (IdentityAPIListIdentitySchemasRequest) PageSize added in v1.1.0

Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListIdentitySchemasRequest) PageToken added in v1.1.0

Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListIdentitySchemasRequest) PerPage added in v1.1.0

Deprecated Items per Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This is the number of items per page.

type IdentityAPIListIdentitySessionsRequest added in v1.1.0

type IdentityAPIListIdentitySessionsRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIListIdentitySessionsRequest) Active added in v1.1.0

Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.

func (IdentityAPIListIdentitySessionsRequest) Execute added in v1.1.0

func (IdentityAPIListIdentitySessionsRequest) Page added in v1.1.0

Deprecated Pagination Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the &#x60;Link&#x60; header.

func (IdentityAPIListIdentitySessionsRequest) PageSize added in v1.1.0

Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListIdentitySessionsRequest) PageToken added in v1.1.0

Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListIdentitySessionsRequest) PerPage added in v1.1.0

Deprecated Items per Page DEPRECATED: Please use &#x60;page_token&#x60; instead. This parameter will be removed in the future. This is the number of items per page.

type IdentityAPIListSessionsRequest added in v1.1.0

type IdentityAPIListSessionsRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIListSessionsRequest) Active added in v1.1.0

Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.

func (IdentityAPIListSessionsRequest) Execute added in v1.1.0

func (IdentityAPIListSessionsRequest) Expand added in v1.1.0

ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped.

func (IdentityAPIListSessionsRequest) PageSize added in v1.1.0

Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func (IdentityAPIListSessionsRequest) PageToken added in v1.1.0

Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

type IdentityAPIPatchIdentityRequest added in v1.1.0

type IdentityAPIPatchIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIPatchIdentityRequest) Execute added in v1.1.0

func (IdentityAPIPatchIdentityRequest) JsonPatch added in v1.1.0

type IdentityAPIService added in v1.1.0

type IdentityAPIService service

IdentityAPIService IdentityAPI service

func (*IdentityAPIService) BatchPatchIdentities added in v1.1.0

BatchPatchIdentities Create and deletes multiple identities

Creates or delete multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods.

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

func (*IdentityAPIService) BatchPatchIdentitiesExecute added in v1.1.0

Execute executes the request

@return BatchPatchIdentitiesResponse

func (*IdentityAPIService) CreateIdentity added in v1.1.0

CreateIdentity Create an Identity

Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods.

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

func (*IdentityAPIService) CreateIdentityExecute added in v1.1.0

Execute executes the request

@return Identity

func (*IdentityAPIService) CreateRecoveryCodeForIdentity added in v1.1.0

CreateRecoveryCodeForIdentity Create a Recovery Code

This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account.

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

func (*IdentityAPIService) CreateRecoveryCodeForIdentityExecute added in v1.1.0

Execute executes the request

@return RecoveryCodeForIdentity

func (*IdentityAPIService) CreateRecoveryLinkForIdentity added in v1.1.0

CreateRecoveryLinkForIdentity Create a Recovery Link

This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.

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

func (*IdentityAPIService) CreateRecoveryLinkForIdentityExecute added in v1.1.0

Execute executes the request

@return RecoveryLinkForIdentity

func (*IdentityAPIService) DeleteIdentity added in v1.1.0

DeleteIdentity Delete an Identity

Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
@return IdentityAPIDeleteIdentityRequest

func (*IdentityAPIService) DeleteIdentityCredentials added in v1.1.0

func (a *IdentityAPIService) DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityAPIDeleteIdentityCredentialsRequest

DeleteIdentityCredentials Delete a credential for a specific identity

Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type You can only delete second factor (aal2) credentials.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
@param type_ Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink  CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow).  It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
@return IdentityAPIDeleteIdentityCredentialsRequest

func (*IdentityAPIService) DeleteIdentityCredentialsExecute added in v1.1.0

func (a *IdentityAPIService) DeleteIdentityCredentialsExecute(r IdentityAPIDeleteIdentityCredentialsRequest) (*http.Response, error)

Execute executes the request

func (*IdentityAPIService) DeleteIdentityExecute added in v1.1.0

func (a *IdentityAPIService) DeleteIdentityExecute(r IdentityAPIDeleteIdentityRequest) (*http.Response, error)

Execute executes the request

func (*IdentityAPIService) DeleteIdentitySessions added in v1.1.0

DeleteIdentitySessions Delete & Invalidate an Identity's Sessions

Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
@return IdentityAPIDeleteIdentitySessionsRequest

func (*IdentityAPIService) DeleteIdentitySessionsExecute added in v1.1.0

func (a *IdentityAPIService) DeleteIdentitySessionsExecute(r IdentityAPIDeleteIdentitySessionsRequest) (*http.Response, error)

Execute executes the request

func (*IdentityAPIService) DisableSession added in v1.1.0

DisableSession Deactivate a Session

Calling this endpoint deactivates the specified session. Session data is not deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
@return IdentityAPIDisableSessionRequest

func (*IdentityAPIService) DisableSessionExecute added in v1.1.0

func (a *IdentityAPIService) DisableSessionExecute(r IdentityAPIDisableSessionRequest) (*http.Response, error)

Execute executes the request

func (*IdentityAPIService) ExtendSession added in v1.1.0

ExtendSession Extend a Session

Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.

Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
@return IdentityAPIExtendSessionRequest

func (*IdentityAPIService) ExtendSessionExecute added in v1.1.0

Execute executes the request

@return Session

func (*IdentityAPIService) GetIdentity added in v1.1.0

GetIdentity Get an Identity

Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to get
@return IdentityAPIGetIdentityRequest

func (*IdentityAPIService) GetIdentityExecute added in v1.1.0

Execute executes the request

@return Identity

func (*IdentityAPIService) GetIdentitySchema added in v1.1.0

GetIdentitySchema Get Identity JSON Schema

Return a specific identity schema.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of schema you want to get
@return IdentityAPIGetIdentitySchemaRequest

func (*IdentityAPIService) GetIdentitySchemaExecute added in v1.1.0

func (a *IdentityAPIService) GetIdentitySchemaExecute(r IdentityAPIGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*IdentityAPIService) GetSession added in v1.1.0

GetSession Get Session

This endpoint is useful for:

Getting a session object with all specified expandables that exist in an administrative context.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
@return IdentityAPIGetSessionRequest

func (*IdentityAPIService) GetSessionExecute added in v1.1.0

Execute executes the request

@return Session

func (*IdentityAPIService) ListIdentities added in v1.1.0

ListIdentities List Identities

Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.

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

func (*IdentityAPIService) ListIdentitiesExecute added in v1.1.0

Execute executes the request

@return []Identity

func (*IdentityAPIService) ListIdentitySchemas added in v1.1.0

ListIdentitySchemas Get all Identity Schemas

Returns a list of all identity schemas currently in use.

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

func (*IdentityAPIService) ListIdentitySchemasExecute added in v1.1.0

Execute executes the request

@return []IdentitySchemaContainer

func (*IdentityAPIService) ListIdentitySessions added in v1.1.0

ListIdentitySessions List an Identity's Sessions

This endpoint returns all sessions that belong to the given Identity.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
@return IdentityAPIListIdentitySessionsRequest

func (*IdentityAPIService) ListIdentitySessionsExecute added in v1.1.0

func (a *IdentityAPIService) ListIdentitySessionsExecute(r IdentityAPIListIdentitySessionsRequest) ([]Session, *http.Response, error)

Execute executes the request

@return []Session

func (*IdentityAPIService) ListSessions added in v1.1.0

ListSessions List All Sessions

Listing all sessions that exist.

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

func (*IdentityAPIService) ListSessionsExecute added in v1.1.0

Execute executes the request

@return []Session

func (*IdentityAPIService) PatchIdentity added in v1.1.0

PatchIdentity Patch an Identity

Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to update
@return IdentityAPIPatchIdentityRequest

func (*IdentityAPIService) PatchIdentityExecute added in v1.1.0

Execute executes the request

@return Identity

func (*IdentityAPIService) UpdateIdentity added in v1.1.0

UpdateIdentity Update an Identity

This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity payload (except credentials) is expected. It is possible to update the identity's credentials as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to update
@return IdentityAPIUpdateIdentityRequest

func (*IdentityAPIService) UpdateIdentityExecute added in v1.1.0

Execute executes the request

@return Identity

type IdentityAPIUpdateIdentityRequest added in v1.1.0

type IdentityAPIUpdateIdentityRequest struct {
	ApiService IdentityAPI
	// contains filtered or unexported fields
}

func (IdentityAPIUpdateIdentityRequest) Execute added in v1.1.0

func (IdentityAPIUpdateIdentityRequest) UpdateIdentityBody added in v1.1.0

type IdentityCredentials

type IdentityCredentials struct {
	Config map[string]interface{} `json:"config,omitempty"`
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Identifiers represents a list of unique identifiers this credential type matches.
	Identifiers []string `json:"identifiers,omitempty"`
	// Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink  CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow).  It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
	Type *string `json:"type,omitempty"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Version refers to the version of the credential. Useful when changing the config schema.
	Version              *int64 `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityCredentials Credentials represents a specific credential type

func NewIdentityCredentials

func NewIdentityCredentials() *IdentityCredentials

NewIdentityCredentials instantiates a new IdentityCredentials 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 NewIdentityCredentialsWithDefaults

func NewIdentityCredentialsWithDefaults() *IdentityCredentials

NewIdentityCredentialsWithDefaults instantiates a new IdentityCredentials 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 (*IdentityCredentials) GetConfig

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

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

func (*IdentityCredentials) GetConfigOk

func (o *IdentityCredentials) 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 (*IdentityCredentials) GetCreatedAt

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

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

func (*IdentityCredentials) GetCreatedAtOk

func (o *IdentityCredentials) 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 (*IdentityCredentials) GetIdentifiers

func (o *IdentityCredentials) GetIdentifiers() []string

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

func (*IdentityCredentials) GetIdentifiersOk

func (o *IdentityCredentials) GetIdentifiersOk() ([]string, 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 (*IdentityCredentials) GetType

func (o *IdentityCredentials) GetType() string

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

func (*IdentityCredentials) GetTypeOk

func (o *IdentityCredentials) 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 (*IdentityCredentials) GetUpdatedAt

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

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

func (*IdentityCredentials) GetUpdatedAtOk

func (o *IdentityCredentials) 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 (*IdentityCredentials) GetVersion

func (o *IdentityCredentials) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IdentityCredentials) GetVersionOk

func (o *IdentityCredentials) GetVersionOk() (*int64, bool)

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

func (*IdentityCredentials) HasConfig

func (o *IdentityCredentials) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*IdentityCredentials) HasCreatedAt

func (o *IdentityCredentials) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IdentityCredentials) HasIdentifiers

func (o *IdentityCredentials) HasIdentifiers() bool

HasIdentifiers returns a boolean if a field has been set.

func (*IdentityCredentials) HasType

func (o *IdentityCredentials) HasType() bool

HasType returns a boolean if a field has been set.

func (*IdentityCredentials) HasUpdatedAt

func (o *IdentityCredentials) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*IdentityCredentials) HasVersion

func (o *IdentityCredentials) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IdentityCredentials) MarshalJSON

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

func (*IdentityCredentials) SetConfig

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

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

func (*IdentityCredentials) SetCreatedAt

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

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

func (*IdentityCredentials) SetIdentifiers

func (o *IdentityCredentials) SetIdentifiers(v []string)

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

func (*IdentityCredentials) SetType

func (o *IdentityCredentials) SetType(v string)

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

func (*IdentityCredentials) SetUpdatedAt

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

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

func (*IdentityCredentials) SetVersion

func (o *IdentityCredentials) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (IdentityCredentials) ToMap added in v1.1.0

func (o IdentityCredentials) ToMap() (map[string]interface{}, error)

func (*IdentityCredentials) UnmarshalJSON added in v1.0.0

func (o *IdentityCredentials) UnmarshalJSON(bytes []byte) (err error)

type IdentityCredentialsCode added in v1.1.0

type IdentityCredentialsCode struct {
	// The type of the address for this code
	AddressType          *string      `json:"address_type,omitempty"`
	UsedAt               NullableTime `json:"used_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityCredentialsCode CredentialsCode represents a one time login/registration code

func NewIdentityCredentialsCode added in v1.1.0

func NewIdentityCredentialsCode() *IdentityCredentialsCode

NewIdentityCredentialsCode instantiates a new IdentityCredentialsCode 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 NewIdentityCredentialsCodeWithDefaults added in v1.1.0

func NewIdentityCredentialsCodeWithDefaults() *IdentityCredentialsCode

NewIdentityCredentialsCodeWithDefaults instantiates a new IdentityCredentialsCode 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 (*IdentityCredentialsCode) GetAddressType added in v1.1.0

func (o *IdentityCredentialsCode) GetAddressType() string

GetAddressType returns the AddressType field value if set, zero value otherwise.

func (*IdentityCredentialsCode) GetAddressTypeOk added in v1.1.0

func (o *IdentityCredentialsCode) GetAddressTypeOk() (*string, bool)

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

func (*IdentityCredentialsCode) GetUsedAt added in v1.1.0

func (o *IdentityCredentialsCode) GetUsedAt() time.Time

GetUsedAt returns the UsedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IdentityCredentialsCode) GetUsedAtOk added in v1.1.0

func (o *IdentityCredentialsCode) GetUsedAtOk() (*time.Time, bool)

GetUsedAtOk returns a tuple with the UsedAt 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 (*IdentityCredentialsCode) HasAddressType added in v1.1.0

func (o *IdentityCredentialsCode) HasAddressType() bool

HasAddressType returns a boolean if a field has been set.

func (*IdentityCredentialsCode) HasUsedAt added in v1.1.0

func (o *IdentityCredentialsCode) HasUsedAt() bool

HasUsedAt returns a boolean if a field has been set.

func (IdentityCredentialsCode) MarshalJSON added in v1.1.0

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

func (*IdentityCredentialsCode) SetAddressType added in v1.1.0

func (o *IdentityCredentialsCode) SetAddressType(v string)

SetAddressType gets a reference to the given string and assigns it to the AddressType field.

func (*IdentityCredentialsCode) SetUsedAt added in v1.1.0

func (o *IdentityCredentialsCode) SetUsedAt(v time.Time)

SetUsedAt gets a reference to the given NullableTime and assigns it to the UsedAt field.

func (*IdentityCredentialsCode) SetUsedAtNil added in v1.1.0

func (o *IdentityCredentialsCode) SetUsedAtNil()

SetUsedAtNil sets the value for UsedAt to be an explicit nil

func (IdentityCredentialsCode) ToMap added in v1.1.0

func (o IdentityCredentialsCode) ToMap() (map[string]interface{}, error)

func (*IdentityCredentialsCode) UnmarshalJSON added in v1.1.0

func (o *IdentityCredentialsCode) UnmarshalJSON(bytes []byte) (err error)

func (*IdentityCredentialsCode) UnsetUsedAt added in v1.1.0

func (o *IdentityCredentialsCode) UnsetUsedAt()

UnsetUsedAt ensures that no value is present for UsedAt, not even an explicit nil

type IdentityCredentialsOidc

type IdentityCredentialsOidc struct {
	Providers            []IdentityCredentialsOidcProvider `json:"providers,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityCredentialsOidc struct for IdentityCredentialsOidc

func NewIdentityCredentialsOidc

func NewIdentityCredentialsOidc() *IdentityCredentialsOidc

NewIdentityCredentialsOidc instantiates a new IdentityCredentialsOidc 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 NewIdentityCredentialsOidcWithDefaults

func NewIdentityCredentialsOidcWithDefaults() *IdentityCredentialsOidc

NewIdentityCredentialsOidcWithDefaults instantiates a new IdentityCredentialsOidc 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 (*IdentityCredentialsOidc) GetProviders

GetProviders returns the Providers field value if set, zero value otherwise.

func (*IdentityCredentialsOidc) GetProvidersOk

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

func (*IdentityCredentialsOidc) HasProviders

func (o *IdentityCredentialsOidc) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (IdentityCredentialsOidc) MarshalJSON

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

func (*IdentityCredentialsOidc) SetProviders

SetProviders gets a reference to the given []IdentityCredentialsOidcProvider and assigns it to the Providers field.

func (IdentityCredentialsOidc) ToMap added in v1.1.0

func (o IdentityCredentialsOidc) ToMap() (map[string]interface{}, error)

func (*IdentityCredentialsOidc) UnmarshalJSON added in v1.0.0

func (o *IdentityCredentialsOidc) UnmarshalJSON(bytes []byte) (err error)

type IdentityCredentialsOidcProvider

type IdentityCredentialsOidcProvider struct {
	InitialAccessToken   *string `json:"initial_access_token,omitempty"`
	InitialIdToken       *string `json:"initial_id_token,omitempty"`
	InitialRefreshToken  *string `json:"initial_refresh_token,omitempty"`
	Organization         *string `json:"organization,omitempty"`
	Provider             *string `json:"provider,omitempty"`
	Subject              *string `json:"subject,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityCredentialsOidcProvider struct for IdentityCredentialsOidcProvider

func NewIdentityCredentialsOidcProvider

func NewIdentityCredentialsOidcProvider() *IdentityCredentialsOidcProvider

NewIdentityCredentialsOidcProvider instantiates a new IdentityCredentialsOidcProvider 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 NewIdentityCredentialsOidcProviderWithDefaults

func NewIdentityCredentialsOidcProviderWithDefaults() *IdentityCredentialsOidcProvider

NewIdentityCredentialsOidcProviderWithDefaults instantiates a new IdentityCredentialsOidcProvider 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 (*IdentityCredentialsOidcProvider) GetInitialAccessToken

func (o *IdentityCredentialsOidcProvider) GetInitialAccessToken() string

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

func (*IdentityCredentialsOidcProvider) GetInitialAccessTokenOk

func (o *IdentityCredentialsOidcProvider) 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 (*IdentityCredentialsOidcProvider) GetInitialIdToken

func (o *IdentityCredentialsOidcProvider) GetInitialIdToken() string

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

func (*IdentityCredentialsOidcProvider) GetInitialIdTokenOk

func (o *IdentityCredentialsOidcProvider) 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 (*IdentityCredentialsOidcProvider) GetInitialRefreshToken

func (o *IdentityCredentialsOidcProvider) GetInitialRefreshToken() string

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

func (*IdentityCredentialsOidcProvider) GetInitialRefreshTokenOk

func (o *IdentityCredentialsOidcProvider) 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 (*IdentityCredentialsOidcProvider) GetOrganization added in v1.1.0

func (o *IdentityCredentialsOidcProvider) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*IdentityCredentialsOidcProvider) GetOrganizationOk added in v1.1.0

func (o *IdentityCredentialsOidcProvider) GetOrganizationOk() (*string, bool)

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

func (*IdentityCredentialsOidcProvider) GetProvider

func (o *IdentityCredentialsOidcProvider) GetProvider() string

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

func (*IdentityCredentialsOidcProvider) GetProviderOk

func (o *IdentityCredentialsOidcProvider) GetProviderOk() (*string, bool)

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

func (*IdentityCredentialsOidcProvider) GetSubject

func (o *IdentityCredentialsOidcProvider) GetSubject() string

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

func (*IdentityCredentialsOidcProvider) GetSubjectOk

func (o *IdentityCredentialsOidcProvider) 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 (*IdentityCredentialsOidcProvider) HasInitialAccessToken

func (o *IdentityCredentialsOidcProvider) HasInitialAccessToken() bool

HasInitialAccessToken returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasInitialIdToken

func (o *IdentityCredentialsOidcProvider) HasInitialIdToken() bool

HasInitialIdToken returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasInitialRefreshToken

func (o *IdentityCredentialsOidcProvider) HasInitialRefreshToken() bool

HasInitialRefreshToken returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasOrganization added in v1.1.0

func (o *IdentityCredentialsOidcProvider) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasProvider

func (o *IdentityCredentialsOidcProvider) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasSubject

func (o *IdentityCredentialsOidcProvider) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (IdentityCredentialsOidcProvider) MarshalJSON

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

func (*IdentityCredentialsOidcProvider) SetInitialAccessToken

func (o *IdentityCredentialsOidcProvider) SetInitialAccessToken(v string)

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

func (*IdentityCredentialsOidcProvider) SetInitialIdToken

func (o *IdentityCredentialsOidcProvider) SetInitialIdToken(v string)

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

func (*IdentityCredentialsOidcProvider) SetInitialRefreshToken

func (o *IdentityCredentialsOidcProvider) SetInitialRefreshToken(v string)

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

func (*IdentityCredentialsOidcProvider) SetOrganization added in v1.1.0

func (o *IdentityCredentialsOidcProvider) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*IdentityCredentialsOidcProvider) SetProvider

func (o *IdentityCredentialsOidcProvider) SetProvider(v string)

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

func (*IdentityCredentialsOidcProvider) SetSubject

func (o *IdentityCredentialsOidcProvider) SetSubject(v string)

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

func (IdentityCredentialsOidcProvider) ToMap added in v1.1.0

func (o IdentityCredentialsOidcProvider) ToMap() (map[string]interface{}, error)

func (*IdentityCredentialsOidcProvider) UnmarshalJSON added in v1.0.0

func (o *IdentityCredentialsOidcProvider) UnmarshalJSON(bytes []byte) (err error)

type IdentityCredentialsPassword

type IdentityCredentialsPassword struct {
	// HashedPassword is a hash-representation of the password.
	HashedPassword       *string `json:"hashed_password,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityCredentialsPassword struct for IdentityCredentialsPassword

func NewIdentityCredentialsPassword

func NewIdentityCredentialsPassword() *IdentityCredentialsPassword

NewIdentityCredentialsPassword instantiates a new IdentityCredentialsPassword 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 NewIdentityCredentialsPasswordWithDefaults

func NewIdentityCredentialsPasswordWithDefaults() *IdentityCredentialsPassword

NewIdentityCredentialsPasswordWithDefaults instantiates a new IdentityCredentialsPassword 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 (*IdentityCredentialsPassword) GetHashedPassword

func (o *IdentityCredentialsPassword) GetHashedPassword() string

GetHashedPassword returns the HashedPassword field value if set, zero value otherwise.

func (*IdentityCredentialsPassword) GetHashedPasswordOk

func (o *IdentityCredentialsPassword) GetHashedPasswordOk() (*string, bool)

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

func (*IdentityCredentialsPassword) HasHashedPassword

func (o *IdentityCredentialsPassword) HasHashedPassword() bool

HasHashedPassword returns a boolean if a field has been set.

func (IdentityCredentialsPassword) MarshalJSON

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

func (*IdentityCredentialsPassword) SetHashedPassword

func (o *IdentityCredentialsPassword) SetHashedPassword(v string)

SetHashedPassword gets a reference to the given string and assigns it to the HashedPassword field.

func (IdentityCredentialsPassword) ToMap added in v1.1.0

func (o IdentityCredentialsPassword) ToMap() (map[string]interface{}, error)

func (*IdentityCredentialsPassword) UnmarshalJSON added in v1.0.0

func (o *IdentityCredentialsPassword) UnmarshalJSON(bytes []byte) (err error)

type IdentityPatch added in v0.13.1

type IdentityPatch struct {
	Create *CreateIdentityBody `json:"create,omitempty"`
	// The ID of this patch.  The patch ID is optional. If specified, the ID will be returned in the response, so consumers of this API can correlate the response with the patch.
	PatchId              *string `json:"patch_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityPatch Payload for patching an identity

func NewIdentityPatch added in v0.13.1

func NewIdentityPatch() *IdentityPatch

NewIdentityPatch instantiates a new IdentityPatch 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 NewIdentityPatchWithDefaults added in v0.13.1

func NewIdentityPatchWithDefaults() *IdentityPatch

NewIdentityPatchWithDefaults instantiates a new IdentityPatch 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 (*IdentityPatch) GetCreate added in v0.13.1

func (o *IdentityPatch) GetCreate() CreateIdentityBody

GetCreate returns the Create field value if set, zero value otherwise.

func (*IdentityPatch) GetCreateOk added in v0.13.1

func (o *IdentityPatch) GetCreateOk() (*CreateIdentityBody, bool)

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

func (*IdentityPatch) GetPatchId added in v0.13.1

func (o *IdentityPatch) GetPatchId() string

GetPatchId returns the PatchId field value if set, zero value otherwise.

func (*IdentityPatch) GetPatchIdOk added in v0.13.1

func (o *IdentityPatch) GetPatchIdOk() (*string, bool)

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

func (*IdentityPatch) HasCreate added in v0.13.1

func (o *IdentityPatch) HasCreate() bool

HasCreate returns a boolean if a field has been set.

func (*IdentityPatch) HasPatchId added in v0.13.1

func (o *IdentityPatch) HasPatchId() bool

HasPatchId returns a boolean if a field has been set.

func (IdentityPatch) MarshalJSON added in v0.13.1

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

func (*IdentityPatch) SetCreate added in v0.13.1

func (o *IdentityPatch) SetCreate(v CreateIdentityBody)

SetCreate gets a reference to the given CreateIdentityBody and assigns it to the Create field.

func (*IdentityPatch) SetPatchId added in v0.13.1

func (o *IdentityPatch) SetPatchId(v string)

SetPatchId gets a reference to the given string and assigns it to the PatchId field.

func (IdentityPatch) ToMap added in v1.1.0

func (o IdentityPatch) ToMap() (map[string]interface{}, error)

func (*IdentityPatch) UnmarshalJSON added in v1.0.0

func (o *IdentityPatch) UnmarshalJSON(bytes []byte) (err error)

type IdentityPatchResponse added in v0.13.1

type IdentityPatchResponse struct {
	// The action for this specific patch create ActionCreate  Create this identity.
	Action *string `json:"action,omitempty"`
	// The identity ID payload of this patch
	Identity *string `json:"identity,omitempty"`
	// The ID of this patch response, if an ID was specified in the patch.
	PatchId              *string `json:"patch_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityPatchResponse Response for a single identity patch

func NewIdentityPatchResponse added in v0.13.1

func NewIdentityPatchResponse() *IdentityPatchResponse

NewIdentityPatchResponse instantiates a new IdentityPatchResponse 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 NewIdentityPatchResponseWithDefaults added in v0.13.1

func NewIdentityPatchResponseWithDefaults() *IdentityPatchResponse

NewIdentityPatchResponseWithDefaults instantiates a new IdentityPatchResponse 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 (*IdentityPatchResponse) GetAction added in v0.13.1

func (o *IdentityPatchResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*IdentityPatchResponse) GetActionOk added in v0.13.1

func (o *IdentityPatchResponse) GetActionOk() (*string, bool)

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

func (*IdentityPatchResponse) GetIdentity added in v0.13.1

func (o *IdentityPatchResponse) GetIdentity() string

GetIdentity returns the Identity field value if set, zero value otherwise.

func (*IdentityPatchResponse) GetIdentityOk added in v0.13.1

func (o *IdentityPatchResponse) GetIdentityOk() (*string, bool)

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

func (*IdentityPatchResponse) GetPatchId added in v0.13.1

func (o *IdentityPatchResponse) GetPatchId() string

GetPatchId returns the PatchId field value if set, zero value otherwise.

func (*IdentityPatchResponse) GetPatchIdOk added in v0.13.1

func (o *IdentityPatchResponse) GetPatchIdOk() (*string, bool)

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

func (*IdentityPatchResponse) HasAction added in v0.13.1

func (o *IdentityPatchResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*IdentityPatchResponse) HasIdentity added in v0.13.1

func (o *IdentityPatchResponse) HasIdentity() bool

HasIdentity returns a boolean if a field has been set.

func (*IdentityPatchResponse) HasPatchId added in v0.13.1

func (o *IdentityPatchResponse) HasPatchId() bool

HasPatchId returns a boolean if a field has been set.

func (IdentityPatchResponse) MarshalJSON added in v0.13.1

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

func (*IdentityPatchResponse) SetAction added in v0.13.1

func (o *IdentityPatchResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*IdentityPatchResponse) SetIdentity added in v0.13.1

func (o *IdentityPatchResponse) SetIdentity(v string)

SetIdentity gets a reference to the given string and assigns it to the Identity field.

func (*IdentityPatchResponse) SetPatchId added in v0.13.1

func (o *IdentityPatchResponse) SetPatchId(v string)

SetPatchId gets a reference to the given string and assigns it to the PatchId field.

func (IdentityPatchResponse) ToMap added in v1.1.0

func (o IdentityPatchResponse) ToMap() (map[string]interface{}, error)

func (*IdentityPatchResponse) UnmarshalJSON added in v1.0.0

func (o *IdentityPatchResponse) UnmarshalJSON(bytes []byte) (err error)

type IdentitySchemaContainer added in v0.11.0

type IdentitySchemaContainer struct {
	// The ID of the Identity JSON Schema
	Id *string `json:"id,omitempty"`
	// The actual Identity JSON Schema
	Schema               map[string]interface{} `json:"schema,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentitySchemaContainer An Identity JSON Schema Container

func NewIdentitySchemaContainer added in v0.11.0

func NewIdentitySchemaContainer() *IdentitySchemaContainer

NewIdentitySchemaContainer instantiates a new IdentitySchemaContainer 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 NewIdentitySchemaContainerWithDefaults added in v0.11.0

func NewIdentitySchemaContainerWithDefaults() *IdentitySchemaContainer

NewIdentitySchemaContainerWithDefaults instantiates a new IdentitySchemaContainer 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 (*IdentitySchemaContainer) GetId added in v0.11.0

func (o *IdentitySchemaContainer) GetId() string

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

func (*IdentitySchemaContainer) GetIdOk added in v0.11.0

func (o *IdentitySchemaContainer) 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 (*IdentitySchemaContainer) GetSchema added in v0.11.0

func (o *IdentitySchemaContainer) GetSchema() map[string]interface{}

GetSchema returns the Schema field value if set, zero value otherwise.

func (*IdentitySchemaContainer) GetSchemaOk added in v0.11.0

func (o *IdentitySchemaContainer) GetSchemaOk() (map[string]interface{}, bool)

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

func (*IdentitySchemaContainer) HasId added in v0.11.0

func (o *IdentitySchemaContainer) HasId() bool

HasId returns a boolean if a field has been set.

func (*IdentitySchemaContainer) HasSchema added in v0.11.0

func (o *IdentitySchemaContainer) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (IdentitySchemaContainer) MarshalJSON added in v0.11.0

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

func (*IdentitySchemaContainer) SetId added in v0.11.0

func (o *IdentitySchemaContainer) SetId(v string)

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

func (*IdentitySchemaContainer) SetSchema added in v0.11.0

func (o *IdentitySchemaContainer) SetSchema(v map[string]interface{})

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

func (IdentitySchemaContainer) ToMap added in v1.1.0

func (o IdentitySchemaContainer) ToMap() (map[string]interface{}, error)

func (*IdentitySchemaContainer) UnmarshalJSON added in v1.0.0

func (o *IdentitySchemaContainer) UnmarshalJSON(bytes []byte) (err error)

type IdentityWithCredentials added in v0.11.0

type IdentityWithCredentials struct {
	Oidc                 *IdentityWithCredentialsOidc     `json:"oidc,omitempty"`
	Password             *IdentityWithCredentialsPassword `json:"password,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityWithCredentials Create Identity and Import Credentials

func NewIdentityWithCredentials added in v0.11.0

func NewIdentityWithCredentials() *IdentityWithCredentials

NewIdentityWithCredentials instantiates a new IdentityWithCredentials 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 NewIdentityWithCredentialsWithDefaults added in v0.11.0

func NewIdentityWithCredentialsWithDefaults() *IdentityWithCredentials

NewIdentityWithCredentialsWithDefaults instantiates a new IdentityWithCredentials 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 (*IdentityWithCredentials) GetOidc added in v0.11.0

GetOidc returns the Oidc field value if set, zero value otherwise.

func (*IdentityWithCredentials) GetOidcOk added in v0.11.0

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

func (*IdentityWithCredentials) GetPassword added in v0.11.0

GetPassword returns the Password field value if set, zero value otherwise.

func (*IdentityWithCredentials) GetPasswordOk added in v0.11.0

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

func (*IdentityWithCredentials) HasOidc added in v0.11.0

func (o *IdentityWithCredentials) HasOidc() bool

HasOidc returns a boolean if a field has been set.

func (*IdentityWithCredentials) HasPassword added in v0.11.0

func (o *IdentityWithCredentials) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (IdentityWithCredentials) MarshalJSON added in v0.11.0

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

func (*IdentityWithCredentials) SetOidc added in v0.11.0

SetOidc gets a reference to the given IdentityWithCredentialsOidc and assigns it to the Oidc field.

func (*IdentityWithCredentials) SetPassword added in v0.11.0

SetPassword gets a reference to the given IdentityWithCredentialsPassword and assigns it to the Password field.

func (IdentityWithCredentials) ToMap added in v1.1.0

func (o IdentityWithCredentials) ToMap() (map[string]interface{}, error)

func (*IdentityWithCredentials) UnmarshalJSON added in v1.0.0

func (o *IdentityWithCredentials) UnmarshalJSON(bytes []byte) (err error)

type IdentityWithCredentialsOidc added in v0.11.0

type IdentityWithCredentialsOidc struct {
	Config               *IdentityWithCredentialsOidcConfig `json:"config,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityWithCredentialsOidc Create Identity and Import Social Sign In Credentials

func NewIdentityWithCredentialsOidc added in v0.11.0

func NewIdentityWithCredentialsOidc() *IdentityWithCredentialsOidc

NewIdentityWithCredentialsOidc instantiates a new IdentityWithCredentialsOidc 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 NewIdentityWithCredentialsOidcWithDefaults added in v0.11.0

func NewIdentityWithCredentialsOidcWithDefaults() *IdentityWithCredentialsOidc

NewIdentityWithCredentialsOidcWithDefaults instantiates a new IdentityWithCredentialsOidc 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 (*IdentityWithCredentialsOidc) GetConfig added in v0.11.0

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

func (*IdentityWithCredentialsOidc) GetConfigOk added in v0.11.0

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 (*IdentityWithCredentialsOidc) HasConfig added in v0.11.0

func (o *IdentityWithCredentialsOidc) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (IdentityWithCredentialsOidc) MarshalJSON added in v0.11.0

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

func (*IdentityWithCredentialsOidc) SetConfig added in v0.11.0

SetConfig gets a reference to the given IdentityWithCredentialsOidcConfig and assigns it to the Config field.

func (IdentityWithCredentialsOidc) ToMap added in v1.1.0

func (o IdentityWithCredentialsOidc) ToMap() (map[string]interface{}, error)

func (*IdentityWithCredentialsOidc) UnmarshalJSON added in v1.0.0

func (o *IdentityWithCredentialsOidc) UnmarshalJSON(bytes []byte) (err error)

type IdentityWithCredentialsOidcConfig added in v0.11.0

type IdentityWithCredentialsOidcConfig struct {
	Config *IdentityWithCredentialsPasswordConfig `json:"config,omitempty"`
	// A list of OpenID Connect Providers
	Providers            []IdentityWithCredentialsOidcConfigProvider `json:"providers,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityWithCredentialsOidcConfig struct for IdentityWithCredentialsOidcConfig

func NewIdentityWithCredentialsOidcConfig added in v0.11.0

func NewIdentityWithCredentialsOidcConfig() *IdentityWithCredentialsOidcConfig

NewIdentityWithCredentialsOidcConfig instantiates a new IdentityWithCredentialsOidcConfig 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 NewIdentityWithCredentialsOidcConfigWithDefaults added in v0.11.0

func NewIdentityWithCredentialsOidcConfigWithDefaults() *IdentityWithCredentialsOidcConfig

NewIdentityWithCredentialsOidcConfigWithDefaults instantiates a new IdentityWithCredentialsOidcConfig 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 (*IdentityWithCredentialsOidcConfig) GetConfig added in v0.11.0

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

func (*IdentityWithCredentialsOidcConfig) GetConfigOk added in v0.11.0

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 (*IdentityWithCredentialsOidcConfig) GetProviders added in v0.11.0

GetProviders returns the Providers field value if set, zero value otherwise.

func (*IdentityWithCredentialsOidcConfig) GetProvidersOk added in v0.11.0

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

func (*IdentityWithCredentialsOidcConfig) HasConfig added in v0.11.0

func (o *IdentityWithCredentialsOidcConfig) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*IdentityWithCredentialsOidcConfig) HasProviders added in v0.11.0

func (o *IdentityWithCredentialsOidcConfig) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (IdentityWithCredentialsOidcConfig) MarshalJSON added in v0.11.0

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

func (*IdentityWithCredentialsOidcConfig) SetConfig added in v0.11.0

SetConfig gets a reference to the given IdentityWithCredentialsPasswordConfig and assigns it to the Config field.

func (*IdentityWithCredentialsOidcConfig) SetProviders added in v0.11.0

SetProviders gets a reference to the given []IdentityWithCredentialsOidcConfigProvider and assigns it to the Providers field.

func (IdentityWithCredentialsOidcConfig) ToMap added in v1.1.0

func (o IdentityWithCredentialsOidcConfig) ToMap() (map[string]interface{}, error)

func (*IdentityWithCredentialsOidcConfig) UnmarshalJSON added in v1.0.0

func (o *IdentityWithCredentialsOidcConfig) UnmarshalJSON(bytes []byte) (err error)

type IdentityWithCredentialsOidcConfigProvider added in v0.11.0

type IdentityWithCredentialsOidcConfigProvider struct {
	// The OpenID Connect provider to link the subject to. Usually something like `google` or `github`.
	Provider string `json:"provider"`
	// The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token.
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

IdentityWithCredentialsOidcConfigProvider Create Identity and Import Social Sign In Credentials Configuration

func NewIdentityWithCredentialsOidcConfigProvider added in v0.11.0

func NewIdentityWithCredentialsOidcConfigProvider(provider string, subject string) *IdentityWithCredentialsOidcConfigProvider

NewIdentityWithCredentialsOidcConfigProvider instantiates a new IdentityWithCredentialsOidcConfigProvider 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 NewIdentityWithCredentialsOidcConfigProviderWithDefaults added in v0.11.0

func NewIdentityWithCredentialsOidcConfigProviderWithDefaults() *IdentityWithCredentialsOidcConfigProvider

NewIdentityWithCredentialsOidcConfigProviderWithDefaults instantiates a new IdentityWithCredentialsOidcConfigProvider 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 (*IdentityWithCredentialsOidcConfigProvider) GetProvider added in v0.11.0

GetProvider returns the Provider field value

func (*IdentityWithCredentialsOidcConfigProvider) GetProviderOk added in v0.11.0

func (o *IdentityWithCredentialsOidcConfigProvider) GetProviderOk() (*string, bool)

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

func (*IdentityWithCredentialsOidcConfigProvider) GetSubject added in v0.11.0

GetSubject returns the Subject field value

func (*IdentityWithCredentialsOidcConfigProvider) GetSubjectOk added in v0.11.0

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

func (IdentityWithCredentialsOidcConfigProvider) MarshalJSON added in v0.11.0

func (*IdentityWithCredentialsOidcConfigProvider) SetProvider added in v0.11.0

SetProvider sets field value

func (*IdentityWithCredentialsOidcConfigProvider) SetSubject added in v0.11.0

SetSubject sets field value

func (IdentityWithCredentialsOidcConfigProvider) ToMap added in v1.1.0

func (o IdentityWithCredentialsOidcConfigProvider) ToMap() (map[string]interface{}, error)

func (*IdentityWithCredentialsOidcConfigProvider) UnmarshalJSON added in v1.0.0

func (o *IdentityWithCredentialsOidcConfigProvider) UnmarshalJSON(bytes []byte) (err error)

type IdentityWithCredentialsPassword added in v0.11.0

type IdentityWithCredentialsPassword struct {
	Config               *IdentityWithCredentialsPasswordConfig `json:"config,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityWithCredentialsPassword Create Identity and Import Password Credentials

func NewIdentityWithCredentialsPassword added in v0.11.0

func NewIdentityWithCredentialsPassword() *IdentityWithCredentialsPassword

NewIdentityWithCredentialsPassword instantiates a new IdentityWithCredentialsPassword 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 NewIdentityWithCredentialsPasswordWithDefaults added in v0.11.0

func NewIdentityWithCredentialsPasswordWithDefaults() *IdentityWithCredentialsPassword

NewIdentityWithCredentialsPasswordWithDefaults instantiates a new IdentityWithCredentialsPassword 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 (*IdentityWithCredentialsPassword) GetConfig added in v0.11.0

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

func (*IdentityWithCredentialsPassword) GetConfigOk added in v0.11.0

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 (*IdentityWithCredentialsPassword) HasConfig added in v0.11.0

func (o *IdentityWithCredentialsPassword) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (IdentityWithCredentialsPassword) MarshalJSON added in v0.11.0

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

func (*IdentityWithCredentialsPassword) SetConfig added in v0.11.0

SetConfig gets a reference to the given IdentityWithCredentialsPasswordConfig and assigns it to the Config field.

func (IdentityWithCredentialsPassword) ToMap added in v1.1.0

func (o IdentityWithCredentialsPassword) ToMap() (map[string]interface{}, error)

func (*IdentityWithCredentialsPassword) UnmarshalJSON added in v1.0.0

func (o *IdentityWithCredentialsPassword) UnmarshalJSON(bytes []byte) (err error)

type IdentityWithCredentialsPasswordConfig added in v0.11.0

type IdentityWithCredentialsPasswordConfig struct {
	// The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords)
	HashedPassword *string `json:"hashed_password,omitempty"`
	// The password in plain text if no hash is available.
	Password             *string `json:"password,omitempty"`
	AdditionalProperties map[string]interface{}
}

IdentityWithCredentialsPasswordConfig Create Identity and Import Password Credentials Configuration

func NewIdentityWithCredentialsPasswordConfig added in v0.11.0

func NewIdentityWithCredentialsPasswordConfig() *IdentityWithCredentialsPasswordConfig

NewIdentityWithCredentialsPasswordConfig instantiates a new IdentityWithCredentialsPasswordConfig 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 NewIdentityWithCredentialsPasswordConfigWithDefaults added in v0.11.0

func NewIdentityWithCredentialsPasswordConfigWithDefaults() *IdentityWithCredentialsPasswordConfig

NewIdentityWithCredentialsPasswordConfigWithDefaults instantiates a new IdentityWithCredentialsPasswordConfig 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 (*IdentityWithCredentialsPasswordConfig) GetHashedPassword added in v0.11.0

func (o *IdentityWithCredentialsPasswordConfig) GetHashedPassword() string

GetHashedPassword returns the HashedPassword field value if set, zero value otherwise.

func (*IdentityWithCredentialsPasswordConfig) GetHashedPasswordOk added in v0.11.0

func (o *IdentityWithCredentialsPasswordConfig) GetHashedPasswordOk() (*string, bool)

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

func (*IdentityWithCredentialsPasswordConfig) GetPassword added in v0.11.0

GetPassword returns the Password field value if set, zero value otherwise.

func (*IdentityWithCredentialsPasswordConfig) GetPasswordOk added in v0.11.0

func (o *IdentityWithCredentialsPasswordConfig) GetPasswordOk() (*string, bool)

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

func (*IdentityWithCredentialsPasswordConfig) HasHashedPassword added in v0.11.0

func (o *IdentityWithCredentialsPasswordConfig) HasHashedPassword() bool

HasHashedPassword returns a boolean if a field has been set.

func (*IdentityWithCredentialsPasswordConfig) HasPassword added in v0.11.0

HasPassword returns a boolean if a field has been set.

func (IdentityWithCredentialsPasswordConfig) MarshalJSON added in v0.11.0

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

func (*IdentityWithCredentialsPasswordConfig) SetHashedPassword added in v0.11.0

func (o *IdentityWithCredentialsPasswordConfig) SetHashedPassword(v string)

SetHashedPassword gets a reference to the given string and assigns it to the HashedPassword field.

func (*IdentityWithCredentialsPasswordConfig) SetPassword added in v0.11.0

SetPassword gets a reference to the given string and assigns it to the Password field.

func (IdentityWithCredentialsPasswordConfig) ToMap added in v1.1.0

func (o IdentityWithCredentialsPasswordConfig) ToMap() (map[string]interface{}, error)

func (*IdentityWithCredentialsPasswordConfig) UnmarshalJSON added in v1.0.0

func (o *IdentityWithCredentialsPasswordConfig) UnmarshalJSON(bytes []byte) (err error)

type IsAlive200Response added in v0.11.0

type IsAlive200Response struct {
	// Always \"ok\".
	Status               string `json:"status"`
	AdditionalProperties map[string]interface{}
}

IsAlive200Response struct for IsAlive200Response

func NewIsAlive200Response added in v0.11.0

func NewIsAlive200Response(status string) *IsAlive200Response

NewIsAlive200Response instantiates a new IsAlive200Response 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 NewIsAlive200ResponseWithDefaults added in v0.11.0

func NewIsAlive200ResponseWithDefaults() *IsAlive200Response

NewIsAlive200ResponseWithDefaults instantiates a new IsAlive200Response 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 (*IsAlive200Response) GetStatus added in v0.11.0

func (o *IsAlive200Response) GetStatus() string

GetStatus returns the Status field value

func (*IsAlive200Response) GetStatusOk added in v0.11.0

func (o *IsAlive200Response) GetStatusOk() (*string, bool)

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

func (IsAlive200Response) MarshalJSON added in v0.11.0

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

func (*IsAlive200Response) SetStatus added in v0.11.0

func (o *IsAlive200Response) SetStatus(v string)

SetStatus sets field value

func (IsAlive200Response) ToMap added in v1.1.0

func (o IsAlive200Response) ToMap() (map[string]interface{}, error)

func (*IsAlive200Response) UnmarshalJSON added in v1.0.0

func (o *IsAlive200Response) UnmarshalJSON(bytes []byte) (err error)

type IsReady503Response added in v0.11.0

type IsReady503Response struct {
	// Errors contains a list of errors that caused the not ready status.
	Errors               map[string]string `json:"errors"`
	AdditionalProperties map[string]interface{}
}

IsReady503Response struct for IsReady503Response

func NewIsReady503Response added in v0.11.0

func NewIsReady503Response(errors map[string]string) *IsReady503Response

NewIsReady503Response instantiates a new IsReady503Response 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 NewIsReady503ResponseWithDefaults added in v0.11.0

func NewIsReady503ResponseWithDefaults() *IsReady503Response

NewIsReady503ResponseWithDefaults instantiates a new IsReady503Response 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 (*IsReady503Response) GetErrors added in v0.11.0

func (o *IsReady503Response) GetErrors() map[string]string

GetErrors returns the Errors field value

func (*IsReady503Response) GetErrorsOk added in v0.11.0

func (o *IsReady503Response) GetErrorsOk() (*map[string]string, bool)

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

func (IsReady503Response) MarshalJSON added in v0.11.0

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

func (*IsReady503Response) SetErrors added in v0.11.0

func (o *IsReady503Response) SetErrors(v map[string]string)

SetErrors sets field value

func (IsReady503Response) ToMap added in v1.1.0

func (o IsReady503Response) ToMap() (map[string]interface{}, error)

func (*IsReady503Response) UnmarshalJSON added in v1.0.0

func (o *IsReady503Response) UnmarshalJSON(bytes []byte) (err error)

type JsonPatch added in v0.11.0

type JsonPatch struct {
	// This field is used together with operation \"move\" and uses JSON Pointer notation.  Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).
	From *string `json:"from,omitempty"`
	// The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\".
	Op string `json:"op"`
	// The path to the target path. Uses JSON pointer notation.  Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).
	Path string `json:"path"`
	// The value to be used within the operations.  Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).
	Value                interface{} `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

JsonPatch A JSONPatch document as defined by RFC 6902

func NewJsonPatch added in v0.11.0

func NewJsonPatch(op string, path string) *JsonPatch

NewJsonPatch instantiates a new JsonPatch 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 NewJsonPatchWithDefaults added in v0.11.0

func NewJsonPatchWithDefaults() *JsonPatch

NewJsonPatchWithDefaults instantiates a new JsonPatch 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 (*JsonPatch) GetFrom added in v0.11.0

func (o *JsonPatch) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*JsonPatch) GetFromOk added in v0.11.0

func (o *JsonPatch) GetFromOk() (*string, bool)

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

func (*JsonPatch) GetOp added in v0.11.0

func (o *JsonPatch) GetOp() string

GetOp returns the Op field value

func (*JsonPatch) GetOpOk added in v0.11.0

func (o *JsonPatch) GetOpOk() (*string, bool)

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

func (*JsonPatch) GetPath added in v0.11.0

func (o *JsonPatch) GetPath() string

GetPath returns the Path field value

func (*JsonPatch) GetPathOk added in v0.11.0

func (o *JsonPatch) GetPathOk() (*string, bool)

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

func (*JsonPatch) GetValue added in v0.11.0

func (o *JsonPatch) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*JsonPatch) GetValueOk added in v0.11.0

func (o *JsonPatch) 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 (*JsonPatch) HasFrom added in v0.11.0

func (o *JsonPatch) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*JsonPatch) HasValue added in v0.11.0

func (o *JsonPatch) HasValue() bool

HasValue returns a boolean if a field has been set.

func (JsonPatch) MarshalJSON added in v0.11.0

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

func (*JsonPatch) SetFrom added in v0.11.0

func (o *JsonPatch) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*JsonPatch) SetOp added in v0.11.0

func (o *JsonPatch) SetOp(v string)

SetOp sets field value

func (*JsonPatch) SetPath added in v0.11.0

func (o *JsonPatch) SetPath(v string)

SetPath sets field value

func (*JsonPatch) SetValue added in v0.11.0

func (o *JsonPatch) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

func (JsonPatch) ToMap added in v1.1.0

func (o JsonPatch) ToMap() (map[string]interface{}, error)

func (*JsonPatch) UnmarshalJSON added in v1.0.0

func (o *JsonPatch) UnmarshalJSON(bytes []byte) (err error)

type LoginFlow added in v0.11.0

type LoginFlow struct {
	// The active login method  If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink  CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow).  It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
	Active *string `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 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"`
	// Ory 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 Ory 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"`
	OrganizationId       NullableString      `json:"organization_id,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 Ory Kratos. 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"`
	// SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the login flow.
	SessionTokenExchangeCode *string `json:"session_token_exchange_code,omitempty"`
	// State represents the state of this request:  choose_method: ask the user to choose a method to sign in with sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed.
	State interface{} `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

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 added in v0.11.0

func NewLoginFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state interface{}, type_ string, 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 added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetActive() string

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

func (*LoginFlow) GetActiveOk added in v0.11.0

func (o *LoginFlow) GetActiveOk() (*string, 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 added in v0.11.0

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

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

func (*LoginFlow) GetCreatedAtOk added in v0.11.0

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 added in v0.11.0

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

GetExpiresAt returns the ExpiresAt field value

func (*LoginFlow) GetExpiresAtOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetId() string

GetId returns the Id field value

func (*LoginFlow) GetIdOk added in v0.11.0

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 added in v0.11.0

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

GetIssuedAt returns the IssuedAt field value

func (*LoginFlow) GetIssuedAtOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetOauth2LoginChallenge() string

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

func (*LoginFlow) GetOauth2LoginChallengeOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetOauth2LoginRequest() OAuth2LoginRequest

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

func (*LoginFlow) GetOauth2LoginRequestOk added in v0.11.0

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) GetOrganizationId added in v1.1.0

func (o *LoginFlow) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LoginFlow) GetOrganizationIdOk added in v1.1.0

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

GetOrganizationIdOk returns a tuple with the OrganizationId 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 (*LoginFlow) GetRefresh added in v0.11.0

func (o *LoginFlow) GetRefresh() bool

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

func (*LoginFlow) GetRefreshOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*LoginFlow) GetRequestUrlOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetRequestedAal() AuthenticatorAssuranceLevel

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

func (*LoginFlow) GetRequestedAalOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) GetReturnTo() string

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

func (*LoginFlow) GetReturnToOk added in v0.11.0

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) GetSessionTokenExchangeCode added in v1.0.0

func (o *LoginFlow) GetSessionTokenExchangeCode() string

GetSessionTokenExchangeCode returns the SessionTokenExchangeCode field value if set, zero value otherwise.

func (*LoginFlow) GetSessionTokenExchangeCodeOk added in v1.0.0

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

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

func (*LoginFlow) GetState added in v1.1.0

func (o *LoginFlow) GetState() interface{}

GetState returns the State field value If the value is explicit nil, the zero value for interface{} will be returned

func (*LoginFlow) GetStateOk added in v1.1.0

func (o *LoginFlow) GetStateOk() (*interface{}, bool)

GetStateOk returns a tuple with the State field value 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 (*LoginFlow) GetType added in v0.11.0

func (o *LoginFlow) GetType() string

GetType returns the Type field value

func (*LoginFlow) GetTypeOk added in v0.11.0

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

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

func (*LoginFlow) GetUi added in v0.11.0

func (o *LoginFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*LoginFlow) GetUiOk added in v0.11.0

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 added in v0.11.0

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

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

func (*LoginFlow) GetUpdatedAtOk added in v0.11.0

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 added in v0.11.0

func (o *LoginFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*LoginFlow) HasCreatedAt added in v0.11.0

func (o *LoginFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*LoginFlow) HasOauth2LoginChallenge added in v0.11.0

func (o *LoginFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*LoginFlow) HasOauth2LoginRequest added in v0.11.0

func (o *LoginFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*LoginFlow) HasOrganizationId added in v1.1.0

func (o *LoginFlow) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*LoginFlow) HasRefresh added in v0.11.0

func (o *LoginFlow) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (*LoginFlow) HasRequestedAal added in v0.11.0

func (o *LoginFlow) HasRequestedAal() bool

HasRequestedAal returns a boolean if a field has been set.

func (*LoginFlow) HasReturnTo added in v0.11.0

func (o *LoginFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*LoginFlow) HasSessionTokenExchangeCode added in v1.0.0

func (o *LoginFlow) HasSessionTokenExchangeCode() bool

HasSessionTokenExchangeCode returns a boolean if a field has been set.

func (*LoginFlow) HasUpdatedAt added in v0.11.0

func (o *LoginFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (LoginFlow) MarshalJSON added in v0.11.0

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

func (*LoginFlow) SetActive added in v0.11.0

func (o *LoginFlow) SetActive(v string)

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

func (*LoginFlow) SetCreatedAt added in v0.11.0

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 added in v0.11.0

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

SetExpiresAt sets field value

func (*LoginFlow) SetId added in v0.11.0

func (o *LoginFlow) SetId(v string)

SetId sets field value

func (*LoginFlow) SetIssuedAt added in v0.11.0

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

SetIssuedAt sets field value

func (*LoginFlow) SetOauth2LoginChallenge added in v0.11.0

func (o *LoginFlow) SetOauth2LoginChallenge(v string)

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

func (*LoginFlow) SetOauth2LoginRequest added in v0.11.0

func (o *LoginFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

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

func (*LoginFlow) SetOrganizationId added in v1.1.0

func (o *LoginFlow) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given NullableString and assigns it to the OrganizationId field.

func (*LoginFlow) SetOrganizationIdNil added in v1.1.0

func (o *LoginFlow) SetOrganizationIdNil()

SetOrganizationIdNil sets the value for OrganizationId to be an explicit nil

func (*LoginFlow) SetRefresh added in v0.11.0

func (o *LoginFlow) SetRefresh(v bool)

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

func (*LoginFlow) SetRequestUrl added in v0.11.0

func (o *LoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*LoginFlow) SetRequestedAal added in v0.11.0

func (o *LoginFlow) SetRequestedAal(v AuthenticatorAssuranceLevel)

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

func (*LoginFlow) SetReturnTo added in v0.11.0

func (o *LoginFlow) SetReturnTo(v string)

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

func (*LoginFlow) SetSessionTokenExchangeCode added in v1.0.0

func (o *LoginFlow) SetSessionTokenExchangeCode(v string)

SetSessionTokenExchangeCode gets a reference to the given string and assigns it to the SessionTokenExchangeCode field.

func (*LoginFlow) SetState added in v1.1.0

func (o *LoginFlow) SetState(v interface{})

SetState sets field value

func (*LoginFlow) SetType added in v0.11.0

func (o *LoginFlow) SetType(v string)

SetType sets field value

func (*LoginFlow) SetUi added in v0.11.0

func (o *LoginFlow) SetUi(v UiContainer)

SetUi sets field value

func (*LoginFlow) SetUpdatedAt added in v0.11.0

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

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

func (LoginFlow) ToMap added in v1.1.0

func (o LoginFlow) ToMap() (map[string]interface{}, error)

func (*LoginFlow) UnmarshalJSON added in v1.0.0

func (o *LoginFlow) UnmarshalJSON(bytes []byte) (err error)

func (*LoginFlow) UnsetOrganizationId added in v1.1.0

func (o *LoginFlow) UnsetOrganizationId()

UnsetOrganizationId ensures that no value is present for OrganizationId, not even an explicit nil

type LoginFlowState added in v1.1.0

type LoginFlowState string

LoginFlowState The state represents the state of the login flow. choose_method: ask the user to choose a method (e.g. login account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed.

const (
	LOGINFLOWSTATE_CHOOSE_METHOD    LoginFlowState = "choose_method"
	LOGINFLOWSTATE_SENT_EMAIL       LoginFlowState = "sent_email"
	LOGINFLOWSTATE_PASSED_CHALLENGE LoginFlowState = "passed_challenge"
)

List of loginFlowState

func NewLoginFlowStateFromValue added in v1.1.0

func NewLoginFlowStateFromValue(v string) (*LoginFlowState, error)

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

func (LoginFlowState) IsValid added in v1.1.0

func (v LoginFlowState) IsValid() bool

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

func (LoginFlowState) Ptr added in v1.1.0

func (v LoginFlowState) Ptr() *LoginFlowState

Ptr returns reference to loginFlowState value

func (*LoginFlowState) UnmarshalJSON added in v1.1.0

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

type LogoutFlow added in v0.11.0

type LogoutFlow 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"`
	AdditionalProperties map[string]interface{}
}

LogoutFlow Logout Flow

func NewLogoutFlow added in v0.11.0

func NewLogoutFlow(logoutToken string, logoutUrl string) *LogoutFlow

NewLogoutFlow instantiates a new LogoutFlow 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 NewLogoutFlowWithDefaults added in v0.11.0

func NewLogoutFlowWithDefaults() *LogoutFlow

NewLogoutFlowWithDefaults instantiates a new LogoutFlow 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 (*LogoutFlow) GetLogoutToken added in v0.11.0

func (o *LogoutFlow) GetLogoutToken() string

GetLogoutToken returns the LogoutToken field value

func (*LogoutFlow) GetLogoutTokenOk added in v0.11.0

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

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

func (*LogoutFlow) GetLogoutUrl added in v0.11.0

func (o *LogoutFlow) GetLogoutUrl() string

GetLogoutUrl returns the LogoutUrl field value

func (*LogoutFlow) GetLogoutUrlOk added in v0.11.0

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

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

func (LogoutFlow) MarshalJSON added in v0.11.0

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

func (*LogoutFlow) SetLogoutToken added in v0.11.0

func (o *LogoutFlow) SetLogoutToken(v string)

SetLogoutToken sets field value

func (*LogoutFlow) SetLogoutUrl added in v0.11.0

func (o *LogoutFlow) SetLogoutUrl(v string)

SetLogoutUrl sets field value

func (LogoutFlow) ToMap added in v1.1.0

func (o LogoutFlow) ToMap() (map[string]interface{}, error)

func (*LogoutFlow) UnmarshalJSON added in v1.0.0

func (o *LogoutFlow) UnmarshalJSON(bytes []byte) (err error)

type MappedNullable added in v1.1.0

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Message added in v0.11.0

type Message struct {
	Body    string  `json:"body"`
	Channel *string `json:"channel,omitempty"`
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt time.Time `json:"created_at"`
	// Dispatches store information about the attempts of delivering a message May contain an error if any happened, or just the `success` state.
	Dispatches []MessageDispatch    `json:"dispatches,omitempty"`
	Id         string               `json:"id"`
	Recipient  string               `json:"recipient"`
	SendCount  int64                `json:"send_count"`
	Status     CourierMessageStatus `json:"status"`
	Subject    string               `json:"subject"`
	//  recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid
	TemplateType string             `json:"template_type"`
	Type         CourierMessageType `json:"type"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt            time.Time `json:"updated_at"`
	AdditionalProperties map[string]interface{}
}

Message struct for Message

func NewMessage added in v0.11.0

func NewMessage(body string, createdAt time.Time, id string, recipient string, sendCount int64, status CourierMessageStatus, subject string, templateType string, type_ CourierMessageType, updatedAt time.Time) *Message

NewMessage instantiates a new Message 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 NewMessageWithDefaults added in v0.11.0

func NewMessageWithDefaults() *Message

NewMessageWithDefaults instantiates a new Message 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 (*Message) GetBody added in v0.11.0

func (o *Message) GetBody() string

GetBody returns the Body field value

func (*Message) GetBodyOk added in v0.11.0

func (o *Message) GetBodyOk() (*string, bool)

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

func (*Message) GetChannel added in v1.1.0

func (o *Message) GetChannel() string

GetChannel returns the Channel field value if set, zero value otherwise.

func (*Message) GetChannelOk added in v1.1.0

func (o *Message) GetChannelOk() (*string, bool)

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

func (*Message) GetCreatedAt added in v0.11.0

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

GetCreatedAt returns the CreatedAt field value

func (*Message) GetCreatedAtOk added in v0.11.0

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

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

func (*Message) GetDispatches added in v0.11.1

func (o *Message) GetDispatches() []MessageDispatch

GetDispatches returns the Dispatches field value if set, zero value otherwise.

func (*Message) GetDispatchesOk added in v0.11.1

func (o *Message) GetDispatchesOk() ([]MessageDispatch, bool)

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

func (*Message) GetId added in v0.11.0

func (o *Message) GetId() string

GetId returns the Id field value

func (*Message) GetIdOk added in v0.11.0

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

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

func (*Message) GetRecipient added in v0.11.0

func (o *Message) GetRecipient() string

GetRecipient returns the Recipient field value

func (*Message) GetRecipientOk added in v0.11.0

func (o *Message) GetRecipientOk() (*string, bool)

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

func (*Message) GetSendCount added in v0.11.0

func (o *Message) GetSendCount() int64

GetSendCount returns the SendCount field value

func (*Message) GetSendCountOk added in v0.11.0

func (o *Message) GetSendCountOk() (*int64, bool)

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

func (*Message) GetStatus added in v0.11.0

func (o *Message) GetStatus() CourierMessageStatus

GetStatus returns the Status field value

func (*Message) GetStatusOk added in v0.11.0

func (o *Message) GetStatusOk() (*CourierMessageStatus, bool)

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

func (*Message) GetSubject added in v0.11.0

func (o *Message) GetSubject() string

GetSubject returns the Subject field value

func (*Message) GetSubjectOk added in v0.11.0

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

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

func (*Message) GetTemplateType added in v0.11.0

func (o *Message) GetTemplateType() string

GetTemplateType returns the TemplateType field value

func (*Message) GetTemplateTypeOk added in v0.11.0

func (o *Message) GetTemplateTypeOk() (*string, bool)

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

func (*Message) GetType added in v0.11.0

func (o *Message) GetType() CourierMessageType

GetType returns the Type field value

func (*Message) GetTypeOk added in v0.11.0

func (o *Message) GetTypeOk() (*CourierMessageType, bool)

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

func (*Message) GetUpdatedAt added in v0.11.0

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

GetUpdatedAt returns the UpdatedAt field value

func (*Message) GetUpdatedAtOk added in v0.11.0

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

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

func (*Message) HasChannel added in v1.1.0

func (o *Message) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*Message) HasDispatches added in v0.11.1

func (o *Message) HasDispatches() bool

HasDispatches returns a boolean if a field has been set.

func (Message) MarshalJSON added in v0.11.0

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

func (*Message) SetBody added in v0.11.0

func (o *Message) SetBody(v string)

SetBody sets field value

func (*Message) SetChannel added in v1.1.0

func (o *Message) SetChannel(v string)

SetChannel gets a reference to the given string and assigns it to the Channel field.

func (*Message) SetCreatedAt added in v0.11.0

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

SetCreatedAt sets field value

func (*Message) SetDispatches added in v0.11.1

func (o *Message) SetDispatches(v []MessageDispatch)

SetDispatches gets a reference to the given []MessageDispatch and assigns it to the Dispatches field.

func (*Message) SetId added in v0.11.0

func (o *Message) SetId(v string)

SetId sets field value

func (*Message) SetRecipient added in v0.11.0

func (o *Message) SetRecipient(v string)

SetRecipient sets field value

func (*Message) SetSendCount added in v0.11.0

func (o *Message) SetSendCount(v int64)

SetSendCount sets field value

func (*Message) SetStatus added in v0.11.0

func (o *Message) SetStatus(v CourierMessageStatus)

SetStatus sets field value

func (*Message) SetSubject added in v0.11.0

func (o *Message) SetSubject(v string)

SetSubject sets field value

func (*Message) SetTemplateType added in v0.11.0

func (o *Message) SetTemplateType(v string)

SetTemplateType sets field value

func (*Message) SetType added in v0.11.0

func (o *Message) SetType(v CourierMessageType)

SetType sets field value

func (*Message) SetUpdatedAt added in v0.11.0

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

SetUpdatedAt sets field value

func (Message) ToMap added in v1.1.0

func (o Message) ToMap() (map[string]interface{}, error)

func (*Message) UnmarshalJSON added in v1.0.0

func (o *Message) UnmarshalJSON(bytes []byte) (err error)

type MessageDispatch added in v0.11.1

type MessageDispatch struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt time.Time              `json:"created_at"`
	Error     map[string]interface{} `json:"error,omitempty"`
	// The ID of this message dispatch
	Id string `json:"id"`
	// The ID of the message being dispatched
	MessageId string `json:"message_id"`
	// The status of this dispatch Either \"failed\" or \"success\" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess
	Status string `json:"status"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt            time.Time `json:"updated_at"`
	AdditionalProperties map[string]interface{}
}

MessageDispatch MessageDispatch represents an attempt of sending a courier message It contains the status of the attempt (failed or successful) and the error if any occured

func NewMessageDispatch added in v0.11.1

func NewMessageDispatch(createdAt time.Time, id string, messageId string, status string, updatedAt time.Time) *MessageDispatch

NewMessageDispatch instantiates a new MessageDispatch 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 NewMessageDispatchWithDefaults added in v0.11.1

func NewMessageDispatchWithDefaults() *MessageDispatch

NewMessageDispatchWithDefaults instantiates a new MessageDispatch 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 (*MessageDispatch) GetCreatedAt added in v0.11.1

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

GetCreatedAt returns the CreatedAt field value

func (*MessageDispatch) GetCreatedAtOk added in v0.11.1

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

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

func (*MessageDispatch) GetError added in v0.11.1

func (o *MessageDispatch) GetError() map[string]interface{}

GetError returns the Error field value if set, zero value otherwise.

func (*MessageDispatch) GetErrorOk added in v0.11.1

func (o *MessageDispatch) GetErrorOk() (map[string]interface{}, bool)

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

func (*MessageDispatch) GetId added in v0.11.1

func (o *MessageDispatch) GetId() string

GetId returns the Id field value

func (*MessageDispatch) GetIdOk added in v0.11.1

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

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

func (*MessageDispatch) GetMessageId added in v0.11.1

func (o *MessageDispatch) GetMessageId() string

GetMessageId returns the MessageId field value

func (*MessageDispatch) GetMessageIdOk added in v0.11.1

func (o *MessageDispatch) GetMessageIdOk() (*string, bool)

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

func (*MessageDispatch) GetStatus added in v0.11.1

func (o *MessageDispatch) GetStatus() string

GetStatus returns the Status field value

func (*MessageDispatch) GetStatusOk added in v0.11.1

func (o *MessageDispatch) GetStatusOk() (*string, bool)

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

func (*MessageDispatch) GetUpdatedAt added in v0.11.1

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

GetUpdatedAt returns the UpdatedAt field value

func (*MessageDispatch) GetUpdatedAtOk added in v0.11.1

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

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

func (*MessageDispatch) HasError added in v0.11.1

func (o *MessageDispatch) HasError() bool

HasError returns a boolean if a field has been set.

func (MessageDispatch) MarshalJSON added in v0.11.1

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

func (*MessageDispatch) SetCreatedAt added in v0.11.1

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

SetCreatedAt sets field value

func (*MessageDispatch) SetError added in v0.11.1

func (o *MessageDispatch) SetError(v map[string]interface{})

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

func (*MessageDispatch) SetId added in v0.11.1

func (o *MessageDispatch) SetId(v string)

SetId sets field value

func (*MessageDispatch) SetMessageId added in v0.11.1

func (o *MessageDispatch) SetMessageId(v string)

SetMessageId sets field value

func (*MessageDispatch) SetStatus added in v0.11.1

func (o *MessageDispatch) SetStatus(v string)

SetStatus sets field value

func (*MessageDispatch) SetUpdatedAt added in v0.11.1

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

SetUpdatedAt sets field value

func (MessageDispatch) ToMap added in v1.1.0

func (o MessageDispatch) ToMap() (map[string]interface{}, error)

func (*MessageDispatch) UnmarshalJSON added in v1.0.0

func (o *MessageDispatch) UnmarshalJSON(bytes []byte) (err error)

type MetadataAPI added in v1.1.0

type MetadataAPI interface {

	/*
		GetVersion Return Running Software Version.

		This endpoint returns the version of Ory Kratos.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of this service, the version will never
	refer to the cluster state, only to a single instance.

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

	// GetVersionExecute executes the request
	//  @return GetVersion200Response
	GetVersionExecute(r MetadataAPIGetVersionRequest) (*GetVersion200Response, *http.Response, error)

	/*
		IsAlive Check HTTP Server Status

		This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming
	HTTP requests. This status does currently not include checks whether the database connection is working.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of this service, the health status will never
	refer to the cluster state, only to a single instance.

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

	// IsAliveExecute executes the request
	//  @return IsAlive200Response
	IsAliveExecute(r MetadataAPIIsAliveRequest) (*IsAlive200Response, *http.Response, error)

	/*
		IsReady Check HTTP Server and Database Status

		This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.
	the database) are responsive as well.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of Ory Kratos, the health status will never
	refer to the cluster state, only to a single instance.

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

	// IsReadyExecute executes the request
	//  @return IsAlive200Response
	IsReadyExecute(r MetadataAPIIsReadyRequest) (*IsAlive200Response, *http.Response, error)
}

type MetadataAPIGetVersionRequest added in v1.1.0

type MetadataAPIGetVersionRequest struct {
	ApiService MetadataAPI
	// contains filtered or unexported fields
}

func (MetadataAPIGetVersionRequest) Execute added in v1.1.0

type MetadataAPIIsAliveRequest added in v1.1.0

type MetadataAPIIsAliveRequest struct {
	ApiService MetadataAPI
	// contains filtered or unexported fields
}

func (MetadataAPIIsAliveRequest) Execute added in v1.1.0

type MetadataAPIIsReadyRequest added in v1.1.0

type MetadataAPIIsReadyRequest struct {
	ApiService MetadataAPI
	// contains filtered or unexported fields
}

func (MetadataAPIIsReadyRequest) Execute added in v1.1.0

type MetadataAPIService added in v1.1.0

type MetadataAPIService service

MetadataAPIService MetadataAPI service

func (*MetadataAPIService) GetVersion added in v1.1.0

GetVersion Return Running Software Version.

This endpoint returns the version of Ory Kratos.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.

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

func (*MetadataAPIService) GetVersionExecute added in v1.1.0

Execute executes the request

@return GetVersion200Response

func (*MetadataAPIService) IsAlive added in v1.1.0

IsAlive Check HTTP Server Status

This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.

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

func (*MetadataAPIService) IsAliveExecute added in v1.1.0

Execute executes the request

@return IsAlive200Response

func (*MetadataAPIService) IsReady added in v1.1.0

IsReady Check HTTP Server and Database Status

This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g. the database) are responsive as well.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.

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

func (*MetadataAPIService) IsReadyExecute added in v1.1.0

Execute executes the request

@return IsAlive200Response

type NeedsPrivilegedSessionError

type NeedsPrivilegedSessionError struct {
	Error *GenericError `json:"error,omitempty"`
	// Points to where to redirect the user to next.
	RedirectBrowserTo    string `json:"redirect_browser_to"`
	AdditionalProperties map[string]interface{}
}

NeedsPrivilegedSessionError struct for NeedsPrivilegedSessionError

func NewNeedsPrivilegedSessionError

func NewNeedsPrivilegedSessionError(redirectBrowserTo string) *NeedsPrivilegedSessionError

NewNeedsPrivilegedSessionError instantiates a new NeedsPrivilegedSessionError 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 NewNeedsPrivilegedSessionErrorWithDefaults

func NewNeedsPrivilegedSessionErrorWithDefaults() *NeedsPrivilegedSessionError

NewNeedsPrivilegedSessionErrorWithDefaults instantiates a new NeedsPrivilegedSessionError 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 (*NeedsPrivilegedSessionError) GetError added in v0.13.1

GetError returns the Error field value if set, zero value otherwise.

func (*NeedsPrivilegedSessionError) GetErrorOk added in v0.13.1

func (o *NeedsPrivilegedSessionError) GetErrorOk() (*GenericError, bool)

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

func (*NeedsPrivilegedSessionError) GetRedirectBrowserTo

func (o *NeedsPrivilegedSessionError) GetRedirectBrowserTo() string

GetRedirectBrowserTo returns the RedirectBrowserTo field value

func (*NeedsPrivilegedSessionError) GetRedirectBrowserToOk

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

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

func (*NeedsPrivilegedSessionError) HasError added in v0.13.1

func (o *NeedsPrivilegedSessionError) HasError() bool

HasError returns a boolean if a field has been set.

func (NeedsPrivilegedSessionError) MarshalJSON

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

func (*NeedsPrivilegedSessionError) SetError added in v0.13.1

SetError gets a reference to the given GenericError and assigns it to the Error field.

func (*NeedsPrivilegedSessionError) SetRedirectBrowserTo

func (o *NeedsPrivilegedSessionError) SetRedirectBrowserTo(v string)

SetRedirectBrowserTo sets field value

func (NeedsPrivilegedSessionError) ToMap added in v1.1.0

func (o NeedsPrivilegedSessionError) ToMap() (map[string]interface{}, error)

func (*NeedsPrivilegedSessionError) UnmarshalJSON added in v1.0.0

func (o *NeedsPrivilegedSessionError) UnmarshalJSON(bytes []byte) (err error)

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 NullableBatchPatchIdentitiesResponse added in v0.13.1

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

func NewNullableBatchPatchIdentitiesResponse added in v0.13.1

func NewNullableBatchPatchIdentitiesResponse(val *BatchPatchIdentitiesResponse) *NullableBatchPatchIdentitiesResponse

func (NullableBatchPatchIdentitiesResponse) Get added in v0.13.1

func (NullableBatchPatchIdentitiesResponse) IsSet added in v0.13.1

func (NullableBatchPatchIdentitiesResponse) MarshalJSON added in v0.13.1

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

func (*NullableBatchPatchIdentitiesResponse) Set added in v0.13.1

func (*NullableBatchPatchIdentitiesResponse) UnmarshalJSON added in v0.13.1

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

func (*NullableBatchPatchIdentitiesResponse) Unset added in v0.13.1

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 NullableConsistencyRequestParameters added in v1.1.0

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

func NewNullableConsistencyRequestParameters added in v1.1.0

func NewNullableConsistencyRequestParameters(val *ConsistencyRequestParameters) *NullableConsistencyRequestParameters

func (NullableConsistencyRequestParameters) Get added in v1.1.0

func (NullableConsistencyRequestParameters) IsSet added in v1.1.0

func (NullableConsistencyRequestParameters) MarshalJSON added in v1.1.0

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

func (*NullableConsistencyRequestParameters) Set added in v1.1.0

func (*NullableConsistencyRequestParameters) UnmarshalJSON added in v1.1.0

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

func (*NullableConsistencyRequestParameters) Unset added in v1.1.0

type NullableContinueWith added in v0.13.1

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

func NewNullableContinueWith added in v0.13.1

func NewNullableContinueWith(val *ContinueWith) *NullableContinueWith

func (NullableContinueWith) Get added in v0.13.1

func (NullableContinueWith) IsSet added in v0.13.1

func (v NullableContinueWith) IsSet() bool

func (NullableContinueWith) MarshalJSON added in v0.13.1

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

func (*NullableContinueWith) Set added in v0.13.1

func (v *NullableContinueWith) Set(val *ContinueWith)

func (*NullableContinueWith) UnmarshalJSON added in v0.13.1

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

func (*NullableContinueWith) Unset added in v0.13.1

func (v *NullableContinueWith) Unset()

type NullableContinueWithRecoveryUi added in v1.1.0

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

func NewNullableContinueWithRecoveryUi added in v1.1.0

func NewNullableContinueWithRecoveryUi(val *ContinueWithRecoveryUi) *NullableContinueWithRecoveryUi

func (NullableContinueWithRecoveryUi) Get added in v1.1.0

func (NullableContinueWithRecoveryUi) IsSet added in v1.1.0

func (NullableContinueWithRecoveryUi) MarshalJSON added in v1.1.0

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

func (*NullableContinueWithRecoveryUi) Set added in v1.1.0

func (*NullableContinueWithRecoveryUi) UnmarshalJSON added in v1.1.0

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

func (*NullableContinueWithRecoveryUi) Unset added in v1.1.0

func (v *NullableContinueWithRecoveryUi) Unset()

type NullableContinueWithRecoveryUiFlow added in v1.1.0

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

func NewNullableContinueWithRecoveryUiFlow added in v1.1.0

func NewNullableContinueWithRecoveryUiFlow(val *ContinueWithRecoveryUiFlow) *NullableContinueWithRecoveryUiFlow

func (NullableContinueWithRecoveryUiFlow) Get added in v1.1.0

func (NullableContinueWithRecoveryUiFlow) IsSet added in v1.1.0

func (NullableContinueWithRecoveryUiFlow) MarshalJSON added in v1.1.0

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

func (*NullableContinueWithRecoveryUiFlow) Set added in v1.1.0

func (*NullableContinueWithRecoveryUiFlow) UnmarshalJSON added in v1.1.0

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

func (*NullableContinueWithRecoveryUiFlow) Unset added in v1.1.0

type NullableContinueWithSetOrySessionToken added in v0.13.1

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

func NewNullableContinueWithSetOrySessionToken added in v0.13.1

func NewNullableContinueWithSetOrySessionToken(val *ContinueWithSetOrySessionToken) *NullableContinueWithSetOrySessionToken

func (NullableContinueWithSetOrySessionToken) Get added in v0.13.1

func (NullableContinueWithSetOrySessionToken) IsSet added in v0.13.1

func (NullableContinueWithSetOrySessionToken) MarshalJSON added in v0.13.1

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

func (*NullableContinueWithSetOrySessionToken) Set added in v0.13.1

func (*NullableContinueWithSetOrySessionToken) UnmarshalJSON added in v0.13.1

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

func (*NullableContinueWithSetOrySessionToken) Unset added in v0.13.1

type NullableContinueWithSettingsUi added in v1.1.0

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

func NewNullableContinueWithSettingsUi added in v1.1.0

func NewNullableContinueWithSettingsUi(val *ContinueWithSettingsUi) *NullableContinueWithSettingsUi

func (NullableContinueWithSettingsUi) Get added in v1.1.0

func (NullableContinueWithSettingsUi) IsSet added in v1.1.0

func (NullableContinueWithSettingsUi) MarshalJSON added in v1.1.0

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

func (*NullableContinueWithSettingsUi) Set added in v1.1.0

func (*NullableContinueWithSettingsUi) UnmarshalJSON added in v1.1.0

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

func (*NullableContinueWithSettingsUi) Unset added in v1.1.0

func (v *NullableContinueWithSettingsUi) Unset()

type NullableContinueWithSettingsUiFlow added in v1.1.0

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

func NewNullableContinueWithSettingsUiFlow added in v1.1.0

func NewNullableContinueWithSettingsUiFlow(val *ContinueWithSettingsUiFlow) *NullableContinueWithSettingsUiFlow

func (NullableContinueWithSettingsUiFlow) Get added in v1.1.0

func (NullableContinueWithSettingsUiFlow) IsSet added in v1.1.0

func (NullableContinueWithSettingsUiFlow) MarshalJSON added in v1.1.0

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

func (*NullableContinueWithSettingsUiFlow) Set added in v1.1.0

func (*NullableContinueWithSettingsUiFlow) UnmarshalJSON added in v1.1.0

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

func (*NullableContinueWithSettingsUiFlow) Unset added in v1.1.0

type NullableContinueWithVerificationUi added in v0.13.1

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

func NewNullableContinueWithVerificationUi added in v0.13.1

func NewNullableContinueWithVerificationUi(val *ContinueWithVerificationUi) *NullableContinueWithVerificationUi

func (NullableContinueWithVerificationUi) Get added in v0.13.1

func (NullableContinueWithVerificationUi) IsSet added in v0.13.1

func (NullableContinueWithVerificationUi) MarshalJSON added in v0.13.1

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

func (*NullableContinueWithVerificationUi) Set added in v0.13.1

func (*NullableContinueWithVerificationUi) UnmarshalJSON added in v0.13.1

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

func (*NullableContinueWithVerificationUi) Unset added in v0.13.1

type NullableContinueWithVerificationUiFlow added in v0.13.1

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

func NewNullableContinueWithVerificationUiFlow added in v0.13.1

func NewNullableContinueWithVerificationUiFlow(val *ContinueWithVerificationUiFlow) *NullableContinueWithVerificationUiFlow

func (NullableContinueWithVerificationUiFlow) Get added in v0.13.1

func (NullableContinueWithVerificationUiFlow) IsSet added in v0.13.1

func (NullableContinueWithVerificationUiFlow) MarshalJSON added in v0.13.1

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

func (*NullableContinueWithVerificationUiFlow) Set added in v0.13.1

func (*NullableContinueWithVerificationUiFlow) UnmarshalJSON added in v0.13.1

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

func (*NullableContinueWithVerificationUiFlow) Unset added in v0.13.1

type NullableCourierMessageStatus added in v0.11.0

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

func NewNullableCourierMessageStatus added in v0.11.0

func NewNullableCourierMessageStatus(val *CourierMessageStatus) *NullableCourierMessageStatus

func (NullableCourierMessageStatus) Get added in v0.11.0

func (NullableCourierMessageStatus) IsSet added in v0.11.0

func (NullableCourierMessageStatus) MarshalJSON added in v0.11.0

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

func (*NullableCourierMessageStatus) Set added in v0.11.0

func (*NullableCourierMessageStatus) UnmarshalJSON added in v0.11.0

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

func (*NullableCourierMessageStatus) Unset added in v0.11.0

func (v *NullableCourierMessageStatus) Unset()

type NullableCourierMessageType added in v0.11.0

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

func NewNullableCourierMessageType added in v0.11.0

func NewNullableCourierMessageType(val *CourierMessageType) *NullableCourierMessageType

func (NullableCourierMessageType) Get added in v0.11.0

func (NullableCourierMessageType) IsSet added in v0.11.0

func (v NullableCourierMessageType) IsSet() bool

func (NullableCourierMessageType) MarshalJSON added in v0.11.0

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

func (*NullableCourierMessageType) Set added in v0.11.0

func (*NullableCourierMessageType) UnmarshalJSON added in v0.11.0

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

func (*NullableCourierMessageType) Unset added in v0.11.0

func (v *NullableCourierMessageType) Unset()

type NullableCreateIdentityBody added in v0.11.0

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

func NewNullableCreateIdentityBody added in v0.11.0

func NewNullableCreateIdentityBody(val *CreateIdentityBody) *NullableCreateIdentityBody

func (NullableCreateIdentityBody) Get added in v0.11.0

func (NullableCreateIdentityBody) IsSet added in v0.11.0

func (v NullableCreateIdentityBody) IsSet() bool

func (NullableCreateIdentityBody) MarshalJSON added in v0.11.0

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

func (*NullableCreateIdentityBody) Set added in v0.11.0

func (*NullableCreateIdentityBody) UnmarshalJSON added in v0.11.0

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

func (*NullableCreateIdentityBody) Unset added in v0.11.0

func (v *NullableCreateIdentityBody) Unset()

type NullableCreateRecoveryCodeForIdentityBody added in v0.11.0

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

func NewNullableCreateRecoveryCodeForIdentityBody added in v0.11.0

func NewNullableCreateRecoveryCodeForIdentityBody(val *CreateRecoveryCodeForIdentityBody) *NullableCreateRecoveryCodeForIdentityBody

func (NullableCreateRecoveryCodeForIdentityBody) Get added in v0.11.0

func (NullableCreateRecoveryCodeForIdentityBody) IsSet added in v0.11.0

func (NullableCreateRecoveryCodeForIdentityBody) MarshalJSON added in v0.11.0

func (*NullableCreateRecoveryCodeForIdentityBody) Set added in v0.11.0

func (*NullableCreateRecoveryCodeForIdentityBody) UnmarshalJSON added in v0.11.0

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

func (*NullableCreateRecoveryCodeForIdentityBody) Unset added in v0.11.0

type NullableCreateRecoveryLinkForIdentityBody added in v0.11.0

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

func NewNullableCreateRecoveryLinkForIdentityBody added in v0.11.0

func NewNullableCreateRecoveryLinkForIdentityBody(val *CreateRecoveryLinkForIdentityBody) *NullableCreateRecoveryLinkForIdentityBody

func (NullableCreateRecoveryLinkForIdentityBody) Get added in v0.11.0

func (NullableCreateRecoveryLinkForIdentityBody) IsSet added in v0.11.0

func (NullableCreateRecoveryLinkForIdentityBody) MarshalJSON added in v0.11.0

func (*NullableCreateRecoveryLinkForIdentityBody) Set added in v0.11.0

func (*NullableCreateRecoveryLinkForIdentityBody) UnmarshalJSON added in v0.11.0

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

func (*NullableCreateRecoveryLinkForIdentityBody) Unset added in v0.11.0

type NullableDeleteMySessionsCount added in v0.11.0

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

func NewNullableDeleteMySessionsCount added in v0.11.0

func NewNullableDeleteMySessionsCount(val *DeleteMySessionsCount) *NullableDeleteMySessionsCount

func (NullableDeleteMySessionsCount) Get added in v0.11.0

func (NullableDeleteMySessionsCount) IsSet added in v0.11.0

func (NullableDeleteMySessionsCount) MarshalJSON added in v0.11.0

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

func (*NullableDeleteMySessionsCount) Set added in v0.11.0

func (*NullableDeleteMySessionsCount) UnmarshalJSON added in v0.11.0

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

func (*NullableDeleteMySessionsCount) Unset added in v0.11.0

func (v *NullableDeleteMySessionsCount) Unset()

type NullableErrorAuthenticatorAssuranceLevelNotSatisfied

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

func (NullableErrorAuthenticatorAssuranceLevelNotSatisfied) Get

func (NullableErrorAuthenticatorAssuranceLevelNotSatisfied) IsSet

func (NullableErrorAuthenticatorAssuranceLevelNotSatisfied) MarshalJSON

func (*NullableErrorAuthenticatorAssuranceLevelNotSatisfied) Set

func (*NullableErrorAuthenticatorAssuranceLevelNotSatisfied) UnmarshalJSON

func (*NullableErrorAuthenticatorAssuranceLevelNotSatisfied) Unset

type NullableErrorBrowserLocationChangeRequired added in v0.11.0

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

func NewNullableErrorBrowserLocationChangeRequired added in v0.11.0

func NewNullableErrorBrowserLocationChangeRequired(val *ErrorBrowserLocationChangeRequired) *NullableErrorBrowserLocationChangeRequired

func (NullableErrorBrowserLocationChangeRequired) Get added in v0.11.0

func (NullableErrorBrowserLocationChangeRequired) IsSet added in v0.11.0

func (NullableErrorBrowserLocationChangeRequired) MarshalJSON added in v0.11.0

func (*NullableErrorBrowserLocationChangeRequired) Set added in v0.11.0

func (*NullableErrorBrowserLocationChangeRequired) UnmarshalJSON added in v0.11.0

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

func (*NullableErrorBrowserLocationChangeRequired) Unset added in v0.11.0

type NullableErrorFlowReplaced added in v0.11.0

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

func NewNullableErrorFlowReplaced added in v0.11.0

func NewNullableErrorFlowReplaced(val *ErrorFlowReplaced) *NullableErrorFlowReplaced

func (NullableErrorFlowReplaced) Get added in v0.11.0

func (NullableErrorFlowReplaced) IsSet added in v0.11.0

func (v NullableErrorFlowReplaced) IsSet() bool

func (NullableErrorFlowReplaced) MarshalJSON added in v0.11.0

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

func (*NullableErrorFlowReplaced) Set added in v0.11.0

func (*NullableErrorFlowReplaced) UnmarshalJSON added in v0.11.0

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

func (*NullableErrorFlowReplaced) Unset added in v0.11.0

func (v *NullableErrorFlowReplaced) Unset()

type NullableErrorGeneric added in v0.11.0

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

func NewNullableErrorGeneric added in v0.11.0

func NewNullableErrorGeneric(val *ErrorGeneric) *NullableErrorGeneric

func (NullableErrorGeneric) Get added in v0.11.0

func (NullableErrorGeneric) IsSet added in v0.11.0

func (v NullableErrorGeneric) IsSet() bool

func (NullableErrorGeneric) MarshalJSON added in v0.11.0

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

func (*NullableErrorGeneric) Set added in v0.11.0

func (v *NullableErrorGeneric) Set(val *ErrorGeneric)

func (*NullableErrorGeneric) UnmarshalJSON added in v0.11.0

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

func (*NullableErrorGeneric) Unset added in v0.11.0

func (v *NullableErrorGeneric) 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 NullableFlowError added in v0.11.0

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

func NewNullableFlowError added in v0.11.0

func NewNullableFlowError(val *FlowError) *NullableFlowError

func (NullableFlowError) Get added in v0.11.0

func (v NullableFlowError) Get() *FlowError

func (NullableFlowError) IsSet added in v0.11.0

func (v NullableFlowError) IsSet() bool

func (NullableFlowError) MarshalJSON added in v0.11.0

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

func (*NullableFlowError) Set added in v0.11.0

func (v *NullableFlowError) Set(val *FlowError)

func (*NullableFlowError) UnmarshalJSON added in v0.11.0

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

func (*NullableFlowError) Unset added in v0.11.0

func (v *NullableFlowError) Unset()

type NullableGenericError

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

func NewNullableGenericError

func NewNullableGenericError(val *GenericError) *NullableGenericError

func (NullableGenericError) Get

func (NullableGenericError) IsSet

func (v NullableGenericError) IsSet() bool

func (NullableGenericError) MarshalJSON

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

func (*NullableGenericError) Set

func (v *NullableGenericError) Set(val *GenericError)

func (*NullableGenericError) UnmarshalJSON

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

func (*NullableGenericError) Unset

func (v *NullableGenericError) Unset()

type NullableGetVersion200Response added in v0.11.0

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

func NewNullableGetVersion200Response added in v0.11.0

func NewNullableGetVersion200Response(val *GetVersion200Response) *NullableGetVersion200Response

func (NullableGetVersion200Response) Get added in v0.11.0

func (NullableGetVersion200Response) IsSet added in v0.11.0

func (NullableGetVersion200Response) MarshalJSON added in v0.11.0

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

func (*NullableGetVersion200Response) Set added in v0.11.0

func (*NullableGetVersion200Response) UnmarshalJSON added in v0.11.0

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

func (*NullableGetVersion200Response) Unset added in v0.11.0

func (v *NullableGetVersion200Response) Unset()

type NullableHealthNotReadyStatus

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

func NewNullableHealthNotReadyStatus

func NewNullableHealthNotReadyStatus(val *HealthNotReadyStatus) *NullableHealthNotReadyStatus

func (NullableHealthNotReadyStatus) Get

func (NullableHealthNotReadyStatus) IsSet

func (NullableHealthNotReadyStatus) MarshalJSON

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

func (*NullableHealthNotReadyStatus) Set

func (*NullableHealthNotReadyStatus) UnmarshalJSON

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

func (*NullableHealthNotReadyStatus) Unset

func (v *NullableHealthNotReadyStatus) Unset()

type NullableHealthStatus

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

func NewNullableHealthStatus

func NewNullableHealthStatus(val *HealthStatus) *NullableHealthStatus

func (NullableHealthStatus) Get

func (NullableHealthStatus) IsSet

func (v NullableHealthStatus) IsSet() bool

func (NullableHealthStatus) MarshalJSON

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

func (*NullableHealthStatus) Set

func (v *NullableHealthStatus) Set(val *HealthStatus)

func (*NullableHealthStatus) UnmarshalJSON

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

func (*NullableHealthStatus) Unset

func (v *NullableHealthStatus) 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 NullableIdentityCredentials

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

func NewNullableIdentityCredentials

func NewNullableIdentityCredentials(val *IdentityCredentials) *NullableIdentityCredentials

func (NullableIdentityCredentials) Get

func (NullableIdentityCredentials) IsSet

func (NullableIdentityCredentials) MarshalJSON

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

func (*NullableIdentityCredentials) Set

func (*NullableIdentityCredentials) UnmarshalJSON

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

func (*NullableIdentityCredentials) Unset

func (v *NullableIdentityCredentials) Unset()

type NullableIdentityCredentialsCode added in v1.1.0

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

func NewNullableIdentityCredentialsCode added in v1.1.0

func NewNullableIdentityCredentialsCode(val *IdentityCredentialsCode) *NullableIdentityCredentialsCode

func (NullableIdentityCredentialsCode) Get added in v1.1.0

func (NullableIdentityCredentialsCode) IsSet added in v1.1.0

func (NullableIdentityCredentialsCode) MarshalJSON added in v1.1.0

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

func (*NullableIdentityCredentialsCode) Set added in v1.1.0

func (*NullableIdentityCredentialsCode) UnmarshalJSON added in v1.1.0

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

func (*NullableIdentityCredentialsCode) Unset added in v1.1.0

type NullableIdentityCredentialsOidc

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

func (NullableIdentityCredentialsOidc) Get

func (NullableIdentityCredentialsOidc) IsSet

func (NullableIdentityCredentialsOidc) MarshalJSON

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

func (*NullableIdentityCredentialsOidc) Set

func (*NullableIdentityCredentialsOidc) UnmarshalJSON

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

func (*NullableIdentityCredentialsOidc) Unset

type NullableIdentityCredentialsOidcProvider

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

func (NullableIdentityCredentialsOidcProvider) Get

func (NullableIdentityCredentialsOidcProvider) IsSet

func (NullableIdentityCredentialsOidcProvider) MarshalJSON

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

func (*NullableIdentityCredentialsOidcProvider) Set

func (*NullableIdentityCredentialsOidcProvider) UnmarshalJSON

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

func (*NullableIdentityCredentialsOidcProvider) Unset

type NullableIdentityCredentialsPassword

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

func (NullableIdentityCredentialsPassword) Get

func (NullableIdentityCredentialsPassword) IsSet

func (NullableIdentityCredentialsPassword) MarshalJSON

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

func (*NullableIdentityCredentialsPassword) Set

func (*NullableIdentityCredentialsPassword) UnmarshalJSON

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

func (*NullableIdentityCredentialsPassword) Unset

type NullableIdentityPatch added in v0.13.1

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

func NewNullableIdentityPatch added in v0.13.1

func NewNullableIdentityPatch(val *IdentityPatch) *NullableIdentityPatch

func (NullableIdentityPatch) Get added in v0.13.1

func (NullableIdentityPatch) IsSet added in v0.13.1

func (v NullableIdentityPatch) IsSet() bool

func (NullableIdentityPatch) MarshalJSON added in v0.13.1

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

func (*NullableIdentityPatch) Set added in v0.13.1

func (v *NullableIdentityPatch) Set(val *IdentityPatch)

func (*NullableIdentityPatch) UnmarshalJSON added in v0.13.1

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

func (*NullableIdentityPatch) Unset added in v0.13.1

func (v *NullableIdentityPatch) Unset()

type NullableIdentityPatchResponse added in v0.13.1

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

func NewNullableIdentityPatchResponse added in v0.13.1

func NewNullableIdentityPatchResponse(val *IdentityPatchResponse) *NullableIdentityPatchResponse

func (NullableIdentityPatchResponse) Get added in v0.13.1

func (NullableIdentityPatchResponse) IsSet added in v0.13.1

func (NullableIdentityPatchResponse) MarshalJSON added in v0.13.1

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

func (*NullableIdentityPatchResponse) Set added in v0.13.1

func (*NullableIdentityPatchResponse) UnmarshalJSON added in v0.13.1

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

func (*NullableIdentityPatchResponse) Unset added in v0.13.1

func (v *NullableIdentityPatchResponse) Unset()

type NullableIdentitySchemaContainer added in v0.11.0

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

func NewNullableIdentitySchemaContainer added in v0.11.0

func NewNullableIdentitySchemaContainer(val *IdentitySchemaContainer) *NullableIdentitySchemaContainer

func (NullableIdentitySchemaContainer) Get added in v0.11.0

func (NullableIdentitySchemaContainer) IsSet added in v0.11.0

func (NullableIdentitySchemaContainer) MarshalJSON added in v0.11.0

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

func (*NullableIdentitySchemaContainer) Set added in v0.11.0

func (*NullableIdentitySchemaContainer) UnmarshalJSON added in v0.11.0

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

func (*NullableIdentitySchemaContainer) Unset added in v0.11.0

type NullableIdentityWithCredentials added in v0.11.0

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

func NewNullableIdentityWithCredentials added in v0.11.0

func NewNullableIdentityWithCredentials(val *IdentityWithCredentials) *NullableIdentityWithCredentials

func (NullableIdentityWithCredentials) Get added in v0.11.0

func (NullableIdentityWithCredentials) IsSet added in v0.11.0

func (NullableIdentityWithCredentials) MarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentials) Set added in v0.11.0

func (*NullableIdentityWithCredentials) UnmarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentials) Unset added in v0.11.0

type NullableIdentityWithCredentialsOidc added in v0.11.0

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

func NewNullableIdentityWithCredentialsOidc added in v0.11.0

func NewNullableIdentityWithCredentialsOidc(val *IdentityWithCredentialsOidc) *NullableIdentityWithCredentialsOidc

func (NullableIdentityWithCredentialsOidc) Get added in v0.11.0

func (NullableIdentityWithCredentialsOidc) IsSet added in v0.11.0

func (NullableIdentityWithCredentialsOidc) MarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentialsOidc) Set added in v0.11.0

func (*NullableIdentityWithCredentialsOidc) UnmarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentialsOidc) Unset added in v0.11.0

type NullableIdentityWithCredentialsOidcConfig added in v0.11.0

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

func NewNullableIdentityWithCredentialsOidcConfig added in v0.11.0

func NewNullableIdentityWithCredentialsOidcConfig(val *IdentityWithCredentialsOidcConfig) *NullableIdentityWithCredentialsOidcConfig

func (NullableIdentityWithCredentialsOidcConfig) Get added in v0.11.0

func (NullableIdentityWithCredentialsOidcConfig) IsSet added in v0.11.0

func (NullableIdentityWithCredentialsOidcConfig) MarshalJSON added in v0.11.0

func (*NullableIdentityWithCredentialsOidcConfig) Set added in v0.11.0

func (*NullableIdentityWithCredentialsOidcConfig) UnmarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentialsOidcConfig) Unset added in v0.11.0

type NullableIdentityWithCredentialsOidcConfigProvider added in v0.11.0

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

func (NullableIdentityWithCredentialsOidcConfigProvider) Get added in v0.11.0

func (NullableIdentityWithCredentialsOidcConfigProvider) IsSet added in v0.11.0

func (NullableIdentityWithCredentialsOidcConfigProvider) MarshalJSON added in v0.11.0

func (*NullableIdentityWithCredentialsOidcConfigProvider) Set added in v0.11.0

func (*NullableIdentityWithCredentialsOidcConfigProvider) UnmarshalJSON added in v0.11.0

func (*NullableIdentityWithCredentialsOidcConfigProvider) Unset added in v0.11.0

type NullableIdentityWithCredentialsPassword added in v0.11.0

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

func NewNullableIdentityWithCredentialsPassword added in v0.11.0

func NewNullableIdentityWithCredentialsPassword(val *IdentityWithCredentialsPassword) *NullableIdentityWithCredentialsPassword

func (NullableIdentityWithCredentialsPassword) Get added in v0.11.0

func (NullableIdentityWithCredentialsPassword) IsSet added in v0.11.0

func (NullableIdentityWithCredentialsPassword) MarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentialsPassword) Set added in v0.11.0

func (*NullableIdentityWithCredentialsPassword) UnmarshalJSON added in v0.11.0

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

func (*NullableIdentityWithCredentialsPassword) Unset added in v0.11.0

type NullableIdentityWithCredentialsPasswordConfig added in v0.11.0

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

func NewNullableIdentityWithCredentialsPasswordConfig added in v0.11.0

func NewNullableIdentityWithCredentialsPasswordConfig(val *IdentityWithCredentialsPasswordConfig) *NullableIdentityWithCredentialsPasswordConfig

func (NullableIdentityWithCredentialsPasswordConfig) Get added in v0.11.0

func (NullableIdentityWithCredentialsPasswordConfig) IsSet added in v0.11.0

func (NullableIdentityWithCredentialsPasswordConfig) MarshalJSON added in v0.11.0

func (*NullableIdentityWithCredentialsPasswordConfig) Set added in v0.11.0

func (*NullableIdentityWithCredentialsPasswordConfig) UnmarshalJSON added in v0.11.0

func (*NullableIdentityWithCredentialsPasswordConfig) Unset added in v0.11.0

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 NullableIsAlive200Response added in v0.11.0

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

func NewNullableIsAlive200Response added in v0.11.0

func NewNullableIsAlive200Response(val *IsAlive200Response) *NullableIsAlive200Response

func (NullableIsAlive200Response) Get added in v0.11.0

func (NullableIsAlive200Response) IsSet added in v0.11.0

func (v NullableIsAlive200Response) IsSet() bool

func (NullableIsAlive200Response) MarshalJSON added in v0.11.0

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

func (*NullableIsAlive200Response) Set added in v0.11.0

func (*NullableIsAlive200Response) UnmarshalJSON added in v0.11.0

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

func (*NullableIsAlive200Response) Unset added in v0.11.0

func (v *NullableIsAlive200Response) Unset()

type NullableIsReady503Response added in v0.11.0

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

func NewNullableIsReady503Response added in v0.11.0

func NewNullableIsReady503Response(val *IsReady503Response) *NullableIsReady503Response

func (NullableIsReady503Response) Get added in v0.11.0

func (NullableIsReady503Response) IsSet added in v0.11.0

func (v NullableIsReady503Response) IsSet() bool

func (NullableIsReady503Response) MarshalJSON added in v0.11.0

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

func (*NullableIsReady503Response) Set added in v0.11.0

func (*NullableIsReady503Response) UnmarshalJSON added in v0.11.0

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

func (*NullableIsReady503Response) Unset added in v0.11.0

func (v *NullableIsReady503Response) Unset()

type NullableJsonPatch added in v0.11.0

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

func NewNullableJsonPatch added in v0.11.0

func NewNullableJsonPatch(val *JsonPatch) *NullableJsonPatch

func (NullableJsonPatch) Get added in v0.11.0

func (v NullableJsonPatch) Get() *JsonPatch

func (NullableJsonPatch) IsSet added in v0.11.0

func (v NullableJsonPatch) IsSet() bool

func (NullableJsonPatch) MarshalJSON added in v0.11.0

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

func (*NullableJsonPatch) Set added in v0.11.0

func (v *NullableJsonPatch) Set(val *JsonPatch)

func (*NullableJsonPatch) UnmarshalJSON added in v0.11.0

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

func (*NullableJsonPatch) Unset added in v0.11.0

func (v *NullableJsonPatch) Unset()

type NullableLoginFlow added in v0.11.0

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

func NewNullableLoginFlow added in v0.11.0

func NewNullableLoginFlow(val *LoginFlow) *NullableLoginFlow

func (NullableLoginFlow) Get added in v0.11.0

func (v NullableLoginFlow) Get() *LoginFlow

func (NullableLoginFlow) IsSet added in v0.11.0

func (v NullableLoginFlow) IsSet() bool

func (NullableLoginFlow) MarshalJSON added in v0.11.0

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

func (*NullableLoginFlow) Set added in v0.11.0

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

func (*NullableLoginFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableLoginFlow) Unset added in v0.11.0

func (v *NullableLoginFlow) Unset()

type NullableLoginFlowState added in v1.1.0

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

func NewNullableLoginFlowState added in v1.1.0

func NewNullableLoginFlowState(val *LoginFlowState) *NullableLoginFlowState

func (NullableLoginFlowState) Get added in v1.1.0

func (NullableLoginFlowState) IsSet added in v1.1.0

func (v NullableLoginFlowState) IsSet() bool

func (NullableLoginFlowState) MarshalJSON added in v1.1.0

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

func (*NullableLoginFlowState) Set added in v1.1.0

func (*NullableLoginFlowState) UnmarshalJSON added in v1.1.0

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

func (*NullableLoginFlowState) Unset added in v1.1.0

func (v *NullableLoginFlowState) Unset()

type NullableLogoutFlow added in v0.11.0

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

func NewNullableLogoutFlow added in v0.11.0

func NewNullableLogoutFlow(val *LogoutFlow) *NullableLogoutFlow

func (NullableLogoutFlow) Get added in v0.11.0

func (v NullableLogoutFlow) Get() *LogoutFlow

func (NullableLogoutFlow) IsSet added in v0.11.0

func (v NullableLogoutFlow) IsSet() bool

func (NullableLogoutFlow) MarshalJSON added in v0.11.0

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

func (*NullableLogoutFlow) Set added in v0.11.0

func (v *NullableLogoutFlow) Set(val *LogoutFlow)

func (*NullableLogoutFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableLogoutFlow) Unset added in v0.11.0

func (v *NullableLogoutFlow) Unset()

type NullableMessage added in v0.11.0

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

func NewNullableMessage added in v0.11.0

func NewNullableMessage(val *Message) *NullableMessage

func (NullableMessage) Get added in v0.11.0

func (v NullableMessage) Get() *Message

func (NullableMessage) IsSet added in v0.11.0

func (v NullableMessage) IsSet() bool

func (NullableMessage) MarshalJSON added in v0.11.0

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

func (*NullableMessage) Set added in v0.11.0

func (v *NullableMessage) Set(val *Message)

func (*NullableMessage) UnmarshalJSON added in v0.11.0

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

func (*NullableMessage) Unset added in v0.11.0

func (v *NullableMessage) Unset()

type NullableMessageDispatch added in v0.11.1

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

func NewNullableMessageDispatch added in v0.11.1

func NewNullableMessageDispatch(val *MessageDispatch) *NullableMessageDispatch

func (NullableMessageDispatch) Get added in v0.11.1

func (NullableMessageDispatch) IsSet added in v0.11.1

func (v NullableMessageDispatch) IsSet() bool

func (NullableMessageDispatch) MarshalJSON added in v0.11.1

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

func (*NullableMessageDispatch) Set added in v0.11.1

func (*NullableMessageDispatch) UnmarshalJSON added in v0.11.1

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

func (*NullableMessageDispatch) Unset added in v0.11.1

func (v *NullableMessageDispatch) Unset()

type NullableNeedsPrivilegedSessionError

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

func (NullableNeedsPrivilegedSessionError) Get

func (NullableNeedsPrivilegedSessionError) IsSet

func (NullableNeedsPrivilegedSessionError) MarshalJSON

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

func (*NullableNeedsPrivilegedSessionError) Set

func (*NullableNeedsPrivilegedSessionError) UnmarshalJSON

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

func (*NullableNeedsPrivilegedSessionError) Unset

type NullableOAuth2Client added in v0.11.0

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

func NewNullableOAuth2Client added in v0.11.0

func NewNullableOAuth2Client(val *OAuth2Client) *NullableOAuth2Client

func (NullableOAuth2Client) Get added in v0.11.0

func (NullableOAuth2Client) IsSet added in v0.11.0

func (v NullableOAuth2Client) IsSet() bool

func (NullableOAuth2Client) MarshalJSON added in v0.11.0

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

func (*NullableOAuth2Client) Set added in v0.11.0

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

func (*NullableOAuth2Client) UnmarshalJSON added in v0.11.0

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

func (*NullableOAuth2Client) Unset added in v0.11.0

func (v *NullableOAuth2Client) Unset()

type NullableOAuth2ConsentRequestOpenIDConnectContext added in v0.11.0

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

func (NullableOAuth2ConsentRequestOpenIDConnectContext) Get added in v0.11.0

func (NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet added in v0.11.0

func (NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON added in v0.11.0

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Set added in v0.11.0

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON added in v0.11.0

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Unset added in v0.11.0

type NullableOAuth2LoginRequest added in v0.11.0

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

func NewNullableOAuth2LoginRequest added in v0.11.0

func NewNullableOAuth2LoginRequest(val *OAuth2LoginRequest) *NullableOAuth2LoginRequest

func (NullableOAuth2LoginRequest) Get added in v0.11.0

func (NullableOAuth2LoginRequest) IsSet added in v0.11.0

func (v NullableOAuth2LoginRequest) IsSet() bool

func (NullableOAuth2LoginRequest) MarshalJSON added in v0.11.0

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

func (*NullableOAuth2LoginRequest) Set added in v0.11.0

func (*NullableOAuth2LoginRequest) UnmarshalJSON added in v0.11.0

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

func (*NullableOAuth2LoginRequest) Unset added in v0.11.0

func (v *NullableOAuth2LoginRequest) Unset()

type NullablePatchIdentitiesBody added in v0.13.1

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

func NewNullablePatchIdentitiesBody added in v0.13.1

func NewNullablePatchIdentitiesBody(val *PatchIdentitiesBody) *NullablePatchIdentitiesBody

func (NullablePatchIdentitiesBody) Get added in v0.13.1

func (NullablePatchIdentitiesBody) IsSet added in v0.13.1

func (NullablePatchIdentitiesBody) MarshalJSON added in v0.13.1

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

func (*NullablePatchIdentitiesBody) Set added in v0.13.1

func (*NullablePatchIdentitiesBody) UnmarshalJSON added in v0.13.1

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

func (*NullablePatchIdentitiesBody) Unset added in v0.13.1

func (v *NullablePatchIdentitiesBody) Unset()

type NullablePerformNativeLogoutBody added in v0.11.0

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

func NewNullablePerformNativeLogoutBody added in v0.11.0

func NewNullablePerformNativeLogoutBody(val *PerformNativeLogoutBody) *NullablePerformNativeLogoutBody

func (NullablePerformNativeLogoutBody) Get added in v0.11.0

func (NullablePerformNativeLogoutBody) IsSet added in v0.11.0

func (NullablePerformNativeLogoutBody) MarshalJSON added in v0.11.0

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

func (*NullablePerformNativeLogoutBody) Set added in v0.11.0

func (*NullablePerformNativeLogoutBody) UnmarshalJSON added in v0.11.0

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

func (*NullablePerformNativeLogoutBody) Unset added in v0.11.0

type NullableRecoveryCodeForIdentity added in v0.11.0

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

func NewNullableRecoveryCodeForIdentity added in v0.11.0

func NewNullableRecoveryCodeForIdentity(val *RecoveryCodeForIdentity) *NullableRecoveryCodeForIdentity

func (NullableRecoveryCodeForIdentity) Get added in v0.11.0

func (NullableRecoveryCodeForIdentity) IsSet added in v0.11.0

func (NullableRecoveryCodeForIdentity) MarshalJSON added in v0.11.0

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

func (*NullableRecoveryCodeForIdentity) Set added in v0.11.0

func (*NullableRecoveryCodeForIdentity) UnmarshalJSON added in v0.11.0

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

func (*NullableRecoveryCodeForIdentity) Unset added in v0.11.0

type NullableRecoveryFlow added in v0.11.0

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

func NewNullableRecoveryFlow added in v0.11.0

func NewNullableRecoveryFlow(val *RecoveryFlow) *NullableRecoveryFlow

func (NullableRecoveryFlow) Get added in v0.11.0

func (NullableRecoveryFlow) IsSet added in v0.11.0

func (v NullableRecoveryFlow) IsSet() bool

func (NullableRecoveryFlow) MarshalJSON added in v0.11.0

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

func (*NullableRecoveryFlow) Set added in v0.11.0

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

func (*NullableRecoveryFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableRecoveryFlow) Unset added in v0.11.0

func (v *NullableRecoveryFlow) Unset()

type NullableRecoveryFlowState added in v0.11.0

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

func NewNullableRecoveryFlowState added in v0.11.0

func NewNullableRecoveryFlowState(val *RecoveryFlowState) *NullableRecoveryFlowState

func (NullableRecoveryFlowState) Get added in v0.11.0

func (NullableRecoveryFlowState) IsSet added in v0.11.0

func (v NullableRecoveryFlowState) IsSet() bool

func (NullableRecoveryFlowState) MarshalJSON added in v0.11.0

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

func (*NullableRecoveryFlowState) Set added in v0.11.0

func (*NullableRecoveryFlowState) UnmarshalJSON added in v0.11.0

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

func (*NullableRecoveryFlowState) Unset added in v0.11.0

func (v *NullableRecoveryFlowState) Unset()

type NullableRecoveryIdentityAddress added in v0.11.0

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

func NewNullableRecoveryIdentityAddress added in v0.11.0

func NewNullableRecoveryIdentityAddress(val *RecoveryIdentityAddress) *NullableRecoveryIdentityAddress

func (NullableRecoveryIdentityAddress) Get added in v0.11.0

func (NullableRecoveryIdentityAddress) IsSet added in v0.11.0

func (NullableRecoveryIdentityAddress) MarshalJSON added in v0.11.0

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

func (*NullableRecoveryIdentityAddress) Set added in v0.11.0

func (*NullableRecoveryIdentityAddress) UnmarshalJSON added in v0.11.0

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

func (*NullableRecoveryIdentityAddress) Unset added in v0.11.0

type NullableRecoveryLinkForIdentity added in v0.11.0

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

func NewNullableRecoveryLinkForIdentity added in v0.11.0

func NewNullableRecoveryLinkForIdentity(val *RecoveryLinkForIdentity) *NullableRecoveryLinkForIdentity

func (NullableRecoveryLinkForIdentity) Get added in v0.11.0

func (NullableRecoveryLinkForIdentity) IsSet added in v0.11.0

func (NullableRecoveryLinkForIdentity) MarshalJSON added in v0.11.0

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

func (*NullableRecoveryLinkForIdentity) Set added in v0.11.0

func (*NullableRecoveryLinkForIdentity) UnmarshalJSON added in v0.11.0

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

func (*NullableRecoveryLinkForIdentity) Unset added in v0.11.0

type NullableRegistrationFlow added in v0.11.0

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

func NewNullableRegistrationFlow added in v0.11.0

func NewNullableRegistrationFlow(val *RegistrationFlow) *NullableRegistrationFlow

func (NullableRegistrationFlow) Get added in v0.11.0

func (NullableRegistrationFlow) IsSet added in v0.11.0

func (v NullableRegistrationFlow) IsSet() bool

func (NullableRegistrationFlow) MarshalJSON added in v0.11.0

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

func (*NullableRegistrationFlow) Set added in v0.11.0

func (*NullableRegistrationFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableRegistrationFlow) Unset added in v0.11.0

func (v *NullableRegistrationFlow) Unset()

type NullableRegistrationFlowState added in v1.1.0

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

func NewNullableRegistrationFlowState added in v1.1.0

func NewNullableRegistrationFlowState(val *RegistrationFlowState) *NullableRegistrationFlowState

func (NullableRegistrationFlowState) Get added in v1.1.0

func (NullableRegistrationFlowState) IsSet added in v1.1.0

func (NullableRegistrationFlowState) MarshalJSON added in v1.1.0

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

func (*NullableRegistrationFlowState) Set added in v1.1.0

func (*NullableRegistrationFlowState) UnmarshalJSON added in v1.1.0

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

func (*NullableRegistrationFlowState) Unset added in v1.1.0

func (v *NullableRegistrationFlowState) Unset()

type NullableSelfServiceFlowExpiredError

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

func (NullableSelfServiceFlowExpiredError) Get

func (NullableSelfServiceFlowExpiredError) IsSet

func (NullableSelfServiceFlowExpiredError) MarshalJSON

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

func (*NullableSelfServiceFlowExpiredError) Set

func (*NullableSelfServiceFlowExpiredError) UnmarshalJSON

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

func (*NullableSelfServiceFlowExpiredError) 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 NullableSessionDevice

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

func NewNullableSessionDevice

func NewNullableSessionDevice(val *SessionDevice) *NullableSessionDevice

func (NullableSessionDevice) Get

func (NullableSessionDevice) IsSet

func (v NullableSessionDevice) IsSet() bool

func (NullableSessionDevice) MarshalJSON

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

func (*NullableSessionDevice) Set

func (v *NullableSessionDevice) Set(val *SessionDevice)

func (*NullableSessionDevice) UnmarshalJSON

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

func (*NullableSessionDevice) Unset

func (v *NullableSessionDevice) Unset()

type NullableSettingsFlow added in v0.11.0

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

func NewNullableSettingsFlow added in v0.11.0

func NewNullableSettingsFlow(val *SettingsFlow) *NullableSettingsFlow

func (NullableSettingsFlow) Get added in v0.11.0

func (NullableSettingsFlow) IsSet added in v0.11.0

func (v NullableSettingsFlow) IsSet() bool

func (NullableSettingsFlow) MarshalJSON added in v0.11.0

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

func (*NullableSettingsFlow) Set added in v0.11.0

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

func (*NullableSettingsFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableSettingsFlow) Unset added in v0.11.0

func (v *NullableSettingsFlow) Unset()

type NullableSettingsFlowState added in v0.11.0

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

func NewNullableSettingsFlowState added in v0.11.0

func NewNullableSettingsFlowState(val *SettingsFlowState) *NullableSettingsFlowState

func (NullableSettingsFlowState) Get added in v0.11.0

func (NullableSettingsFlowState) IsSet added in v0.11.0

func (v NullableSettingsFlowState) IsSet() bool

func (NullableSettingsFlowState) MarshalJSON added in v0.11.0

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

func (*NullableSettingsFlowState) Set added in v0.11.0

func (*NullableSettingsFlowState) UnmarshalJSON added in v0.11.0

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

func (*NullableSettingsFlowState) Unset added in v0.11.0

func (v *NullableSettingsFlowState) 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 NullableSuccessfulCodeExchangeResponse added in v1.0.0

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

func NewNullableSuccessfulCodeExchangeResponse added in v1.0.0

func NewNullableSuccessfulCodeExchangeResponse(val *SuccessfulCodeExchangeResponse) *NullableSuccessfulCodeExchangeResponse

func (NullableSuccessfulCodeExchangeResponse) Get added in v1.0.0

func (NullableSuccessfulCodeExchangeResponse) IsSet added in v1.0.0

func (NullableSuccessfulCodeExchangeResponse) MarshalJSON added in v1.0.0

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

func (*NullableSuccessfulCodeExchangeResponse) Set added in v1.0.0

func (*NullableSuccessfulCodeExchangeResponse) UnmarshalJSON added in v1.0.0

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

func (*NullableSuccessfulCodeExchangeResponse) Unset added in v1.0.0

type NullableSuccessfulNativeLogin added in v0.11.0

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

func NewNullableSuccessfulNativeLogin added in v0.11.0

func NewNullableSuccessfulNativeLogin(val *SuccessfulNativeLogin) *NullableSuccessfulNativeLogin

func (NullableSuccessfulNativeLogin) Get added in v0.11.0

func (NullableSuccessfulNativeLogin) IsSet added in v0.11.0

func (NullableSuccessfulNativeLogin) MarshalJSON added in v0.11.0

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

func (*NullableSuccessfulNativeLogin) Set added in v0.11.0

func (*NullableSuccessfulNativeLogin) UnmarshalJSON added in v0.11.0

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

func (*NullableSuccessfulNativeLogin) Unset added in v0.11.0

func (v *NullableSuccessfulNativeLogin) Unset()

type NullableSuccessfulNativeRegistration added in v0.11.0

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

func NewNullableSuccessfulNativeRegistration added in v0.11.0

func NewNullableSuccessfulNativeRegistration(val *SuccessfulNativeRegistration) *NullableSuccessfulNativeRegistration

func (NullableSuccessfulNativeRegistration) Get added in v0.11.0

func (NullableSuccessfulNativeRegistration) IsSet added in v0.11.0

func (NullableSuccessfulNativeRegistration) MarshalJSON added in v0.11.0

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

func (*NullableSuccessfulNativeRegistration) Set added in v0.11.0

func (*NullableSuccessfulNativeRegistration) UnmarshalJSON added in v0.11.0

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

func (*NullableSuccessfulNativeRegistration) Unset added in v0.11.0

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 NullableTokenPagination added in v0.11.0

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

func NewNullableTokenPagination added in v0.11.0

func NewNullableTokenPagination(val *TokenPagination) *NullableTokenPagination

func (NullableTokenPagination) Get added in v0.11.0

func (NullableTokenPagination) IsSet added in v0.11.0

func (v NullableTokenPagination) IsSet() bool

func (NullableTokenPagination) MarshalJSON added in v0.11.0

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

func (*NullableTokenPagination) Set added in v0.11.0

func (*NullableTokenPagination) UnmarshalJSON added in v0.11.0

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

func (*NullableTokenPagination) Unset added in v0.11.0

func (v *NullableTokenPagination) Unset()

type NullableTokenPaginationHeaders added in v0.11.0

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

func NewNullableTokenPaginationHeaders added in v0.11.0

func NewNullableTokenPaginationHeaders(val *TokenPaginationHeaders) *NullableTokenPaginationHeaders

func (NullableTokenPaginationHeaders) Get added in v0.11.0

func (NullableTokenPaginationHeaders) IsSet added in v0.11.0

func (NullableTokenPaginationHeaders) MarshalJSON added in v0.11.0

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

func (*NullableTokenPaginationHeaders) Set added in v0.11.0

func (*NullableTokenPaginationHeaders) UnmarshalJSON added in v0.11.0

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

func (*NullableTokenPaginationHeaders) Unset added in v0.11.0

func (v *NullableTokenPaginationHeaders) 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 NullableUpdateIdentityBody added in v0.11.0

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

func NewNullableUpdateIdentityBody added in v0.11.0

func NewNullableUpdateIdentityBody(val *UpdateIdentityBody) *NullableUpdateIdentityBody

func (NullableUpdateIdentityBody) Get added in v0.11.0

func (NullableUpdateIdentityBody) IsSet added in v0.11.0

func (v NullableUpdateIdentityBody) IsSet() bool

func (NullableUpdateIdentityBody) MarshalJSON added in v0.11.0

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

func (*NullableUpdateIdentityBody) Set added in v0.11.0

func (*NullableUpdateIdentityBody) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateIdentityBody) Unset added in v0.11.0

func (v *NullableUpdateIdentityBody) Unset()

type NullableUpdateLoginFlowBody added in v0.11.0

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

func NewNullableUpdateLoginFlowBody added in v0.11.0

func NewNullableUpdateLoginFlowBody(val *UpdateLoginFlowBody) *NullableUpdateLoginFlowBody

func (NullableUpdateLoginFlowBody) Get added in v0.11.0

func (NullableUpdateLoginFlowBody) IsSet added in v0.11.0

func (NullableUpdateLoginFlowBody) MarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowBody) Set added in v0.11.0

func (*NullableUpdateLoginFlowBody) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowBody) Unset added in v0.11.0

func (v *NullableUpdateLoginFlowBody) Unset()

type NullableUpdateLoginFlowWithCodeMethod added in v1.1.0

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

func NewNullableUpdateLoginFlowWithCodeMethod added in v1.1.0

func NewNullableUpdateLoginFlowWithCodeMethod(val *UpdateLoginFlowWithCodeMethod) *NullableUpdateLoginFlowWithCodeMethod

func (NullableUpdateLoginFlowWithCodeMethod) Get added in v1.1.0

func (NullableUpdateLoginFlowWithCodeMethod) IsSet added in v1.1.0

func (NullableUpdateLoginFlowWithCodeMethod) MarshalJSON added in v1.1.0

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

func (*NullableUpdateLoginFlowWithCodeMethod) Set added in v1.1.0

func (*NullableUpdateLoginFlowWithCodeMethod) UnmarshalJSON added in v1.1.0

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

func (*NullableUpdateLoginFlowWithCodeMethod) Unset added in v1.1.0

type NullableUpdateLoginFlowWithLookupSecretMethod added in v0.11.0

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

func NewNullableUpdateLoginFlowWithLookupSecretMethod added in v0.11.0

func NewNullableUpdateLoginFlowWithLookupSecretMethod(val *UpdateLoginFlowWithLookupSecretMethod) *NullableUpdateLoginFlowWithLookupSecretMethod

func (NullableUpdateLoginFlowWithLookupSecretMethod) Get added in v0.11.0

func (NullableUpdateLoginFlowWithLookupSecretMethod) IsSet added in v0.11.0

func (NullableUpdateLoginFlowWithLookupSecretMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateLoginFlowWithLookupSecretMethod) Set added in v0.11.0

func (*NullableUpdateLoginFlowWithLookupSecretMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateLoginFlowWithLookupSecretMethod) Unset added in v0.11.0

type NullableUpdateLoginFlowWithOidcMethod added in v0.11.0

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

func NewNullableUpdateLoginFlowWithOidcMethod added in v0.11.0

func NewNullableUpdateLoginFlowWithOidcMethod(val *UpdateLoginFlowWithOidcMethod) *NullableUpdateLoginFlowWithOidcMethod

func (NullableUpdateLoginFlowWithOidcMethod) Get added in v0.11.0

func (NullableUpdateLoginFlowWithOidcMethod) IsSet added in v0.11.0

func (NullableUpdateLoginFlowWithOidcMethod) MarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowWithOidcMethod) Set added in v0.11.0

func (*NullableUpdateLoginFlowWithOidcMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowWithOidcMethod) Unset added in v0.11.0

type NullableUpdateLoginFlowWithPasswordMethod added in v0.11.0

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

func NewNullableUpdateLoginFlowWithPasswordMethod added in v0.11.0

func NewNullableUpdateLoginFlowWithPasswordMethod(val *UpdateLoginFlowWithPasswordMethod) *NullableUpdateLoginFlowWithPasswordMethod

func (NullableUpdateLoginFlowWithPasswordMethod) Get added in v0.11.0

func (NullableUpdateLoginFlowWithPasswordMethod) IsSet added in v0.11.0

func (NullableUpdateLoginFlowWithPasswordMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateLoginFlowWithPasswordMethod) Set added in v0.11.0

func (*NullableUpdateLoginFlowWithPasswordMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowWithPasswordMethod) Unset added in v0.11.0

type NullableUpdateLoginFlowWithTotpMethod added in v0.11.0

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

func NewNullableUpdateLoginFlowWithTotpMethod added in v0.11.0

func NewNullableUpdateLoginFlowWithTotpMethod(val *UpdateLoginFlowWithTotpMethod) *NullableUpdateLoginFlowWithTotpMethod

func (NullableUpdateLoginFlowWithTotpMethod) Get added in v0.11.0

func (NullableUpdateLoginFlowWithTotpMethod) IsSet added in v0.11.0

func (NullableUpdateLoginFlowWithTotpMethod) MarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowWithTotpMethod) Set added in v0.11.0

func (*NullableUpdateLoginFlowWithTotpMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowWithTotpMethod) Unset added in v0.11.0

type NullableUpdateLoginFlowWithWebAuthnMethod added in v0.11.0

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

func NewNullableUpdateLoginFlowWithWebAuthnMethod added in v0.11.0

func NewNullableUpdateLoginFlowWithWebAuthnMethod(val *UpdateLoginFlowWithWebAuthnMethod) *NullableUpdateLoginFlowWithWebAuthnMethod

func (NullableUpdateLoginFlowWithWebAuthnMethod) Get added in v0.11.0

func (NullableUpdateLoginFlowWithWebAuthnMethod) IsSet added in v0.11.0

func (NullableUpdateLoginFlowWithWebAuthnMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateLoginFlowWithWebAuthnMethod) Set added in v0.11.0

func (*NullableUpdateLoginFlowWithWebAuthnMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateLoginFlowWithWebAuthnMethod) Unset added in v0.11.0

type NullableUpdateRecoveryFlowBody added in v0.11.0

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

func NewNullableUpdateRecoveryFlowBody added in v0.11.0

func NewNullableUpdateRecoveryFlowBody(val *UpdateRecoveryFlowBody) *NullableUpdateRecoveryFlowBody

func (NullableUpdateRecoveryFlowBody) Get added in v0.11.0

func (NullableUpdateRecoveryFlowBody) IsSet added in v0.11.0

func (NullableUpdateRecoveryFlowBody) MarshalJSON added in v0.11.0

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

func (*NullableUpdateRecoveryFlowBody) Set added in v0.11.0

func (*NullableUpdateRecoveryFlowBody) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateRecoveryFlowBody) Unset added in v0.11.0

func (v *NullableUpdateRecoveryFlowBody) Unset()

type NullableUpdateRecoveryFlowWithCodeMethod added in v0.11.0

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

func NewNullableUpdateRecoveryFlowWithCodeMethod added in v0.11.0

func NewNullableUpdateRecoveryFlowWithCodeMethod(val *UpdateRecoveryFlowWithCodeMethod) *NullableUpdateRecoveryFlowWithCodeMethod

func (NullableUpdateRecoveryFlowWithCodeMethod) Get added in v0.11.0

func (NullableUpdateRecoveryFlowWithCodeMethod) IsSet added in v0.11.0

func (NullableUpdateRecoveryFlowWithCodeMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateRecoveryFlowWithCodeMethod) Set added in v0.11.0

func (*NullableUpdateRecoveryFlowWithCodeMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateRecoveryFlowWithCodeMethod) Unset added in v0.11.0

type NullableUpdateRecoveryFlowWithLinkMethod added in v0.11.0

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

func NewNullableUpdateRecoveryFlowWithLinkMethod added in v0.11.0

func NewNullableUpdateRecoveryFlowWithLinkMethod(val *UpdateRecoveryFlowWithLinkMethod) *NullableUpdateRecoveryFlowWithLinkMethod

func (NullableUpdateRecoveryFlowWithLinkMethod) Get added in v0.11.0

func (NullableUpdateRecoveryFlowWithLinkMethod) IsSet added in v0.11.0

func (NullableUpdateRecoveryFlowWithLinkMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateRecoveryFlowWithLinkMethod) Set added in v0.11.0

func (*NullableUpdateRecoveryFlowWithLinkMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateRecoveryFlowWithLinkMethod) Unset added in v0.11.0

type NullableUpdateRegistrationFlowBody added in v0.11.0

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

func NewNullableUpdateRegistrationFlowBody added in v0.11.0

func NewNullableUpdateRegistrationFlowBody(val *UpdateRegistrationFlowBody) *NullableUpdateRegistrationFlowBody

func (NullableUpdateRegistrationFlowBody) Get added in v0.11.0

func (NullableUpdateRegistrationFlowBody) IsSet added in v0.11.0

func (NullableUpdateRegistrationFlowBody) MarshalJSON added in v0.11.0

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

func (*NullableUpdateRegistrationFlowBody) Set added in v0.11.0

func (*NullableUpdateRegistrationFlowBody) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateRegistrationFlowBody) Unset added in v0.11.0

type NullableUpdateRegistrationFlowWithCodeMethod added in v1.1.0

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

func NewNullableUpdateRegistrationFlowWithCodeMethod added in v1.1.0

func NewNullableUpdateRegistrationFlowWithCodeMethod(val *UpdateRegistrationFlowWithCodeMethod) *NullableUpdateRegistrationFlowWithCodeMethod

func (NullableUpdateRegistrationFlowWithCodeMethod) Get added in v1.1.0

func (NullableUpdateRegistrationFlowWithCodeMethod) IsSet added in v1.1.0

func (NullableUpdateRegistrationFlowWithCodeMethod) MarshalJSON added in v1.1.0

func (*NullableUpdateRegistrationFlowWithCodeMethod) Set added in v1.1.0

func (*NullableUpdateRegistrationFlowWithCodeMethod) UnmarshalJSON added in v1.1.0

func (*NullableUpdateRegistrationFlowWithCodeMethod) Unset added in v1.1.0

type NullableUpdateRegistrationFlowWithOidcMethod added in v0.11.0

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

func NewNullableUpdateRegistrationFlowWithOidcMethod added in v0.11.0

func NewNullableUpdateRegistrationFlowWithOidcMethod(val *UpdateRegistrationFlowWithOidcMethod) *NullableUpdateRegistrationFlowWithOidcMethod

func (NullableUpdateRegistrationFlowWithOidcMethod) Get added in v0.11.0

func (NullableUpdateRegistrationFlowWithOidcMethod) IsSet added in v0.11.0

func (NullableUpdateRegistrationFlowWithOidcMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateRegistrationFlowWithOidcMethod) Set added in v0.11.0

func (*NullableUpdateRegistrationFlowWithOidcMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateRegistrationFlowWithOidcMethod) Unset added in v0.11.0

type NullableUpdateRegistrationFlowWithPasswordMethod added in v0.11.0

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

func (NullableUpdateRegistrationFlowWithPasswordMethod) Get added in v0.11.0

func (NullableUpdateRegistrationFlowWithPasswordMethod) IsSet added in v0.11.0

func (NullableUpdateRegistrationFlowWithPasswordMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateRegistrationFlowWithPasswordMethod) Set added in v0.11.0

func (*NullableUpdateRegistrationFlowWithPasswordMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateRegistrationFlowWithPasswordMethod) Unset added in v0.11.0

type NullableUpdateRegistrationFlowWithWebAuthnMethod added in v0.11.0

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

func (NullableUpdateRegistrationFlowWithWebAuthnMethod) Get added in v0.11.0

func (NullableUpdateRegistrationFlowWithWebAuthnMethod) IsSet added in v0.11.0

func (NullableUpdateRegistrationFlowWithWebAuthnMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateRegistrationFlowWithWebAuthnMethod) Set added in v0.11.0

func (*NullableUpdateRegistrationFlowWithWebAuthnMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateRegistrationFlowWithWebAuthnMethod) Unset added in v0.11.0

type NullableUpdateSettingsFlowBody added in v0.11.0

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

func NewNullableUpdateSettingsFlowBody added in v0.11.0

func NewNullableUpdateSettingsFlowBody(val *UpdateSettingsFlowBody) *NullableUpdateSettingsFlowBody

func (NullableUpdateSettingsFlowBody) Get added in v0.11.0

func (NullableUpdateSettingsFlowBody) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowBody) MarshalJSON added in v0.11.0

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

func (*NullableUpdateSettingsFlowBody) Set added in v0.11.0

func (*NullableUpdateSettingsFlowBody) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateSettingsFlowBody) Unset added in v0.11.0

func (v *NullableUpdateSettingsFlowBody) Unset()

type NullableUpdateSettingsFlowWithLookupMethod added in v0.11.0

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

func NewNullableUpdateSettingsFlowWithLookupMethod added in v0.11.0

func NewNullableUpdateSettingsFlowWithLookupMethod(val *UpdateSettingsFlowWithLookupMethod) *NullableUpdateSettingsFlowWithLookupMethod

func (NullableUpdateSettingsFlowWithLookupMethod) Get added in v0.11.0

func (NullableUpdateSettingsFlowWithLookupMethod) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowWithLookupMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithLookupMethod) Set added in v0.11.0

func (*NullableUpdateSettingsFlowWithLookupMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateSettingsFlowWithLookupMethod) Unset added in v0.11.0

type NullableUpdateSettingsFlowWithOidcMethod added in v0.11.0

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

func NewNullableUpdateSettingsFlowWithOidcMethod added in v0.11.0

func NewNullableUpdateSettingsFlowWithOidcMethod(val *UpdateSettingsFlowWithOidcMethod) *NullableUpdateSettingsFlowWithOidcMethod

func (NullableUpdateSettingsFlowWithOidcMethod) Get added in v0.11.0

func (NullableUpdateSettingsFlowWithOidcMethod) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowWithOidcMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithOidcMethod) Set added in v0.11.0

func (*NullableUpdateSettingsFlowWithOidcMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateSettingsFlowWithOidcMethod) Unset added in v0.11.0

type NullableUpdateSettingsFlowWithPasswordMethod added in v0.11.0

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

func NewNullableUpdateSettingsFlowWithPasswordMethod added in v0.11.0

func NewNullableUpdateSettingsFlowWithPasswordMethod(val *UpdateSettingsFlowWithPasswordMethod) *NullableUpdateSettingsFlowWithPasswordMethod

func (NullableUpdateSettingsFlowWithPasswordMethod) Get added in v0.11.0

func (NullableUpdateSettingsFlowWithPasswordMethod) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowWithPasswordMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithPasswordMethod) Set added in v0.11.0

func (*NullableUpdateSettingsFlowWithPasswordMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithPasswordMethod) Unset added in v0.11.0

type NullableUpdateSettingsFlowWithProfileMethod added in v0.11.0

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

func NewNullableUpdateSettingsFlowWithProfileMethod added in v0.11.0

func NewNullableUpdateSettingsFlowWithProfileMethod(val *UpdateSettingsFlowWithProfileMethod) *NullableUpdateSettingsFlowWithProfileMethod

func (NullableUpdateSettingsFlowWithProfileMethod) Get added in v0.11.0

func (NullableUpdateSettingsFlowWithProfileMethod) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowWithProfileMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithProfileMethod) Set added in v0.11.0

func (*NullableUpdateSettingsFlowWithProfileMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateSettingsFlowWithProfileMethod) Unset added in v0.11.0

type NullableUpdateSettingsFlowWithTotpMethod added in v0.11.0

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

func NewNullableUpdateSettingsFlowWithTotpMethod added in v0.11.0

func NewNullableUpdateSettingsFlowWithTotpMethod(val *UpdateSettingsFlowWithTotpMethod) *NullableUpdateSettingsFlowWithTotpMethod

func (NullableUpdateSettingsFlowWithTotpMethod) Get added in v0.11.0

func (NullableUpdateSettingsFlowWithTotpMethod) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowWithTotpMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithTotpMethod) Set added in v0.11.0

func (*NullableUpdateSettingsFlowWithTotpMethod) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateSettingsFlowWithTotpMethod) Unset added in v0.11.0

type NullableUpdateSettingsFlowWithWebAuthnMethod added in v0.11.0

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

func NewNullableUpdateSettingsFlowWithWebAuthnMethod added in v0.11.0

func NewNullableUpdateSettingsFlowWithWebAuthnMethod(val *UpdateSettingsFlowWithWebAuthnMethod) *NullableUpdateSettingsFlowWithWebAuthnMethod

func (NullableUpdateSettingsFlowWithWebAuthnMethod) Get added in v0.11.0

func (NullableUpdateSettingsFlowWithWebAuthnMethod) IsSet added in v0.11.0

func (NullableUpdateSettingsFlowWithWebAuthnMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithWebAuthnMethod) Set added in v0.11.0

func (*NullableUpdateSettingsFlowWithWebAuthnMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateSettingsFlowWithWebAuthnMethod) Unset added in v0.11.0

type NullableUpdateVerificationFlowBody added in v0.11.0

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

func NewNullableUpdateVerificationFlowBody added in v0.11.0

func NewNullableUpdateVerificationFlowBody(val *UpdateVerificationFlowBody) *NullableUpdateVerificationFlowBody

func (NullableUpdateVerificationFlowBody) Get added in v0.11.0

func (NullableUpdateVerificationFlowBody) IsSet added in v0.11.0

func (NullableUpdateVerificationFlowBody) MarshalJSON added in v0.11.0

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

func (*NullableUpdateVerificationFlowBody) Set added in v0.11.0

func (*NullableUpdateVerificationFlowBody) UnmarshalJSON added in v0.11.0

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

func (*NullableUpdateVerificationFlowBody) Unset added in v0.11.0

type NullableUpdateVerificationFlowWithCodeMethod added in v0.13.1

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

func NewNullableUpdateVerificationFlowWithCodeMethod added in v0.13.1

func NewNullableUpdateVerificationFlowWithCodeMethod(val *UpdateVerificationFlowWithCodeMethod) *NullableUpdateVerificationFlowWithCodeMethod

func (NullableUpdateVerificationFlowWithCodeMethod) Get added in v0.13.1

func (NullableUpdateVerificationFlowWithCodeMethod) IsSet added in v0.13.1

func (NullableUpdateVerificationFlowWithCodeMethod) MarshalJSON added in v0.13.1

func (*NullableUpdateVerificationFlowWithCodeMethod) Set added in v0.13.1

func (*NullableUpdateVerificationFlowWithCodeMethod) UnmarshalJSON added in v0.13.1

func (*NullableUpdateVerificationFlowWithCodeMethod) Unset added in v0.13.1

type NullableUpdateVerificationFlowWithLinkMethod added in v0.11.0

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

func NewNullableUpdateVerificationFlowWithLinkMethod added in v0.11.0

func NewNullableUpdateVerificationFlowWithLinkMethod(val *UpdateVerificationFlowWithLinkMethod) *NullableUpdateVerificationFlowWithLinkMethod

func (NullableUpdateVerificationFlowWithLinkMethod) Get added in v0.11.0

func (NullableUpdateVerificationFlowWithLinkMethod) IsSet added in v0.11.0

func (NullableUpdateVerificationFlowWithLinkMethod) MarshalJSON added in v0.11.0

func (*NullableUpdateVerificationFlowWithLinkMethod) Set added in v0.11.0

func (*NullableUpdateVerificationFlowWithLinkMethod) UnmarshalJSON added in v0.11.0

func (*NullableUpdateVerificationFlowWithLinkMethod) Unset added in v0.11.0

type NullableVerifiableIdentityAddress

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

func (NullableVerifiableIdentityAddress) Get

func (NullableVerifiableIdentityAddress) IsSet

func (NullableVerifiableIdentityAddress) MarshalJSON

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

func (*NullableVerifiableIdentityAddress) Set

func (*NullableVerifiableIdentityAddress) UnmarshalJSON

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

func (*NullableVerifiableIdentityAddress) Unset

type NullableVerificationFlow added in v0.11.0

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

func NewNullableVerificationFlow added in v0.11.0

func NewNullableVerificationFlow(val *VerificationFlow) *NullableVerificationFlow

func (NullableVerificationFlow) Get added in v0.11.0

func (NullableVerificationFlow) IsSet added in v0.11.0

func (v NullableVerificationFlow) IsSet() bool

func (NullableVerificationFlow) MarshalJSON added in v0.11.0

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

func (*NullableVerificationFlow) Set added in v0.11.0

func (*NullableVerificationFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableVerificationFlow) Unset added in v0.11.0

func (v *NullableVerificationFlow) Unset()

type NullableVerificationFlowState added in v0.11.0

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

func NewNullableVerificationFlowState added in v0.11.0

func NewNullableVerificationFlowState(val *VerificationFlowState) *NullableVerificationFlowState

func (NullableVerificationFlowState) Get added in v0.11.0

func (NullableVerificationFlowState) IsSet added in v0.11.0

func (NullableVerificationFlowState) MarshalJSON added in v0.11.0

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

func (*NullableVerificationFlowState) Set added in v0.11.0

func (*NullableVerificationFlowState) UnmarshalJSON added in v0.11.0

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

func (*NullableVerificationFlowState) Unset added in v0.11.0

func (v *NullableVerificationFlowState) Unset()

type NullableVersion

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

func NewNullableVersion

func NewNullableVersion(val *Version) *NullableVersion

func (NullableVersion) Get

func (v NullableVersion) Get() *Version

func (NullableVersion) IsSet

func (v NullableVersion) IsSet() bool

func (NullableVersion) MarshalJSON

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

func (*NullableVersion) Set

func (v *NullableVersion) Set(val *Version)

func (*NullableVersion) UnmarshalJSON

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

func (*NullableVersion) Unset

func (v *NullableVersion) Unset()

type OAuth2Client added in v0.11.0

type OAuth2Client struct {
	// OAuth 2.0 Access Token Strategy  AccessTokenStrategy is the strategy used to generate access tokens. Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens Setting the stragegy here overrides the global setting in `strategies.access_token`.
	AccessTokenStrategy *string  `json:"access_token_strategy,omitempty"`
	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 immutable. If no ID is provided, a UUID4 will be generated.
	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 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 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"`
	// SkipConsent skips the consent screen for this client. This field can only be set from the admin API.
	SkipConsent *bool `json:"skip_consent,omitempty"`
	// SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API.
	SkipLogoutConsent *bool `json:"skip_logout_consent,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_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `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"`
	AdditionalProperties      map[string]interface{}
}

OAuth2Client struct for OAuth2Client

func NewOAuth2Client added in v0.11.0

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 added in v0.11.0

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) GetAccessTokenStrategy added in v1.1.0

func (o *OAuth2Client) GetAccessTokenStrategy() string

GetAccessTokenStrategy returns the AccessTokenStrategy field value if set, zero value otherwise.

func (*OAuth2Client) GetAccessTokenStrategyOk added in v1.1.0

func (o *OAuth2Client) GetAccessTokenStrategyOk() (*string, bool)

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

func (*OAuth2Client) GetAllowedCorsOrigins added in v0.11.0

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

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

func (*OAuth2Client) GetAllowedCorsOriginsOk added in v0.11.0

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 added in v0.11.0

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

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

func (*OAuth2Client) GetAudienceOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan() string

GetAuthorizationCodeGrantAccessTokenLifespan returns the AuthorizationCodeGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan() string

GetAuthorizationCodeGrantIdTokenLifespan returns the AuthorizationCodeGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan() string

GetAuthorizationCodeGrantRefreshTokenLifespan returns the AuthorizationCodeGrantRefreshTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetBackchannelLogoutSessionRequired() bool

GetBackchannelLogoutSessionRequired returns the BackchannelLogoutSessionRequired field value if set, zero value otherwise.

func (*OAuth2Client) GetBackchannelLogoutSessionRequiredOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetBackchannelLogoutUri() string

GetBackchannelLogoutUri returns the BackchannelLogoutUri field value if set, zero value otherwise.

func (*OAuth2Client) GetBackchannelLogoutUriOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan() string

GetClientCredentialsGrantAccessTokenLifespan returns the ClientCredentialsGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*OAuth2Client) GetClientIdOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetClientName() string

GetClientName returns the ClientName field value if set, zero value otherwise.

func (*OAuth2Client) GetClientNameOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*OAuth2Client) GetClientSecretExpiresAt added in v0.11.0

func (o *OAuth2Client) GetClientSecretExpiresAt() int64

GetClientSecretExpiresAt returns the ClientSecretExpiresAt field value if set, zero value otherwise.

func (*OAuth2Client) GetClientSecretExpiresAtOk added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetClientUri() string

GetClientUri returns the ClientUri field value if set, zero value otherwise.

func (*OAuth2Client) GetClientUriOk added in v0.11.0

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 added in v0.11.0

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

GetContacts returns the Contacts field value if set, zero value otherwise.

func (*OAuth2Client) GetContactsOk added in v0.11.0

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 added in v0.11.0

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

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

func (*OAuth2Client) GetCreatedAtOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetFrontchannelLogoutSessionRequired() bool

GetFrontchannelLogoutSessionRequired returns the FrontchannelLogoutSessionRequired field value if set, zero value otherwise.

func (*OAuth2Client) GetFrontchannelLogoutSessionRequiredOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetFrontchannelLogoutUri() string

GetFrontchannelLogoutUri returns the FrontchannelLogoutUri field value if set, zero value otherwise.

func (*OAuth2Client) GetFrontchannelLogoutUriOk added in v0.11.0

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 added in v0.11.0

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

GetGrantTypes returns the GrantTypes field value if set, zero value otherwise.

func (*OAuth2Client) GetGrantTypesOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespan() string

GetImplicitGrantAccessTokenLifespan returns the ImplicitGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetImplicitGrantAccessTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetImplicitGrantIdTokenLifespan() string

GetImplicitGrantIdTokenLifespan returns the ImplicitGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetImplicitGrantIdTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetJwks() interface{}

GetJwks returns the Jwks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OAuth2Client) GetJwksOk added in v0.11.0

func (o *OAuth2Client) GetJwksOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*OAuth2Client) GetJwksUri added in v0.11.0

func (o *OAuth2Client) GetJwksUri() string

GetJwksUri returns the JwksUri field value if set, zero value otherwise.

func (*OAuth2Client) GetJwksUriOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespan() string

GetJwtBearerGrantAccessTokenLifespan returns the JwtBearerGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetLogoUri() string

GetLogoUri returns the LogoUri field value if set, zero value otherwise.

func (*OAuth2Client) GetLogoUriOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetMetadata() interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OAuth2Client) GetMetadataOk added in v0.11.0

func (o *OAuth2Client) GetMetadataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*OAuth2Client) GetOwner added in v0.11.0

func (o *OAuth2Client) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*OAuth2Client) GetOwnerOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetPolicyUri() string

GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.

func (*OAuth2Client) GetPolicyUriOk added in v0.11.0

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 added in v0.11.0

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

GetPostLogoutRedirectUris returns the PostLogoutRedirectUris field value if set, zero value otherwise.

func (*OAuth2Client) GetPostLogoutRedirectUrisOk added in v0.11.0

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 added in v0.11.0

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

GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.

func (*OAuth2Client) GetRedirectUrisOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan() string

GetRefreshTokenGrantAccessTokenLifespan returns the RefreshTokenGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespan() string

GetRefreshTokenGrantIdTokenLifespan returns the RefreshTokenGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan() string

GetRefreshTokenGrantRefreshTokenLifespan returns the RefreshTokenGrantRefreshTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetRegistrationAccessToken() string

GetRegistrationAccessToken returns the RegistrationAccessToken field value if set, zero value otherwise.

func (*OAuth2Client) GetRegistrationAccessTokenOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetRegistrationClientUri() string

GetRegistrationClientUri returns the RegistrationClientUri field value if set, zero value otherwise.

func (*OAuth2Client) GetRegistrationClientUriOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetRequestObjectSigningAlg() string

GetRequestObjectSigningAlg returns the RequestObjectSigningAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetRequestObjectSigningAlgOk added in v0.11.0

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 added in v0.11.0

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

GetRequestUris returns the RequestUris field value if set, zero value otherwise.

func (*OAuth2Client) GetRequestUrisOk added in v0.11.0

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 added in v0.11.0

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

GetResponseTypes returns the ResponseTypes field value if set, zero value otherwise.

func (*OAuth2Client) GetResponseTypesOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*OAuth2Client) GetScopeOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetSectorIdentifierUri() string

GetSectorIdentifierUri returns the SectorIdentifierUri field value if set, zero value otherwise.

func (*OAuth2Client) GetSectorIdentifierUriOk added in v0.11.0

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) GetSkipConsent added in v1.1.0

func (o *OAuth2Client) GetSkipConsent() bool

GetSkipConsent returns the SkipConsent field value if set, zero value otherwise.

func (*OAuth2Client) GetSkipConsentOk added in v1.1.0

func (o *OAuth2Client) GetSkipConsentOk() (*bool, bool)

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

func (*OAuth2Client) GetSkipLogoutConsent added in v1.1.0

func (o *OAuth2Client) GetSkipLogoutConsent() bool

GetSkipLogoutConsent returns the SkipLogoutConsent field value if set, zero value otherwise.

func (*OAuth2Client) GetSkipLogoutConsentOk added in v1.1.0

func (o *OAuth2Client) GetSkipLogoutConsentOk() (*bool, bool)

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

func (*OAuth2Client) GetSubjectType added in v0.11.0

func (o *OAuth2Client) GetSubjectType() string

GetSubjectType returns the SubjectType field value if set, zero value otherwise.

func (*OAuth2Client) GetSubjectTypeOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetTokenEndpointAuthMethod() string

GetTokenEndpointAuthMethod returns the TokenEndpointAuthMethod field value if set, zero value otherwise.

func (*OAuth2Client) GetTokenEndpointAuthMethodOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetTokenEndpointAuthSigningAlg() string

GetTokenEndpointAuthSigningAlg returns the TokenEndpointAuthSigningAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetTokenEndpointAuthSigningAlgOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetTosUri() string

GetTosUri returns the TosUri field value if set, zero value otherwise.

func (*OAuth2Client) GetTosUriOk added in v0.11.0

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 added in v0.11.0

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

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

func (*OAuth2Client) GetUpdatedAtOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) GetUserinfoSignedResponseAlg() string

GetUserinfoSignedResponseAlg returns the UserinfoSignedResponseAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetUserinfoSignedResponseAlgOk added in v0.11.0

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) HasAccessTokenStrategy added in v1.1.0

func (o *OAuth2Client) HasAccessTokenStrategy() bool

HasAccessTokenStrategy returns a boolean if a field has been set.

func (*OAuth2Client) HasAllowedCorsOrigins added in v0.11.0

func (o *OAuth2Client) HasAllowedCorsOrigins() bool

HasAllowedCorsOrigins returns a boolean if a field has been set.

func (*OAuth2Client) HasAudience added in v0.11.0

func (o *OAuth2Client) HasAudience() bool

HasAudience returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan() bool

HasAuthorizationCodeGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan() bool

HasAuthorizationCodeGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan() bool

HasAuthorizationCodeGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasBackchannelLogoutSessionRequired added in v0.11.0

func (o *OAuth2Client) HasBackchannelLogoutSessionRequired() bool

HasBackchannelLogoutSessionRequired returns a boolean if a field has been set.

func (*OAuth2Client) HasBackchannelLogoutUri added in v0.11.0

func (o *OAuth2Client) HasBackchannelLogoutUri() bool

HasBackchannelLogoutUri returns a boolean if a field has been set.

func (*OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan() bool

HasClientCredentialsGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasClientId added in v0.11.0

func (o *OAuth2Client) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*OAuth2Client) HasClientName added in v0.11.0

func (o *OAuth2Client) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*OAuth2Client) HasClientSecret added in v0.11.0

func (o *OAuth2Client) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*OAuth2Client) HasClientSecretExpiresAt added in v0.11.0

func (o *OAuth2Client) HasClientSecretExpiresAt() bool

HasClientSecretExpiresAt returns a boolean if a field has been set.

func (*OAuth2Client) HasClientUri added in v0.11.0

func (o *OAuth2Client) HasClientUri() bool

HasClientUri returns a boolean if a field has been set.

func (*OAuth2Client) HasContacts added in v0.11.0

func (o *OAuth2Client) HasContacts() bool

HasContacts returns a boolean if a field has been set.

func (*OAuth2Client) HasCreatedAt added in v0.11.0

func (o *OAuth2Client) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OAuth2Client) HasFrontchannelLogoutSessionRequired added in v0.11.0

func (o *OAuth2Client) HasFrontchannelLogoutSessionRequired() bool

HasFrontchannelLogoutSessionRequired returns a boolean if a field has been set.

func (*OAuth2Client) HasFrontchannelLogoutUri added in v0.11.0

func (o *OAuth2Client) HasFrontchannelLogoutUri() bool

HasFrontchannelLogoutUri returns a boolean if a field has been set.

func (*OAuth2Client) HasGrantTypes added in v0.11.0

func (o *OAuth2Client) HasGrantTypes() bool

HasGrantTypes returns a boolean if a field has been set.

func (*OAuth2Client) HasImplicitGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasImplicitGrantAccessTokenLifespan() bool

HasImplicitGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasImplicitGrantIdTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasImplicitGrantIdTokenLifespan() bool

HasImplicitGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasJwks added in v0.11.0

func (o *OAuth2Client) HasJwks() bool

HasJwks returns a boolean if a field has been set.

func (*OAuth2Client) HasJwksUri added in v0.11.0

func (o *OAuth2Client) HasJwksUri() bool

HasJwksUri returns a boolean if a field has been set.

func (*OAuth2Client) HasJwtBearerGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasJwtBearerGrantAccessTokenLifespan() bool

HasJwtBearerGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasLogoUri added in v0.11.0

func (o *OAuth2Client) HasLogoUri() bool

HasLogoUri returns a boolean if a field has been set.

func (*OAuth2Client) HasMetadata added in v0.11.0

func (o *OAuth2Client) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*OAuth2Client) HasOwner added in v0.11.0

func (o *OAuth2Client) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*OAuth2Client) HasPolicyUri added in v0.11.0

func (o *OAuth2Client) HasPolicyUri() bool

HasPolicyUri returns a boolean if a field has been set.

func (*OAuth2Client) HasPostLogoutRedirectUris added in v0.11.0

func (o *OAuth2Client) HasPostLogoutRedirectUris() bool

HasPostLogoutRedirectUris returns a boolean if a field has been set.

func (*OAuth2Client) HasRedirectUris added in v0.11.0

func (o *OAuth2Client) HasRedirectUris() bool

HasRedirectUris returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan() bool

HasRefreshTokenGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantIdTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasRefreshTokenGrantIdTokenLifespan() bool

HasRefreshTokenGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan added in v0.11.0

func (o *OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan() bool

HasRefreshTokenGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRegistrationAccessToken added in v0.11.0

func (o *OAuth2Client) HasRegistrationAccessToken() bool

HasRegistrationAccessToken returns a boolean if a field has been set.

func (*OAuth2Client) HasRegistrationClientUri added in v0.11.0

func (o *OAuth2Client) HasRegistrationClientUri() bool

HasRegistrationClientUri returns a boolean if a field has been set.

func (*OAuth2Client) HasRequestObjectSigningAlg added in v0.11.0

func (o *OAuth2Client) HasRequestObjectSigningAlg() bool

HasRequestObjectSigningAlg returns a boolean if a field has been set.

func (*OAuth2Client) HasRequestUris added in v0.11.0

func (o *OAuth2Client) HasRequestUris() bool

HasRequestUris returns a boolean if a field has been set.

func (*OAuth2Client) HasResponseTypes added in v0.11.0

func (o *OAuth2Client) HasResponseTypes() bool

HasResponseTypes returns a boolean if a field has been set.

func (*OAuth2Client) HasScope added in v0.11.0

func (o *OAuth2Client) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*OAuth2Client) HasSectorIdentifierUri added in v0.11.0

func (o *OAuth2Client) HasSectorIdentifierUri() bool

HasSectorIdentifierUri returns a boolean if a field has been set.

func (*OAuth2Client) HasSkipConsent added in v1.1.0

func (o *OAuth2Client) HasSkipConsent() bool

HasSkipConsent returns a boolean if a field has been set.

func (*OAuth2Client) HasSkipLogoutConsent added in v1.1.0

func (o *OAuth2Client) HasSkipLogoutConsent() bool

HasSkipLogoutConsent returns a boolean if a field has been set.

func (*OAuth2Client) HasSubjectType added in v0.11.0

func (o *OAuth2Client) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (*OAuth2Client) HasTokenEndpointAuthMethod added in v0.11.0

func (o *OAuth2Client) HasTokenEndpointAuthMethod() bool

HasTokenEndpointAuthMethod returns a boolean if a field has been set.

func (*OAuth2Client) HasTokenEndpointAuthSigningAlg added in v0.11.0

func (o *OAuth2Client) HasTokenEndpointAuthSigningAlg() bool

HasTokenEndpointAuthSigningAlg returns a boolean if a field has been set.

func (*OAuth2Client) HasTosUri added in v0.11.0

func (o *OAuth2Client) HasTosUri() bool

HasTosUri returns a boolean if a field has been set.

func (*OAuth2Client) HasUpdatedAt added in v0.11.0

func (o *OAuth2Client) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*OAuth2Client) HasUserinfoSignedResponseAlg added in v0.11.0

func (o *OAuth2Client) HasUserinfoSignedResponseAlg() bool

HasUserinfoSignedResponseAlg returns a boolean if a field has been set.

func (OAuth2Client) MarshalJSON added in v0.11.0

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

func (*OAuth2Client) SetAccessTokenStrategy added in v1.1.0

func (o *OAuth2Client) SetAccessTokenStrategy(v string)

SetAccessTokenStrategy gets a reference to the given string and assigns it to the AccessTokenStrategy field.

func (*OAuth2Client) SetAllowedCorsOrigins added in v0.11.0

func (o *OAuth2Client) SetAllowedCorsOrigins(v []string)

SetAllowedCorsOrigins gets a reference to the given []string and assigns it to the AllowedCorsOrigins field.

func (*OAuth2Client) SetAudience added in v0.11.0

func (o *OAuth2Client) SetAudience(v []string)

SetAudience gets a reference to the given []string and assigns it to the Audience field.

func (*OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan(v string)

SetAuthorizationCodeGrantAccessTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantAccessTokenLifespan field.

func (*OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan(v string)

SetAuthorizationCodeGrantIdTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantIdTokenLifespan field.

func (*OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan(v string)

SetAuthorizationCodeGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantRefreshTokenLifespan field.

func (*OAuth2Client) SetBackchannelLogoutSessionRequired added in v0.11.0

func (o *OAuth2Client) SetBackchannelLogoutSessionRequired(v bool)

SetBackchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the BackchannelLogoutSessionRequired field.

func (*OAuth2Client) SetBackchannelLogoutUri added in v0.11.0

func (o *OAuth2Client) SetBackchannelLogoutUri(v string)

SetBackchannelLogoutUri gets a reference to the given string and assigns it to the BackchannelLogoutUri field.

func (*OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan(v string)

SetClientCredentialsGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ClientCredentialsGrantAccessTokenLifespan field.

func (*OAuth2Client) SetClientId added in v0.11.0

func (o *OAuth2Client) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*OAuth2Client) SetClientName added in v0.11.0

func (o *OAuth2Client) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*OAuth2Client) SetClientSecret added in v0.11.0

func (o *OAuth2Client) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*OAuth2Client) SetClientSecretExpiresAt added in v0.11.0

func (o *OAuth2Client) SetClientSecretExpiresAt(v int64)

SetClientSecretExpiresAt gets a reference to the given int64 and assigns it to the ClientSecretExpiresAt field.

func (*OAuth2Client) SetClientUri added in v0.11.0

func (o *OAuth2Client) SetClientUri(v string)

SetClientUri gets a reference to the given string and assigns it to the ClientUri field.

func (*OAuth2Client) SetContacts added in v0.11.0

func (o *OAuth2Client) SetContacts(v []string)

SetContacts gets a reference to the given []string and assigns it to the Contacts field.

func (*OAuth2Client) SetCreatedAt added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) SetFrontchannelLogoutSessionRequired(v bool)

SetFrontchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the FrontchannelLogoutSessionRequired field.

func (*OAuth2Client) SetFrontchannelLogoutUri added in v0.11.0

func (o *OAuth2Client) SetFrontchannelLogoutUri(v string)

SetFrontchannelLogoutUri gets a reference to the given string and assigns it to the FrontchannelLogoutUri field.

func (*OAuth2Client) SetGrantTypes added in v0.11.0

func (o *OAuth2Client) SetGrantTypes(v []string)

SetGrantTypes gets a reference to the given []string and assigns it to the GrantTypes field.

func (*OAuth2Client) SetImplicitGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetImplicitGrantAccessTokenLifespan(v string)

SetImplicitGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantAccessTokenLifespan field.

func (*OAuth2Client) SetImplicitGrantIdTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetImplicitGrantIdTokenLifespan(v string)

SetImplicitGrantIdTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantIdTokenLifespan field.

func (*OAuth2Client) SetJwks added in v0.11.0

func (o *OAuth2Client) SetJwks(v interface{})

SetJwks gets a reference to the given interface{} and assigns it to the Jwks field.

func (*OAuth2Client) SetJwksUri added in v0.11.0

func (o *OAuth2Client) SetJwksUri(v string)

SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.

func (*OAuth2Client) SetJwtBearerGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetJwtBearerGrantAccessTokenLifespan(v string)

SetJwtBearerGrantAccessTokenLifespan gets a reference to the given string and assigns it to the JwtBearerGrantAccessTokenLifespan field.

func (*OAuth2Client) SetLogoUri added in v0.11.0

func (o *OAuth2Client) SetLogoUri(v string)

SetLogoUri gets a reference to the given string and assigns it to the LogoUri field.

func (*OAuth2Client) SetMetadata added in v0.11.0

func (o *OAuth2Client) SetMetadata(v interface{})

SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field.

func (*OAuth2Client) SetOwner added in v0.11.0

func (o *OAuth2Client) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*OAuth2Client) SetPolicyUri added in v0.11.0

func (o *OAuth2Client) SetPolicyUri(v string)

SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.

func (*OAuth2Client) SetPostLogoutRedirectUris added in v0.11.0

func (o *OAuth2Client) SetPostLogoutRedirectUris(v []string)

SetPostLogoutRedirectUris gets a reference to the given []string and assigns it to the PostLogoutRedirectUris field.

func (*OAuth2Client) SetRedirectUris added in v0.11.0

func (o *OAuth2Client) SetRedirectUris(v []string)

SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.

func (*OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan(v string)

SetRefreshTokenGrantAccessTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantAccessTokenLifespan field.

func (*OAuth2Client) SetRefreshTokenGrantIdTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetRefreshTokenGrantIdTokenLifespan(v string)

SetRefreshTokenGrantIdTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantIdTokenLifespan field.

func (*OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan added in v0.11.0

func (o *OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan(v string)

SetRefreshTokenGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantRefreshTokenLifespan field.

func (*OAuth2Client) SetRegistrationAccessToken added in v0.11.0

func (o *OAuth2Client) SetRegistrationAccessToken(v string)

SetRegistrationAccessToken gets a reference to the given string and assigns it to the RegistrationAccessToken field.

func (*OAuth2Client) SetRegistrationClientUri added in v0.11.0

func (o *OAuth2Client) SetRegistrationClientUri(v string)

SetRegistrationClientUri gets a reference to the given string and assigns it to the RegistrationClientUri field.

func (*OAuth2Client) SetRequestObjectSigningAlg added in v0.11.0

func (o *OAuth2Client) SetRequestObjectSigningAlg(v string)

SetRequestObjectSigningAlg gets a reference to the given string and assigns it to the RequestObjectSigningAlg field.

func (*OAuth2Client) SetRequestUris added in v0.11.0

func (o *OAuth2Client) SetRequestUris(v []string)

SetRequestUris gets a reference to the given []string and assigns it to the RequestUris field.

func (*OAuth2Client) SetResponseTypes added in v0.11.0

func (o *OAuth2Client) SetResponseTypes(v []string)

SetResponseTypes gets a reference to the given []string and assigns it to the ResponseTypes field.

func (*OAuth2Client) SetScope added in v0.11.0

func (o *OAuth2Client) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OAuth2Client) SetSectorIdentifierUri added in v0.11.0

func (o *OAuth2Client) SetSectorIdentifierUri(v string)

SetSectorIdentifierUri gets a reference to the given string and assigns it to the SectorIdentifierUri field.

func (*OAuth2Client) SetSkipConsent added in v1.1.0

func (o *OAuth2Client) SetSkipConsent(v bool)

SetSkipConsent gets a reference to the given bool and assigns it to the SkipConsent field.

func (*OAuth2Client) SetSkipLogoutConsent added in v1.1.0

func (o *OAuth2Client) SetSkipLogoutConsent(v bool)

SetSkipLogoutConsent gets a reference to the given bool and assigns it to the SkipLogoutConsent field.

func (*OAuth2Client) SetSubjectType added in v0.11.0

func (o *OAuth2Client) SetSubjectType(v string)

SetSubjectType gets a reference to the given string and assigns it to the SubjectType field.

func (*OAuth2Client) SetTokenEndpointAuthMethod added in v0.11.0

func (o *OAuth2Client) SetTokenEndpointAuthMethod(v string)

SetTokenEndpointAuthMethod gets a reference to the given string and assigns it to the TokenEndpointAuthMethod field.

func (*OAuth2Client) SetTokenEndpointAuthSigningAlg added in v0.11.0

func (o *OAuth2Client) SetTokenEndpointAuthSigningAlg(v string)

SetTokenEndpointAuthSigningAlg gets a reference to the given string and assigns it to the TokenEndpointAuthSigningAlg field.

func (*OAuth2Client) SetTosUri added in v0.11.0

func (o *OAuth2Client) SetTosUri(v string)

SetTosUri gets a reference to the given string and assigns it to the TosUri field.

func (*OAuth2Client) SetUpdatedAt added in v0.11.0

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 added in v0.11.0

func (o *OAuth2Client) SetUserinfoSignedResponseAlg(v string)

SetUserinfoSignedResponseAlg gets a reference to the given string and assigns it to the UserinfoSignedResponseAlg field.

func (OAuth2Client) ToMap added in v1.1.0

func (o OAuth2Client) ToMap() (map[string]interface{}, error)

func (*OAuth2Client) UnmarshalJSON added in v1.0.0

func (o *OAuth2Client) UnmarshalJSON(bytes []byte) (err error)

type OAuth2ConsentRequestOpenIDConnectContext added in v0.11.0

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]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"`
	AdditionalProperties map[string]interface{}
}

OAuth2ConsentRequestOpenIDConnectContext OAuth2ConsentRequestOpenIDConnectContext struct for OAuth2ConsentRequestOpenIDConnectContext

func NewOAuth2ConsentRequestOpenIDConnectContext added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

GetAcrValues returns the AcrValues field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk added in v0.11.0

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 added in v0.11.0

GetDisplay returns the Display field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[string]interface{}

GetIdTokenHintClaims returns the IdTokenHintClaims field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk added in v0.11.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk() (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 added in v0.11.0

GetLoginHint returns the LoginHint field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk added in v0.11.0

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 added in v0.11.0

GetUiLocales returns the UiLocales field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk added in v0.11.0

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 added in v0.11.0

HasAcrValues returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasDisplay added in v0.11.0

HasDisplay returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims added in v0.11.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims() bool

HasIdTokenHintClaims returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint added in v0.11.0

HasLoginHint returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales added in v0.11.0

HasUiLocales returns a boolean if a field has been set.

func (OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON added in v0.11.0

func (*OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues added in v0.11.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues(v []string)

SetAcrValues gets a reference to the given []string and assigns it to the AcrValues field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetDisplay added in v0.11.0

SetDisplay gets a reference to the given string and assigns it to the Display field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims added in v0.11.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims(v map[string]interface{})

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

func (*OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint added in v0.11.0

SetLoginHint gets a reference to the given string and assigns it to the LoginHint field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales added in v0.11.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales(v []string)

SetUiLocales gets a reference to the given []string and assigns it to the UiLocales field.

func (OAuth2ConsentRequestOpenIDConnectContext) ToMap added in v1.1.0

func (o OAuth2ConsentRequestOpenIDConnectContext) ToMap() (map[string]interface{}, error)

func (*OAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON added in v1.0.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON(bytes []byte) (err error)

type OAuth2LoginRequest added in v0.11.0

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"`
	AdditionalProperties map[string]interface{}
}

OAuth2LoginRequest OAuth2LoginRequest struct for OAuth2LoginRequest

func NewOAuth2LoginRequest added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetChallenge() string

GetChallenge returns the Challenge field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetChallengeOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetClient() OAuth2Client

GetClient returns the Client field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetClientOk added in v0.11.0

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 added in v0.11.0

GetOidcContext returns the OidcContext field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetOidcContextOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestUrlOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudience() []string

GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetRequestedScope() []string

GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestedScopeOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSessionIdOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetSkip() bool

GetSkip returns the Skip field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSkipOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) GetSubject() string

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

func (*OAuth2LoginRequest) GetSubjectOk added in v0.11.0

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 added in v0.11.0

func (o *OAuth2LoginRequest) HasChallenge() bool

HasChallenge returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasClient added in v0.11.0

func (o *OAuth2LoginRequest) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasOidcContext added in v0.11.0

func (o *OAuth2LoginRequest) HasOidcContext() bool

HasOidcContext returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestUrl added in v0.11.0

func (o *OAuth2LoginRequest) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedAccessTokenAudience added in v0.11.0

func (o *OAuth2LoginRequest) HasRequestedAccessTokenAudience() bool

HasRequestedAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedScope added in v0.11.0

func (o *OAuth2LoginRequest) HasRequestedScope() bool

HasRequestedScope returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSessionId added in v0.11.0

func (o *OAuth2LoginRequest) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSkip added in v0.11.0

func (o *OAuth2LoginRequest) HasSkip() bool

HasSkip returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSubject added in v0.11.0

func (o *OAuth2LoginRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (OAuth2LoginRequest) MarshalJSON added in v0.11.0

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

func (*OAuth2LoginRequest) SetChallenge added in v0.11.0

func (o *OAuth2LoginRequest) SetChallenge(v string)

SetChallenge gets a reference to the given string and assigns it to the Challenge field.

func (*OAuth2LoginRequest) SetClient added in v0.11.0

func (o *OAuth2LoginRequest) SetClient(v OAuth2Client)

SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.

func (*OAuth2LoginRequest) SetOidcContext added in v0.11.0

SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.

func (*OAuth2LoginRequest) SetRequestUrl added in v0.11.0

func (o *OAuth2LoginRequest) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*OAuth2LoginRequest) SetRequestedAccessTokenAudience added in v0.11.0

func (o *OAuth2LoginRequest) SetRequestedAccessTokenAudience(v []string)

SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.

func (*OAuth2LoginRequest) SetRequestedScope added in v0.11.0

func (o *OAuth2LoginRequest) SetRequestedScope(v []string)

SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.

func (*OAuth2LoginRequest) SetSessionId added in v0.11.0

func (o *OAuth2LoginRequest) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

func (*OAuth2LoginRequest) SetSkip added in v0.11.0

func (o *OAuth2LoginRequest) SetSkip(v bool)

SetSkip gets a reference to the given bool and assigns it to the Skip field.

func (*OAuth2LoginRequest) SetSubject added in v0.11.0

func (o *OAuth2LoginRequest) SetSubject(v string)

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

func (OAuth2LoginRequest) ToMap added in v1.1.0

func (o OAuth2LoginRequest) ToMap() (map[string]interface{}, error)

func (*OAuth2LoginRequest) UnmarshalJSON added in v1.0.0

func (o *OAuth2LoginRequest) UnmarshalJSON(bytes []byte) (err error)

type PatchIdentitiesBody added in v0.13.1

type PatchIdentitiesBody struct {
	// Identities holds the list of patches to apply  required
	Identities           []IdentityPatch `json:"identities,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchIdentitiesBody Patch Identities Body

func NewPatchIdentitiesBody added in v0.13.1

func NewPatchIdentitiesBody() *PatchIdentitiesBody

NewPatchIdentitiesBody instantiates a new PatchIdentitiesBody 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 NewPatchIdentitiesBodyWithDefaults added in v0.13.1

func NewPatchIdentitiesBodyWithDefaults() *PatchIdentitiesBody

NewPatchIdentitiesBodyWithDefaults instantiates a new PatchIdentitiesBody 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 (*PatchIdentitiesBody) GetIdentities added in v0.13.1

func (o *PatchIdentitiesBody) GetIdentities() []IdentityPatch

GetIdentities returns the Identities field value if set, zero value otherwise.

func (*PatchIdentitiesBody) GetIdentitiesOk added in v0.13.1

func (o *PatchIdentitiesBody) GetIdentitiesOk() ([]IdentityPatch, bool)

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

func (*PatchIdentitiesBody) HasIdentities added in v0.13.1

func (o *PatchIdentitiesBody) HasIdentities() bool

HasIdentities returns a boolean if a field has been set.

func (PatchIdentitiesBody) MarshalJSON added in v0.13.1

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

func (*PatchIdentitiesBody) SetIdentities added in v0.13.1

func (o *PatchIdentitiesBody) SetIdentities(v []IdentityPatch)

SetIdentities gets a reference to the given []IdentityPatch and assigns it to the Identities field.

func (PatchIdentitiesBody) ToMap added in v1.1.0

func (o PatchIdentitiesBody) ToMap() (map[string]interface{}, error)

func (*PatchIdentitiesBody) UnmarshalJSON added in v1.0.0

func (o *PatchIdentitiesBody) UnmarshalJSON(bytes []byte) (err error)

type PerformNativeLogoutBody added in v0.11.0

type PerformNativeLogoutBody struct {
	// The Session Token  Invalidate this session token.
	SessionToken         string `json:"session_token"`
	AdditionalProperties map[string]interface{}
}

PerformNativeLogoutBody Perform Native Logout Request Body

func NewPerformNativeLogoutBody added in v0.11.0

func NewPerformNativeLogoutBody(sessionToken string) *PerformNativeLogoutBody

NewPerformNativeLogoutBody instantiates a new PerformNativeLogoutBody 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 NewPerformNativeLogoutBodyWithDefaults added in v0.11.0

func NewPerformNativeLogoutBodyWithDefaults() *PerformNativeLogoutBody

NewPerformNativeLogoutBodyWithDefaults instantiates a new PerformNativeLogoutBody 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 (*PerformNativeLogoutBody) GetSessionToken added in v0.11.0

func (o *PerformNativeLogoutBody) GetSessionToken() string

GetSessionToken returns the SessionToken field value

func (*PerformNativeLogoutBody) GetSessionTokenOk added in v0.11.0

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

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

func (PerformNativeLogoutBody) MarshalJSON added in v0.11.0

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

func (*PerformNativeLogoutBody) SetSessionToken added in v0.11.0

func (o *PerformNativeLogoutBody) SetSessionToken(v string)

SetSessionToken sets field value

func (PerformNativeLogoutBody) ToMap added in v1.1.0

func (o PerformNativeLogoutBody) ToMap() (map[string]interface{}, error)

func (*PerformNativeLogoutBody) UnmarshalJSON added in v1.0.0

func (o *PerformNativeLogoutBody) UnmarshalJSON(bytes []byte) (err error)

type RecoveryCodeForIdentity added in v0.11.0

type RecoveryCodeForIdentity struct {
	// Expires At is the timestamp of when the recovery flow expires  The timestamp when the recovery code expires.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// RecoveryCode is the code that can be used to recover the account
	RecoveryCode string `json:"recovery_code"`
	// RecoveryLink with flow  This link opens the recovery UI with an empty `code` field.
	RecoveryLink         string `json:"recovery_link"`
	AdditionalProperties map[string]interface{}
}

RecoveryCodeForIdentity Used when an administrator creates a recovery code for an identity.

func NewRecoveryCodeForIdentity added in v0.11.0

func NewRecoveryCodeForIdentity(recoveryCode string, recoveryLink string) *RecoveryCodeForIdentity

NewRecoveryCodeForIdentity instantiates a new RecoveryCodeForIdentity 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 NewRecoveryCodeForIdentityWithDefaults added in v0.11.0

func NewRecoveryCodeForIdentityWithDefaults() *RecoveryCodeForIdentity

NewRecoveryCodeForIdentityWithDefaults instantiates a new RecoveryCodeForIdentity 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 (*RecoveryCodeForIdentity) GetExpiresAt added in v0.11.0

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*RecoveryCodeForIdentity) GetExpiresAtOk added in v0.11.0

func (o *RecoveryCodeForIdentity) 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 (*RecoveryCodeForIdentity) GetRecoveryCode added in v0.11.0

func (o *RecoveryCodeForIdentity) GetRecoveryCode() string

GetRecoveryCode returns the RecoveryCode field value

func (*RecoveryCodeForIdentity) GetRecoveryCodeOk added in v0.11.0

func (o *RecoveryCodeForIdentity) GetRecoveryCodeOk() (*string, bool)

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

func (o *RecoveryCodeForIdentity) GetRecoveryLink() string

GetRecoveryLink returns the RecoveryLink field value

func (*RecoveryCodeForIdentity) GetRecoveryLinkOk added in v0.11.0

func (o *RecoveryCodeForIdentity) GetRecoveryLinkOk() (*string, bool)

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

func (*RecoveryCodeForIdentity) HasExpiresAt added in v0.11.0

func (o *RecoveryCodeForIdentity) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (RecoveryCodeForIdentity) MarshalJSON added in v0.11.0

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

func (*RecoveryCodeForIdentity) SetExpiresAt added in v0.11.0

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

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*RecoveryCodeForIdentity) SetRecoveryCode added in v0.11.0

func (o *RecoveryCodeForIdentity) SetRecoveryCode(v string)

SetRecoveryCode sets field value

func (o *RecoveryCodeForIdentity) SetRecoveryLink(v string)

SetRecoveryLink sets field value

func (RecoveryCodeForIdentity) ToMap added in v1.1.0

func (o RecoveryCodeForIdentity) ToMap() (map[string]interface{}, error)

func (*RecoveryCodeForIdentity) UnmarshalJSON added in v1.0.0

func (o *RecoveryCodeForIdentity) UnmarshalJSON(bytes []byte) (err error)

type RecoveryFlow added in v0.11.0

type RecoveryFlow struct {
	// Active, if set, contains the recovery method that is being used. It is initially not set.
	Active *string `json:"active,omitempty"`
	// Contains possible actions that could follow this flow
	ContinueWith []ContinueWith `json:"continue_with,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"`
	// RequestURL is the initial URL that was requested from Ory Kratos. 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 represents the state of this request:  choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.
	State interface{} `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type                 string      `json:"type"`
	Ui                   UiContainer `json:"ui"`
	AdditionalProperties map[string]interface{}
}

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 added in v0.11.0

func NewRecoveryFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state interface{}, type_ string, 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 added in v0.11.0

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) GetActive added in v0.11.0

func (o *RecoveryFlow) GetActive() string

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

func (*RecoveryFlow) GetActiveOk added in v0.11.0

func (o *RecoveryFlow) GetActiveOk() (*string, 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 (*RecoveryFlow) GetContinueWith added in v1.1.0

func (o *RecoveryFlow) GetContinueWith() []ContinueWith

GetContinueWith returns the ContinueWith field value if set, zero value otherwise.

func (*RecoveryFlow) GetContinueWithOk added in v1.1.0

func (o *RecoveryFlow) GetContinueWithOk() ([]ContinueWith, bool)

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

func (*RecoveryFlow) GetExpiresAt added in v0.11.0

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

GetExpiresAt returns the ExpiresAt field value

func (*RecoveryFlow) GetExpiresAtOk added in v0.11.0

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 added in v0.11.0

func (o *RecoveryFlow) GetId() string

GetId returns the Id field value

func (*RecoveryFlow) GetIdOk added in v0.11.0

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 added in v0.11.0

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

GetIssuedAt returns the IssuedAt field value

func (*RecoveryFlow) GetIssuedAtOk added in v0.11.0

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) GetRequestUrl added in v0.11.0

func (o *RecoveryFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RecoveryFlow) GetRequestUrlOk added in v0.11.0

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 added in v0.11.0

func (o *RecoveryFlow) GetReturnTo() string

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

func (*RecoveryFlow) GetReturnToOk added in v0.11.0

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 added in v0.11.0

func (o *RecoveryFlow) GetState() interface{}

GetState returns the State field value If the value is explicit nil, the zero value for interface{} will be returned

func (*RecoveryFlow) GetStateOk added in v0.11.0

func (o *RecoveryFlow) GetStateOk() (*interface{}, bool)

GetStateOk returns a tuple with the State field value 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 (*RecoveryFlow) GetType added in v0.11.0

func (o *RecoveryFlow) GetType() string

GetType returns the Type field value

func (*RecoveryFlow) GetTypeOk added in v0.11.0

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

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

func (*RecoveryFlow) GetUi added in v0.11.0

func (o *RecoveryFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RecoveryFlow) GetUiOk added in v0.11.0

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) HasActive added in v0.11.0

func (o *RecoveryFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RecoveryFlow) HasContinueWith added in v1.1.0

func (o *RecoveryFlow) HasContinueWith() bool

HasContinueWith returns a boolean if a field has been set.

func (*RecoveryFlow) HasReturnTo added in v0.11.0

func (o *RecoveryFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (RecoveryFlow) MarshalJSON added in v0.11.0

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

func (*RecoveryFlow) SetActive added in v0.11.0

func (o *RecoveryFlow) SetActive(v string)

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

func (*RecoveryFlow) SetContinueWith added in v1.1.0

func (o *RecoveryFlow) SetContinueWith(v []ContinueWith)

SetContinueWith gets a reference to the given []ContinueWith and assigns it to the ContinueWith field.

func (*RecoveryFlow) SetExpiresAt added in v0.11.0

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

SetExpiresAt sets field value

func (*RecoveryFlow) SetId added in v0.11.0

func (o *RecoveryFlow) SetId(v string)

SetId sets field value

func (*RecoveryFlow) SetIssuedAt added in v0.11.0

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

SetIssuedAt sets field value

func (*RecoveryFlow) SetRequestUrl added in v0.11.0

func (o *RecoveryFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RecoveryFlow) SetReturnTo added in v0.11.0

func (o *RecoveryFlow) SetReturnTo(v string)

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

func (*RecoveryFlow) SetState added in v0.11.0

func (o *RecoveryFlow) SetState(v interface{})

SetState sets field value

func (*RecoveryFlow) SetType added in v0.11.0

func (o *RecoveryFlow) SetType(v string)

SetType sets field value

func (*RecoveryFlow) SetUi added in v0.11.0

func (o *RecoveryFlow) SetUi(v UiContainer)

SetUi sets field value

func (RecoveryFlow) ToMap added in v1.1.0

func (o RecoveryFlow) ToMap() (map[string]interface{}, error)

func (*RecoveryFlow) UnmarshalJSON added in v1.0.0

func (o *RecoveryFlow) UnmarshalJSON(bytes []byte) (err error)

type RecoveryFlowState added in v0.11.0

type RecoveryFlowState string

RecoveryFlowState 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_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.

const (
	RECOVERYFLOWSTATE_CHOOSE_METHOD    RecoveryFlowState = "choose_method"
	RECOVERYFLOWSTATE_SENT_EMAIL       RecoveryFlowState = "sent_email"
	RECOVERYFLOWSTATE_PASSED_CHALLENGE RecoveryFlowState = "passed_challenge"
)

List of recoveryFlowState

func NewRecoveryFlowStateFromValue added in v0.11.0

func NewRecoveryFlowStateFromValue(v string) (*RecoveryFlowState, error)

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

func (RecoveryFlowState) IsValid added in v0.11.0

func (v RecoveryFlowState) IsValid() bool

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

func (RecoveryFlowState) Ptr added in v0.11.0

Ptr returns reference to recoveryFlowState value

func (*RecoveryFlowState) UnmarshalJSON added in v0.11.0

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

type RecoveryIdentityAddress added in v0.11.0

type RecoveryIdentityAddress struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Id        string     `json:"id"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	Value                string     `json:"value"`
	Via                  string     `json:"via"`
	AdditionalProperties map[string]interface{}
}

RecoveryIdentityAddress struct for RecoveryIdentityAddress

func NewRecoveryIdentityAddress added in v0.11.0

func NewRecoveryIdentityAddress(id string, value string, via string) *RecoveryIdentityAddress

NewRecoveryIdentityAddress instantiates a new RecoveryIdentityAddress 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 NewRecoveryIdentityAddressWithDefaults added in v0.11.0

func NewRecoveryIdentityAddressWithDefaults() *RecoveryIdentityAddress

NewRecoveryIdentityAddressWithDefaults instantiates a new RecoveryIdentityAddress 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 (*RecoveryIdentityAddress) GetCreatedAt added in v0.11.0

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

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

func (*RecoveryIdentityAddress) GetCreatedAtOk added in v0.11.0

func (o *RecoveryIdentityAddress) 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 (*RecoveryIdentityAddress) GetId added in v0.11.0

func (o *RecoveryIdentityAddress) GetId() string

GetId returns the Id field value

func (*RecoveryIdentityAddress) GetIdOk added in v0.11.0

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

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

func (*RecoveryIdentityAddress) GetUpdatedAt added in v0.11.0

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

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

func (*RecoveryIdentityAddress) GetUpdatedAtOk added in v0.11.0

func (o *RecoveryIdentityAddress) 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 (*RecoveryIdentityAddress) GetValue added in v0.11.0

func (o *RecoveryIdentityAddress) GetValue() string

GetValue returns the Value field value

func (*RecoveryIdentityAddress) GetValueOk added in v0.11.0

func (o *RecoveryIdentityAddress) GetValueOk() (*string, bool)

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

func (*RecoveryIdentityAddress) GetVia added in v0.11.0

func (o *RecoveryIdentityAddress) GetVia() string

GetVia returns the Via field value

func (*RecoveryIdentityAddress) GetViaOk added in v0.11.0

func (o *RecoveryIdentityAddress) GetViaOk() (*string, bool)

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

func (*RecoveryIdentityAddress) HasCreatedAt added in v0.11.0

func (o *RecoveryIdentityAddress) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RecoveryIdentityAddress) HasUpdatedAt added in v0.11.0

func (o *RecoveryIdentityAddress) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (RecoveryIdentityAddress) MarshalJSON added in v0.11.0

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

func (*RecoveryIdentityAddress) SetCreatedAt added in v0.11.0

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

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

func (*RecoveryIdentityAddress) SetId added in v0.11.0

func (o *RecoveryIdentityAddress) SetId(v string)

SetId sets field value

func (*RecoveryIdentityAddress) SetUpdatedAt added in v0.11.0

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

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

func (*RecoveryIdentityAddress) SetValue added in v0.11.0

func (o *RecoveryIdentityAddress) SetValue(v string)

SetValue sets field value

func (*RecoveryIdentityAddress) SetVia added in v0.11.0

func (o *RecoveryIdentityAddress) SetVia(v string)

SetVia sets field value

func (RecoveryIdentityAddress) ToMap added in v1.1.0

func (o RecoveryIdentityAddress) ToMap() (map[string]interface{}, error)

func (*RecoveryIdentityAddress) UnmarshalJSON added in v1.0.0

func (o *RecoveryIdentityAddress) UnmarshalJSON(bytes []byte) (err error)

type RecoveryLinkForIdentity added in v0.11.0

type RecoveryLinkForIdentity struct {
	// Recovery Link Expires At  The timestamp when the recovery link expires.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Recovery Link  This link can be used to recover the account.
	RecoveryLink         string `json:"recovery_link"`
	AdditionalProperties map[string]interface{}
}

RecoveryLinkForIdentity Used when an administrator creates a recovery link for an identity.

func NewRecoveryLinkForIdentity added in v0.11.0

func NewRecoveryLinkForIdentity(recoveryLink string) *RecoveryLinkForIdentity

NewRecoveryLinkForIdentity instantiates a new RecoveryLinkForIdentity 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 NewRecoveryLinkForIdentityWithDefaults added in v0.11.0

func NewRecoveryLinkForIdentityWithDefaults() *RecoveryLinkForIdentity

NewRecoveryLinkForIdentityWithDefaults instantiates a new RecoveryLinkForIdentity 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 (*RecoveryLinkForIdentity) GetExpiresAt added in v0.11.0

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*RecoveryLinkForIdentity) GetExpiresAtOk added in v0.11.0

func (o *RecoveryLinkForIdentity) 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 (o *RecoveryLinkForIdentity) GetRecoveryLink() string

GetRecoveryLink returns the RecoveryLink field value

func (*RecoveryLinkForIdentity) GetRecoveryLinkOk added in v0.11.0

func (o *RecoveryLinkForIdentity) GetRecoveryLinkOk() (*string, bool)

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

func (*RecoveryLinkForIdentity) HasExpiresAt added in v0.11.0

func (o *RecoveryLinkForIdentity) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (RecoveryLinkForIdentity) MarshalJSON added in v0.11.0

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

func (*RecoveryLinkForIdentity) SetExpiresAt added in v0.11.0

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

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (o *RecoveryLinkForIdentity) SetRecoveryLink(v string)

SetRecoveryLink sets field value

func (RecoveryLinkForIdentity) ToMap added in v1.1.0

func (o RecoveryLinkForIdentity) ToMap() (map[string]interface{}, error)

func (*RecoveryLinkForIdentity) UnmarshalJSON added in v1.0.0

func (o *RecoveryLinkForIdentity) UnmarshalJSON(bytes []byte) (err error)

type RegistrationFlow added in v0.11.0

type RegistrationFlow struct {
	// Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth link_recovery CredentialsTypeRecoveryLink  CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow).  It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
	Active *string `json:"active,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 registration flow, this represents the id in the registration ui's query parameter: http://<selfservice.flows.registration.ui_url>/?flow=<id>
	Id string `json:"id"`
	// IssuedAt is the time (UTC) when the flow occurred.
	IssuedAt time.Time `json:"issued_at"`
	// Ory 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 Ory 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"`
	OrganizationId       NullableString      `json:"organization_id,omitempty"`
	// RequestURL is the initial URL that was requested from Ory Kratos. 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"`
	// SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the flow.
	SessionTokenExchangeCode *string `json:"session_token_exchange_code,omitempty"`
	// State represents the state of this request:  choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed.
	State interface{} `json:"state"`
	// TransientPayload is used to pass data from the registration to a webhook
	TransientPayload map[string]interface{} `json:"transient_payload,omitempty"`
	// The flow type can either be `api` or `browser`.
	Type                 string      `json:"type"`
	Ui                   UiContainer `json:"ui"`
	AdditionalProperties map[string]interface{}
}

RegistrationFlow struct for RegistrationFlow

func NewRegistrationFlow added in v0.11.0

func NewRegistrationFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state interface{}, type_ string, 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 added in v0.11.0

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 added in v0.11.0

func (o *RegistrationFlow) GetActive() string

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

func (*RegistrationFlow) GetActiveOk added in v0.11.0

func (o *RegistrationFlow) GetActiveOk() (*string, 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) GetExpiresAt added in v0.11.0

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

GetExpiresAt returns the ExpiresAt field value

func (*RegistrationFlow) GetExpiresAtOk added in v0.11.0

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 added in v0.11.0

func (o *RegistrationFlow) GetId() string

GetId returns the Id field value

func (*RegistrationFlow) GetIdOk added in v0.11.0

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 added in v0.11.0

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

GetIssuedAt returns the IssuedAt field value

func (*RegistrationFlow) GetIssuedAtOk added in v0.11.0

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 added in v0.11.0

func (o *RegistrationFlow) GetOauth2LoginChallenge() string

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

func (*RegistrationFlow) GetOauth2LoginChallengeOk added in v0.11.0

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 added in v0.11.0

func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest

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

func (*RegistrationFlow) GetOauth2LoginRequestOk added in v0.11.0

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) GetOrganizationId added in v1.1.0

func (o *RegistrationFlow) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RegistrationFlow) GetOrganizationIdOk added in v1.1.0

func (o *RegistrationFlow) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId 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 (*RegistrationFlow) GetRequestUrl added in v0.11.0

func (o *RegistrationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RegistrationFlow) GetRequestUrlOk added in v0.11.0

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 added in v0.11.0

func (o *RegistrationFlow) GetReturnTo() string

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

func (*RegistrationFlow) GetReturnToOk added in v0.11.0

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) GetSessionTokenExchangeCode added in v1.0.0

func (o *RegistrationFlow) GetSessionTokenExchangeCode() string

GetSessionTokenExchangeCode returns the SessionTokenExchangeCode field value if set, zero value otherwise.

func (*RegistrationFlow) GetSessionTokenExchangeCodeOk added in v1.0.0

func (o *RegistrationFlow) GetSessionTokenExchangeCodeOk() (*string, bool)

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

func (*RegistrationFlow) GetState added in v1.1.0

func (o *RegistrationFlow) GetState() interface{}

GetState returns the State field value If the value is explicit nil, the zero value for interface{} will be returned

func (*RegistrationFlow) GetStateOk added in v1.1.0

func (o *RegistrationFlow) GetStateOk() (*interface{}, bool)

GetStateOk returns a tuple with the State field value 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 (*RegistrationFlow) GetTransientPayload added in v0.13.1

func (o *RegistrationFlow) GetTransientPayload() map[string]interface{}

GetTransientPayload returns the TransientPayload field value if set, zero value otherwise.

func (*RegistrationFlow) GetTransientPayloadOk added in v0.13.1

func (o *RegistrationFlow) GetTransientPayloadOk() (map[string]interface{}, bool)

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

func (*RegistrationFlow) GetType added in v0.11.0

func (o *RegistrationFlow) GetType() string

GetType returns the Type field value

func (*RegistrationFlow) GetTypeOk added in v0.11.0

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

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

func (*RegistrationFlow) GetUi added in v0.11.0

func (o *RegistrationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RegistrationFlow) GetUiOk added in v0.11.0

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) HasActive added in v0.11.0

func (o *RegistrationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RegistrationFlow) HasOauth2LoginChallenge added in v0.11.0

func (o *RegistrationFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*RegistrationFlow) HasOauth2LoginRequest added in v0.11.0

func (o *RegistrationFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*RegistrationFlow) HasOrganizationId added in v1.1.0

func (o *RegistrationFlow) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*RegistrationFlow) HasReturnTo added in v0.11.0

func (o *RegistrationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*RegistrationFlow) HasSessionTokenExchangeCode added in v1.0.0

func (o *RegistrationFlow) HasSessionTokenExchangeCode() bool

HasSessionTokenExchangeCode returns a boolean if a field has been set.

func (*RegistrationFlow) HasTransientPayload added in v0.13.1

func (o *RegistrationFlow) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (RegistrationFlow) MarshalJSON added in v0.11.0

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

func (*RegistrationFlow) SetActive added in v0.11.0

func (o *RegistrationFlow) SetActive(v string)

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

func (*RegistrationFlow) SetExpiresAt added in v0.11.0

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

SetExpiresAt sets field value

func (*RegistrationFlow) SetId added in v0.11.0

func (o *RegistrationFlow) SetId(v string)

SetId sets field value

func (*RegistrationFlow) SetIssuedAt added in v0.11.0

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

SetIssuedAt sets field value

func (*RegistrationFlow) SetOauth2LoginChallenge added in v0.11.0

func (o *RegistrationFlow) SetOauth2LoginChallenge(v string)

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

func (*RegistrationFlow) SetOauth2LoginRequest added in v0.11.0

func (o *RegistrationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

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

func (*RegistrationFlow) SetOrganizationId added in v1.1.0

func (o *RegistrationFlow) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given NullableString and assigns it to the OrganizationId field.

func (*RegistrationFlow) SetOrganizationIdNil added in v1.1.0

func (o *RegistrationFlow) SetOrganizationIdNil()

SetOrganizationIdNil sets the value for OrganizationId to be an explicit nil

func (*RegistrationFlow) SetRequestUrl added in v0.11.0

func (o *RegistrationFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RegistrationFlow) SetReturnTo added in v0.11.0

func (o *RegistrationFlow) SetReturnTo(v string)

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

func (*RegistrationFlow) SetSessionTokenExchangeCode added in v1.0.0

func (o *RegistrationFlow) SetSessionTokenExchangeCode(v string)

SetSessionTokenExchangeCode gets a reference to the given string and assigns it to the SessionTokenExchangeCode field.

func (*RegistrationFlow) SetState added in v1.1.0

func (o *RegistrationFlow) SetState(v interface{})

SetState sets field value

func (*RegistrationFlow) SetTransientPayload added in v0.13.1

func (o *RegistrationFlow) SetTransientPayload(v map[string]interface{})

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

func (*RegistrationFlow) SetType added in v0.11.0

func (o *RegistrationFlow) SetType(v string)

SetType sets field value

func (*RegistrationFlow) SetUi added in v0.11.0

func (o *RegistrationFlow) SetUi(v UiContainer)

SetUi sets field value

func (RegistrationFlow) ToMap added in v1.1.0

func (o RegistrationFlow) ToMap() (map[string]interface{}, error)

func (*RegistrationFlow) UnmarshalJSON added in v1.0.0

func (o *RegistrationFlow) UnmarshalJSON(bytes []byte) (err error)

func (*RegistrationFlow) UnsetOrganizationId added in v1.1.0

func (o *RegistrationFlow) UnsetOrganizationId()

UnsetOrganizationId ensures that no value is present for OrganizationId, not even an explicit nil

type RegistrationFlowState added in v1.1.0

type RegistrationFlowState string

RegistrationFlowState choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed.

const (
	REGISTRATIONFLOWSTATE_CHOOSE_METHOD    RegistrationFlowState = "choose_method"
	REGISTRATIONFLOWSTATE_SENT_EMAIL       RegistrationFlowState = "sent_email"
	REGISTRATIONFLOWSTATE_PASSED_CHALLENGE RegistrationFlowState = "passed_challenge"
)

List of registrationFlowState

func NewRegistrationFlowStateFromValue added in v1.1.0

func NewRegistrationFlowStateFromValue(v string) (*RegistrationFlowState, error)

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

func (RegistrationFlowState) IsValid added in v1.1.0

func (v RegistrationFlowState) IsValid() bool

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

func (RegistrationFlowState) Ptr added in v1.1.0

Ptr returns reference to registrationFlowState value

func (*RegistrationFlowState) UnmarshalJSON added in v1.1.0

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

type SelfServiceFlowExpiredError

type SelfServiceFlowExpiredError struct {
	Error *GenericError `json:"error,omitempty"`
	// When the flow has expired
	ExpiredAt *time.Time `json:"expired_at,omitempty"`
	// A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
	Since *int64 `json:"since,omitempty"`
	// The flow ID that should be used for the new flow as it contains the correct messages.
	UseFlowId            *string `json:"use_flow_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

SelfServiceFlowExpiredError Is sent when a flow is expired

func NewSelfServiceFlowExpiredError

func NewSelfServiceFlowExpiredError() *SelfServiceFlowExpiredError

NewSelfServiceFlowExpiredError instantiates a new SelfServiceFlowExpiredError 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 NewSelfServiceFlowExpiredErrorWithDefaults

func NewSelfServiceFlowExpiredErrorWithDefaults() *SelfServiceFlowExpiredError

NewSelfServiceFlowExpiredErrorWithDefaults instantiates a new SelfServiceFlowExpiredError 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 (*SelfServiceFlowExpiredError) GetError added in v0.13.1

GetError returns the Error field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetErrorOk added in v0.13.1

func (o *SelfServiceFlowExpiredError) GetErrorOk() (*GenericError, bool)

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

func (*SelfServiceFlowExpiredError) GetExpiredAt added in v0.11.0

func (o *SelfServiceFlowExpiredError) GetExpiredAt() time.Time

GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetExpiredAtOk added in v0.11.0

func (o *SelfServiceFlowExpiredError) GetExpiredAtOk() (*time.Time, bool)

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

func (*SelfServiceFlowExpiredError) GetSince

func (o *SelfServiceFlowExpiredError) GetSince() int64

GetSince returns the Since field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetSinceOk

func (o *SelfServiceFlowExpiredError) GetSinceOk() (*int64, bool)

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

func (*SelfServiceFlowExpiredError) GetUseFlowId

func (o *SelfServiceFlowExpiredError) GetUseFlowId() string

GetUseFlowId returns the UseFlowId field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetUseFlowIdOk

func (o *SelfServiceFlowExpiredError) GetUseFlowIdOk() (*string, bool)

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

func (*SelfServiceFlowExpiredError) HasError added in v0.13.1

func (o *SelfServiceFlowExpiredError) HasError() bool

HasError returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasExpiredAt added in v0.11.0

func (o *SelfServiceFlowExpiredError) HasExpiredAt() bool

HasExpiredAt returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasSince

func (o *SelfServiceFlowExpiredError) HasSince() bool

HasSince returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasUseFlowId

func (o *SelfServiceFlowExpiredError) HasUseFlowId() bool

HasUseFlowId returns a boolean if a field has been set.

func (SelfServiceFlowExpiredError) MarshalJSON

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

func (*SelfServiceFlowExpiredError) SetError added in v0.13.1

SetError gets a reference to the given GenericError and assigns it to the Error field.

func (*SelfServiceFlowExpiredError) SetExpiredAt added in v0.11.0

func (o *SelfServiceFlowExpiredError) SetExpiredAt(v time.Time)

SetExpiredAt gets a reference to the given time.Time and assigns it to the ExpiredAt field.

func (*SelfServiceFlowExpiredError) SetSince

func (o *SelfServiceFlowExpiredError) SetSince(v int64)

SetSince gets a reference to the given int64 and assigns it to the Since field.

func (*SelfServiceFlowExpiredError) SetUseFlowId

func (o *SelfServiceFlowExpiredError) SetUseFlowId(v string)

SetUseFlowId gets a reference to the given string and assigns it to the UseFlowId field.

func (SelfServiceFlowExpiredError) ToMap added in v1.1.0

func (o SelfServiceFlowExpiredError) ToMap() (map[string]interface{}, error)

func (*SelfServiceFlowExpiredError) UnmarshalJSON added in v1.0.0

func (o *SelfServiceFlowExpiredError) UnmarshalJSON(bytes []byte) (err error)

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"`
	// Devices has history of all endpoints where the session was used
	Devices []SessionDevice `json:"devices,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,omitempty"`
	// The Session Issuance Timestamp  When this session was issued at. Usually equal or close to `authenticated_at`.
	IssuedAt *time.Time `json:"issued_at,omitempty"`
	// Tokenized is the tokenized (e.g. JWT) version of the session.  It is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`.
	Tokenized            *string `json:"tokenized,omitempty"`
	AdditionalProperties map[string]interface{}
}

Session A Session

func NewSession

func NewSession(id string) *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) GetDevices added in v0.11.0

func (o *Session) GetDevices() []SessionDevice

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Session) GetDevicesOk added in v0.11.0

func (o *Session) GetDevicesOk() ([]SessionDevice, bool)

GetDevicesOk returns a tuple with the Devices 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 if set, zero value otherwise.

func (*Session) GetIdentityOk

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

GetIdentityOk returns a tuple with the Identity field value if set, nil otherwise 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) GetTokenized added in v1.1.0

func (o *Session) GetTokenized() string

GetTokenized returns the Tokenized field value if set, zero value otherwise.

func (*Session) GetTokenizedOk added in v1.1.0

func (o *Session) GetTokenizedOk() (*string, bool)

GetTokenizedOk returns a tuple with the Tokenized 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) HasDevices added in v0.11.0

func (o *Session) HasDevices() bool

HasDevices 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) HasIdentity added in v1.1.0

func (o *Session) HasIdentity() bool

HasIdentity 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) HasTokenized added in v1.1.0

func (o *Session) HasTokenized() bool

HasTokenized 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) SetDevices added in v0.11.0

func (o *Session) SetDevices(v []SessionDevice)

SetDevices gets a reference to the given []SessionDevice and assigns it to the Devices 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 gets a reference to the given Identity and assigns it to the Identity field.

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) SetTokenized added in v1.1.0

func (o *Session) SetTokenized(v string)

SetTokenized gets a reference to the given string and assigns it to the Tokenized field.

func (Session) ToMap added in v1.1.0

func (o Session) ToMap() (map[string]interface{}, error)

func (*Session) UnmarshalJSON added in v1.0.0

func (o *Session) UnmarshalJSON(bytes []byte) (err error)

type SessionAuthenticationMethod

type SessionAuthenticationMethod struct {
	Aal *AuthenticatorAssuranceLevel `json:"aal,omitempty"`
	// When the authentication challenge was completed.
	CompletedAt *time.Time `json:"completed_at,omitempty"`
	Method      *string    `json:"method,omitempty"`
	// The Organization id used for authentication
	Organization *string `json:"organization,omitempty"`
	// OIDC or SAML provider id used for authentication
	Provider             *string `json:"provider,omitempty"`
	AdditionalProperties map[string]interface{}
}

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

func (o *SessionAuthenticationMethod) GetMethod() string

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

func (*SessionAuthenticationMethod) GetMethodOk

func (o *SessionAuthenticationMethod) 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 (*SessionAuthenticationMethod) GetOrganization added in v1.1.0

func (o *SessionAuthenticationMethod) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetOrganizationOk added in v1.1.0

func (o *SessionAuthenticationMethod) GetOrganizationOk() (*string, bool)

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

func (*SessionAuthenticationMethod) GetProvider added in v1.0.0

func (o *SessionAuthenticationMethod) GetProvider() string

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

func (*SessionAuthenticationMethod) GetProviderOk added in v1.0.0

func (o *SessionAuthenticationMethod) GetProviderOk() (*string, bool)

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

func (*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) HasOrganization added in v1.1.0

func (o *SessionAuthenticationMethod) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*SessionAuthenticationMethod) HasProvider added in v1.0.0

func (o *SessionAuthenticationMethod) HasProvider() bool

HasProvider 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

func (o *SessionAuthenticationMethod) SetMethod(v string)

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

func (*SessionAuthenticationMethod) SetOrganization added in v1.1.0

func (o *SessionAuthenticationMethod) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*SessionAuthenticationMethod) SetProvider added in v1.0.0

func (o *SessionAuthenticationMethod) SetProvider(v string)

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

func (SessionAuthenticationMethod) ToMap added in v1.1.0

func (o SessionAuthenticationMethod) ToMap() (map[string]interface{}, error)

func (*SessionAuthenticationMethod) UnmarshalJSON added in v1.0.0

func (o *SessionAuthenticationMethod) UnmarshalJSON(bytes []byte) (err error)

type SessionDevice

type SessionDevice struct {
	// Device record ID
	Id string `json:"id"`
	// IPAddress of the client
	IpAddress *string `json:"ip_address,omitempty"`
	// Geo Location corresponding to the IP Address
	Location *string `json:"location,omitempty"`
	// UserAgent of the client
	UserAgent            *string `json:"user_agent,omitempty"`
	AdditionalProperties map[string]interface{}
}

SessionDevice Device corresponding to a Session

func NewSessionDevice

func NewSessionDevice(id string) *SessionDevice

NewSessionDevice instantiates a new SessionDevice 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 NewSessionDeviceWithDefaults

func NewSessionDeviceWithDefaults() *SessionDevice

NewSessionDeviceWithDefaults instantiates a new SessionDevice 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 (*SessionDevice) GetId added in v0.11.0

func (o *SessionDevice) GetId() string

GetId returns the Id field value

func (*SessionDevice) GetIdOk added in v0.11.0

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

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

func (*SessionDevice) GetIpAddress added in v0.11.0

func (o *SessionDevice) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*SessionDevice) GetIpAddressOk added in v0.11.0

func (o *SessionDevice) GetIpAddressOk() (*string, bool)

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

func (*SessionDevice) GetLocation added in v0.11.0

func (o *SessionDevice) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*SessionDevice) GetLocationOk added in v0.11.0

func (o *SessionDevice) GetLocationOk() (*string, bool)

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

func (*SessionDevice) GetUserAgent

func (o *SessionDevice) GetUserAgent() string

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*SessionDevice) GetUserAgentOk

func (o *SessionDevice) GetUserAgentOk() (*string, bool)

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

func (*SessionDevice) HasIpAddress added in v0.11.0

func (o *SessionDevice) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*SessionDevice) HasLocation added in v0.11.0

func (o *SessionDevice) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SessionDevice) HasUserAgent

func (o *SessionDevice) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (SessionDevice) MarshalJSON

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

func (*SessionDevice) SetId added in v0.11.0

func (o *SessionDevice) SetId(v string)

SetId sets field value

func (*SessionDevice) SetIpAddress added in v0.11.0

func (o *SessionDevice) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

func (*SessionDevice) SetLocation added in v0.11.0

func (o *SessionDevice) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*SessionDevice) SetUserAgent

func (o *SessionDevice) SetUserAgent(v string)

SetUserAgent gets a reference to the given string and assigns it to the UserAgent field.

func (SessionDevice) ToMap added in v1.1.0

func (o SessionDevice) ToMap() (map[string]interface{}, error)

func (*SessionDevice) UnmarshalJSON added in v1.0.0

func (o *SessionDevice) UnmarshalJSON(bytes []byte) (err error)

type SettingsFlow added in v0.11.0

type SettingsFlow struct {
	// Active, if set, contains the registration method that is being used. It is initially not set.
	Active *string `json:"active,omitempty"`
	// Contains a list of actions, that could follow this flow  It can, for example, contain a reference to the verification flow, created as part of the user's registration.
	ContinueWith []ContinueWith `json:"continue_with,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 Ory Kratos. 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 represents the state of this flow. It knows two states:  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.
	State interface{} `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type                 string      `json:"type"`
	Ui                   UiContainer `json:"ui"`
	AdditionalProperties map[string]interface{}
}

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 added in v0.11.0

func NewSettingsFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state interface{}, type_ string, 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 added in v0.11.0

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 added in v0.11.0

func (o *SettingsFlow) GetActive() string

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

func (*SettingsFlow) GetActiveOk added in v0.11.0

func (o *SettingsFlow) GetActiveOk() (*string, 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) GetContinueWith added in v0.13.1

func (o *SettingsFlow) GetContinueWith() []ContinueWith

GetContinueWith returns the ContinueWith field value if set, zero value otherwise.

func (*SettingsFlow) GetContinueWithOk added in v0.13.1

func (o *SettingsFlow) GetContinueWithOk() ([]ContinueWith, bool)

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

func (*SettingsFlow) GetExpiresAt added in v0.11.0

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

GetExpiresAt returns the ExpiresAt field value

func (*SettingsFlow) GetExpiresAtOk added in v0.11.0

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 added in v0.11.0

func (o *SettingsFlow) GetId() string

GetId returns the Id field value

func (*SettingsFlow) GetIdOk added in v0.11.0

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 added in v0.11.0

func (o *SettingsFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SettingsFlow) GetIdentityOk added in v0.11.0

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 added in v0.11.0

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

GetIssuedAt returns the IssuedAt field value

func (*SettingsFlow) GetIssuedAtOk added in v0.11.0

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 added in v0.11.0

func (o *SettingsFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SettingsFlow) GetRequestUrlOk added in v0.11.0

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 added in v0.11.0

func (o *SettingsFlow) GetReturnTo() string

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

func (*SettingsFlow) GetReturnToOk added in v0.11.0

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 added in v0.11.0

func (o *SettingsFlow) GetState() interface{}

GetState returns the State field value If the value is explicit nil, the zero value for interface{} will be returned

func (*SettingsFlow) GetStateOk added in v0.11.0

func (o *SettingsFlow) GetStateOk() (*interface{}, bool)

GetStateOk returns a tuple with the State field value 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 (*SettingsFlow) GetType added in v0.11.0

func (o *SettingsFlow) GetType() string

GetType returns the Type field value

func (*SettingsFlow) GetTypeOk added in v0.11.0

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

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

func (*SettingsFlow) GetUi added in v0.11.0

func (o *SettingsFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*SettingsFlow) GetUiOk added in v0.11.0

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) HasActive added in v0.11.0

func (o *SettingsFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SettingsFlow) HasContinueWith added in v0.13.1

func (o *SettingsFlow) HasContinueWith() bool

HasContinueWith returns a boolean if a field has been set.

func (*SettingsFlow) HasReturnTo added in v0.11.0

func (o *SettingsFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (SettingsFlow) MarshalJSON added in v0.11.0

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

func (*SettingsFlow) SetActive added in v0.11.0

func (o *SettingsFlow) SetActive(v string)

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

func (*SettingsFlow) SetContinueWith added in v0.13.1

func (o *SettingsFlow) SetContinueWith(v []ContinueWith)

SetContinueWith gets a reference to the given []ContinueWith and assigns it to the ContinueWith field.

func (*SettingsFlow) SetExpiresAt added in v0.11.0

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

SetExpiresAt sets field value

func (*SettingsFlow) SetId added in v0.11.0

func (o *SettingsFlow) SetId(v string)

SetId sets field value

func (*SettingsFlow) SetIdentity added in v0.11.0

func (o *SettingsFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*SettingsFlow) SetIssuedAt added in v0.11.0

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

SetIssuedAt sets field value

func (*SettingsFlow) SetRequestUrl added in v0.11.0

func (o *SettingsFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SettingsFlow) SetReturnTo added in v0.11.0

func (o *SettingsFlow) SetReturnTo(v string)

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

func (*SettingsFlow) SetState added in v0.11.0

func (o *SettingsFlow) SetState(v interface{})

SetState sets field value

func (*SettingsFlow) SetType added in v0.11.0

func (o *SettingsFlow) SetType(v string)

SetType sets field value

func (*SettingsFlow) SetUi added in v0.11.0

func (o *SettingsFlow) SetUi(v UiContainer)

SetUi sets field value

func (SettingsFlow) ToMap added in v1.1.0

func (o SettingsFlow) ToMap() (map[string]interface{}, error)

func (*SettingsFlow) UnmarshalJSON added in v1.0.0

func (o *SettingsFlow) UnmarshalJSON(bytes []byte) (err error)

type SettingsFlowState added in v0.11.0

type SettingsFlowState string

SettingsFlowState 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 (
	SETTINGSFLOWSTATE_SHOW_FORM SettingsFlowState = "show_form"
	SETTINGSFLOWSTATE_SUCCESS   SettingsFlowState = "success"
)

List of settingsFlowState

func NewSettingsFlowStateFromValue added in v0.11.0

func NewSettingsFlowStateFromValue(v string) (*SettingsFlowState, error)

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

func (SettingsFlowState) IsValid added in v0.11.0

func (v SettingsFlowState) IsValid() bool

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

func (SettingsFlowState) Ptr added in v0.11.0

Ptr returns reference to settingsFlowState value

func (*SettingsFlowState) UnmarshalJSON added in v0.11.0

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

type SuccessfulCodeExchangeResponse added in v1.0.0

type SuccessfulCodeExchangeResponse 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"`
	AdditionalProperties map[string]interface{}
}

SuccessfulCodeExchangeResponse The Response for Registration Flows via API

func NewSuccessfulCodeExchangeResponse added in v1.0.0

func NewSuccessfulCodeExchangeResponse(session Session) *SuccessfulCodeExchangeResponse

NewSuccessfulCodeExchangeResponse instantiates a new SuccessfulCodeExchangeResponse 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 NewSuccessfulCodeExchangeResponseWithDefaults added in v1.0.0

func NewSuccessfulCodeExchangeResponseWithDefaults() *SuccessfulCodeExchangeResponse

NewSuccessfulCodeExchangeResponseWithDefaults instantiates a new SuccessfulCodeExchangeResponse 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 (*SuccessfulCodeExchangeResponse) GetSession added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) GetSession() Session

GetSession returns the Session field value

func (*SuccessfulCodeExchangeResponse) GetSessionOk added in v1.0.0

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

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

func (*SuccessfulCodeExchangeResponse) GetSessionToken added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) GetSessionToken() string

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

func (*SuccessfulCodeExchangeResponse) GetSessionTokenOk added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) 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 (*SuccessfulCodeExchangeResponse) HasSessionToken added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulCodeExchangeResponse) MarshalJSON added in v1.0.0

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

func (*SuccessfulCodeExchangeResponse) SetSession added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) SetSession(v Session)

SetSession sets field value

func (*SuccessfulCodeExchangeResponse) SetSessionToken added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) SetSessionToken(v string)

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

func (SuccessfulCodeExchangeResponse) ToMap added in v1.1.0

func (o SuccessfulCodeExchangeResponse) ToMap() (map[string]interface{}, error)

func (*SuccessfulCodeExchangeResponse) UnmarshalJSON added in v1.0.0

func (o *SuccessfulCodeExchangeResponse) UnmarshalJSON(bytes []byte) (err error)

type SuccessfulNativeLogin added in v0.11.0

type SuccessfulNativeLogin 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"`
	AdditionalProperties map[string]interface{}
}

SuccessfulNativeLogin The Response for Login Flows via API

func NewSuccessfulNativeLogin added in v0.11.0

func NewSuccessfulNativeLogin(session Session) *SuccessfulNativeLogin

NewSuccessfulNativeLogin instantiates a new SuccessfulNativeLogin 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 NewSuccessfulNativeLoginWithDefaults added in v0.11.0

func NewSuccessfulNativeLoginWithDefaults() *SuccessfulNativeLogin

NewSuccessfulNativeLoginWithDefaults instantiates a new SuccessfulNativeLogin 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 (*SuccessfulNativeLogin) GetSession added in v0.11.0

func (o *SuccessfulNativeLogin) GetSession() Session

GetSession returns the Session field value

func (*SuccessfulNativeLogin) GetSessionOk added in v0.11.0

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

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

func (*SuccessfulNativeLogin) GetSessionToken added in v0.11.0

func (o *SuccessfulNativeLogin) GetSessionToken() string

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

func (*SuccessfulNativeLogin) GetSessionTokenOk added in v0.11.0

func (o *SuccessfulNativeLogin) 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 (*SuccessfulNativeLogin) HasSessionToken added in v0.11.0

func (o *SuccessfulNativeLogin) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulNativeLogin) MarshalJSON added in v0.11.0

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

func (*SuccessfulNativeLogin) SetSession added in v0.11.0

func (o *SuccessfulNativeLogin) SetSession(v Session)

SetSession sets field value

func (*SuccessfulNativeLogin) SetSessionToken added in v0.11.0

func (o *SuccessfulNativeLogin) SetSessionToken(v string)

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

func (SuccessfulNativeLogin) ToMap added in v1.1.0

func (o SuccessfulNativeLogin) ToMap() (map[string]interface{}, error)

func (*SuccessfulNativeLogin) UnmarshalJSON added in v1.0.0

func (o *SuccessfulNativeLogin) UnmarshalJSON(bytes []byte) (err error)

type SuccessfulNativeRegistration added in v0.11.0

type SuccessfulNativeRegistration struct {
	// Contains a list of actions, that could follow this flow  It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session.
	ContinueWith []ContinueWith `json:"continue_with,omitempty"`
	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"`
	AdditionalProperties map[string]interface{}
}

SuccessfulNativeRegistration The Response for Registration Flows via API

func NewSuccessfulNativeRegistration added in v0.11.0

func NewSuccessfulNativeRegistration(identity Identity) *SuccessfulNativeRegistration

NewSuccessfulNativeRegistration instantiates a new SuccessfulNativeRegistration 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 NewSuccessfulNativeRegistrationWithDefaults added in v0.11.0

func NewSuccessfulNativeRegistrationWithDefaults() *SuccessfulNativeRegistration

NewSuccessfulNativeRegistrationWithDefaults instantiates a new SuccessfulNativeRegistration 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 (*SuccessfulNativeRegistration) GetContinueWith added in v0.13.1

func (o *SuccessfulNativeRegistration) GetContinueWith() []ContinueWith

GetContinueWith returns the ContinueWith field value if set, zero value otherwise.

func (*SuccessfulNativeRegistration) GetContinueWithOk added in v0.13.1

func (o *SuccessfulNativeRegistration) GetContinueWithOk() ([]ContinueWith, bool)

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

func (*SuccessfulNativeRegistration) GetIdentity added in v0.11.0

func (o *SuccessfulNativeRegistration) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SuccessfulNativeRegistration) GetIdentityOk added in v0.11.0

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

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

func (*SuccessfulNativeRegistration) GetSession added in v0.11.0

func (o *SuccessfulNativeRegistration) GetSession() Session

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

func (*SuccessfulNativeRegistration) GetSessionOk added in v0.11.0

func (o *SuccessfulNativeRegistration) 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 (*SuccessfulNativeRegistration) GetSessionToken added in v0.11.0

func (o *SuccessfulNativeRegistration) GetSessionToken() string

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

func (*SuccessfulNativeRegistration) GetSessionTokenOk added in v0.11.0

func (o *SuccessfulNativeRegistration) 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 (*SuccessfulNativeRegistration) HasContinueWith added in v0.13.1

func (o *SuccessfulNativeRegistration) HasContinueWith() bool

HasContinueWith returns a boolean if a field has been set.

func (*SuccessfulNativeRegistration) HasSession added in v0.11.0

func (o *SuccessfulNativeRegistration) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*SuccessfulNativeRegistration) HasSessionToken added in v0.11.0

func (o *SuccessfulNativeRegistration) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulNativeRegistration) MarshalJSON added in v0.11.0

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

func (*SuccessfulNativeRegistration) SetContinueWith added in v0.13.1

func (o *SuccessfulNativeRegistration) SetContinueWith(v []ContinueWith)

SetContinueWith gets a reference to the given []ContinueWith and assigns it to the ContinueWith field.

func (*SuccessfulNativeRegistration) SetIdentity added in v0.11.0

func (o *SuccessfulNativeRegistration) SetIdentity(v Identity)

SetIdentity sets field value

func (*SuccessfulNativeRegistration) SetSession added in v0.11.0

func (o *SuccessfulNativeRegistration) SetSession(v Session)

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

func (*SuccessfulNativeRegistration) SetSessionToken added in v0.11.0

func (o *SuccessfulNativeRegistration) SetSessionToken(v string)

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

func (SuccessfulNativeRegistration) ToMap added in v1.1.0

func (o SuccessfulNativeRegistration) ToMap() (map[string]interface{}, error)

func (*SuccessfulNativeRegistration) UnmarshalJSON added in v1.0.0

func (o *SuccessfulNativeRegistration) UnmarshalJSON(bytes []byte) (err error)

type TokenPagination added in v0.11.0

type TokenPagination struct {
	// Items per page  This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
	PageSize *int64 `json:"page_size,omitempty"`
	// Next Page Token  The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
	PageToken            *string `json:"page_token,omitempty"`
	AdditionalProperties map[string]interface{}
}

TokenPagination struct for TokenPagination

func NewTokenPagination added in v0.11.0

func NewTokenPagination() *TokenPagination

NewTokenPagination instantiates a new TokenPagination 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 NewTokenPaginationWithDefaults added in v0.11.0

func NewTokenPaginationWithDefaults() *TokenPagination

NewTokenPaginationWithDefaults instantiates a new TokenPagination 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 (*TokenPagination) GetPageSize added in v0.11.0

func (o *TokenPagination) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*TokenPagination) GetPageSizeOk added in v0.11.0

func (o *TokenPagination) GetPageSizeOk() (*int64, bool)

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

func (*TokenPagination) GetPageToken added in v0.11.0

func (o *TokenPagination) GetPageToken() string

GetPageToken returns the PageToken field value if set, zero value otherwise.

func (*TokenPagination) GetPageTokenOk added in v0.11.0

func (o *TokenPagination) GetPageTokenOk() (*string, bool)

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

func (*TokenPagination) HasPageSize added in v0.11.0

func (o *TokenPagination) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*TokenPagination) HasPageToken added in v0.11.0

func (o *TokenPagination) HasPageToken() bool

HasPageToken returns a boolean if a field has been set.

func (TokenPagination) MarshalJSON added in v0.11.0

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

func (*TokenPagination) SetPageSize added in v0.11.0

func (o *TokenPagination) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*TokenPagination) SetPageToken added in v0.11.0

func (o *TokenPagination) SetPageToken(v string)

SetPageToken gets a reference to the given string and assigns it to the PageToken field.

func (TokenPagination) ToMap added in v1.1.0

func (o TokenPagination) ToMap() (map[string]interface{}, error)

func (*TokenPagination) UnmarshalJSON added in v1.0.0

func (o *TokenPagination) UnmarshalJSON(bytes []byte) (err error)

type TokenPaginationHeaders added in v0.11.0

type TokenPaginationHeaders struct {
	// The link header contains pagination links.  For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).  in: header
	Link *string `json:"link,omitempty"`
	// The total number of clients.  in: header
	XTotalCount          *string `json:"x-total-count,omitempty"`
	AdditionalProperties map[string]interface{}
}

TokenPaginationHeaders struct for TokenPaginationHeaders

func NewTokenPaginationHeaders added in v0.11.0

func NewTokenPaginationHeaders() *TokenPaginationHeaders

NewTokenPaginationHeaders instantiates a new TokenPaginationHeaders 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 NewTokenPaginationHeadersWithDefaults added in v0.11.0

func NewTokenPaginationHeadersWithDefaults() *TokenPaginationHeaders

NewTokenPaginationHeadersWithDefaults instantiates a new TokenPaginationHeaders 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 (o *TokenPaginationHeaders) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*TokenPaginationHeaders) GetLinkOk added in v0.11.0

func (o *TokenPaginationHeaders) GetLinkOk() (*string, bool)

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

func (*TokenPaginationHeaders) GetXTotalCount added in v0.11.0

func (o *TokenPaginationHeaders) GetXTotalCount() string

GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.

func (*TokenPaginationHeaders) GetXTotalCountOk added in v0.11.0

func (o *TokenPaginationHeaders) GetXTotalCountOk() (*string, bool)

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

func (o *TokenPaginationHeaders) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*TokenPaginationHeaders) HasXTotalCount added in v0.11.0

func (o *TokenPaginationHeaders) HasXTotalCount() bool

HasXTotalCount returns a boolean if a field has been set.

func (TokenPaginationHeaders) MarshalJSON added in v0.11.0

func (o TokenPaginationHeaders) MarshalJSON() ([]byte, error)
func (o *TokenPaginationHeaders) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*TokenPaginationHeaders) SetXTotalCount added in v0.11.0

func (o *TokenPaginationHeaders) SetXTotalCount(v string)

SetXTotalCount gets a reference to the given string and assigns it to the XTotalCount field.

func (TokenPaginationHeaders) ToMap added in v1.1.0

func (o TokenPaginationHeaders) ToMap() (map[string]interface{}, error)

func (*TokenPaginationHeaders) UnmarshalJSON added in v1.0.0

func (o *TokenPaginationHeaders) UnmarshalJSON(bytes []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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

func (UiContainer) ToMap added in v1.1.0

func (o UiContainer) ToMap() (map[string]interface{}, error)

func (*UiContainer) UnmarshalJSON added in v1.0.0

func (o *UiContainer) UnmarshalJSON(bytes []byte) (err error)

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 code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup
	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"`
	AdditionalProperties map[string]interface{}
}

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

func (UiNode) ToMap added in v1.1.0

func (o UiNode) ToMap() (map[string]interface{}, error)

func (*UiNode) UnmarshalJSON added in v1.0.0

func (o *UiNode) UnmarshalJSON(bytes []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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

func (UiNodeAnchorAttributes) ToMap added in v1.1.0

func (o UiNodeAnchorAttributes) ToMap() (map[string]interface{}, error)

func (*UiNodeAnchorAttributes) UnmarshalJSON added in v1.0.0

func (o *UiNodeAnchorAttributes) UnmarshalJSON(bytes []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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

func (UiNodeImageAttributes) ToMap added in v1.1.0

func (o UiNodeImageAttributes) ToMap() (map[string]interface{}, error)

func (*UiNodeImageAttributes) UnmarshalJSON added in v1.0.0

func (o *UiNodeImageAttributes) UnmarshalJSON(bytes []byte) (err error)

type UiNodeInputAttributes

type UiNodeInputAttributes struct {
	// The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode
	Autocomplete *string `json:"autocomplete,omitempty"`
	// Sets the input's disabled field to true or false.
	Disabled bool    `json:"disabled"`
	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,omitempty"`
	// The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI
	Type string `json:"type"`
	// The input's value.
	Value                interface{} `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

UiNodeInputAttributes InputAttributes represents the attributes of an input node

func NewUiNodeInputAttributes

func NewUiNodeInputAttributes(disabled bool, name string, nodeType string, 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) GetAutocomplete added in v0.11.0

func (o *UiNodeInputAttributes) GetAutocomplete() string

GetAutocomplete returns the Autocomplete field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetAutocompleteOk added in v0.11.0

func (o *UiNodeInputAttributes) GetAutocompleteOk() (*string, bool)

GetAutocompleteOk returns a tuple with the Autocomplete 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) 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 if set, zero value otherwise.

func (*UiNodeInputAttributes) GetRequiredOk

func (o *UiNodeInputAttributes) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field value if set, nil otherwise 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) HasAutocomplete added in v0.11.0

func (o *UiNodeInputAttributes) HasAutocomplete() bool

HasAutocomplete 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) HasRequired

func (o *UiNodeInputAttributes) HasRequired() bool

HasRequired 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) SetAutocomplete added in v0.11.0

func (o *UiNodeInputAttributes) SetAutocomplete(v string)

SetAutocomplete gets a reference to the given string and assigns it to the Autocomplete field.

func (*UiNodeInputAttributes) SetDisabled

func (o *UiNodeInputAttributes) SetDisabled(v bool)

SetDisabled 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 gets a reference to the given bool and assigns it to the Required field.

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.

func (UiNodeInputAttributes) ToMap added in v1.1.0

func (o UiNodeInputAttributes) ToMap() (map[string]interface{}, error)

func (*UiNodeInputAttributes) UnmarshalJSON added in v1.0.0

func (o *UiNodeInputAttributes) UnmarshalJSON(bytes []byte) (err error)

type UiNodeMeta

type UiNodeMeta struct {
	Label                *UiText `json:"label,omitempty"`
	AdditionalProperties map[string]interface{}
}

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.

func (UiNodeMeta) ToMap added in v1.1.0

func (o UiNodeMeta) ToMap() (map[string]interface{}, error)

func (*UiNodeMeta) UnmarshalJSON added in v1.0.0

func (o *UiNodeMeta) UnmarshalJSON(bytes []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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

func (UiNodeScriptAttributes) ToMap added in v1.1.0

func (o UiNodeScriptAttributes) ToMap() (map[string]interface{}, error)

func (*UiNodeScriptAttributes) UnmarshalJSON added in v1.0.0

func (o *UiNodeScriptAttributes) UnmarshalJSON(bytes []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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

func (UiNodeTextAttributes) ToMap added in v1.1.0

func (o UiNodeTextAttributes) ToMap() (map[string]interface{}, error)

func (*UiNodeTextAttributes) UnmarshalJSON added in v1.0.0

func (o *UiNodeTextAttributes) UnmarshalJSON(bytes []byte) (err error)

type UiText

type UiText struct {
	// The message's context. Useful when customizing messages.
	Context map[string]interface{} `json:"context,omitempty"`
	Id      int64                  `json:"id"`
	// The message text. Written in american english.
	Text string `json:"text"`
	// The message type. info Info error Error success Success
	Type                 string `json:"type"`
	AdditionalProperties map[string]interface{}
}

UiText struct for UiText

func NewUiText

func NewUiText(id int64, 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() int64

GetId returns the Id field value

func (*UiText) GetIdOk

func (o *UiText) GetIdOk() (*int64, 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 int64)

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

func (UiText) ToMap added in v1.1.0

func (o UiText) ToMap() (map[string]interface{}, error)

func (*UiText) UnmarshalJSON added in v1.0.0

func (o *UiText) UnmarshalJSON(bytes []byte) (err error)

type UpdateIdentityBody added in v0.11.0

type UpdateIdentityBody struct {
	Credentials *IdentityWithCredentials `json:"credentials,omitempty"`
	// Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`.
	MetadataAdmin interface{} `json:"metadata_admin,omitempty"`
	// Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field.
	MetadataPublic interface{} `json:"metadata_public,omitempty"`
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID.
	SchemaId string `json:"schema_id"`
	// State is the identity's state. active StateActive inactive StateInactive
	State string `json:"state"`
	// Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`.
	Traits               map[string]interface{} `json:"traits"`
	AdditionalProperties map[string]interface{}
}

UpdateIdentityBody Update Identity Body

func NewUpdateIdentityBody added in v0.11.0

func NewUpdateIdentityBody(schemaId string, state string, traits map[string]interface{}) *UpdateIdentityBody

NewUpdateIdentityBody instantiates a new UpdateIdentityBody 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 NewUpdateIdentityBodyWithDefaults added in v0.11.0

func NewUpdateIdentityBodyWithDefaults() *UpdateIdentityBody

NewUpdateIdentityBodyWithDefaults instantiates a new UpdateIdentityBody 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 (*UpdateIdentityBody) GetCredentials added in v0.11.0

func (o *UpdateIdentityBody) GetCredentials() IdentityWithCredentials

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

func (*UpdateIdentityBody) GetCredentialsOk added in v0.11.0

func (o *UpdateIdentityBody) GetCredentialsOk() (*IdentityWithCredentials, 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 (*UpdateIdentityBody) GetMetadataAdmin added in v0.11.0

func (o *UpdateIdentityBody) GetMetadataAdmin() interface{}

GetMetadataAdmin returns the MetadataAdmin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateIdentityBody) GetMetadataAdminOk added in v0.11.0

func (o *UpdateIdentityBody) GetMetadataAdminOk() (*interface{}, bool)

GetMetadataAdminOk returns a tuple with the MetadataAdmin 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 (*UpdateIdentityBody) GetMetadataPublic added in v0.11.0

func (o *UpdateIdentityBody) GetMetadataPublic() interface{}

GetMetadataPublic returns the MetadataPublic field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateIdentityBody) GetMetadataPublicOk added in v0.11.0

func (o *UpdateIdentityBody) GetMetadataPublicOk() (*interface{}, bool)

GetMetadataPublicOk returns a tuple with the MetadataPublic 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 (*UpdateIdentityBody) GetSchemaId added in v0.11.0

func (o *UpdateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*UpdateIdentityBody) GetSchemaIdOk added in v0.11.0

func (o *UpdateIdentityBody) GetSchemaIdOk() (*string, bool)

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

func (*UpdateIdentityBody) GetState added in v0.11.0

func (o *UpdateIdentityBody) GetState() string

GetState returns the State field value

func (*UpdateIdentityBody) GetStateOk added in v0.11.0

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

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

func (*UpdateIdentityBody) GetTraits added in v0.11.0

func (o *UpdateIdentityBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*UpdateIdentityBody) GetTraitsOk added in v0.11.0

func (o *UpdateIdentityBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*UpdateIdentityBody) HasCredentials added in v0.11.0

func (o *UpdateIdentityBody) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*UpdateIdentityBody) HasMetadataAdmin added in v0.11.0

func (o *UpdateIdentityBody) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*UpdateIdentityBody) HasMetadataPublic added in v0.11.0

func (o *UpdateIdentityBody) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (UpdateIdentityBody) MarshalJSON added in v0.11.0

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

func (*UpdateIdentityBody) SetCredentials added in v0.11.0

func (o *UpdateIdentityBody) SetCredentials(v IdentityWithCredentials)

SetCredentials gets a reference to the given IdentityWithCredentials and assigns it to the Credentials field.

func (*UpdateIdentityBody) SetMetadataAdmin added in v0.11.0

func (o *UpdateIdentityBody) SetMetadataAdmin(v interface{})

SetMetadataAdmin gets a reference to the given interface{} and assigns it to the MetadataAdmin field.

func (*UpdateIdentityBody) SetMetadataPublic added in v0.11.0

func (o *UpdateIdentityBody) SetMetadataPublic(v interface{})

SetMetadataPublic gets a reference to the given interface{} and assigns it to the MetadataPublic field.

func (*UpdateIdentityBody) SetSchemaId added in v0.11.0

func (o *UpdateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*UpdateIdentityBody) SetState added in v0.11.0

func (o *UpdateIdentityBody) SetState(v string)

SetState sets field value

func (*UpdateIdentityBody) SetTraits added in v0.11.0

func (o *UpdateIdentityBody) SetTraits(v map[string]interface{})

SetTraits sets field value

func (UpdateIdentityBody) ToMap added in v1.1.0

func (o UpdateIdentityBody) ToMap() (map[string]interface{}, error)

func (*UpdateIdentityBody) UnmarshalJSON added in v1.0.0

func (o *UpdateIdentityBody) UnmarshalJSON(bytes []byte) (err error)

type UpdateLoginFlowBody added in v0.11.0

type UpdateLoginFlowBody struct {
	UpdateLoginFlowWithCodeMethod         *UpdateLoginFlowWithCodeMethod
	UpdateLoginFlowWithLookupSecretMethod *UpdateLoginFlowWithLookupSecretMethod
	UpdateLoginFlowWithOidcMethod         *UpdateLoginFlowWithOidcMethod
	UpdateLoginFlowWithPasswordMethod     *UpdateLoginFlowWithPasswordMethod
	UpdateLoginFlowWithTotpMethod         *UpdateLoginFlowWithTotpMethod
	UpdateLoginFlowWithWebAuthnMethod     *UpdateLoginFlowWithWebAuthnMethod
}

UpdateLoginFlowBody - struct for UpdateLoginFlowBody

func UpdateLoginFlowWithCodeMethodAsUpdateLoginFlowBody added in v1.1.0

func UpdateLoginFlowWithCodeMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithCodeMethod) UpdateLoginFlowBody

UpdateLoginFlowWithCodeMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithCodeMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithLookupSecretMethodAsUpdateLoginFlowBody added in v0.11.0

func UpdateLoginFlowWithLookupSecretMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithLookupSecretMethod) UpdateLoginFlowBody

UpdateLoginFlowWithLookupSecretMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithLookupSecretMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithOidcMethodAsUpdateLoginFlowBody added in v0.11.0

func UpdateLoginFlowWithOidcMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithOidcMethod) UpdateLoginFlowBody

UpdateLoginFlowWithOidcMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithOidcMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithPasswordMethodAsUpdateLoginFlowBody added in v0.11.0

func UpdateLoginFlowWithPasswordMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithPasswordMethod) UpdateLoginFlowBody

UpdateLoginFlowWithPasswordMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithPasswordMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithTotpMethodAsUpdateLoginFlowBody added in v0.11.0

func UpdateLoginFlowWithTotpMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithTotpMethod) UpdateLoginFlowBody

UpdateLoginFlowWithTotpMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithTotpMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithWebAuthnMethodAsUpdateLoginFlowBody added in v0.11.0

func UpdateLoginFlowWithWebAuthnMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithWebAuthnMethod) UpdateLoginFlowBody

UpdateLoginFlowWithWebAuthnMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithWebAuthnMethod wrapped in UpdateLoginFlowBody

func (*UpdateLoginFlowBody) GetActualInstance added in v0.11.0

func (obj *UpdateLoginFlowBody) GetActualInstance() interface{}

Get the actual instance

func (UpdateLoginFlowBody) MarshalJSON added in v0.11.0

func (src UpdateLoginFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UpdateLoginFlowBody) UnmarshalJSON added in v0.11.0

func (dst *UpdateLoginFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UpdateLoginFlowWithCodeMethod added in v1.1.0

type UpdateLoginFlowWithCodeMethod struct {
	// Code is the 6 digits code sent to the user
	Code *string `json:"code,omitempty"`
	// CSRFToken is the anti-CSRF token
	CsrfToken string `json:"csrf_token"`
	// Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow.
	Identifier *string `json:"identifier,omitempty"`
	// Method should be set to \"code\" when logging in using the code strategy.
	Method string `json:"method"`
	// Resend is set when the user wants to resend the code
	Resend               *string `json:"resend,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateLoginFlowWithCodeMethod Update Login flow using the code method

func NewUpdateLoginFlowWithCodeMethod added in v1.1.0

func NewUpdateLoginFlowWithCodeMethod(csrfToken string, method string) *UpdateLoginFlowWithCodeMethod

NewUpdateLoginFlowWithCodeMethod instantiates a new UpdateLoginFlowWithCodeMethod 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 NewUpdateLoginFlowWithCodeMethodWithDefaults added in v1.1.0

func NewUpdateLoginFlowWithCodeMethodWithDefaults() *UpdateLoginFlowWithCodeMethod

NewUpdateLoginFlowWithCodeMethodWithDefaults instantiates a new UpdateLoginFlowWithCodeMethod 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 (*UpdateLoginFlowWithCodeMethod) GetCode added in v1.1.0

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

func (*UpdateLoginFlowWithCodeMethod) GetCodeOk added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetCodeOk() (*string, 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 (*UpdateLoginFlowWithCodeMethod) GetCsrfToken added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value

func (*UpdateLoginFlowWithCodeMethod) GetCsrfTokenOk added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetCsrfTokenOk() (*string, bool)

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

func (*UpdateLoginFlowWithCodeMethod) GetIdentifier added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetIdentifier() string

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

func (*UpdateLoginFlowWithCodeMethod) GetIdentifierOk added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) 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 (*UpdateLoginFlowWithCodeMethod) GetMethod added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetMethod() string

GetMethod returns the Method field value

func (*UpdateLoginFlowWithCodeMethod) GetMethodOk added in v1.1.0

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

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

func (*UpdateLoginFlowWithCodeMethod) GetResend added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetResend() string

GetResend returns the Resend field value if set, zero value otherwise.

func (*UpdateLoginFlowWithCodeMethod) GetResendOk added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) GetResendOk() (*string, bool)

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

func (*UpdateLoginFlowWithCodeMethod) HasCode added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*UpdateLoginFlowWithCodeMethod) HasIdentifier added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) HasIdentifier() bool

HasIdentifier returns a boolean if a field has been set.

func (*UpdateLoginFlowWithCodeMethod) HasResend added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) HasResend() bool

HasResend returns a boolean if a field has been set.

func (UpdateLoginFlowWithCodeMethod) MarshalJSON added in v1.1.0

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

func (*UpdateLoginFlowWithCodeMethod) SetCode added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) SetCode(v string)

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

func (*UpdateLoginFlowWithCodeMethod) SetCsrfToken added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) SetCsrfToken(v string)

SetCsrfToken sets field value

func (*UpdateLoginFlowWithCodeMethod) SetIdentifier added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) SetIdentifier(v string)

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

func (*UpdateLoginFlowWithCodeMethod) SetMethod added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithCodeMethod) SetResend added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) SetResend(v string)

SetResend gets a reference to the given string and assigns it to the Resend field.

func (UpdateLoginFlowWithCodeMethod) ToMap added in v1.1.0

func (o UpdateLoginFlowWithCodeMethod) ToMap() (map[string]interface{}, error)

func (*UpdateLoginFlowWithCodeMethod) UnmarshalJSON added in v1.1.0

func (o *UpdateLoginFlowWithCodeMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateLoginFlowWithLookupSecretMethod added in v0.11.0

type UpdateLoginFlowWithLookupSecretMethod struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// The lookup secret.
	LookupSecret string `json:"lookup_secret"`
	// Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.
	Method               string `json:"method"`
	AdditionalProperties map[string]interface{}
}

UpdateLoginFlowWithLookupSecretMethod Update Login Flow with Lookup Secret Method

func NewUpdateLoginFlowWithLookupSecretMethod added in v0.11.0

func NewUpdateLoginFlowWithLookupSecretMethod(lookupSecret string, method string) *UpdateLoginFlowWithLookupSecretMethod

NewUpdateLoginFlowWithLookupSecretMethod instantiates a new UpdateLoginFlowWithLookupSecretMethod 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 NewUpdateLoginFlowWithLookupSecretMethodWithDefaults added in v0.11.0

func NewUpdateLoginFlowWithLookupSecretMethodWithDefaults() *UpdateLoginFlowWithLookupSecretMethod

NewUpdateLoginFlowWithLookupSecretMethodWithDefaults instantiates a new UpdateLoginFlowWithLookupSecretMethod 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 (*UpdateLoginFlowWithLookupSecretMethod) GetCsrfToken added in v0.11.0

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithLookupSecretMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateLoginFlowWithLookupSecretMethod) 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 (*UpdateLoginFlowWithLookupSecretMethod) GetLookupSecret added in v0.11.0

func (o *UpdateLoginFlowWithLookupSecretMethod) GetLookupSecret() string

GetLookupSecret returns the LookupSecret field value

func (*UpdateLoginFlowWithLookupSecretMethod) GetLookupSecretOk added in v0.11.0

func (o *UpdateLoginFlowWithLookupSecretMethod) GetLookupSecretOk() (*string, bool)

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

func (*UpdateLoginFlowWithLookupSecretMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateLoginFlowWithLookupSecretMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithLookupSecretMethod) HasCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithLookupSecretMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateLoginFlowWithLookupSecretMethod) MarshalJSON added in v0.11.0

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

func (*UpdateLoginFlowWithLookupSecretMethod) SetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithLookupSecretMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithLookupSecretMethod) SetLookupSecret added in v0.11.0

func (o *UpdateLoginFlowWithLookupSecretMethod) SetLookupSecret(v string)

SetLookupSecret sets field value

func (*UpdateLoginFlowWithLookupSecretMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (UpdateLoginFlowWithLookupSecretMethod) ToMap added in v1.1.0

func (o UpdateLoginFlowWithLookupSecretMethod) ToMap() (map[string]interface{}, error)

func (*UpdateLoginFlowWithLookupSecretMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateLoginFlowWithLookupSecretMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateLoginFlowWithOidcMethod added in v0.11.0

type UpdateLoginFlowWithOidcMethod struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// IDToken is an optional id token provided by an OIDC provider  If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.  Supported providers are Apple
	IdToken *string `json:"id_token,omitempty"`
	// IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required.
	IdTokenNonce *string `json:"id_token_nonce,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"`
	// The identity traits. This is a placeholder for the registration flow.
	Traits map[string]interface{} `json:"traits,omitempty"`
	// UpstreamParameters are the parameters that are passed to the upstream identity provider.  These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
	UpstreamParameters   map[string]interface{} `json:"upstream_parameters,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateLoginFlowWithOidcMethod Update Login Flow with OpenID Connect Method

func NewUpdateLoginFlowWithOidcMethod added in v0.11.0

func NewUpdateLoginFlowWithOidcMethod(method string, provider string) *UpdateLoginFlowWithOidcMethod

NewUpdateLoginFlowWithOidcMethod instantiates a new UpdateLoginFlowWithOidcMethod 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 NewUpdateLoginFlowWithOidcMethodWithDefaults added in v0.11.0

func NewUpdateLoginFlowWithOidcMethodWithDefaults() *UpdateLoginFlowWithOidcMethod

NewUpdateLoginFlowWithOidcMethodWithDefaults instantiates a new UpdateLoginFlowWithOidcMethod 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 (*UpdateLoginFlowWithOidcMethod) GetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) 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 (*UpdateLoginFlowWithOidcMethod) GetIdToken added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) GetIdToken() string

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetIdTokenNonce added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) GetIdTokenNonce() string

GetIdTokenNonce returns the IdTokenNonce field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetIdTokenNonceOk added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) GetIdTokenNonceOk() (*string, bool)

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

func (*UpdateLoginFlowWithOidcMethod) GetIdTokenOk added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) GetIdTokenOk() (*string, bool)

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

func (*UpdateLoginFlowWithOidcMethod) GetMethod added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) GetMethod() string

GetMethod returns the Method field value

func (*UpdateLoginFlowWithOidcMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithOidcMethod) GetProvider added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) GetProvider() string

GetProvider returns the Provider field value

func (*UpdateLoginFlowWithOidcMethod) GetProviderOk added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) GetProviderOk() (*string, bool)

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

func (*UpdateLoginFlowWithOidcMethod) GetTraits added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetTraitsOk added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) GetTraitsOk() (map[string]interface{}, bool)

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

func (*UpdateLoginFlowWithOidcMethod) GetUpstreamParameters added in v0.13.1

func (o *UpdateLoginFlowWithOidcMethod) GetUpstreamParameters() map[string]interface{}

GetUpstreamParameters returns the UpstreamParameters field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetUpstreamParametersOk added in v0.13.1

func (o *UpdateLoginFlowWithOidcMethod) GetUpstreamParametersOk() (map[string]interface{}, bool)

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

func (*UpdateLoginFlowWithOidcMethod) HasCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateLoginFlowWithOidcMethod) HasIdToken added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) HasIdToken() bool

HasIdToken returns a boolean if a field has been set.

func (*UpdateLoginFlowWithOidcMethod) HasIdTokenNonce added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) HasIdTokenNonce() bool

HasIdTokenNonce returns a boolean if a field has been set.

func (*UpdateLoginFlowWithOidcMethod) HasTraits added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) HasTraits() bool

HasTraits returns a boolean if a field has been set.

func (*UpdateLoginFlowWithOidcMethod) HasUpstreamParameters added in v0.13.1

func (o *UpdateLoginFlowWithOidcMethod) HasUpstreamParameters() bool

HasUpstreamParameters returns a boolean if a field has been set.

func (UpdateLoginFlowWithOidcMethod) MarshalJSON added in v0.11.0

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

func (*UpdateLoginFlowWithOidcMethod) SetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithOidcMethod) SetIdToken added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) SetIdToken(v string)

SetIdToken gets a reference to the given string and assigns it to the IdToken field.

func (*UpdateLoginFlowWithOidcMethod) SetIdTokenNonce added in v1.1.0

func (o *UpdateLoginFlowWithOidcMethod) SetIdTokenNonce(v string)

SetIdTokenNonce gets a reference to the given string and assigns it to the IdTokenNonce field.

func (*UpdateLoginFlowWithOidcMethod) SetMethod added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithOidcMethod) SetProvider added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) SetProvider(v string)

SetProvider sets field value

func (*UpdateLoginFlowWithOidcMethod) SetTraits added in v0.11.0

func (o *UpdateLoginFlowWithOidcMethod) SetTraits(v map[string]interface{})

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

func (*UpdateLoginFlowWithOidcMethod) SetUpstreamParameters added in v0.13.1

func (o *UpdateLoginFlowWithOidcMethod) SetUpstreamParameters(v map[string]interface{})

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

func (UpdateLoginFlowWithOidcMethod) ToMap added in v1.1.0

func (o UpdateLoginFlowWithOidcMethod) ToMap() (map[string]interface{}, error)

func (*UpdateLoginFlowWithOidcMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateLoginFlowWithOidcMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateLoginFlowWithPasswordMethod added in v0.11.0

type UpdateLoginFlowWithPasswordMethod 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"`
	// Identifier is the email or username of the user trying to log in. This field is deprecated!
	PasswordIdentifier   *string `json:"password_identifier,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateLoginFlowWithPasswordMethod Update Login Flow with Password Method

func NewUpdateLoginFlowWithPasswordMethod added in v0.11.0

func NewUpdateLoginFlowWithPasswordMethod(identifier string, method string, password string) *UpdateLoginFlowWithPasswordMethod

NewUpdateLoginFlowWithPasswordMethod instantiates a new UpdateLoginFlowWithPasswordMethod 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 NewUpdateLoginFlowWithPasswordMethodWithDefaults added in v0.11.0

func NewUpdateLoginFlowWithPasswordMethodWithDefaults() *UpdateLoginFlowWithPasswordMethod

NewUpdateLoginFlowWithPasswordMethodWithDefaults instantiates a new UpdateLoginFlowWithPasswordMethod 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 (*UpdateLoginFlowWithPasswordMethod) GetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithPasswordMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) 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 (*UpdateLoginFlowWithPasswordMethod) GetIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*UpdateLoginFlowWithPasswordMethod) GetIdentifierOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithPasswordMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateLoginFlowWithPasswordMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithPasswordMethod) GetPassword added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) GetPassword() string

GetPassword returns the Password field value

func (*UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifier() string

GetPasswordIdentifier returns the PasswordIdentifier field value if set, zero value otherwise.

func (*UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifierOk added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifierOk() (*string, bool)

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

func (*UpdateLoginFlowWithPasswordMethod) GetPasswordOk added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) GetPasswordOk() (*string, bool)

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

func (*UpdateLoginFlowWithPasswordMethod) HasCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateLoginFlowWithPasswordMethod) HasPasswordIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) HasPasswordIdentifier() bool

HasPasswordIdentifier returns a boolean if a field has been set.

func (UpdateLoginFlowWithPasswordMethod) MarshalJSON added in v0.11.0

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

func (*UpdateLoginFlowWithPasswordMethod) SetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithPasswordMethod) SetIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) SetIdentifier(v string)

SetIdentifier sets field value

func (*UpdateLoginFlowWithPasswordMethod) SetMethod added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithPasswordMethod) SetPassword added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) SetPassword(v string)

SetPassword sets field value

func (*UpdateLoginFlowWithPasswordMethod) SetPasswordIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithPasswordMethod) SetPasswordIdentifier(v string)

SetPasswordIdentifier gets a reference to the given string and assigns it to the PasswordIdentifier field.

func (UpdateLoginFlowWithPasswordMethod) ToMap added in v1.1.0

func (o UpdateLoginFlowWithPasswordMethod) ToMap() (map[string]interface{}, error)

func (*UpdateLoginFlowWithPasswordMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateLoginFlowWithPasswordMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateLoginFlowWithTotpMethod added in v0.11.0

type UpdateLoginFlowWithTotpMethod struct {
	// 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 TOTP code.
	TotpCode             string `json:"totp_code"`
	AdditionalProperties map[string]interface{}
}

UpdateLoginFlowWithTotpMethod Update Login Flow with TOTP Method

func NewUpdateLoginFlowWithTotpMethod added in v0.11.0

func NewUpdateLoginFlowWithTotpMethod(method string, totpCode string) *UpdateLoginFlowWithTotpMethod

NewUpdateLoginFlowWithTotpMethod instantiates a new UpdateLoginFlowWithTotpMethod 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 NewUpdateLoginFlowWithTotpMethodWithDefaults added in v0.11.0

func NewUpdateLoginFlowWithTotpMethodWithDefaults() *UpdateLoginFlowWithTotpMethod

NewUpdateLoginFlowWithTotpMethodWithDefaults instantiates a new UpdateLoginFlowWithTotpMethod 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 (*UpdateLoginFlowWithTotpMethod) GetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithTotpMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) 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 (*UpdateLoginFlowWithTotpMethod) GetMethod added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) GetMethod() string

GetMethod returns the Method field value

func (*UpdateLoginFlowWithTotpMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithTotpMethod) GetTotpCode added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) GetTotpCode() string

GetTotpCode returns the TotpCode field value

func (*UpdateLoginFlowWithTotpMethod) GetTotpCodeOk added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) GetTotpCodeOk() (*string, bool)

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

func (*UpdateLoginFlowWithTotpMethod) HasCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateLoginFlowWithTotpMethod) MarshalJSON added in v0.11.0

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

func (*UpdateLoginFlowWithTotpMethod) SetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithTotpMethod) SetMethod added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithTotpMethod) SetTotpCode added in v0.11.0

func (o *UpdateLoginFlowWithTotpMethod) SetTotpCode(v string)

SetTotpCode sets field value

func (UpdateLoginFlowWithTotpMethod) ToMap added in v1.1.0

func (o UpdateLoginFlowWithTotpMethod) ToMap() (map[string]interface{}, error)

func (*UpdateLoginFlowWithTotpMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateLoginFlowWithTotpMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateLoginFlowWithWebAuthnMethod added in v0.11.0

type UpdateLoginFlowWithWebAuthnMethod 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 \"webAuthn\" when logging in using the WebAuthn strategy.
	Method string `json:"method"`
	// Login a WebAuthn Security Key  This must contain the ID of the WebAuthN connection.
	WebauthnLogin        *string `json:"webauthn_login,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateLoginFlowWithWebAuthnMethod Update Login Flow with WebAuthn Method

func NewUpdateLoginFlowWithWebAuthnMethod added in v0.11.0

func NewUpdateLoginFlowWithWebAuthnMethod(identifier string, method string) *UpdateLoginFlowWithWebAuthnMethod

NewUpdateLoginFlowWithWebAuthnMethod instantiates a new UpdateLoginFlowWithWebAuthnMethod 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 NewUpdateLoginFlowWithWebAuthnMethodWithDefaults added in v0.11.0

func NewUpdateLoginFlowWithWebAuthnMethodWithDefaults() *UpdateLoginFlowWithWebAuthnMethod

NewUpdateLoginFlowWithWebAuthnMethodWithDefaults instantiates a new UpdateLoginFlowWithWebAuthnMethod 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 (*UpdateLoginFlowWithWebAuthnMethod) GetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithWebAuthnMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) 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 (*UpdateLoginFlowWithWebAuthnMethod) GetIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*UpdateLoginFlowWithWebAuthnMethod) GetIdentifierOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithWebAuthnMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateLoginFlowWithWebAuthnMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateLoginFlowWithWebAuthnMethod) GetWebauthnLogin added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) GetWebauthnLogin() string

GetWebauthnLogin returns the WebauthnLogin field value if set, zero value otherwise.

func (*UpdateLoginFlowWithWebAuthnMethod) GetWebauthnLoginOk added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) GetWebauthnLoginOk() (*string, bool)

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

func (*UpdateLoginFlowWithWebAuthnMethod) HasCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateLoginFlowWithWebAuthnMethod) HasWebauthnLogin added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) HasWebauthnLogin() bool

HasWebauthnLogin returns a boolean if a field has been set.

func (UpdateLoginFlowWithWebAuthnMethod) MarshalJSON added in v0.11.0

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

func (*UpdateLoginFlowWithWebAuthnMethod) SetCsrfToken added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithWebAuthnMethod) SetIdentifier added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) SetIdentifier(v string)

SetIdentifier sets field value

func (*UpdateLoginFlowWithWebAuthnMethod) SetMethod added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithWebAuthnMethod) SetWebauthnLogin added in v0.11.0

func (o *UpdateLoginFlowWithWebAuthnMethod) SetWebauthnLogin(v string)

SetWebauthnLogin gets a reference to the given string and assigns it to the WebauthnLogin field.

func (UpdateLoginFlowWithWebAuthnMethod) ToMap added in v1.1.0

func (o UpdateLoginFlowWithWebAuthnMethod) ToMap() (map[string]interface{}, error)

func (*UpdateLoginFlowWithWebAuthnMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateLoginFlowWithWebAuthnMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateRecoveryFlowBody added in v0.11.0

type UpdateRecoveryFlowBody struct {
	UpdateRecoveryFlowWithCodeMethod *UpdateRecoveryFlowWithCodeMethod
	UpdateRecoveryFlowWithLinkMethod *UpdateRecoveryFlowWithLinkMethod
}

UpdateRecoveryFlowBody - Update Recovery Flow Request Body

func UpdateRecoveryFlowWithCodeMethodAsUpdateRecoveryFlowBody added in v0.11.0

func UpdateRecoveryFlowWithCodeMethodAsUpdateRecoveryFlowBody(v *UpdateRecoveryFlowWithCodeMethod) UpdateRecoveryFlowBody

UpdateRecoveryFlowWithCodeMethodAsUpdateRecoveryFlowBody is a convenience function that returns UpdateRecoveryFlowWithCodeMethod wrapped in UpdateRecoveryFlowBody

func UpdateRecoveryFlowWithLinkMethodAsUpdateRecoveryFlowBody added in v0.11.0

func UpdateRecoveryFlowWithLinkMethodAsUpdateRecoveryFlowBody(v *UpdateRecoveryFlowWithLinkMethod) UpdateRecoveryFlowBody

UpdateRecoveryFlowWithLinkMethodAsUpdateRecoveryFlowBody is a convenience function that returns UpdateRecoveryFlowWithLinkMethod wrapped in UpdateRecoveryFlowBody

func (*UpdateRecoveryFlowBody) GetActualInstance added in v0.11.0

func (obj *UpdateRecoveryFlowBody) GetActualInstance() interface{}

Get the actual instance

func (UpdateRecoveryFlowBody) MarshalJSON added in v0.11.0

func (src UpdateRecoveryFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UpdateRecoveryFlowBody) UnmarshalJSON added in v0.11.0

func (dst *UpdateRecoveryFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UpdateRecoveryFlowWithCodeMethod added in v0.11.0

type UpdateRecoveryFlowWithCodeMethod struct {
	// Code from the recovery email  If you want to submit a code, use this field, but make sure to _not_ include the email field, as well.
	Code *string `json:"code,omitempty"`
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// The email address of the account to recover  If the email belongs to a valid account, a recovery email will be sent.  If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications)  If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.  format: email
	Email *string `json:"email,omitempty"`
	// Method is the method that should be used for this recovery flow  Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode
	Method               string `json:"method"`
	AdditionalProperties map[string]interface{}
}

UpdateRecoveryFlowWithCodeMethod Update Recovery Flow with Code Method

func NewUpdateRecoveryFlowWithCodeMethod added in v0.11.0

func NewUpdateRecoveryFlowWithCodeMethod(method string) *UpdateRecoveryFlowWithCodeMethod

NewUpdateRecoveryFlowWithCodeMethod instantiates a new UpdateRecoveryFlowWithCodeMethod 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 NewUpdateRecoveryFlowWithCodeMethodWithDefaults added in v0.11.0

func NewUpdateRecoveryFlowWithCodeMethodWithDefaults() *UpdateRecoveryFlowWithCodeMethod

NewUpdateRecoveryFlowWithCodeMethodWithDefaults instantiates a new UpdateRecoveryFlowWithCodeMethod 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 (*UpdateRecoveryFlowWithCodeMethod) GetCode added in v0.11.0

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

func (*UpdateRecoveryFlowWithCodeMethod) GetCodeOk added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) GetCodeOk() (*string, 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 (*UpdateRecoveryFlowWithCodeMethod) GetCsrfToken added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRecoveryFlowWithCodeMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) 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 (*UpdateRecoveryFlowWithCodeMethod) GetEmail added in v0.11.0

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

func (*UpdateRecoveryFlowWithCodeMethod) GetEmailOk added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) 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 (*UpdateRecoveryFlowWithCodeMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateRecoveryFlowWithCodeMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateRecoveryFlowWithCodeMethod) HasCode added in v0.11.0

HasCode returns a boolean if a field has been set.

func (*UpdateRecoveryFlowWithCodeMethod) HasCsrfToken added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRecoveryFlowWithCodeMethod) HasEmail added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (UpdateRecoveryFlowWithCodeMethod) MarshalJSON added in v0.11.0

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

func (*UpdateRecoveryFlowWithCodeMethod) SetCode added in v0.11.0

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

func (*UpdateRecoveryFlowWithCodeMethod) SetCsrfToken added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRecoveryFlowWithCodeMethod) SetEmail added in v0.11.0

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

func (*UpdateRecoveryFlowWithCodeMethod) SetMethod added in v0.11.0

func (o *UpdateRecoveryFlowWithCodeMethod) SetMethod(v string)

SetMethod sets field value

func (UpdateRecoveryFlowWithCodeMethod) ToMap added in v1.1.0

func (o UpdateRecoveryFlowWithCodeMethod) ToMap() (map[string]interface{}, error)

func (*UpdateRecoveryFlowWithCodeMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateRecoveryFlowWithCodeMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateRecoveryFlowWithLinkMethod added in v0.11.0

type UpdateRecoveryFlowWithLinkMethod struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Email to Recover  Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead.  format: email
	Email string `json:"email"`
	// Method is the method that should be used for this recovery flow  Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode
	Method               string `json:"method"`
	AdditionalProperties map[string]interface{}
}

UpdateRecoveryFlowWithLinkMethod Update Recovery Flow with Link Method

func NewUpdateRecoveryFlowWithLinkMethod added in v0.11.0

func NewUpdateRecoveryFlowWithLinkMethod(email string, method string) *UpdateRecoveryFlowWithLinkMethod

NewUpdateRecoveryFlowWithLinkMethod instantiates a new UpdateRecoveryFlowWithLinkMethod 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 NewUpdateRecoveryFlowWithLinkMethodWithDefaults added in v0.11.0

func NewUpdateRecoveryFlowWithLinkMethodWithDefaults() *UpdateRecoveryFlowWithLinkMethod

NewUpdateRecoveryFlowWithLinkMethodWithDefaults instantiates a new UpdateRecoveryFlowWithLinkMethod 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 (*UpdateRecoveryFlowWithLinkMethod) GetCsrfToken added in v0.11.0

func (o *UpdateRecoveryFlowWithLinkMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRecoveryFlowWithLinkMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateRecoveryFlowWithLinkMethod) 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 (*UpdateRecoveryFlowWithLinkMethod) GetEmail added in v0.11.0

GetEmail returns the Email field value

func (*UpdateRecoveryFlowWithLinkMethod) GetEmailOk added in v0.11.0

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

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

func (*UpdateRecoveryFlowWithLinkMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateRecoveryFlowWithLinkMethod) GetMethodOk added in v0.11.0

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

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

func (*UpdateRecoveryFlowWithLinkMethod) HasCsrfToken added in v0.11.0

func (o *UpdateRecoveryFlowWithLinkMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateRecoveryFlowWithLinkMethod) MarshalJSON added in v0.11.0

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

func (*UpdateRecoveryFlowWithLinkMethod) SetCsrfToken added in v0.11.0

func (o *UpdateRecoveryFlowWithLinkMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRecoveryFlowWithLinkMethod) SetEmail added in v0.11.0

SetEmail sets field value

func (*UpdateRecoveryFlowWithLinkMethod) SetMethod added in v0.11.0

func (o *UpdateRecoveryFlowWithLinkMethod) SetMethod(v string)

SetMethod sets field value

func (UpdateRecoveryFlowWithLinkMethod) ToMap added in v1.1.0

func (o UpdateRecoveryFlowWithLinkMethod) ToMap() (map[string]interface{}, error)

func (*UpdateRecoveryFlowWithLinkMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateRecoveryFlowWithLinkMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateRegistrationFlowBody added in v0.11.0

type UpdateRegistrationFlowBody struct {
	UpdateRegistrationFlowWithCodeMethod     *UpdateRegistrationFlowWithCodeMethod
	UpdateRegistrationFlowWithOidcMethod     *UpdateRegistrationFlowWithOidcMethod
	UpdateRegistrationFlowWithPasswordMethod *UpdateRegistrationFlowWithPasswordMethod
	UpdateRegistrationFlowWithWebAuthnMethod *UpdateRegistrationFlowWithWebAuthnMethod
}

UpdateRegistrationFlowBody - Update Registration Request Body

func UpdateRegistrationFlowWithCodeMethodAsUpdateRegistrationFlowBody added in v1.1.0

func UpdateRegistrationFlowWithCodeMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithCodeMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithCodeMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithCodeMethod wrapped in UpdateRegistrationFlowBody

func UpdateRegistrationFlowWithOidcMethodAsUpdateRegistrationFlowBody added in v0.11.0

func UpdateRegistrationFlowWithOidcMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithOidcMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithOidcMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithOidcMethod wrapped in UpdateRegistrationFlowBody

func UpdateRegistrationFlowWithPasswordMethodAsUpdateRegistrationFlowBody added in v0.11.0

func UpdateRegistrationFlowWithPasswordMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithPasswordMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithPasswordMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithPasswordMethod wrapped in UpdateRegistrationFlowBody

func UpdateRegistrationFlowWithWebAuthnMethodAsUpdateRegistrationFlowBody added in v0.11.0

func UpdateRegistrationFlowWithWebAuthnMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithWebAuthnMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithWebAuthnMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithWebAuthnMethod wrapped in UpdateRegistrationFlowBody

func (*UpdateRegistrationFlowBody) GetActualInstance added in v0.11.0

func (obj *UpdateRegistrationFlowBody) GetActualInstance() interface{}

Get the actual instance

func (UpdateRegistrationFlowBody) MarshalJSON added in v0.11.0

func (src UpdateRegistrationFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UpdateRegistrationFlowBody) UnmarshalJSON added in v0.11.0

func (dst *UpdateRegistrationFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UpdateRegistrationFlowWithCodeMethod added in v1.1.0

type UpdateRegistrationFlowWithCodeMethod struct {
	// The OTP Code sent to the user
	Code *string `json:"code,omitempty"`
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `code` when using the code method.
	Method string `json:"method"`
	// Resend restarts the flow with a new code
	Resend *string `json:"resend,omitempty"`
	// The identity's traits
	Traits map[string]interface{} `json:"traits"`
	// Transient data to pass along to any webhooks
	TransientPayload     map[string]interface{} `json:"transient_payload,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateRegistrationFlowWithCodeMethod Update Registration Flow with Code Method

func NewUpdateRegistrationFlowWithCodeMethod added in v1.1.0

func NewUpdateRegistrationFlowWithCodeMethod(method string, traits map[string]interface{}) *UpdateRegistrationFlowWithCodeMethod

NewUpdateRegistrationFlowWithCodeMethod instantiates a new UpdateRegistrationFlowWithCodeMethod 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 NewUpdateRegistrationFlowWithCodeMethodWithDefaults added in v1.1.0

func NewUpdateRegistrationFlowWithCodeMethodWithDefaults() *UpdateRegistrationFlowWithCodeMethod

NewUpdateRegistrationFlowWithCodeMethodWithDefaults instantiates a new UpdateRegistrationFlowWithCodeMethod 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 (*UpdateRegistrationFlowWithCodeMethod) GetCode added in v1.1.0

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

func (*UpdateRegistrationFlowWithCodeMethod) GetCodeOk added in v1.1.0

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 (*UpdateRegistrationFlowWithCodeMethod) GetCsrfToken added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithCodeMethod) GetCsrfTokenOk added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) 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 (*UpdateRegistrationFlowWithCodeMethod) GetMethod added in v1.1.0

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithCodeMethod) GetMethodOk added in v1.1.0

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

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithCodeMethod) GetResend added in v1.1.0

GetResend returns the Resend field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithCodeMethod) GetResendOk added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) GetResendOk() (*string, bool)

GetResendOk returns a tuple with the Resend field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithCodeMethod) GetTraits added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*UpdateRegistrationFlowWithCodeMethod) GetTraitsOk added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) GetTraitsOk() (map[string]interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithCodeMethod) GetTransientPayload added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) GetTransientPayload() map[string]interface{}

GetTransientPayload returns the TransientPayload field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithCodeMethod) GetTransientPayloadOk added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) GetTransientPayloadOk() (map[string]interface{}, bool)

GetTransientPayloadOk returns a tuple with the TransientPayload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithCodeMethod) HasCode added in v1.1.0

HasCode returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithCodeMethod) HasCsrfToken added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithCodeMethod) HasResend added in v1.1.0

HasResend returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithCodeMethod) HasTransientPayload added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithCodeMethod) MarshalJSON added in v1.1.0

func (o UpdateRegistrationFlowWithCodeMethod) MarshalJSON() ([]byte, error)

func (*UpdateRegistrationFlowWithCodeMethod) SetCode added in v1.1.0

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateRegistrationFlowWithCodeMethod) SetCsrfToken added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRegistrationFlowWithCodeMethod) SetMethod added in v1.1.0

SetMethod sets field value

func (*UpdateRegistrationFlowWithCodeMethod) SetResend added in v1.1.0

SetResend gets a reference to the given string and assigns it to the Resend field.

func (*UpdateRegistrationFlowWithCodeMethod) SetTraits added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) SetTraits(v map[string]interface{})

SetTraits sets field value

func (*UpdateRegistrationFlowWithCodeMethod) SetTransientPayload added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) SetTransientPayload(v map[string]interface{})

SetTransientPayload gets a reference to the given map[string]interface{} and assigns it to the TransientPayload field.

func (UpdateRegistrationFlowWithCodeMethod) ToMap added in v1.1.0

func (o UpdateRegistrationFlowWithCodeMethod) ToMap() (map[string]interface{}, error)

func (*UpdateRegistrationFlowWithCodeMethod) UnmarshalJSON added in v1.1.0

func (o *UpdateRegistrationFlowWithCodeMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateRegistrationFlowWithOidcMethod added in v0.11.0

type UpdateRegistrationFlowWithOidcMethod struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// IDToken is an optional id token provided by an OIDC provider  If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.  Supported providers are Apple
	IdToken *string `json:"id_token,omitempty"`
	// IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required.
	IdTokenNonce *string `json:"id_token_nonce,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"`
	// The identity traits
	Traits map[string]interface{} `json:"traits,omitempty"`
	// Transient data to pass along to any webhooks
	TransientPayload map[string]interface{} `json:"transient_payload,omitempty"`
	// UpstreamParameters are the parameters that are passed to the upstream identity provider.  These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
	UpstreamParameters   map[string]interface{} `json:"upstream_parameters,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateRegistrationFlowWithOidcMethod Update Registration Flow with OpenID Connect Method

func NewUpdateRegistrationFlowWithOidcMethod added in v0.11.0

func NewUpdateRegistrationFlowWithOidcMethod(method string, provider string) *UpdateRegistrationFlowWithOidcMethod

NewUpdateRegistrationFlowWithOidcMethod instantiates a new UpdateRegistrationFlowWithOidcMethod 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 NewUpdateRegistrationFlowWithOidcMethodWithDefaults added in v0.11.0

func NewUpdateRegistrationFlowWithOidcMethodWithDefaults() *UpdateRegistrationFlowWithOidcMethod

NewUpdateRegistrationFlowWithOidcMethodWithDefaults instantiates a new UpdateRegistrationFlowWithOidcMethod 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 (*UpdateRegistrationFlowWithOidcMethod) GetCsrfToken added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) 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 (*UpdateRegistrationFlowWithOidcMethod) GetIdToken added in v1.1.0

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetIdTokenNonce added in v1.1.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetIdTokenNonce() string

GetIdTokenNonce returns the IdTokenNonce field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetIdTokenNonceOk added in v1.1.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetIdTokenNonceOk() (*string, bool)

GetIdTokenNonceOk returns a tuple with the IdTokenNonce field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) GetIdTokenOk added in v1.1.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetIdTokenOk() (*string, bool)

GetIdTokenOk returns a tuple with the IdToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithOidcMethod) GetMethodOk added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) GetProvider added in v0.11.0

GetProvider returns the Provider field value

func (*UpdateRegistrationFlowWithOidcMethod) GetProviderOk added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) GetTraits added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetTraitsOk added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) GetTraitsOk() (map[string]interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) GetTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) GetTransientPayload() map[string]interface{}

GetTransientPayload returns the TransientPayload field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetTransientPayloadOk added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) GetTransientPayloadOk() (map[string]interface{}, bool)

GetTransientPayloadOk returns a tuple with the TransientPayload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) GetUpstreamParameters added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) GetUpstreamParameters() map[string]interface{}

GetUpstreamParameters returns the UpstreamParameters field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetUpstreamParametersOk added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) GetUpstreamParametersOk() (map[string]interface{}, bool)

GetUpstreamParametersOk returns a tuple with the UpstreamParameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasCsrfToken added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasIdToken added in v1.1.0

HasIdToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasIdTokenNonce added in v1.1.0

func (o *UpdateRegistrationFlowWithOidcMethod) HasIdTokenNonce() bool

HasIdTokenNonce returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasTraits added in v0.11.0

HasTraits returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasUpstreamParameters added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) HasUpstreamParameters() bool

HasUpstreamParameters returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithOidcMethod) MarshalJSON added in v0.11.0

func (o UpdateRegistrationFlowWithOidcMethod) MarshalJSON() ([]byte, error)

func (*UpdateRegistrationFlowWithOidcMethod) SetCsrfToken added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRegistrationFlowWithOidcMethod) SetIdToken added in v1.1.0

SetIdToken gets a reference to the given string and assigns it to the IdToken field.

func (*UpdateRegistrationFlowWithOidcMethod) SetIdTokenNonce added in v1.1.0

func (o *UpdateRegistrationFlowWithOidcMethod) SetIdTokenNonce(v string)

SetIdTokenNonce gets a reference to the given string and assigns it to the IdTokenNonce field.

func (*UpdateRegistrationFlowWithOidcMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (*UpdateRegistrationFlowWithOidcMethod) SetProvider added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) SetProvider(v string)

SetProvider sets field value

func (*UpdateRegistrationFlowWithOidcMethod) SetTraits added in v0.11.0

func (o *UpdateRegistrationFlowWithOidcMethod) SetTraits(v map[string]interface{})

SetTraits gets a reference to the given map[string]interface{} and assigns it to the Traits field.

func (*UpdateRegistrationFlowWithOidcMethod) SetTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) SetTransientPayload(v map[string]interface{})

SetTransientPayload gets a reference to the given map[string]interface{} and assigns it to the TransientPayload field.

func (*UpdateRegistrationFlowWithOidcMethod) SetUpstreamParameters added in v0.13.1

func (o *UpdateRegistrationFlowWithOidcMethod) SetUpstreamParameters(v map[string]interface{})

SetUpstreamParameters gets a reference to the given map[string]interface{} and assigns it to the UpstreamParameters field.

func (UpdateRegistrationFlowWithOidcMethod) ToMap added in v1.1.0

func (o UpdateRegistrationFlowWithOidcMethod) ToMap() (map[string]interface{}, error)

func (*UpdateRegistrationFlowWithOidcMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateRegistrationFlowWithOidcMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateRegistrationFlowWithPasswordMethod added in v0.11.0

type UpdateRegistrationFlowWithPasswordMethod struct {
	// 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"`
	// The identity's traits
	Traits map[string]interface{} `json:"traits"`
	// Transient data to pass along to any webhooks
	TransientPayload     map[string]interface{} `json:"transient_payload,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateRegistrationFlowWithPasswordMethod Update Registration Flow with Password Method

func NewUpdateRegistrationFlowWithPasswordMethod added in v0.11.0

func NewUpdateRegistrationFlowWithPasswordMethod(method string, password string, traits map[string]interface{}) *UpdateRegistrationFlowWithPasswordMethod

NewUpdateRegistrationFlowWithPasswordMethod instantiates a new UpdateRegistrationFlowWithPasswordMethod 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 NewUpdateRegistrationFlowWithPasswordMethodWithDefaults added in v0.11.0

func NewUpdateRegistrationFlowWithPasswordMethodWithDefaults() *UpdateRegistrationFlowWithPasswordMethod

NewUpdateRegistrationFlowWithPasswordMethodWithDefaults instantiates a new UpdateRegistrationFlowWithPasswordMethod 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 (*UpdateRegistrationFlowWithPasswordMethod) GetCsrfToken added in v0.11.0

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithPasswordMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateRegistrationFlowWithPasswordMethod) 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 (*UpdateRegistrationFlowWithPasswordMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithPasswordMethod) GetMethodOk added in v0.11.0

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithPasswordMethod) GetPassword added in v0.11.0

GetPassword returns the Password field value

func (*UpdateRegistrationFlowWithPasswordMethod) GetPasswordOk added in v0.11.0

func (o *UpdateRegistrationFlowWithPasswordMethod) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithPasswordMethod) GetTraits added in v0.11.0

func (o *UpdateRegistrationFlowWithPasswordMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*UpdateRegistrationFlowWithPasswordMethod) GetTraitsOk added in v0.11.0

func (o *UpdateRegistrationFlowWithPasswordMethod) GetTraitsOk() (map[string]interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithPasswordMethod) GetTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithPasswordMethod) GetTransientPayload() map[string]interface{}

GetTransientPayload returns the TransientPayload field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithPasswordMethod) GetTransientPayloadOk added in v0.13.1

func (o *UpdateRegistrationFlowWithPasswordMethod) GetTransientPayloadOk() (map[string]interface{}, bool)

GetTransientPayloadOk returns a tuple with the TransientPayload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithPasswordMethod) HasCsrfToken added in v0.11.0

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithPasswordMethod) HasTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithPasswordMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithPasswordMethod) MarshalJSON added in v0.11.0

func (*UpdateRegistrationFlowWithPasswordMethod) SetCsrfToken added in v0.11.0

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRegistrationFlowWithPasswordMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (*UpdateRegistrationFlowWithPasswordMethod) SetPassword added in v0.11.0

SetPassword sets field value

func (*UpdateRegistrationFlowWithPasswordMethod) SetTraits added in v0.11.0

func (o *UpdateRegistrationFlowWithPasswordMethod) SetTraits(v map[string]interface{})

SetTraits sets field value

func (*UpdateRegistrationFlowWithPasswordMethod) SetTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithPasswordMethod) SetTransientPayload(v map[string]interface{})

SetTransientPayload gets a reference to the given map[string]interface{} and assigns it to the TransientPayload field.

func (UpdateRegistrationFlowWithPasswordMethod) ToMap added in v1.1.0

func (o UpdateRegistrationFlowWithPasswordMethod) ToMap() (map[string]interface{}, error)

func (*UpdateRegistrationFlowWithPasswordMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateRegistrationFlowWithPasswordMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateRegistrationFlowWithWebAuthnMethod added in v0.11.0

type UpdateRegistrationFlowWithWebAuthnMethod struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.
	Method string `json:"method"`
	// The identity's traits
	Traits map[string]interface{} `json:"traits"`
	// Transient data to pass along to any webhooks
	TransientPayload map[string]interface{} `json:"transient_payload,omitempty"`
	// Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here.
	WebauthnRegister *string `json:"webauthn_register,omitempty"`
	// Name of the WebAuthn Security Key to be Added  A human-readable name for the security key which will be added.
	WebauthnRegisterDisplayname *string `json:"webauthn_register_displayname,omitempty"`
	AdditionalProperties        map[string]interface{}
}

UpdateRegistrationFlowWithWebAuthnMethod Update Registration Flow with WebAuthn Method

func NewUpdateRegistrationFlowWithWebAuthnMethod added in v0.11.0

func NewUpdateRegistrationFlowWithWebAuthnMethod(method string, traits map[string]interface{}) *UpdateRegistrationFlowWithWebAuthnMethod

NewUpdateRegistrationFlowWithWebAuthnMethod instantiates a new UpdateRegistrationFlowWithWebAuthnMethod 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 NewUpdateRegistrationFlowWithWebAuthnMethodWithDefaults added in v0.11.0

func NewUpdateRegistrationFlowWithWebAuthnMethodWithDefaults() *UpdateRegistrationFlowWithWebAuthnMethod

NewUpdateRegistrationFlowWithWebAuthnMethodWithDefaults instantiates a new UpdateRegistrationFlowWithWebAuthnMethod 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 (*UpdateRegistrationFlowWithWebAuthnMethod) GetCsrfToken added in v0.11.0

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) 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 (*UpdateRegistrationFlowWithWebAuthnMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetMethodOk added in v0.11.0

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetTraits added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetTraitsOk added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetTraitsOk() (map[string]interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetTransientPayload() map[string]interface{}

GetTransientPayload returns the TransientPayload field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetTransientPayloadOk added in v0.13.1

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetTransientPayloadOk() (map[string]interface{}, bool)

GetTransientPayloadOk returns a tuple with the TransientPayload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegister added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegister() string

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplaynameOk added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplaynameOk() (*string, bool)

GetWebauthnRegisterDisplaynameOk returns a tuple with the WebauthnRegisterDisplayname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterOk added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterOk() (*string, bool)

GetWebauthnRegisterOk returns a tuple with the WebauthnRegister field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasCsrfToken added in v0.11.0

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithWebAuthnMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegister added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegister() bool

HasWebauthnRegister returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithWebAuthnMethod) MarshalJSON added in v0.11.0

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetCsrfToken added in v0.11.0

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetTraits added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) SetTraits(v map[string]interface{})

SetTraits sets field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetTransientPayload added in v0.13.1

func (o *UpdateRegistrationFlowWithWebAuthnMethod) SetTransientPayload(v map[string]interface{})

SetTransientPayload gets a reference to the given map[string]interface{} and assigns it to the TransientPayload field.

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegister added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegister(v string)

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname added in v0.11.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

func (UpdateRegistrationFlowWithWebAuthnMethod) ToMap added in v1.1.0

func (o UpdateRegistrationFlowWithWebAuthnMethod) ToMap() (map[string]interface{}, error)

func (*UpdateRegistrationFlowWithWebAuthnMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateSettingsFlowBody added in v0.11.0

type UpdateSettingsFlowBody struct {
	UpdateSettingsFlowWithLookupMethod   *UpdateSettingsFlowWithLookupMethod
	UpdateSettingsFlowWithOidcMethod     *UpdateSettingsFlowWithOidcMethod
	UpdateSettingsFlowWithPasswordMethod *UpdateSettingsFlowWithPasswordMethod
	UpdateSettingsFlowWithProfileMethod  *UpdateSettingsFlowWithProfileMethod
	UpdateSettingsFlowWithTotpMethod     *UpdateSettingsFlowWithTotpMethod
	UpdateSettingsFlowWithWebAuthnMethod *UpdateSettingsFlowWithWebAuthnMethod
}

UpdateSettingsFlowBody - Update Settings Flow Request Body

func UpdateSettingsFlowWithLookupMethodAsUpdateSettingsFlowBody added in v0.11.0

func UpdateSettingsFlowWithLookupMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithLookupMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithLookupMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithLookupMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithOidcMethodAsUpdateSettingsFlowBody added in v0.11.0

func UpdateSettingsFlowWithOidcMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithOidcMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithOidcMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithOidcMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithPasswordMethodAsUpdateSettingsFlowBody added in v0.11.0

func UpdateSettingsFlowWithPasswordMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithPasswordMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithPasswordMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithPasswordMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithProfileMethodAsUpdateSettingsFlowBody added in v0.11.0

func UpdateSettingsFlowWithProfileMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithProfileMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithProfileMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithProfileMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithTotpMethodAsUpdateSettingsFlowBody added in v0.11.0

func UpdateSettingsFlowWithTotpMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithTotpMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithTotpMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithTotpMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithWebAuthnMethodAsUpdateSettingsFlowBody added in v0.11.0

func UpdateSettingsFlowWithWebAuthnMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithWebAuthnMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithWebAuthnMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithWebAuthnMethod wrapped in UpdateSettingsFlowBody

func (*UpdateSettingsFlowBody) GetActualInstance added in v0.11.0

func (obj *UpdateSettingsFlowBody) GetActualInstance() interface{}

Get the actual instance

func (UpdateSettingsFlowBody) MarshalJSON added in v0.11.0

func (src UpdateSettingsFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UpdateSettingsFlowBody) UnmarshalJSON added in v0.11.0

func (dst *UpdateSettingsFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UpdateSettingsFlowWithLookupMethod added in v0.11.0

type UpdateSettingsFlowWithLookupMethod struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// If set to true will save the regenerated lookup secrets
	LookupSecretConfirm *bool `json:"lookup_secret_confirm,omitempty"`
	// Disables this method if true.
	LookupSecretDisable *bool `json:"lookup_secret_disable,omitempty"`
	// If set to true will regenerate the lookup secrets
	LookupSecretRegenerate *bool `json:"lookup_secret_regenerate,omitempty"`
	// If set to true will reveal the lookup secrets
	LookupSecretReveal *bool `json:"lookup_secret_reveal,omitempty"`
	// Method  Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing.
	Method               string `json:"method"`
	AdditionalProperties map[string]interface{}
}

UpdateSettingsFlowWithLookupMethod Update Settings Flow with Lookup Method

func NewUpdateSettingsFlowWithLookupMethod added in v0.11.0

func NewUpdateSettingsFlowWithLookupMethod(method string) *UpdateSettingsFlowWithLookupMethod

NewUpdateSettingsFlowWithLookupMethod instantiates a new UpdateSettingsFlowWithLookupMethod 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 NewUpdateSettingsFlowWithLookupMethodWithDefaults added in v0.11.0

func NewUpdateSettingsFlowWithLookupMethodWithDefaults() *UpdateSettingsFlowWithLookupMethod

NewUpdateSettingsFlowWithLookupMethodWithDefaults instantiates a new UpdateSettingsFlowWithLookupMethod 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 (*UpdateSettingsFlowWithLookupMethod) GetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) 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 (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretConfirm added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretConfirm() bool

GetLookupSecretConfirm returns the LookupSecretConfirm field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretConfirmOk added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretConfirmOk() (*bool, bool)

GetLookupSecretConfirmOk returns a tuple with the LookupSecretConfirm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretDisable added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretDisable() bool

GetLookupSecretDisable returns the LookupSecretDisable field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretDisableOk added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretDisableOk() (*bool, bool)

GetLookupSecretDisableOk returns a tuple with the LookupSecretDisable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretRegenerate added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretRegenerate() bool

GetLookupSecretRegenerate returns the LookupSecretRegenerate field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretRegenerateOk added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretRegenerateOk() (*bool, bool)

GetLookupSecretRegenerateOk returns a tuple with the LookupSecretRegenerate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretReveal added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretReveal() bool

GetLookupSecretReveal returns the LookupSecretReveal field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretRevealOk added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretRevealOk() (*bool, bool)

GetLookupSecretRevealOk returns a tuple with the LookupSecretReveal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithLookupMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithLookupMethod) GetMethodOk added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretConfirm added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretConfirm() bool

HasLookupSecretConfirm returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretDisable added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretDisable() bool

HasLookupSecretDisable returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretRegenerate added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretRegenerate() bool

HasLookupSecretRegenerate returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretReveal added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretReveal() bool

HasLookupSecretReveal returns a boolean if a field has been set.

func (UpdateSettingsFlowWithLookupMethod) MarshalJSON added in v0.11.0

func (o UpdateSettingsFlowWithLookupMethod) MarshalJSON() ([]byte, error)

func (*UpdateSettingsFlowWithLookupMethod) SetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretConfirm added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretConfirm(v bool)

SetLookupSecretConfirm gets a reference to the given bool and assigns it to the LookupSecretConfirm field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretDisable added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretDisable(v bool)

SetLookupSecretDisable gets a reference to the given bool and assigns it to the LookupSecretDisable field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretRegenerate added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretRegenerate(v bool)

SetLookupSecretRegenerate gets a reference to the given bool and assigns it to the LookupSecretRegenerate field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretReveal added in v0.11.0

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretReveal(v bool)

SetLookupSecretReveal gets a reference to the given bool and assigns it to the LookupSecretReveal field.

func (*UpdateSettingsFlowWithLookupMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (UpdateSettingsFlowWithLookupMethod) ToMap added in v1.1.0

func (o UpdateSettingsFlowWithLookupMethod) ToMap() (map[string]interface{}, error)

func (*UpdateSettingsFlowWithLookupMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateSettingsFlowWithLookupMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateSettingsFlowWithOidcMethod added in v0.11.0

type UpdateSettingsFlowWithOidcMethod struct {
	// Flow ID is the flow's ID.  in: query
	Flow *string `json:"flow,omitempty"`
	// Link this provider  Either this or `unlink` must be set.  type: string in: body
	Link *string `json:"link,omitempty"`
	// Method  Should be set to profile when trying to update a profile.
	Method string `json:"method"`
	// The identity's traits  in: body
	Traits map[string]interface{} `json:"traits,omitempty"`
	// Unlink this provider  Either this or `link` must be set.  type: string in: body
	Unlink *string `json:"unlink,omitempty"`
	// UpstreamParameters are the parameters that are passed to the upstream identity provider.  These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
	UpstreamParameters   map[string]interface{} `json:"upstream_parameters,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateSettingsFlowWithOidcMethod Update Settings Flow with OpenID Connect Method

func NewUpdateSettingsFlowWithOidcMethod added in v0.11.0

func NewUpdateSettingsFlowWithOidcMethod(method string) *UpdateSettingsFlowWithOidcMethod

NewUpdateSettingsFlowWithOidcMethod instantiates a new UpdateSettingsFlowWithOidcMethod 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 NewUpdateSettingsFlowWithOidcMethodWithDefaults added in v0.11.0

func NewUpdateSettingsFlowWithOidcMethodWithDefaults() *UpdateSettingsFlowWithOidcMethod

NewUpdateSettingsFlowWithOidcMethodWithDefaults instantiates a new UpdateSettingsFlowWithOidcMethod 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 (*UpdateSettingsFlowWithOidcMethod) GetFlow added in v0.11.0

GetFlow returns the Flow field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetFlowOk added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) GetFlowOk() (*string, bool)

GetFlowOk returns a tuple with the Flow field value if set, nil otherwise and a boolean to check if the value has been set.

GetLink returns the Link field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetLinkOk added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithOidcMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithOidcMethod) GetMethodOk added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithOidcMethod) GetTraits added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetTraitsOk added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) GetTraitsOk() (map[string]interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value if set, nil otherwise and a boolean to check if the value has been set.

GetUnlink returns the Unlink field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetUnlinkOk added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) GetUnlinkOk() (*string, bool)

GetUnlinkOk returns a tuple with the Unlink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithOidcMethod) GetUpstreamParameters added in v0.13.1

func (o *UpdateSettingsFlowWithOidcMethod) GetUpstreamParameters() map[string]interface{}

GetUpstreamParameters returns the UpstreamParameters field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetUpstreamParametersOk added in v0.13.1

func (o *UpdateSettingsFlowWithOidcMethod) GetUpstreamParametersOk() (map[string]interface{}, bool)

GetUpstreamParametersOk returns a tuple with the UpstreamParameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithOidcMethod) HasFlow added in v0.11.0

HasFlow returns a boolean if a field has been set.

HasLink returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithOidcMethod) HasTraits added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) HasTraits() bool

HasTraits returns a boolean if a field has been set.

func (o *UpdateSettingsFlowWithOidcMethod) HasUnlink() bool

HasUnlink returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithOidcMethod) HasUpstreamParameters added in v0.13.1

func (o *UpdateSettingsFlowWithOidcMethod) HasUpstreamParameters() bool

HasUpstreamParameters returns a boolean if a field has been set.

func (UpdateSettingsFlowWithOidcMethod) MarshalJSON added in v0.11.0

func (o UpdateSettingsFlowWithOidcMethod) MarshalJSON() ([]byte, error)

func (*UpdateSettingsFlowWithOidcMethod) SetFlow added in v0.11.0

SetFlow gets a reference to the given string and assigns it to the Flow field.

SetLink gets a reference to the given string and assigns it to the Link field.

func (*UpdateSettingsFlowWithOidcMethod) SetMethod added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateSettingsFlowWithOidcMethod) SetTraits added in v0.11.0

func (o *UpdateSettingsFlowWithOidcMethod) SetTraits(v map[string]interface{})

SetTraits gets a reference to the given map[string]interface{} and assigns it to the Traits field.

func (o *UpdateSettingsFlowWithOidcMethod) SetUnlink(v string)

SetUnlink gets a reference to the given string and assigns it to the Unlink field.

func (*UpdateSettingsFlowWithOidcMethod) SetUpstreamParameters added in v0.13.1

func (o *UpdateSettingsFlowWithOidcMethod) SetUpstreamParameters(v map[string]interface{})

SetUpstreamParameters gets a reference to the given map[string]interface{} and assigns it to the UpstreamParameters field.

func (UpdateSettingsFlowWithOidcMethod) ToMap added in v1.1.0

func (o UpdateSettingsFlowWithOidcMethod) ToMap() (map[string]interface{}, error)

func (*UpdateSettingsFlowWithOidcMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateSettingsFlowWithOidcMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateSettingsFlowWithPasswordMethod added in v0.11.0

type UpdateSettingsFlowWithPasswordMethod 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"`
	AdditionalProperties map[string]interface{}
}

UpdateSettingsFlowWithPasswordMethod Update Settings Flow with Password Method

func NewUpdateSettingsFlowWithPasswordMethod added in v0.11.0

func NewUpdateSettingsFlowWithPasswordMethod(method string, password string) *UpdateSettingsFlowWithPasswordMethod

NewUpdateSettingsFlowWithPasswordMethod instantiates a new UpdateSettingsFlowWithPasswordMethod 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 NewUpdateSettingsFlowWithPasswordMethodWithDefaults added in v0.11.0

func NewUpdateSettingsFlowWithPasswordMethodWithDefaults() *UpdateSettingsFlowWithPasswordMethod

NewUpdateSettingsFlowWithPasswordMethodWithDefaults instantiates a new UpdateSettingsFlowWithPasswordMethod 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 (*UpdateSettingsFlowWithPasswordMethod) GetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithPasswordMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) 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 (*UpdateSettingsFlowWithPasswordMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithPasswordMethod) GetMethodOk added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithPasswordMethod) GetPassword added in v0.11.0

GetPassword returns the Password field value

func (*UpdateSettingsFlowWithPasswordMethod) GetPasswordOk added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithPasswordMethod) HasCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateSettingsFlowWithPasswordMethod) MarshalJSON added in v0.11.0

func (o UpdateSettingsFlowWithPasswordMethod) MarshalJSON() ([]byte, error)

func (*UpdateSettingsFlowWithPasswordMethod) SetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithPasswordMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (*UpdateSettingsFlowWithPasswordMethod) SetPassword added in v0.11.0

func (o *UpdateSettingsFlowWithPasswordMethod) SetPassword(v string)

SetPassword sets field value

func (UpdateSettingsFlowWithPasswordMethod) ToMap added in v1.1.0

func (o UpdateSettingsFlowWithPasswordMethod) ToMap() (map[string]interface{}, error)

func (*UpdateSettingsFlowWithPasswordMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateSettingsFlowWithPasswordMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateSettingsFlowWithProfileMethod added in v0.11.0

type UpdateSettingsFlowWithProfileMethod 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"`
	// Traits  The identity's traits.
	Traits               map[string]interface{} `json:"traits"`
	AdditionalProperties map[string]interface{}
}

UpdateSettingsFlowWithProfileMethod Update Settings Flow with Profile Method

func NewUpdateSettingsFlowWithProfileMethod added in v0.11.0

func NewUpdateSettingsFlowWithProfileMethod(method string, traits map[string]interface{}) *UpdateSettingsFlowWithProfileMethod

NewUpdateSettingsFlowWithProfileMethod instantiates a new UpdateSettingsFlowWithProfileMethod 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 NewUpdateSettingsFlowWithProfileMethodWithDefaults added in v0.11.0

func NewUpdateSettingsFlowWithProfileMethodWithDefaults() *UpdateSettingsFlowWithProfileMethod

NewUpdateSettingsFlowWithProfileMethodWithDefaults instantiates a new UpdateSettingsFlowWithProfileMethod 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 (*UpdateSettingsFlowWithProfileMethod) GetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithProfileMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) 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 (*UpdateSettingsFlowWithProfileMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithProfileMethod) GetMethodOk added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithProfileMethod) GetTraits added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*UpdateSettingsFlowWithProfileMethod) GetTraitsOk added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) GetTraitsOk() (map[string]interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithProfileMethod) HasCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateSettingsFlowWithProfileMethod) MarshalJSON added in v0.11.0

func (o UpdateSettingsFlowWithProfileMethod) MarshalJSON() ([]byte, error)

func (*UpdateSettingsFlowWithProfileMethod) SetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithProfileMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (*UpdateSettingsFlowWithProfileMethod) SetTraits added in v0.11.0

func (o *UpdateSettingsFlowWithProfileMethod) SetTraits(v map[string]interface{})

SetTraits sets field value

func (UpdateSettingsFlowWithProfileMethod) ToMap added in v1.1.0

func (o UpdateSettingsFlowWithProfileMethod) ToMap() (map[string]interface{}, error)

func (*UpdateSettingsFlowWithProfileMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateSettingsFlowWithProfileMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateSettingsFlowWithTotpMethod added in v0.11.0

type UpdateSettingsFlowWithTotpMethod 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"`
	// ValidationTOTP 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"`
	AdditionalProperties map[string]interface{}
}

UpdateSettingsFlowWithTotpMethod Update Settings Flow with TOTP Method

func NewUpdateSettingsFlowWithTotpMethod added in v0.11.0

func NewUpdateSettingsFlowWithTotpMethod(method string) *UpdateSettingsFlowWithTotpMethod

NewUpdateSettingsFlowWithTotpMethod instantiates a new UpdateSettingsFlowWithTotpMethod 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 NewUpdateSettingsFlowWithTotpMethodWithDefaults added in v0.11.0

func NewUpdateSettingsFlowWithTotpMethodWithDefaults() *UpdateSettingsFlowWithTotpMethod

NewUpdateSettingsFlowWithTotpMethodWithDefaults instantiates a new UpdateSettingsFlowWithTotpMethod 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 (*UpdateSettingsFlowWithTotpMethod) GetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithTotpMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) 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 (*UpdateSettingsFlowWithTotpMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithTotpMethod) GetMethodOk added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithTotpMethod) GetTotpCode added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) GetTotpCode() string

GetTotpCode returns the TotpCode field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithTotpMethod) GetTotpCodeOk added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) 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 *UpdateSettingsFlowWithTotpMethod) GetTotpUnlink() bool

GetTotpUnlink returns the TotpUnlink field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithTotpMethod) GetTotpUnlinkOk added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) 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 (*UpdateSettingsFlowWithTotpMethod) HasCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithTotpMethod) HasTotpCode added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) HasTotpCode() bool

HasTotpCode returns a boolean if a field has been set.

func (o *UpdateSettingsFlowWithTotpMethod) HasTotpUnlink() bool

HasTotpUnlink returns a boolean if a field has been set.

func (UpdateSettingsFlowWithTotpMethod) MarshalJSON added in v0.11.0

func (o UpdateSettingsFlowWithTotpMethod) MarshalJSON() ([]byte, error)

func (*UpdateSettingsFlowWithTotpMethod) SetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithTotpMethod) SetMethod added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateSettingsFlowWithTotpMethod) SetTotpCode added in v0.11.0

func (o *UpdateSettingsFlowWithTotpMethod) SetTotpCode(v string)

SetTotpCode gets a reference to the given string and assigns it to the TotpCode field.

func (o *UpdateSettingsFlowWithTotpMethod) SetTotpUnlink(v bool)

SetTotpUnlink gets a reference to the given bool and assigns it to the TotpUnlink field.

func (UpdateSettingsFlowWithTotpMethod) ToMap added in v1.1.0

func (o UpdateSettingsFlowWithTotpMethod) ToMap() (map[string]interface{}, error)

func (*UpdateSettingsFlowWithTotpMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateSettingsFlowWithTotpMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateSettingsFlowWithWebAuthnMethod added in v0.11.0

type UpdateSettingsFlowWithWebAuthnMethod struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.
	Method string `json:"method"`
	// Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here.
	WebauthnRegister *string `json:"webauthn_register,omitempty"`
	// Name of the WebAuthn Security Key to be Added  A human-readable name for the security key which will be added.
	WebauthnRegisterDisplayname *string `json:"webauthn_register_displayname,omitempty"`
	// Remove a WebAuthn Security Key  This must contain the ID of the WebAuthN connection.
	WebauthnRemove       *string `json:"webauthn_remove,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateSettingsFlowWithWebAuthnMethod Update Settings Flow with WebAuthn Method

func NewUpdateSettingsFlowWithWebAuthnMethod added in v0.11.0

func NewUpdateSettingsFlowWithWebAuthnMethod(method string) *UpdateSettingsFlowWithWebAuthnMethod

NewUpdateSettingsFlowWithWebAuthnMethod instantiates a new UpdateSettingsFlowWithWebAuthnMethod 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 NewUpdateSettingsFlowWithWebAuthnMethodWithDefaults added in v0.11.0

func NewUpdateSettingsFlowWithWebAuthnMethodWithDefaults() *UpdateSettingsFlowWithWebAuthnMethod

NewUpdateSettingsFlowWithWebAuthnMethodWithDefaults instantiates a new UpdateSettingsFlowWithWebAuthnMethod 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 (*UpdateSettingsFlowWithWebAuthnMethod) GetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) 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 (*UpdateSettingsFlowWithWebAuthnMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithWebAuthnMethod) GetMethodOk added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegister added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegister() string

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplaynameOk added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplaynameOk() (*string, bool)

GetWebauthnRegisterDisplaynameOk returns a tuple with the WebauthnRegisterDisplayname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterOk added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterOk() (*string, bool)

GetWebauthnRegisterOk returns a tuple with the WebauthnRegister field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRemove added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRemove() string

GetWebauthnRemove returns the WebauthnRemove field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRemoveOk added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRemoveOk() (*string, bool)

GetWebauthnRemoveOk returns a tuple with the WebauthnRemove field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegister added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegister() bool

HasWebauthnRegister returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRemove added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRemove() bool

HasWebauthnRemove returns a boolean if a field has been set.

func (UpdateSettingsFlowWithWebAuthnMethod) MarshalJSON added in v0.11.0

func (o UpdateSettingsFlowWithWebAuthnMethod) MarshalJSON() ([]byte, error)

func (*UpdateSettingsFlowWithWebAuthnMethod) SetCsrfToken added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithWebAuthnMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (*UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegister added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegister(v string)

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

func (*UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRemove added in v0.11.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRemove(v string)

SetWebauthnRemove gets a reference to the given string and assigns it to the WebauthnRemove field.

func (UpdateSettingsFlowWithWebAuthnMethod) ToMap added in v1.1.0

func (o UpdateSettingsFlowWithWebAuthnMethod) ToMap() (map[string]interface{}, error)

func (*UpdateSettingsFlowWithWebAuthnMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateSettingsFlowWithWebAuthnMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateVerificationFlowBody added in v0.11.0

type UpdateVerificationFlowBody struct {
	UpdateVerificationFlowWithCodeMethod *UpdateVerificationFlowWithCodeMethod
	UpdateVerificationFlowWithLinkMethod *UpdateVerificationFlowWithLinkMethod
}

UpdateVerificationFlowBody - Update Verification Flow Request Body

func UpdateVerificationFlowWithCodeMethodAsUpdateVerificationFlowBody added in v0.13.1

func UpdateVerificationFlowWithCodeMethodAsUpdateVerificationFlowBody(v *UpdateVerificationFlowWithCodeMethod) UpdateVerificationFlowBody

UpdateVerificationFlowWithCodeMethodAsUpdateVerificationFlowBody is a convenience function that returns UpdateVerificationFlowWithCodeMethod wrapped in UpdateVerificationFlowBody

func UpdateVerificationFlowWithLinkMethodAsUpdateVerificationFlowBody added in v0.11.0

func UpdateVerificationFlowWithLinkMethodAsUpdateVerificationFlowBody(v *UpdateVerificationFlowWithLinkMethod) UpdateVerificationFlowBody

UpdateVerificationFlowWithLinkMethodAsUpdateVerificationFlowBody is a convenience function that returns UpdateVerificationFlowWithLinkMethod wrapped in UpdateVerificationFlowBody

func (*UpdateVerificationFlowBody) GetActualInstance added in v0.11.0

func (obj *UpdateVerificationFlowBody) GetActualInstance() interface{}

Get the actual instance

func (UpdateVerificationFlowBody) MarshalJSON added in v0.11.0

func (src UpdateVerificationFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UpdateVerificationFlowBody) UnmarshalJSON added in v0.11.0

func (dst *UpdateVerificationFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UpdateVerificationFlowWithCodeMethod added in v0.13.1

type UpdateVerificationFlowWithCodeMethod struct {
	// Code from the recovery email  If you want to submit a code, use this field, but make sure to _not_ include the email field, as well.
	Code *string `json:"code,omitempty"`
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// The email address to verify  If the email belongs to a valid account, a verifiation email will be sent.  If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications)  If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.  format: email
	Email *string `json:"email,omitempty"`
	// Method is the method that should be used for this verification flow  Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode
	Method               string `json:"method"`
	AdditionalProperties map[string]interface{}
}

UpdateVerificationFlowWithCodeMethod struct for UpdateVerificationFlowWithCodeMethod

func NewUpdateVerificationFlowWithCodeMethod added in v0.13.1

func NewUpdateVerificationFlowWithCodeMethod(method string) *UpdateVerificationFlowWithCodeMethod

NewUpdateVerificationFlowWithCodeMethod instantiates a new UpdateVerificationFlowWithCodeMethod 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 NewUpdateVerificationFlowWithCodeMethodWithDefaults added in v0.13.1

func NewUpdateVerificationFlowWithCodeMethodWithDefaults() *UpdateVerificationFlowWithCodeMethod

NewUpdateVerificationFlowWithCodeMethodWithDefaults instantiates a new UpdateVerificationFlowWithCodeMethod 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 (*UpdateVerificationFlowWithCodeMethod) GetCode added in v0.13.1

GetCode returns the Code field value if set, zero value otherwise.

func (*UpdateVerificationFlowWithCodeMethod) GetCodeOk added in v0.13.1

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 (*UpdateVerificationFlowWithCodeMethod) GetCsrfToken added in v0.13.1

func (o *UpdateVerificationFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateVerificationFlowWithCodeMethod) GetCsrfTokenOk added in v0.13.1

func (o *UpdateVerificationFlowWithCodeMethod) 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 (*UpdateVerificationFlowWithCodeMethod) GetEmail added in v0.13.1

GetEmail returns the Email field value if set, zero value otherwise.

func (*UpdateVerificationFlowWithCodeMethod) GetEmailOk added in v0.13.1

func (o *UpdateVerificationFlowWithCodeMethod) 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 (*UpdateVerificationFlowWithCodeMethod) GetMethod added in v0.13.1

GetMethod returns the Method field value

func (*UpdateVerificationFlowWithCodeMethod) GetMethodOk added in v0.13.1

func (o *UpdateVerificationFlowWithCodeMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateVerificationFlowWithCodeMethod) HasCode added in v0.13.1

HasCode returns a boolean if a field has been set.

func (*UpdateVerificationFlowWithCodeMethod) HasCsrfToken added in v0.13.1

func (o *UpdateVerificationFlowWithCodeMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateVerificationFlowWithCodeMethod) HasEmail added in v0.13.1

HasEmail returns a boolean if a field has been set.

func (UpdateVerificationFlowWithCodeMethod) MarshalJSON added in v0.13.1

func (o UpdateVerificationFlowWithCodeMethod) MarshalJSON() ([]byte, error)

func (*UpdateVerificationFlowWithCodeMethod) SetCode added in v0.13.1

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateVerificationFlowWithCodeMethod) SetCsrfToken added in v0.13.1

func (o *UpdateVerificationFlowWithCodeMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateVerificationFlowWithCodeMethod) SetEmail added in v0.13.1

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UpdateVerificationFlowWithCodeMethod) SetMethod added in v0.13.1

SetMethod sets field value

func (UpdateVerificationFlowWithCodeMethod) ToMap added in v1.1.0

func (o UpdateVerificationFlowWithCodeMethod) ToMap() (map[string]interface{}, error)

func (*UpdateVerificationFlowWithCodeMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateVerificationFlowWithCodeMethod) UnmarshalJSON(bytes []byte) (err error)

type UpdateVerificationFlowWithLinkMethod added in v0.11.0

type UpdateVerificationFlowWithLinkMethod struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Email to Verify  Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead.  format: email
	Email string `json:"email"`
	// Method is the method that should be used for this verification flow  Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode
	Method               string `json:"method"`
	AdditionalProperties map[string]interface{}
}

UpdateVerificationFlowWithLinkMethod Update Verification Flow with Link Method

func NewUpdateVerificationFlowWithLinkMethod added in v0.11.0

func NewUpdateVerificationFlowWithLinkMethod(email string, method string) *UpdateVerificationFlowWithLinkMethod

NewUpdateVerificationFlowWithLinkMethod instantiates a new UpdateVerificationFlowWithLinkMethod 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 NewUpdateVerificationFlowWithLinkMethodWithDefaults added in v0.11.0

func NewUpdateVerificationFlowWithLinkMethodWithDefaults() *UpdateVerificationFlowWithLinkMethod

NewUpdateVerificationFlowWithLinkMethodWithDefaults instantiates a new UpdateVerificationFlowWithLinkMethod 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 (*UpdateVerificationFlowWithLinkMethod) GetCsrfToken added in v0.11.0

func (o *UpdateVerificationFlowWithLinkMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateVerificationFlowWithLinkMethod) GetCsrfTokenOk added in v0.11.0

func (o *UpdateVerificationFlowWithLinkMethod) 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 (*UpdateVerificationFlowWithLinkMethod) GetEmail added in v0.11.0

GetEmail returns the Email field value

func (*UpdateVerificationFlowWithLinkMethod) GetEmailOk added in v0.11.0

func (o *UpdateVerificationFlowWithLinkMethod) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*UpdateVerificationFlowWithLinkMethod) GetMethod added in v0.11.0

GetMethod returns the Method field value

func (*UpdateVerificationFlowWithLinkMethod) GetMethodOk added in v0.11.0

func (o *UpdateVerificationFlowWithLinkMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UpdateVerificationFlowWithLinkMethod) HasCsrfToken added in v0.11.0

func (o *UpdateVerificationFlowWithLinkMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateVerificationFlowWithLinkMethod) MarshalJSON added in v0.11.0

func (o UpdateVerificationFlowWithLinkMethod) MarshalJSON() ([]byte, error)

func (*UpdateVerificationFlowWithLinkMethod) SetCsrfToken added in v0.11.0

func (o *UpdateVerificationFlowWithLinkMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateVerificationFlowWithLinkMethod) SetEmail added in v0.11.0

SetEmail sets field value

func (*UpdateVerificationFlowWithLinkMethod) SetMethod added in v0.11.0

SetMethod sets field value

func (UpdateVerificationFlowWithLinkMethod) ToMap added in v1.1.0

func (o UpdateVerificationFlowWithLinkMethod) ToMap() (map[string]interface{}, error)

func (*UpdateVerificationFlowWithLinkMethod) UnmarshalJSON added in v1.0.0

func (o *UpdateVerificationFlowWithLinkMethod) UnmarshalJSON(bytes []byte) (err error)

type VerifiableIdentityAddress

type VerifiableIdentityAddress struct {
	// When this entry was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The ID
	Id *string `json:"id,omitempty"`
	// VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema
	Status string `json:"status"`
	// When this entry was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The address value  example foo@user.com
	Value string `json:"value"`
	// Indicates if the address has already been verified
	Verified   bool       `json:"verified"`
	VerifiedAt *time.Time `json:"verified_at,omitempty"`
	// The delivery method
	Via                  string `json:"via"`
	AdditionalProperties map[string]interface{}
}

VerifiableIdentityAddress VerifiableAddress is an identity's verifiable address

func NewVerifiableIdentityAddress

func NewVerifiableIdentityAddress(status string, value string, verified bool, via string) *VerifiableIdentityAddress

NewVerifiableIdentityAddress instantiates a new VerifiableIdentityAddress 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 NewVerifiableIdentityAddressWithDefaults

func NewVerifiableIdentityAddressWithDefaults() *VerifiableIdentityAddress

NewVerifiableIdentityAddressWithDefaults instantiates a new VerifiableIdentityAddress 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 (*VerifiableIdentityAddress) GetCreatedAt

func (o *VerifiableIdentityAddress) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VerifiableIdentityAddress) GetCreatedAtOk

func (o *VerifiableIdentityAddress) 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 (*VerifiableIdentityAddress) GetId

func (o *VerifiableIdentityAddress) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VerifiableIdentityAddress) GetIdOk

func (o *VerifiableIdentityAddress) 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 (*VerifiableIdentityAddress) GetStatus

func (o *VerifiableIdentityAddress) GetStatus() string

GetStatus returns the Status field value

func (*VerifiableIdentityAddress) GetStatusOk

func (o *VerifiableIdentityAddress) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*VerifiableIdentityAddress) GetUpdatedAt

func (o *VerifiableIdentityAddress) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VerifiableIdentityAddress) GetUpdatedAtOk

func (o *VerifiableIdentityAddress) 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 (*VerifiableIdentityAddress) GetValue

func (o *VerifiableIdentityAddress) GetValue() string

GetValue returns the Value field value

func (*VerifiableIdentityAddress) GetValueOk

func (o *VerifiableIdentityAddress) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*VerifiableIdentityAddress) GetVerified

func (o *VerifiableIdentityAddress) GetVerified() bool

GetVerified returns the Verified field value

func (*VerifiableIdentityAddress) GetVerifiedAt

func (o *VerifiableIdentityAddress) GetVerifiedAt() time.Time

GetVerifiedAt returns the VerifiedAt field value if set, zero value otherwise.

func (*VerifiableIdentityAddress) GetVerifiedAtOk

func (o *VerifiableIdentityAddress) GetVerifiedAtOk() (*time.Time, bool)

GetVerifiedAtOk returns a tuple with the VerifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifiableIdentityAddress) GetVerifiedOk

func (o *VerifiableIdentityAddress) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value and a boolean to check if the value has been set.

func (*VerifiableIdentityAddress) GetVia

func (o *VerifiableIdentityAddress) GetVia() string

GetVia returns the Via field value

func (*VerifiableIdentityAddress) GetViaOk

func (o *VerifiableIdentityAddress) GetViaOk() (*string, bool)

GetViaOk returns a tuple with the Via field value and a boolean to check if the value has been set.

func (*VerifiableIdentityAddress) HasCreatedAt

func (o *VerifiableIdentityAddress) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VerifiableIdentityAddress) HasId added in v0.11.0

func (o *VerifiableIdentityAddress) HasId() bool

HasId returns a boolean if a field has been set.

func (*VerifiableIdentityAddress) HasUpdatedAt

func (o *VerifiableIdentityAddress) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*VerifiableIdentityAddress) HasVerifiedAt

func (o *VerifiableIdentityAddress) HasVerifiedAt() bool

HasVerifiedAt returns a boolean if a field has been set.

func (VerifiableIdentityAddress) MarshalJSON

func (o VerifiableIdentityAddress) MarshalJSON() ([]byte, error)

func (*VerifiableIdentityAddress) SetCreatedAt

func (o *VerifiableIdentityAddress) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VerifiableIdentityAddress) SetId

func (o *VerifiableIdentityAddress) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VerifiableIdentityAddress) SetStatus

func (o *VerifiableIdentityAddress) SetStatus(v string)

SetStatus sets field value

func (*VerifiableIdentityAddress) SetUpdatedAt

func (o *VerifiableIdentityAddress) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*VerifiableIdentityAddress) SetValue

func (o *VerifiableIdentityAddress) SetValue(v string)

SetValue sets field value

func (*VerifiableIdentityAddress) SetVerified

func (o *VerifiableIdentityAddress) SetVerified(v bool)

SetVerified sets field value

func (*VerifiableIdentityAddress) SetVerifiedAt

func (o *VerifiableIdentityAddress) SetVerifiedAt(v time.Time)

SetVerifiedAt gets a reference to the given time.Time and assigns it to the VerifiedAt field.

func (*VerifiableIdentityAddress) SetVia

func (o *VerifiableIdentityAddress) SetVia(v string)

SetVia sets field value

func (VerifiableIdentityAddress) ToMap added in v1.1.0

func (o VerifiableIdentityAddress) ToMap() (map[string]interface{}, error)

func (*VerifiableIdentityAddress) UnmarshalJSON added in v1.0.0

func (o *VerifiableIdentityAddress) UnmarshalJSON(bytes []byte) (err error)

type VerificationFlow added in v0.11.0

type VerificationFlow struct {
	// Active, if set, contains the registration method that is being used. It is initially not set.
	Active *string `json:"active,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 format: uuid
	Id string `json:"id"`
	// IssuedAt is the time (UTC) when the request occurred.
	IssuedAt *time.Time `json:"issued_at,omitempty"`
	// RequestURL is the initial URL that was requested from Ory Kratos. 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 represents the state of this request:  choose_method: ask the user to choose a method (e.g. verify your email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the verification challenge was passed.
	State interface{} `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type                 string      `json:"type"`
	Ui                   UiContainer `json:"ui"`
	AdditionalProperties map[string]interface{}
}

VerificationFlow Used to verify an out-of-band communication channel such as an email address or a phone number. For more information head over to: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation

func NewVerificationFlow added in v0.11.0

func NewVerificationFlow(id string, state interface{}, type_ string, 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 added in v0.11.0

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) GetActive added in v0.11.0

func (o *VerificationFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*VerificationFlow) GetActiveOk added in v0.11.0

func (o *VerificationFlow) GetActiveOk() (*string, 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 (*VerificationFlow) GetExpiresAt added in v0.11.0

func (o *VerificationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VerificationFlow) GetExpiresAtOk added in v0.11.0

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 added in v0.11.0

func (o *VerificationFlow) GetId() string

GetId returns the Id field value

func (*VerificationFlow) GetIdOk added in v0.11.0

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 added in v0.11.0

func (o *VerificationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetIssuedAtOk added in v0.11.0

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) GetRequestUrl added in v0.11.0

func (o *VerificationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*VerificationFlow) GetRequestUrlOk added in v0.11.0

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 added in v0.11.0

func (o *VerificationFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*VerificationFlow) GetReturnToOk added in v0.11.0

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 added in v0.11.0

func (o *VerificationFlow) GetState() interface{}

GetState returns the State field value If the value is explicit nil, the zero value for interface{} will be returned

func (*VerificationFlow) GetStateOk added in v0.11.0

func (o *VerificationFlow) GetStateOk() (*interface{}, bool)

GetStateOk returns a tuple with the State field value 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 (*VerificationFlow) GetType added in v0.11.0

func (o *VerificationFlow) GetType() string

GetType returns the Type field value

func (*VerificationFlow) GetTypeOk added in v0.11.0

func (o *VerificationFlow) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VerificationFlow) GetUi added in v0.11.0

func (o *VerificationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*VerificationFlow) GetUiOk added in v0.11.0

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) HasActive added in v0.11.0

func (o *VerificationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*VerificationFlow) HasExpiresAt added in v0.11.0

func (o *VerificationFlow) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VerificationFlow) HasIssuedAt added in v0.11.0

func (o *VerificationFlow) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*VerificationFlow) HasRequestUrl added in v0.11.0

func (o *VerificationFlow) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*VerificationFlow) HasReturnTo added in v0.11.0

func (o *VerificationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (VerificationFlow) MarshalJSON added in v0.11.0

func (o VerificationFlow) MarshalJSON() ([]byte, error)

func (*VerificationFlow) SetActive added in v0.11.0

func (o *VerificationFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*VerificationFlow) SetExpiresAt added in v0.11.0

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 added in v0.11.0

func (o *VerificationFlow) SetId(v string)

SetId sets field value

func (*VerificationFlow) SetIssuedAt added in v0.11.0

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) SetRequestUrl added in v0.11.0

func (o *VerificationFlow) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*VerificationFlow) SetReturnTo added in v0.11.0

func (o *VerificationFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*VerificationFlow) SetState added in v0.11.0

func (o *VerificationFlow) SetState(v interface{})

SetState sets field value

func (*VerificationFlow) SetType added in v0.11.0

func (o *VerificationFlow) SetType(v string)

SetType sets field value

func (*VerificationFlow) SetUi added in v0.11.0

func (o *VerificationFlow) SetUi(v UiContainer)

SetUi sets field value

func (VerificationFlow) ToMap added in v1.1.0

func (o VerificationFlow) ToMap() (map[string]interface{}, error)

func (*VerificationFlow) UnmarshalJSON added in v1.0.0

func (o *VerificationFlow) UnmarshalJSON(bytes []byte) (err error)

type VerificationFlowState added in v0.11.0

type VerificationFlowState string

VerificationFlowState 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_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.

const (
	VERIFICATIONFLOWSTATE_CHOOSE_METHOD    VerificationFlowState = "choose_method"
	VERIFICATIONFLOWSTATE_SENT_EMAIL       VerificationFlowState = "sent_email"
	VERIFICATIONFLOWSTATE_PASSED_CHALLENGE VerificationFlowState = "passed_challenge"
)

List of verificationFlowState

func NewVerificationFlowStateFromValue added in v0.11.0

func NewVerificationFlowStateFromValue(v string) (*VerificationFlowState, error)

NewVerificationFlowStateFromValue returns a pointer to a valid VerificationFlowState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VerificationFlowState) IsValid added in v0.11.0

func (v VerificationFlowState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VerificationFlowState) Ptr added in v0.11.0

Ptr returns reference to verificationFlowState value

func (*VerificationFlowState) UnmarshalJSON added in v0.11.0

func (v *VerificationFlowState) UnmarshalJSON(src []byte) error

type Version

type Version struct {
	// Version is the service's version.
	Version              *string `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}
}

Version struct for Version

func NewVersion

func NewVersion() *Version

NewVersion instantiates a new Version 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 NewVersionWithDefaults

func NewVersionWithDefaults() *Version

NewVersionWithDefaults instantiates a new Version 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 (*Version) GetVersion

func (o *Version) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Version) GetVersionOk

func (o *Version) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Version) HasVersion

func (o *Version) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Version) MarshalJSON

func (o Version) MarshalJSON() ([]byte, error)

func (*Version) SetVersion

func (o *Version) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (Version) ToMap added in v1.1.0

func (o Version) ToMap() (map[string]interface{}, error)

func (*Version) UnmarshalJSON added in v1.0.0

func (o *Version) UnmarshalJSON(bytes []byte) (err error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL