client

package
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: 21 Imported by: 0

README

Go API client for client

This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more.

Overview

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

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

Installation

Install the following dependencies:

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

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

import client "github.com/ory/client-go"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
CourierApi GetCourierMessage Get /admin/courier/messages/{id} Get a Message
CourierApi ListCourierMessages Get /admin/courier/messages List Messages
FrontendApi CreateBrowserLoginFlow Get /self-service/login/browser Create Login Flow for Browsers
FrontendApi CreateBrowserLogoutFlow Get /self-service/logout/browser Create a Logout URL for Browsers
FrontendApi CreateBrowserRecoveryFlow Get /self-service/recovery/browser Create Recovery Flow for Browsers
FrontendApi CreateBrowserRegistrationFlow Get /self-service/registration/browser Create Registration Flow for Browsers
FrontendApi CreateBrowserSettingsFlow Get /self-service/settings/browser Create Settings Flow for Browsers
FrontendApi CreateBrowserVerificationFlow Get /self-service/verification/browser Create Verification Flow for Browser Clients
FrontendApi CreateNativeLoginFlow Get /self-service/login/api Create Login Flow for Native Apps
FrontendApi CreateNativeRecoveryFlow Get /self-service/recovery/api Create Recovery Flow for Native Apps
FrontendApi CreateNativeRegistrationFlow Get /self-service/registration/api Create Registration Flow for Native Apps
FrontendApi CreateNativeSettingsFlow Get /self-service/settings/api Create Settings Flow for Native Apps
FrontendApi CreateNativeVerificationFlow Get /self-service/verification/api Create Verification Flow for Native Apps
FrontendApi DisableMyOtherSessions Delete /sessions Disable my other sessions
FrontendApi DisableMySession Delete /sessions/{id} Disable one of my sessions
FrontendApi ExchangeSessionToken Get /sessions/token-exchange Exchange Session Token
FrontendApi GetFlowError Get /self-service/errors Get User-Flow Errors
FrontendApi GetLoginFlow Get /self-service/login/flows Get Login Flow
FrontendApi GetRecoveryFlow Get /self-service/recovery/flows Get Recovery Flow
FrontendApi GetRegistrationFlow Get /self-service/registration/flows Get Registration Flow
FrontendApi GetSettingsFlow Get /self-service/settings/flows Get Settings Flow
FrontendApi GetVerificationFlow Get /self-service/verification/flows Get Verification Flow
FrontendApi GetWebAuthnJavaScript Get /.well-known/ory/webauthn.js Get WebAuthn JavaScript
FrontendApi ListMySessions Get /sessions Get My Active Sessions
FrontendApi PerformNativeLogout Delete /self-service/logout/api Perform Logout for Native Apps
FrontendApi ToSession Get /sessions/whoami Check Who the Current HTTP Session Belongs To
FrontendApi UpdateLoginFlow Post /self-service/login Submit a Login Flow
FrontendApi UpdateLogoutFlow Get /self-service/logout Update Logout Flow
FrontendApi UpdateRecoveryFlow Post /self-service/recovery Update Recovery Flow
FrontendApi UpdateRegistrationFlow Post /self-service/registration Update Registration Flow
FrontendApi UpdateSettingsFlow Post /self-service/settings Complete Settings Flow
FrontendApi UpdateVerificationFlow Post /self-service/verification Complete Verification Flow
IdentityApi BatchPatchIdentities Patch /admin/identities Create and deletes multiple identities
IdentityApi CreateIdentity Post /admin/identities Create an Identity
IdentityApi CreateRecoveryCodeForIdentity Post /admin/recovery/code Create a Recovery Code
IdentityApi CreateRecoveryLinkForIdentity Post /admin/recovery/link Create a Recovery Link
IdentityApi DeleteIdentity Delete /admin/identities/{id} Delete an Identity
IdentityApi DeleteIdentityCredentials Delete /admin/identities/{id}/credentials/{type} Delete a credential for a specific identity
IdentityApi DeleteIdentitySessions Delete /admin/identities/{id}/sessions Delete & Invalidate an Identity's Sessions
IdentityApi DisableSession Delete /admin/sessions/{id} Deactivate a Session
IdentityApi ExtendSession Patch /admin/sessions/{id}/extend Extend a Session
IdentityApi GetIdentity Get /admin/identities/{id} Get an Identity
IdentityApi GetIdentitySchema Get /schemas/{id} Get Identity JSON Schema
IdentityApi GetSession Get /admin/sessions/{id} Get Session
IdentityApi ListIdentities Get /admin/identities List Identities
IdentityApi ListIdentitySchemas Get /schemas Get all Identity Schemas
IdentityApi ListIdentitySessions Get /admin/identities/{id}/sessions List an Identity's Sessions
IdentityApi ListSessions Get /admin/sessions List All Sessions
IdentityApi PatchIdentity Patch /admin/identities/{id} Patch an Identity
IdentityApi UpdateIdentity Put /admin/identities/{id} Update an Identity
MetadataApi GetVersion Get /version Return Running Software Version.
MetadataApi IsAlive Get /health/alive Check HTTP Server Status
MetadataApi IsReady Get /health/ready Check HTTP Server and Database Status

Documentation For Models

Documentation For Authorization

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

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

Documentation for Utility Methods

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

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

Author

office@ory.sh

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	CourierApi CourierApi

	FrontendApi FrontendApi

	IdentityApi IdentityApi

	MetadataApi MetadataApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Ory Identities API API v 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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AuthenticatorAssuranceLevel

type AuthenticatorAssuranceLevel string

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

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

BatchPatchIdentitiesResponse Patch identities response

func NewBatchPatchIdentitiesResponse added in v0.13.0

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.0

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.0

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

func (*BatchPatchIdentitiesResponse) GetIdentitiesOk added in v0.13.0

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.0

func (o *BatchPatchIdentitiesResponse) HasIdentities() bool

HasIdentities returns a boolean if a field has been set.

func (BatchPatchIdentitiesResponse) MarshalJSON added in v0.13.0

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

func (*BatchPatchIdentitiesResponse) SetIdentities added in v0.13.0

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

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"`
}

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.

type ContinueWith added in v0.13.0

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.0

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.0

func ContinueWithVerificationUiAsContinueWith(v *ContinueWithVerificationUi) ContinueWith

ContinueWithVerificationUiAsContinueWith is a convenience function that returns ContinueWithVerificationUi wrapped in ContinueWith

func (*ContinueWith) GetActualInstance added in v0.13.0

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

Get the actual instance

func (ContinueWith) MarshalJSON added in v0.13.0

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.0

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"`
}

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

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"`
}

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.

type ContinueWithSetOrySessionToken added in v0.13.0

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"`
}

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

func NewContinueWithSetOrySessionToken added in v0.13.0

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.0

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.0

func (o *ContinueWithSetOrySessionToken) GetAction() string

GetAction returns the Action field value

func (*ContinueWithSetOrySessionToken) GetActionOk added in v0.13.0

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.0

func (o *ContinueWithSetOrySessionToken) GetOrySessionToken() string

GetOrySessionToken returns the OrySessionToken field value

func (*ContinueWithSetOrySessionToken) GetOrySessionTokenOk added in v0.13.0

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.0

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

func (*ContinueWithSetOrySessionToken) SetAction added in v0.13.0

func (o *ContinueWithSetOrySessionToken) SetAction(v string)

SetAction sets field value

func (*ContinueWithSetOrySessionToken) SetOrySessionToken added in v0.13.0

func (o *ContinueWithSetOrySessionToken) SetOrySessionToken(v string)

SetOrySessionToken sets field value

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"`
}

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

type ContinueWithSettingsUiFlow added in v1.1.0

type ContinueWithSettingsUiFlow struct {
	// The ID of the settings flow
	Id string `json:"id"`
}

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

type ContinueWithVerificationUi added in v0.13.0

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

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

func NewContinueWithVerificationUi added in v0.13.0

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.0

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.0

func (o *ContinueWithVerificationUi) GetAction() string

GetAction returns the Action field value

func (*ContinueWithVerificationUi) GetActionOk added in v0.13.0

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.0

GetFlow returns the Flow field value

func (*ContinueWithVerificationUi) GetFlowOk added in v0.13.0

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.0

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

func (*ContinueWithVerificationUi) SetAction added in v0.13.0

func (o *ContinueWithVerificationUi) SetAction(v string)

SetAction sets field value

func (*ContinueWithVerificationUi) SetFlow added in v0.13.0

SetFlow sets field value

type ContinueWithVerificationUiFlow added in v0.13.0

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"`
}

ContinueWithVerificationUiFlow struct for ContinueWithVerificationUiFlow

func NewContinueWithVerificationUiFlow added in v0.13.0

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.0

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.0

GetId returns the Id field value

func (*ContinueWithVerificationUiFlow) GetIdOk added in v0.13.0

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.0

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

func (*ContinueWithVerificationUiFlow) GetUrlOk added in v0.13.0

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.0

func (o *ContinueWithVerificationUiFlow) GetVerifiableAddress() string

GetVerifiableAddress returns the VerifiableAddress field value

func (*ContinueWithVerificationUiFlow) GetVerifiableAddressOk added in v0.13.0

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.0

HasUrl returns a boolean if a field has been set.

func (ContinueWithVerificationUiFlow) MarshalJSON added in v0.13.0

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

func (*ContinueWithVerificationUiFlow) SetId added in v0.13.0

SetId sets field value

func (*ContinueWithVerificationUiFlow) SetUrl added in v0.13.0

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

func (*ContinueWithVerificationUiFlow) SetVerifiableAddress added in v0.13.0

func (o *ContinueWithVerificationUiFlow) SetVerifiableAddress(v string)

SetVerifiableAddress sets field value

type CourierApi

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 CourierApiApiGetCourierMessageRequest
	 */
	GetCourierMessage(ctx context.Context, id string) CourierApiApiGetCourierMessageRequest

	/*
	 * GetCourierMessageExecute executes the request
	 * @return Message
	 */
	GetCourierMessageExecute(r CourierApiApiGetCourierMessageRequest) (*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 CourierApiApiListCourierMessagesRequest
	 */
	ListCourierMessages(ctx context.Context) CourierApiApiListCourierMessagesRequest

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

type CourierApiApiGetCourierMessageRequest added in v0.11.1

type CourierApiApiGetCourierMessageRequest struct {
	ApiService CourierApi
	// contains filtered or unexported fields
}

func (CourierApiApiGetCourierMessageRequest) Execute added in v0.11.1

type CourierApiApiListCourierMessagesRequest

type CourierApiApiListCourierMessagesRequest struct {
	ApiService CourierApi
	// contains filtered or unexported fields
}

func (CourierApiApiListCourierMessagesRequest) Execute

func (CourierApiApiListCourierMessagesRequest) PageSize added in v0.11.1

func (CourierApiApiListCourierMessagesRequest) PageToken added in v0.11.1

func (CourierApiApiListCourierMessagesRequest) Recipient

func (CourierApiApiListCourierMessagesRequest) Status

type CourierApiService

type CourierApiService service

CourierApiService CourierApi service

func (*CourierApiService) GetCourierMessage added in v0.11.1

* 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 CourierApiApiGetCourierMessageRequest

func (*CourierApiService) GetCourierMessageExecute added in v0.11.1

* Execute executes the request * @return Message

func (*CourierApiService) ListCourierMessages

* 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 CourierApiApiListCourierMessagesRequest

func (*CourierApiService) ListCourierMessagesExecute

func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiApiListCourierMessagesRequest) ([]Message, *http.Response, error)

* Execute executes the request * @return []Message

type CourierMessageStatus

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 (CourierMessageStatus) Ptr

Ptr returns reference to courierMessageStatus value

func (*CourierMessageStatus) UnmarshalJSON

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

type CourierMessageType

type CourierMessageType string

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

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

List of courierMessageType

func (CourierMessageType) Ptr

Ptr returns reference to courierMessageType value

func (*CourierMessageType) UnmarshalJSON

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

type CreateIdentityBody

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"`
}

CreateIdentityBody Create Identity Body

func NewCreateIdentityBody

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

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

func (o *CreateIdentityBody) GetCredentials() IdentityWithCredentials

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

func (*CreateIdentityBody) GetCredentialsOk

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

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

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

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

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

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

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

func (*CreateIdentityBody) GetRecoveryAddressesOk

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

func (o *CreateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*CreateIdentityBody) GetSchemaIdOk

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

func (o *CreateIdentityBody) GetState() string

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

func (*CreateIdentityBody) GetStateOk

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

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

GetTraits returns the Traits field value

func (*CreateIdentityBody) GetTraitsOk

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

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

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

func (*CreateIdentityBody) GetVerifiableAddressesOk

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

func (o *CreateIdentityBody) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*CreateIdentityBody) HasMetadataAdmin

func (o *CreateIdentityBody) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*CreateIdentityBody) HasMetadataPublic

func (o *CreateIdentityBody) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (*CreateIdentityBody) HasRecoveryAddresses

func (o *CreateIdentityBody) HasRecoveryAddresses() bool

HasRecoveryAddresses returns a boolean if a field has been set.

func (*CreateIdentityBody) HasState

func (o *CreateIdentityBody) HasState() bool

HasState returns a boolean if a field has been set.

func (*CreateIdentityBody) HasVerifiableAddresses

func (o *CreateIdentityBody) HasVerifiableAddresses() bool

HasVerifiableAddresses returns a boolean if a field has been set.

func (CreateIdentityBody) MarshalJSON

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

func (*CreateIdentityBody) SetCredentials

func (o *CreateIdentityBody) SetCredentials(v IdentityWithCredentials)

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

func (*CreateIdentityBody) SetMetadataAdmin

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

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

func (*CreateIdentityBody) SetMetadataPublic

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

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

func (*CreateIdentityBody) SetRecoveryAddresses

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

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

func (*CreateIdentityBody) SetSchemaId

func (o *CreateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*CreateIdentityBody) SetState

func (o *CreateIdentityBody) SetState(v string)

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

func (*CreateIdentityBody) SetTraits

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

SetTraits sets field value

func (*CreateIdentityBody) SetVerifiableAddresses

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

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

type CreateRecoveryCodeForIdentityBody

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"`
}

CreateRecoveryCodeForIdentityBody Create Recovery Code for Identity Request Body

func NewCreateRecoveryCodeForIdentityBody

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

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

func (o *CreateRecoveryCodeForIdentityBody) GetExpiresIn() string

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

func (*CreateRecoveryCodeForIdentityBody) GetExpiresInOk

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

func (o *CreateRecoveryCodeForIdentityBody) GetIdentityId() string

GetIdentityId returns the IdentityId field value

func (*CreateRecoveryCodeForIdentityBody) GetIdentityIdOk

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

func (o *CreateRecoveryCodeForIdentityBody) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (CreateRecoveryCodeForIdentityBody) MarshalJSON

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

func (*CreateRecoveryCodeForIdentityBody) SetExpiresIn

func (o *CreateRecoveryCodeForIdentityBody) SetExpiresIn(v string)

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

func (*CreateRecoveryCodeForIdentityBody) SetIdentityId

func (o *CreateRecoveryCodeForIdentityBody) SetIdentityId(v string)

SetIdentityId sets field value

type CreateRecoveryLinkForIdentityBody

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"`
}

CreateRecoveryLinkForIdentityBody Create Recovery Link for Identity Request Body

func NewCreateRecoveryLinkForIdentityBody

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

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

func (o *CreateRecoveryLinkForIdentityBody) GetExpiresIn() string

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

func (*CreateRecoveryLinkForIdentityBody) GetExpiresInOk

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

func (o *CreateRecoveryLinkForIdentityBody) GetIdentityId() string

GetIdentityId returns the IdentityId field value

func (*CreateRecoveryLinkForIdentityBody) GetIdentityIdOk

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

func (o *CreateRecoveryLinkForIdentityBody) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (CreateRecoveryLinkForIdentityBody) MarshalJSON

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

func (*CreateRecoveryLinkForIdentityBody) SetExpiresIn

func (o *CreateRecoveryLinkForIdentityBody) SetExpiresIn(v string)

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

func (*CreateRecoveryLinkForIdentityBody) SetIdentityId

func (o *CreateRecoveryLinkForIdentityBody) SetIdentityId(v string)

SetIdentityId sets field value

type DeleteMySessionsCount

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

DeleteMySessionsCount Deleted Session Count

func NewDeleteMySessionsCount

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

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

func (o *DeleteMySessionsCount) GetCount() int64

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

func (*DeleteMySessionsCount) GetCountOk

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

func (o *DeleteMySessionsCount) HasCount() bool

HasCount returns a boolean if a field has been set.

func (DeleteMySessionsCount) MarshalJSON

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

func (*DeleteMySessionsCount) SetCount

func (o *DeleteMySessionsCount) SetCount(v int64)

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

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"`
}

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.0

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetErrorOk added in v0.13.0

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.0

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.0

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.

type ErrorBrowserLocationChangeRequired

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

ErrorBrowserLocationChangeRequired struct for ErrorBrowserLocationChangeRequired

func NewErrorBrowserLocationChangeRequired

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

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.0

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

func (*ErrorBrowserLocationChangeRequired) GetErrorOk added in v0.13.0

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

func (o *ErrorBrowserLocationChangeRequired) GetRedirectBrowserTo() string

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

func (*ErrorBrowserLocationChangeRequired) GetRedirectBrowserToOk

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.0

HasError returns a boolean if a field has been set.

func (*ErrorBrowserLocationChangeRequired) HasRedirectBrowserTo

func (o *ErrorBrowserLocationChangeRequired) HasRedirectBrowserTo() bool

HasRedirectBrowserTo returns a boolean if a field has been set.

func (ErrorBrowserLocationChangeRequired) MarshalJSON

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

func (*ErrorBrowserLocationChangeRequired) SetError added in v0.13.0

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

func (*ErrorBrowserLocationChangeRequired) SetRedirectBrowserTo

func (o *ErrorBrowserLocationChangeRequired) SetRedirectBrowserTo(v string)

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

type ErrorFlowReplaced

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"`
}

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

func NewErrorFlowReplaced

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

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.0

func (o *ErrorFlowReplaced) GetError() GenericError

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

func (*ErrorFlowReplaced) GetErrorOk added in v0.13.0

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

func (o *ErrorFlowReplaced) GetUseFlowId() string

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

func (*ErrorFlowReplaced) GetUseFlowIdOk

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.0

func (o *ErrorFlowReplaced) HasError() bool

HasError returns a boolean if a field has been set.

func (*ErrorFlowReplaced) HasUseFlowId

func (o *ErrorFlowReplaced) HasUseFlowId() bool

HasUseFlowId returns a boolean if a field has been set.

func (ErrorFlowReplaced) MarshalJSON

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

func (*ErrorFlowReplaced) SetError added in v0.13.0

func (o *ErrorFlowReplaced) SetError(v GenericError)

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

func (*ErrorFlowReplaced) SetUseFlowId

func (o *ErrorFlowReplaced) SetUseFlowId(v string)

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

type ErrorGeneric

type ErrorGeneric struct {
	Error GenericError `json:"error"`
}

ErrorGeneric The standard Ory JSON API error format.

func NewErrorGeneric

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

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

func (o *ErrorGeneric) GetError() GenericError

GetError returns the Error field value

func (*ErrorGeneric) GetErrorOk

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

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

func (*ErrorGeneric) SetError

func (o *ErrorGeneric) SetError(v GenericError)

SetError sets field value

type FlowError

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"`
}

FlowError struct for FlowError

func NewFlowError

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

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

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

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

func (*FlowError) GetCreatedAtOk

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

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

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

func (*FlowError) GetErrorOk

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

func (o *FlowError) GetId() string

GetId returns the Id field value

func (*FlowError) GetIdOk

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

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

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

func (*FlowError) GetUpdatedAtOk

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

func (o *FlowError) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FlowError) HasError

func (o *FlowError) HasError() bool

HasError returns a boolean if a field has been set.

func (*FlowError) HasUpdatedAt

func (o *FlowError) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FlowError) MarshalJSON

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

func (*FlowError) SetCreatedAt

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

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

func (o *FlowError) SetId(v string)

SetId sets field value

func (*FlowError) SetUpdatedAt

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

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

type FrontendApi

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 FrontendApiApiCreateBrowserLoginFlowRequest
	*/
	CreateBrowserLoginFlow(ctx context.Context) FrontendApiApiCreateBrowserLoginFlowRequest

	/*
	 * CreateBrowserLoginFlowExecute executes the request
	 * @return LoginFlow
	 */
	CreateBrowserLoginFlowExecute(r FrontendApiApiCreateBrowserLoginFlowRequest) (*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 FrontendApiApiCreateBrowserLogoutFlowRequest
	*/
	CreateBrowserLogoutFlow(ctx context.Context) FrontendApiApiCreateBrowserLogoutFlowRequest

	/*
	 * CreateBrowserLogoutFlowExecute executes the request
	 * @return LogoutFlow
	 */
	CreateBrowserLogoutFlowExecute(r FrontendApiApiCreateBrowserLogoutFlowRequest) (*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 FrontendApiApiCreateBrowserRecoveryFlowRequest
	*/
	CreateBrowserRecoveryFlow(ctx context.Context) FrontendApiApiCreateBrowserRecoveryFlowRequest

	/*
	 * CreateBrowserRecoveryFlowExecute executes the request
	 * @return RecoveryFlow
	 */
	CreateBrowserRecoveryFlowExecute(r FrontendApiApiCreateBrowserRecoveryFlowRequest) (*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 FrontendApiApiCreateBrowserRegistrationFlowRequest
	*/
	CreateBrowserRegistrationFlow(ctx context.Context) FrontendApiApiCreateBrowserRegistrationFlowRequest

	/*
	 * CreateBrowserRegistrationFlowExecute executes the request
	 * @return RegistrationFlow
	 */
	CreateBrowserRegistrationFlowExecute(r FrontendApiApiCreateBrowserRegistrationFlowRequest) (*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 FrontendApiApiCreateBrowserSettingsFlowRequest
	*/
	CreateBrowserSettingsFlow(ctx context.Context) FrontendApiApiCreateBrowserSettingsFlowRequest

	/*
	 * CreateBrowserSettingsFlowExecute executes the request
	 * @return SettingsFlow
	 */
	CreateBrowserSettingsFlowExecute(r FrontendApiApiCreateBrowserSettingsFlowRequest) (*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 FrontendApiApiCreateBrowserVerificationFlowRequest
	*/
	CreateBrowserVerificationFlow(ctx context.Context) FrontendApiApiCreateBrowserVerificationFlowRequest

	/*
	 * CreateBrowserVerificationFlowExecute executes the request
	 * @return VerificationFlow
	 */
	CreateBrowserVerificationFlowExecute(r FrontendApiApiCreateBrowserVerificationFlowRequest) (*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 FrontendApiApiCreateNativeLoginFlowRequest
	*/
	CreateNativeLoginFlow(ctx context.Context) FrontendApiApiCreateNativeLoginFlowRequest

	/*
	 * CreateNativeLoginFlowExecute executes the request
	 * @return LoginFlow
	 */
	CreateNativeLoginFlowExecute(r FrontendApiApiCreateNativeLoginFlowRequest) (*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 FrontendApiApiCreateNativeRecoveryFlowRequest
	*/
	CreateNativeRecoveryFlow(ctx context.Context) FrontendApiApiCreateNativeRecoveryFlowRequest

	/*
	 * CreateNativeRecoveryFlowExecute executes the request
	 * @return RecoveryFlow
	 */
	CreateNativeRecoveryFlowExecute(r FrontendApiApiCreateNativeRecoveryFlowRequest) (*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 FrontendApiApiCreateNativeRegistrationFlowRequest
	*/
	CreateNativeRegistrationFlow(ctx context.Context) FrontendApiApiCreateNativeRegistrationFlowRequest

	/*
	 * CreateNativeRegistrationFlowExecute executes the request
	 * @return RegistrationFlow
	 */
	CreateNativeRegistrationFlowExecute(r FrontendApiApiCreateNativeRegistrationFlowRequest) (*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 FrontendApiApiCreateNativeSettingsFlowRequest
	*/
	CreateNativeSettingsFlow(ctx context.Context) FrontendApiApiCreateNativeSettingsFlowRequest

	/*
	 * CreateNativeSettingsFlowExecute executes the request
	 * @return SettingsFlow
	 */
	CreateNativeSettingsFlowExecute(r FrontendApiApiCreateNativeSettingsFlowRequest) (*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 FrontendApiApiCreateNativeVerificationFlowRequest
	*/
	CreateNativeVerificationFlow(ctx context.Context) FrontendApiApiCreateNativeVerificationFlowRequest

	/*
	 * CreateNativeVerificationFlowExecute executes the request
	 * @return VerificationFlow
	 */
	CreateNativeVerificationFlowExecute(r FrontendApiApiCreateNativeVerificationFlowRequest) (*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 FrontendApiApiDisableMyOtherSessionsRequest
	*/
	DisableMyOtherSessions(ctx context.Context) FrontendApiApiDisableMyOtherSessionsRequest

	/*
	 * DisableMyOtherSessionsExecute executes the request
	 * @return DeleteMySessionsCount
	 */
	DisableMyOtherSessionsExecute(r FrontendApiApiDisableMyOtherSessionsRequest) (*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 FrontendApiApiDisableMySessionRequest
	*/
	DisableMySession(ctx context.Context, id string) FrontendApiApiDisableMySessionRequest

	/*
	 * DisableMySessionExecute executes the request
	 */
	DisableMySessionExecute(r FrontendApiApiDisableMySessionRequest) (*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 FrontendApiApiExchangeSessionTokenRequest
	 */
	ExchangeSessionToken(ctx context.Context) FrontendApiApiExchangeSessionTokenRequest

	/*
	 * ExchangeSessionTokenExecute executes the request
	 * @return SuccessfulNativeLogin
	 */
	ExchangeSessionTokenExecute(r FrontendApiApiExchangeSessionTokenRequest) (*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 FrontendApiApiGetFlowErrorRequest
	*/
	GetFlowError(ctx context.Context) FrontendApiApiGetFlowErrorRequest

	/*
	 * GetFlowErrorExecute executes the request
	 * @return FlowError
	 */
	GetFlowErrorExecute(r FrontendApiApiGetFlowErrorRequest) (*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 FrontendApiApiGetLoginFlowRequest
	*/
	GetLoginFlow(ctx context.Context) FrontendApiApiGetLoginFlowRequest

	/*
	 * GetLoginFlowExecute executes the request
	 * @return LoginFlow
	 */
	GetLoginFlowExecute(r FrontendApiApiGetLoginFlowRequest) (*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 FrontendApiApiGetRecoveryFlowRequest
	*/
	GetRecoveryFlow(ctx context.Context) FrontendApiApiGetRecoveryFlowRequest

	/*
	 * GetRecoveryFlowExecute executes the request
	 * @return RecoveryFlow
	 */
	GetRecoveryFlowExecute(r FrontendApiApiGetRecoveryFlowRequest) (*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 FrontendApiApiGetRegistrationFlowRequest
	*/
	GetRegistrationFlow(ctx context.Context) FrontendApiApiGetRegistrationFlowRequest

	/*
	 * GetRegistrationFlowExecute executes the request
	 * @return RegistrationFlow
	 */
	GetRegistrationFlowExecute(r FrontendApiApiGetRegistrationFlowRequest) (*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 FrontendApiApiGetSettingsFlowRequest
	*/
	GetSettingsFlow(ctx context.Context) FrontendApiApiGetSettingsFlowRequest

	/*
	 * GetSettingsFlowExecute executes the request
	 * @return SettingsFlow
	 */
	GetSettingsFlowExecute(r FrontendApiApiGetSettingsFlowRequest) (*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 FrontendApiApiGetVerificationFlowRequest
	*/
	GetVerificationFlow(ctx context.Context) FrontendApiApiGetVerificationFlowRequest

	/*
	 * GetVerificationFlowExecute executes the request
	 * @return VerificationFlow
	 */
	GetVerificationFlowExecute(r FrontendApiApiGetVerificationFlowRequest) (*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 FrontendApiApiGetWebAuthnJavaScriptRequest
	*/
	GetWebAuthnJavaScript(ctx context.Context) FrontendApiApiGetWebAuthnJavaScriptRequest

	/*
	 * GetWebAuthnJavaScriptExecute executes the request
	 * @return string
	 */
	GetWebAuthnJavaScriptExecute(r FrontendApiApiGetWebAuthnJavaScriptRequest) (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 FrontendApiApiListMySessionsRequest
	*/
	ListMySessions(ctx context.Context) FrontendApiApiListMySessionsRequest

	/*
	 * ListMySessionsExecute executes the request
	 * @return []Session
	 */
	ListMySessionsExecute(r FrontendApiApiListMySessionsRequest) ([]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 FrontendApiApiPerformNativeLogoutRequest
	*/
	PerformNativeLogout(ctx context.Context) FrontendApiApiPerformNativeLogoutRequest

	/*
	 * PerformNativeLogoutExecute executes the request
	 */
	PerformNativeLogoutExecute(r FrontendApiApiPerformNativeLogoutRequest) (*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 FrontendApiApiToSessionRequest
	*/
	ToSession(ctx context.Context) FrontendApiApiToSessionRequest

	/*
	 * ToSessionExecute executes the request
	 * @return Session
	 */
	ToSessionExecute(r FrontendApiApiToSessionRequest) (*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 FrontendApiApiUpdateLoginFlowRequest
	*/
	UpdateLoginFlow(ctx context.Context) FrontendApiApiUpdateLoginFlowRequest

	/*
	 * UpdateLoginFlowExecute executes the request
	 * @return SuccessfulNativeLogin
	 */
	UpdateLoginFlowExecute(r FrontendApiApiUpdateLoginFlowRequest) (*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 FrontendApiApiUpdateLogoutFlowRequest
	*/
	UpdateLogoutFlow(ctx context.Context) FrontendApiApiUpdateLogoutFlowRequest

	/*
	 * UpdateLogoutFlowExecute executes the request
	 */
	UpdateLogoutFlowExecute(r FrontendApiApiUpdateLogoutFlowRequest) (*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 FrontendApiApiUpdateRecoveryFlowRequest
	*/
	UpdateRecoveryFlow(ctx context.Context) FrontendApiApiUpdateRecoveryFlowRequest

	/*
	 * UpdateRecoveryFlowExecute executes the request
	 * @return RecoveryFlow
	 */
	UpdateRecoveryFlowExecute(r FrontendApiApiUpdateRecoveryFlowRequest) (*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 FrontendApiApiUpdateRegistrationFlowRequest
	*/
	UpdateRegistrationFlow(ctx context.Context) FrontendApiApiUpdateRegistrationFlowRequest

	/*
	 * UpdateRegistrationFlowExecute executes the request
	 * @return SuccessfulNativeRegistration
	 */
	UpdateRegistrationFlowExecute(r FrontendApiApiUpdateRegistrationFlowRequest) (*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 FrontendApiApiUpdateSettingsFlowRequest
	*/
	UpdateSettingsFlow(ctx context.Context) FrontendApiApiUpdateSettingsFlowRequest

	/*
	 * UpdateSettingsFlowExecute executes the request
	 * @return SettingsFlow
	 */
	UpdateSettingsFlowExecute(r FrontendApiApiUpdateSettingsFlowRequest) (*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 FrontendApiApiUpdateVerificationFlowRequest
	*/
	UpdateVerificationFlow(ctx context.Context) FrontendApiApiUpdateVerificationFlowRequest

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

type FrontendApiApiCreateBrowserLoginFlowRequest

type FrontendApiApiCreateBrowserLoginFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateBrowserLoginFlowRequest) Aal

func (FrontendApiApiCreateBrowserLoginFlowRequest) Cookie

func (FrontendApiApiCreateBrowserLoginFlowRequest) Execute

func (FrontendApiApiCreateBrowserLoginFlowRequest) LoginChallenge

func (FrontendApiApiCreateBrowserLoginFlowRequest) Organization added in v1.1.0

func (FrontendApiApiCreateBrowserLoginFlowRequest) Refresh

func (FrontendApiApiCreateBrowserLoginFlowRequest) ReturnTo

type FrontendApiApiCreateBrowserLogoutFlowRequest

type FrontendApiApiCreateBrowserLogoutFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateBrowserLogoutFlowRequest) Cookie

func (FrontendApiApiCreateBrowserLogoutFlowRequest) Execute

func (FrontendApiApiCreateBrowserLogoutFlowRequest) ReturnTo added in v1.0.0

type FrontendApiApiCreateBrowserRecoveryFlowRequest

type FrontendApiApiCreateBrowserRecoveryFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateBrowserRecoveryFlowRequest) Execute

func (FrontendApiApiCreateBrowserRecoveryFlowRequest) ReturnTo

type FrontendApiApiCreateBrowserRegistrationFlowRequest

type FrontendApiApiCreateBrowserRegistrationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateBrowserRegistrationFlowRequest) AfterVerificationReturnTo added in v0.13.0

func (FrontendApiApiCreateBrowserRegistrationFlowRequest) Execute

func (FrontendApiApiCreateBrowserRegistrationFlowRequest) LoginChallenge

func (FrontendApiApiCreateBrowserRegistrationFlowRequest) Organization added in v1.1.0

func (FrontendApiApiCreateBrowserRegistrationFlowRequest) ReturnTo

type FrontendApiApiCreateBrowserSettingsFlowRequest

type FrontendApiApiCreateBrowserSettingsFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateBrowserSettingsFlowRequest) Cookie

func (FrontendApiApiCreateBrowserSettingsFlowRequest) Execute

func (FrontendApiApiCreateBrowserSettingsFlowRequest) ReturnTo

type FrontendApiApiCreateBrowserVerificationFlowRequest

type FrontendApiApiCreateBrowserVerificationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateBrowserVerificationFlowRequest) Execute

func (FrontendApiApiCreateBrowserVerificationFlowRequest) ReturnTo

type FrontendApiApiCreateNativeLoginFlowRequest

type FrontendApiApiCreateNativeLoginFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateNativeLoginFlowRequest) Aal

func (FrontendApiApiCreateNativeLoginFlowRequest) Execute

func (FrontendApiApiCreateNativeLoginFlowRequest) Refresh

func (FrontendApiApiCreateNativeLoginFlowRequest) ReturnSessionTokenExchangeCode added in v1.0.0

func (r FrontendApiApiCreateNativeLoginFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendApiApiCreateNativeLoginFlowRequest

func (FrontendApiApiCreateNativeLoginFlowRequest) ReturnTo added in v1.0.0

func (FrontendApiApiCreateNativeLoginFlowRequest) Via added in v1.1.0

func (FrontendApiApiCreateNativeLoginFlowRequest) XSessionToken

type FrontendApiApiCreateNativeRecoveryFlowRequest

type FrontendApiApiCreateNativeRecoveryFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateNativeRecoveryFlowRequest) Execute

type FrontendApiApiCreateNativeRegistrationFlowRequest

type FrontendApiApiCreateNativeRegistrationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateNativeRegistrationFlowRequest) Execute

func (FrontendApiApiCreateNativeRegistrationFlowRequest) ReturnSessionTokenExchangeCode added in v1.0.0

func (r FrontendApiApiCreateNativeRegistrationFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendApiApiCreateNativeRegistrationFlowRequest

func (FrontendApiApiCreateNativeRegistrationFlowRequest) ReturnTo added in v1.0.0

type FrontendApiApiCreateNativeSettingsFlowRequest

type FrontendApiApiCreateNativeSettingsFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateNativeSettingsFlowRequest) Execute

func (FrontendApiApiCreateNativeSettingsFlowRequest) XSessionToken

type FrontendApiApiCreateNativeVerificationFlowRequest

type FrontendApiApiCreateNativeVerificationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiCreateNativeVerificationFlowRequest) Execute

type FrontendApiApiDisableMyOtherSessionsRequest

type FrontendApiApiDisableMyOtherSessionsRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiDisableMyOtherSessionsRequest) Cookie

func (FrontendApiApiDisableMyOtherSessionsRequest) Execute

func (FrontendApiApiDisableMyOtherSessionsRequest) XSessionToken

type FrontendApiApiDisableMySessionRequest

type FrontendApiApiDisableMySessionRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiDisableMySessionRequest) Cookie

func (FrontendApiApiDisableMySessionRequest) Execute

func (FrontendApiApiDisableMySessionRequest) XSessionToken

type FrontendApiApiExchangeSessionTokenRequest added in v1.0.0

type FrontendApiApiExchangeSessionTokenRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiExchangeSessionTokenRequest) Execute added in v1.0.0

func (FrontendApiApiExchangeSessionTokenRequest) InitCode added in v1.0.0

func (FrontendApiApiExchangeSessionTokenRequest) ReturnToCode added in v1.0.0

type FrontendApiApiGetFlowErrorRequest

type FrontendApiApiGetFlowErrorRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetFlowErrorRequest) Execute

func (FrontendApiApiGetFlowErrorRequest) Id

type FrontendApiApiGetLoginFlowRequest

type FrontendApiApiGetLoginFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetLoginFlowRequest) Cookie

func (FrontendApiApiGetLoginFlowRequest) Execute

func (FrontendApiApiGetLoginFlowRequest) Id

type FrontendApiApiGetRecoveryFlowRequest

type FrontendApiApiGetRecoveryFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetRecoveryFlowRequest) Cookie

func (FrontendApiApiGetRecoveryFlowRequest) Execute

func (FrontendApiApiGetRecoveryFlowRequest) Id

type FrontendApiApiGetRegistrationFlowRequest

type FrontendApiApiGetRegistrationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetRegistrationFlowRequest) Cookie

func (FrontendApiApiGetRegistrationFlowRequest) Execute

func (FrontendApiApiGetRegistrationFlowRequest) Id

type FrontendApiApiGetSettingsFlowRequest

type FrontendApiApiGetSettingsFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetSettingsFlowRequest) Cookie

func (FrontendApiApiGetSettingsFlowRequest) Execute

func (FrontendApiApiGetSettingsFlowRequest) Id

func (FrontendApiApiGetSettingsFlowRequest) XSessionToken

type FrontendApiApiGetVerificationFlowRequest

type FrontendApiApiGetVerificationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetVerificationFlowRequest) Cookie

func (FrontendApiApiGetVerificationFlowRequest) Execute

func (FrontendApiApiGetVerificationFlowRequest) Id

type FrontendApiApiGetWebAuthnJavaScriptRequest

type FrontendApiApiGetWebAuthnJavaScriptRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiGetWebAuthnJavaScriptRequest) Execute

type FrontendApiApiListMySessionsRequest

type FrontendApiApiListMySessionsRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiListMySessionsRequest) Cookie

func (FrontendApiApiListMySessionsRequest) Execute

func (FrontendApiApiListMySessionsRequest) Page

func (FrontendApiApiListMySessionsRequest) PageSize added in v1.1.0

func (FrontendApiApiListMySessionsRequest) PageToken added in v1.1.0

func (FrontendApiApiListMySessionsRequest) PerPage

func (FrontendApiApiListMySessionsRequest) XSessionToken

type FrontendApiApiPerformNativeLogoutRequest

type FrontendApiApiPerformNativeLogoutRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiPerformNativeLogoutRequest) Execute

func (FrontendApiApiPerformNativeLogoutRequest) PerformNativeLogoutBody

type FrontendApiApiToSessionRequest

type FrontendApiApiToSessionRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiToSessionRequest) Cookie

func (FrontendApiApiToSessionRequest) Execute

func (FrontendApiApiToSessionRequest) TokenizeAs added in v1.1.0

func (FrontendApiApiToSessionRequest) XSessionToken

type FrontendApiApiUpdateLoginFlowRequest

type FrontendApiApiUpdateLoginFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiUpdateLoginFlowRequest) Cookie

func (FrontendApiApiUpdateLoginFlowRequest) Execute

func (FrontendApiApiUpdateLoginFlowRequest) Flow

func (FrontendApiApiUpdateLoginFlowRequest) UpdateLoginFlowBody

func (FrontendApiApiUpdateLoginFlowRequest) XSessionToken

type FrontendApiApiUpdateLogoutFlowRequest

type FrontendApiApiUpdateLogoutFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiUpdateLogoutFlowRequest) Cookie added in v1.0.0

func (FrontendApiApiUpdateLogoutFlowRequest) Execute

func (FrontendApiApiUpdateLogoutFlowRequest) ReturnTo

func (FrontendApiApiUpdateLogoutFlowRequest) Token

type FrontendApiApiUpdateRecoveryFlowRequest

type FrontendApiApiUpdateRecoveryFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiUpdateRecoveryFlowRequest) Cookie

func (FrontendApiApiUpdateRecoveryFlowRequest) Execute

func (FrontendApiApiUpdateRecoveryFlowRequest) Flow

func (FrontendApiApiUpdateRecoveryFlowRequest) Token

func (FrontendApiApiUpdateRecoveryFlowRequest) UpdateRecoveryFlowBody

type FrontendApiApiUpdateRegistrationFlowRequest

type FrontendApiApiUpdateRegistrationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiUpdateRegistrationFlowRequest) Cookie

func (FrontendApiApiUpdateRegistrationFlowRequest) Execute

func (FrontendApiApiUpdateRegistrationFlowRequest) Flow

func (FrontendApiApiUpdateRegistrationFlowRequest) UpdateRegistrationFlowBody

type FrontendApiApiUpdateSettingsFlowRequest

type FrontendApiApiUpdateSettingsFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiUpdateSettingsFlowRequest) Cookie

func (FrontendApiApiUpdateSettingsFlowRequest) Execute

func (FrontendApiApiUpdateSettingsFlowRequest) Flow

func (FrontendApiApiUpdateSettingsFlowRequest) UpdateSettingsFlowBody

func (FrontendApiApiUpdateSettingsFlowRequest) XSessionToken

type FrontendApiApiUpdateVerificationFlowRequest

type FrontendApiApiUpdateVerificationFlowRequest struct {
	ApiService FrontendApi
	// contains filtered or unexported fields
}

func (FrontendApiApiUpdateVerificationFlowRequest) Cookie

func (FrontendApiApiUpdateVerificationFlowRequest) Execute

func (FrontendApiApiUpdateVerificationFlowRequest) Flow

func (FrontendApiApiUpdateVerificationFlowRequest) Token

func (FrontendApiApiUpdateVerificationFlowRequest) UpdateVerificationFlowBody

type FrontendApiService

type FrontendApiService service

FrontendApiService FrontendApi service

func (*FrontendApiService) CreateBrowserLoginFlow

  • 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 FrontendApiApiCreateBrowserLoginFlowRequest

func (*FrontendApiService) CreateBrowserLoginFlowExecute

* Execute executes the request * @return LoginFlow

func (*FrontendApiService) CreateBrowserLogoutFlow

  • 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 FrontendApiApiCreateBrowserLogoutFlowRequest

func (*FrontendApiService) CreateBrowserLogoutFlowExecute

* Execute executes the request * @return LogoutFlow

func (*FrontendApiService) CreateBrowserRecoveryFlow

  • 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 FrontendApiApiCreateBrowserRecoveryFlowRequest

func (*FrontendApiService) CreateBrowserRecoveryFlowExecute

* Execute executes the request * @return RecoveryFlow

func (*FrontendApiService) CreateBrowserRegistrationFlow

  • 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 FrontendApiApiCreateBrowserRegistrationFlowRequest

func (*FrontendApiService) CreateBrowserRegistrationFlowExecute

* Execute executes the request * @return RegistrationFlow

func (*FrontendApiService) CreateBrowserSettingsFlow

  • 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 FrontendApiApiCreateBrowserSettingsFlowRequest

func (*FrontendApiService) CreateBrowserSettingsFlowExecute

* Execute executes the request * @return SettingsFlow

func (*FrontendApiService) CreateBrowserVerificationFlow

  • 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 FrontendApiApiCreateBrowserVerificationFlowRequest

func (*FrontendApiService) CreateBrowserVerificationFlowExecute

* Execute executes the request * @return VerificationFlow

func (*FrontendApiService) CreateNativeLoginFlow

  • 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 FrontendApiApiCreateNativeLoginFlowRequest

func (*FrontendApiService) CreateNativeLoginFlowExecute

* Execute executes the request * @return LoginFlow

func (*FrontendApiService) CreateNativeRecoveryFlow

  • 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 FrontendApiApiCreateNativeRecoveryFlowRequest

func (*FrontendApiService) CreateNativeRecoveryFlowExecute

* Execute executes the request * @return RecoveryFlow

func (*FrontendApiService) CreateNativeRegistrationFlow

  • 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 FrontendApiApiCreateNativeRegistrationFlowRequest

func (*FrontendApiService) CreateNativeRegistrationFlowExecute

* Execute executes the request * @return RegistrationFlow

func (*FrontendApiService) CreateNativeSettingsFlow

  • 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 FrontendApiApiCreateNativeSettingsFlowRequest

func (*FrontendApiService) CreateNativeSettingsFlowExecute

* Execute executes the request * @return SettingsFlow

func (*FrontendApiService) CreateNativeVerificationFlow

  • 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 FrontendApiApiCreateNativeVerificationFlowRequest

func (*FrontendApiService) CreateNativeVerificationFlowExecute

* Execute executes the request * @return VerificationFlow

func (*FrontendApiService) DisableMyOtherSessions

  • 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 FrontendApiApiDisableMyOtherSessionsRequest

func (*FrontendApiService) DisableMyOtherSessionsExecute

* Execute executes the request * @return DeleteMySessionsCount

func (*FrontendApiService) DisableMySession

  • 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 FrontendApiApiDisableMySessionRequest

func (*FrontendApiService) DisableMySessionExecute

* Execute executes the request

func (*FrontendApiService) ExchangeSessionToken added in v1.0.0

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

func (*FrontendApiService) ExchangeSessionTokenExecute added in v1.0.0

* Execute executes the request * @return SuccessfulNativeLogin

func (*FrontendApiService) GetFlowError

  • 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 FrontendApiApiGetFlowErrorRequest

func (*FrontendApiService) GetFlowErrorExecute

* Execute executes the request * @return FlowError

func (*FrontendApiService) GetLoginFlow

  • 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 FrontendApiApiGetLoginFlowRequest

func (*FrontendApiService) GetLoginFlowExecute

* Execute executes the request * @return LoginFlow

func (*FrontendApiService) GetRecoveryFlow

  • 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 FrontendApiApiGetRecoveryFlowRequest

func (*FrontendApiService) GetRecoveryFlowExecute

* Execute executes the request * @return RecoveryFlow

func (*FrontendApiService) GetRegistrationFlow

  • 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 FrontendApiApiGetRegistrationFlowRequest

func (*FrontendApiService) GetRegistrationFlowExecute

* Execute executes the request * @return RegistrationFlow

func (*FrontendApiService) GetSettingsFlow

  • 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 FrontendApiApiGetSettingsFlowRequest

func (*FrontendApiService) GetSettingsFlowExecute

* Execute executes the request * @return SettingsFlow

func (*FrontendApiService) GetVerificationFlow

  • 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 FrontendApiApiGetVerificationFlowRequest

func (*FrontendApiService) GetVerificationFlowExecute

* Execute executes the request * @return VerificationFlow

func (*FrontendApiService) GetWebAuthnJavaScript

  • 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 FrontendApiApiGetWebAuthnJavaScriptRequest

func (*FrontendApiService) GetWebAuthnJavaScriptExecute

* Execute executes the request * @return string

func (*FrontendApiService) ListMySessions

  • 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 FrontendApiApiListMySessionsRequest

func (*FrontendApiService) ListMySessionsExecute

* Execute executes the request * @return []Session

func (*FrontendApiService) PerformNativeLogout

  • 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 FrontendApiApiPerformNativeLogoutRequest

func (*FrontendApiService) PerformNativeLogoutExecute

func (a *FrontendApiService) PerformNativeLogoutExecute(r FrontendApiApiPerformNativeLogoutRequest) (*http.Response, error)

* Execute executes the request

func (*FrontendApiService) ToSession

  • 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 FrontendApiApiToSessionRequest

func (*FrontendApiService) ToSessionExecute

* Execute executes the request * @return Session

func (*FrontendApiService) UpdateLoginFlow

  • 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 FrontendApiApiUpdateLoginFlowRequest

func (*FrontendApiService) UpdateLoginFlowExecute

* Execute executes the request * @return SuccessfulNativeLogin

func (*FrontendApiService) UpdateLogoutFlow

  • 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 FrontendApiApiUpdateLogoutFlowRequest

func (*FrontendApiService) UpdateLogoutFlowExecute

* Execute executes the request

func (*FrontendApiService) UpdateRecoveryFlow

  • 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 FrontendApiApiUpdateRecoveryFlowRequest

func (*FrontendApiService) UpdateRecoveryFlowExecute

* Execute executes the request * @return RecoveryFlow

func (*FrontendApiService) UpdateRegistrationFlow

  • 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 FrontendApiApiUpdateRegistrationFlowRequest

func (*FrontendApiService) UpdateRegistrationFlowExecute

* Execute executes the request * @return SuccessfulNativeRegistration

func (*FrontendApiService) UpdateSettingsFlow

  • 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 FrontendApiApiUpdateSettingsFlowRequest

func (*FrontendApiService) UpdateSettingsFlowExecute

* Execute executes the request * @return SettingsFlow

func (*FrontendApiService) UpdateVerificationFlow

  • 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 FrontendApiApiUpdateVerificationFlowRequest

func (*FrontendApiService) UpdateVerificationFlowExecute

* Execute executes the request * @return VerificationFlow

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"`
}

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.

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

type GetVersion200Response struct {
	// The version of Ory Kratos.
	Version string `json:"version"`
}

GetVersion200Response struct for GetVersion200Response

func NewGetVersion200Response

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

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

func (o *GetVersion200Response) GetVersion() string

GetVersion returns the Version field value

func (*GetVersion200Response) GetVersionOk

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

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

func (*GetVersion200Response) SetVersion

func (o *GetVersion200Response) SetVersion(v string)

SetVersion sets field value

type HealthNotReadyStatus

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

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.

type HealthStatus

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

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.

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"`
}

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

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 IdentityApiApiBatchPatchIdentitiesRequest
	*/
	BatchPatchIdentities(ctx context.Context) IdentityApiApiBatchPatchIdentitiesRequest

	/*
	 * BatchPatchIdentitiesExecute executes the request
	 * @return BatchPatchIdentitiesResponse
	 */
	BatchPatchIdentitiesExecute(r IdentityApiApiBatchPatchIdentitiesRequest) (*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 IdentityApiApiCreateIdentityRequest
	*/
	CreateIdentity(ctx context.Context) IdentityApiApiCreateIdentityRequest

	/*
	 * CreateIdentityExecute executes the request
	 * @return Identity
	 */
	CreateIdentityExecute(r IdentityApiApiCreateIdentityRequest) (*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 IdentityApiApiCreateRecoveryCodeForIdentityRequest
	*/
	CreateRecoveryCodeForIdentity(ctx context.Context) IdentityApiApiCreateRecoveryCodeForIdentityRequest

	/*
	 * CreateRecoveryCodeForIdentityExecute executes the request
	 * @return RecoveryCodeForIdentity
	 */
	CreateRecoveryCodeForIdentityExecute(r IdentityApiApiCreateRecoveryCodeForIdentityRequest) (*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 IdentityApiApiCreateRecoveryLinkForIdentityRequest
	*/
	CreateRecoveryLinkForIdentity(ctx context.Context) IdentityApiApiCreateRecoveryLinkForIdentityRequest

	/*
	 * CreateRecoveryLinkForIdentityExecute executes the request
	 * @return RecoveryLinkForIdentity
	 */
	CreateRecoveryLinkForIdentityExecute(r IdentityApiApiCreateRecoveryLinkForIdentityRequest) (*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 IdentityApiApiDeleteIdentityRequest
	*/
	DeleteIdentity(ctx context.Context, id string) IdentityApiApiDeleteIdentityRequest

	/*
	 * DeleteIdentityExecute executes the request
	 */
	DeleteIdentityExecute(r IdentityApiApiDeleteIdentityRequest) (*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 IdentityApiApiDeleteIdentityCredentialsRequest
	*/
	DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityApiApiDeleteIdentityCredentialsRequest

	/*
	 * DeleteIdentityCredentialsExecute executes the request
	 */
	DeleteIdentityCredentialsExecute(r IdentityApiApiDeleteIdentityCredentialsRequest) (*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 IdentityApiApiDeleteIdentitySessionsRequest
	 */
	DeleteIdentitySessions(ctx context.Context, id string) IdentityApiApiDeleteIdentitySessionsRequest

	/*
	 * DeleteIdentitySessionsExecute executes the request
	 */
	DeleteIdentitySessionsExecute(r IdentityApiApiDeleteIdentitySessionsRequest) (*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 IdentityApiApiDisableSessionRequest
	 */
	DisableSession(ctx context.Context, id string) IdentityApiApiDisableSessionRequest

	/*
	 * DisableSessionExecute executes the request
	 */
	DisableSessionExecute(r IdentityApiApiDisableSessionRequest) (*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 IdentityApiApiExtendSessionRequest
	*/
	ExtendSession(ctx context.Context, id string) IdentityApiApiExtendSessionRequest

	/*
	 * ExtendSessionExecute executes the request
	 * @return Session
	 */
	ExtendSessionExecute(r IdentityApiApiExtendSessionRequest) (*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 IdentityApiApiGetIdentityRequest
	*/
	GetIdentity(ctx context.Context, id string) IdentityApiApiGetIdentityRequest

	/*
	 * GetIdentityExecute executes the request
	 * @return Identity
	 */
	GetIdentityExecute(r IdentityApiApiGetIdentityRequest) (*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 IdentityApiApiGetIdentitySchemaRequest
	 */
	GetIdentitySchema(ctx context.Context, id string) IdentityApiApiGetIdentitySchemaRequest

	/*
	 * GetIdentitySchemaExecute executes the request
	 * @return map[string]interface{}
	 */
	GetIdentitySchemaExecute(r IdentityApiApiGetIdentitySchemaRequest) (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 IdentityApiApiGetSessionRequest
	*/
	GetSession(ctx context.Context, id string) IdentityApiApiGetSessionRequest

	/*
	 * GetSessionExecute executes the request
	 * @return Session
	 */
	GetSessionExecute(r IdentityApiApiGetSessionRequest) (*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 IdentityApiApiListIdentitiesRequest
	 */
	ListIdentities(ctx context.Context) IdentityApiApiListIdentitiesRequest

	/*
	 * ListIdentitiesExecute executes the request
	 * @return []Identity
	 */
	ListIdentitiesExecute(r IdentityApiApiListIdentitiesRequest) ([]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 IdentityApiApiListIdentitySchemasRequest
	 */
	ListIdentitySchemas(ctx context.Context) IdentityApiApiListIdentitySchemasRequest

	/*
	 * ListIdentitySchemasExecute executes the request
	 * @return []IdentitySchemaContainer
	 */
	ListIdentitySchemasExecute(r IdentityApiApiListIdentitySchemasRequest) ([]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 IdentityApiApiListIdentitySessionsRequest
	 */
	ListIdentitySessions(ctx context.Context, id string) IdentityApiApiListIdentitySessionsRequest

	/*
	 * ListIdentitySessionsExecute executes the request
	 * @return []Session
	 */
	ListIdentitySessionsExecute(r IdentityApiApiListIdentitySessionsRequest) ([]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 IdentityApiApiListSessionsRequest
	 */
	ListSessions(ctx context.Context) IdentityApiApiListSessionsRequest

	/*
	 * ListSessionsExecute executes the request
	 * @return []Session
	 */
	ListSessionsExecute(r IdentityApiApiListSessionsRequest) ([]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 IdentityApiApiPatchIdentityRequest
	*/
	PatchIdentity(ctx context.Context, id string) IdentityApiApiPatchIdentityRequest

	/*
	 * PatchIdentityExecute executes the request
	 * @return Identity
	 */
	PatchIdentityExecute(r IdentityApiApiPatchIdentityRequest) (*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 IdentityApiApiUpdateIdentityRequest
	*/
	UpdateIdentity(ctx context.Context, id string) IdentityApiApiUpdateIdentityRequest

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

type IdentityApiApiBatchPatchIdentitiesRequest added in v0.13.0

type IdentityApiApiBatchPatchIdentitiesRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiBatchPatchIdentitiesRequest) Execute added in v0.13.0

func (IdentityApiApiBatchPatchIdentitiesRequest) PatchIdentitiesBody added in v0.13.0

type IdentityApiApiCreateIdentityRequest

type IdentityApiApiCreateIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiCreateIdentityRequest) CreateIdentityBody

func (IdentityApiApiCreateIdentityRequest) Execute

type IdentityApiApiCreateRecoveryCodeForIdentityRequest

type IdentityApiApiCreateRecoveryCodeForIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiCreateRecoveryCodeForIdentityRequest) CreateRecoveryCodeForIdentityBody

func (IdentityApiApiCreateRecoveryCodeForIdentityRequest) Execute

type IdentityApiApiCreateRecoveryLinkForIdentityRequest

type IdentityApiApiCreateRecoveryLinkForIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiCreateRecoveryLinkForIdentityRequest) CreateRecoveryLinkForIdentityBody

func (IdentityApiApiCreateRecoveryLinkForIdentityRequest) Execute

func (IdentityApiApiCreateRecoveryLinkForIdentityRequest) ReturnTo added in v1.1.0

type IdentityApiApiDeleteIdentityCredentialsRequest added in v0.13.0

type IdentityApiApiDeleteIdentityCredentialsRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiDeleteIdentityCredentialsRequest) Execute added in v0.13.0

type IdentityApiApiDeleteIdentityRequest

type IdentityApiApiDeleteIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiDeleteIdentityRequest) Execute

type IdentityApiApiDeleteIdentitySessionsRequest

type IdentityApiApiDeleteIdentitySessionsRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiDeleteIdentitySessionsRequest) Execute

type IdentityApiApiDisableSessionRequest

type IdentityApiApiDisableSessionRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiDisableSessionRequest) Execute

type IdentityApiApiExtendSessionRequest

type IdentityApiApiExtendSessionRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiExtendSessionRequest) Execute

type IdentityApiApiGetIdentityRequest

type IdentityApiApiGetIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiGetIdentityRequest) Execute

func (IdentityApiApiGetIdentityRequest) IncludeCredential

func (r IdentityApiApiGetIdentityRequest) IncludeCredential(includeCredential []string) IdentityApiApiGetIdentityRequest

type IdentityApiApiGetIdentitySchemaRequest

type IdentityApiApiGetIdentitySchemaRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiGetIdentitySchemaRequest) Execute

func (r IdentityApiApiGetIdentitySchemaRequest) Execute() (map[string]interface{}, *http.Response, error)

type IdentityApiApiGetSessionRequest

type IdentityApiApiGetSessionRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiGetSessionRequest) Execute

func (IdentityApiApiGetSessionRequest) Expand

type IdentityApiApiListIdentitiesRequest

type IdentityApiApiListIdentitiesRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiListIdentitiesRequest) Consistency added in v1.1.0

func (IdentityApiApiListIdentitiesRequest) CredentialsIdentifier added in v0.13.0

func (r IdentityApiApiListIdentitiesRequest) CredentialsIdentifier(credentialsIdentifier string) IdentityApiApiListIdentitiesRequest

func (IdentityApiApiListIdentitiesRequest) Execute

func (IdentityApiApiListIdentitiesRequest) Ids added in v1.1.0

func (IdentityApiApiListIdentitiesRequest) Page

func (IdentityApiApiListIdentitiesRequest) PageSize added in v1.1.0

func (IdentityApiApiListIdentitiesRequest) PageToken added in v1.1.0

func (IdentityApiApiListIdentitiesRequest) PerPage

func (IdentityApiApiListIdentitiesRequest) PreviewCredentialsIdentifierSimilar added in v1.1.0

func (r IdentityApiApiListIdentitiesRequest) PreviewCredentialsIdentifierSimilar(previewCredentialsIdentifierSimilar string) IdentityApiApiListIdentitiesRequest

type IdentityApiApiListIdentitySchemasRequest

type IdentityApiApiListIdentitySchemasRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiListIdentitySchemasRequest) Execute

func (IdentityApiApiListIdentitySchemasRequest) Page

func (IdentityApiApiListIdentitySchemasRequest) PageSize added in v1.1.0

func (IdentityApiApiListIdentitySchemasRequest) PageToken added in v1.1.0

func (IdentityApiApiListIdentitySchemasRequest) PerPage

type IdentityApiApiListIdentitySessionsRequest

type IdentityApiApiListIdentitySessionsRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiListIdentitySessionsRequest) Active

func (IdentityApiApiListIdentitySessionsRequest) Execute

func (IdentityApiApiListIdentitySessionsRequest) Page

func (IdentityApiApiListIdentitySessionsRequest) PageSize added in v1.1.0

func (IdentityApiApiListIdentitySessionsRequest) PageToken added in v1.1.0

func (IdentityApiApiListIdentitySessionsRequest) PerPage

type IdentityApiApiListSessionsRequest

type IdentityApiApiListSessionsRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiListSessionsRequest) Active

func (IdentityApiApiListSessionsRequest) Execute

func (IdentityApiApiListSessionsRequest) Expand

func (IdentityApiApiListSessionsRequest) PageSize

func (IdentityApiApiListSessionsRequest) PageToken

type IdentityApiApiPatchIdentityRequest

type IdentityApiApiPatchIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiPatchIdentityRequest) Execute

func (IdentityApiApiPatchIdentityRequest) JsonPatch

type IdentityApiApiUpdateIdentityRequest

type IdentityApiApiUpdateIdentityRequest struct {
	ApiService IdentityApi
	// contains filtered or unexported fields
}

func (IdentityApiApiUpdateIdentityRequest) Execute

func (IdentityApiApiUpdateIdentityRequest) UpdateIdentityBody

type IdentityApiService

type IdentityApiService service

IdentityApiService IdentityApi service

func (*IdentityApiService) BatchPatchIdentities added in v0.13.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 IdentityApiApiBatchPatchIdentitiesRequest

func (*IdentityApiService) BatchPatchIdentitiesExecute added in v0.13.0

* Execute executes the request * @return BatchPatchIdentitiesResponse

func (*IdentityApiService) CreateIdentity

[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 IdentityApiApiCreateIdentityRequest

func (*IdentityApiService) CreateIdentityExecute

* Execute executes the request * @return Identity

func (*IdentityApiService) CreateRecoveryCodeForIdentity

  • 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 IdentityApiApiCreateRecoveryCodeForIdentityRequest

func (*IdentityApiService) CreateRecoveryCodeForIdentityExecute

* Execute executes the request * @return RecoveryCodeForIdentity

func (*IdentityApiService) CreateRecoveryLinkForIdentity

  • 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 IdentityApiApiCreateRecoveryLinkForIdentityRequest

func (*IdentityApiService) CreateRecoveryLinkForIdentityExecute

* Execute executes the request * @return RecoveryLinkForIdentity

func (*IdentityApiService) DeleteIdentity

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 IdentityApiApiDeleteIdentityRequest

func (*IdentityApiService) DeleteIdentityCredentials added in v0.13.0

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 IdentityApiApiDeleteIdentityCredentialsRequest

func (*IdentityApiService) DeleteIdentityCredentialsExecute added in v0.13.0

func (a *IdentityApiService) DeleteIdentityCredentialsExecute(r IdentityApiApiDeleteIdentityCredentialsRequest) (*http.Response, error)

* Execute executes the request

func (*IdentityApiService) DeleteIdentityExecute

* Execute executes the request

func (*IdentityApiService) DeleteIdentitySessions

* 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 IdentityApiApiDeleteIdentitySessionsRequest

func (*IdentityApiService) DeleteIdentitySessionsExecute

func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiApiDeleteIdentitySessionsRequest) (*http.Response, error)

* Execute executes the request

func (*IdentityApiService) DisableSession

* 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 IdentityApiApiDisableSessionRequest

func (*IdentityApiService) DisableSessionExecute

* Execute executes the request

func (*IdentityApiService) ExtendSession

  • 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 IdentityApiApiExtendSessionRequest

func (*IdentityApiService) ExtendSessionExecute

* Execute executes the request * @return Session

func (*IdentityApiService) GetIdentity

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 IdentityApiApiGetIdentityRequest

func (*IdentityApiService) GetIdentityExecute

* Execute executes the request * @return Identity

func (*IdentityApiService) GetIdentitySchema

* 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 IdentityApiApiGetIdentitySchemaRequest

func (*IdentityApiService) GetIdentitySchemaExecute

func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiApiGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*IdentityApiService) GetSession

  • 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 IdentityApiApiGetSessionRequest

func (*IdentityApiService) GetSessionExecute

* Execute executes the request * @return Session

func (*IdentityApiService) ListIdentities

* 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 IdentityApiApiListIdentitiesRequest

func (*IdentityApiService) ListIdentitiesExecute

* Execute executes the request * @return []Identity

func (*IdentityApiService) ListIdentitySchemas

* 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 IdentityApiApiListIdentitySchemasRequest

func (*IdentityApiService) ListIdentitySchemasExecute

* Execute executes the request * @return []IdentitySchemaContainer

func (*IdentityApiService) ListIdentitySessions

* 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 IdentityApiApiListIdentitySessionsRequest

func (*IdentityApiService) ListIdentitySessionsExecute

* Execute executes the request * @return []Session

func (*IdentityApiService) ListSessions

* 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 IdentityApiApiListSessionsRequest

func (*IdentityApiService) ListSessionsExecute

* Execute executes the request * @return []Session

func (*IdentityApiService) PatchIdentity

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 IdentityApiApiPatchIdentityRequest

func (*IdentityApiService) PatchIdentityExecute

* Execute executes the request * @return Identity

func (*IdentityApiService) UpdateIdentity

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 IdentityApiApiUpdateIdentityRequest

func (*IdentityApiService) UpdateIdentityExecute

* Execute executes the request * @return Identity

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"`
}

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.

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"`
}

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) 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"`
}

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.

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"`
}

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.

type IdentityCredentialsPassword

type IdentityCredentialsPassword struct {
	// HashedPassword is a hash-representation of the password.
	HashedPassword *string `json:"hashed_password,omitempty"`
}

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.

type IdentityPatch added in v0.13.0

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"`
}

IdentityPatch Payload for patching an identity

func NewIdentityPatch added in v0.13.0

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.0

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.0

func (o *IdentityPatch) GetCreate() CreateIdentityBody

GetCreate returns the Create field value if set, zero value otherwise.

func (*IdentityPatch) GetCreateOk added in v0.13.0

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.0

func (o *IdentityPatch) GetPatchId() string

GetPatchId returns the PatchId field value if set, zero value otherwise.

func (*IdentityPatch) GetPatchIdOk added in v0.13.0

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.0

func (o *IdentityPatch) HasCreate() bool

HasCreate returns a boolean if a field has been set.

func (*IdentityPatch) HasPatchId added in v0.13.0

func (o *IdentityPatch) HasPatchId() bool

HasPatchId returns a boolean if a field has been set.

func (IdentityPatch) MarshalJSON added in v0.13.0

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

func (*IdentityPatch) SetCreate added in v0.13.0

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.0

func (o *IdentityPatch) SetPatchId(v string)

SetPatchId gets a reference to the given string and assigns it to the PatchId field.

type IdentityPatchResponse added in v0.13.0

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"`
}

IdentityPatchResponse Response for a single identity patch

func NewIdentityPatchResponse added in v0.13.0

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.0

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.0

func (o *IdentityPatchResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*IdentityPatchResponse) GetActionOk added in v0.13.0

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.0

func (o *IdentityPatchResponse) GetIdentity() string

GetIdentity returns the Identity field value if set, zero value otherwise.

func (*IdentityPatchResponse) GetIdentityOk added in v0.13.0

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.0

func (o *IdentityPatchResponse) GetPatchId() string

GetPatchId returns the PatchId field value if set, zero value otherwise.

func (*IdentityPatchResponse) GetPatchIdOk added in v0.13.0

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.0

func (o *IdentityPatchResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*IdentityPatchResponse) HasIdentity added in v0.13.0

func (o *IdentityPatchResponse) HasIdentity() bool

HasIdentity returns a boolean if a field has been set.

func (*IdentityPatchResponse) HasPatchId added in v0.13.0

func (o *IdentityPatchResponse) HasPatchId() bool

HasPatchId returns a boolean if a field has been set.

func (IdentityPatchResponse) MarshalJSON added in v0.13.0

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

func (*IdentityPatchResponse) SetAction added in v0.13.0

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.0

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.0

func (o *IdentityPatchResponse) SetPatchId(v string)

SetPatchId gets a reference to the given string and assigns it to the PatchId field.

type IdentitySchemaContainer

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"`
}

IdentitySchemaContainer An Identity JSON Schema Container

func NewIdentitySchemaContainer

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

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

func (o *IdentitySchemaContainer) GetId() string

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

func (*IdentitySchemaContainer) GetIdOk

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

func (o *IdentitySchemaContainer) GetSchema() map[string]interface{}

GetSchema returns the Schema field value if set, zero value otherwise.

func (*IdentitySchemaContainer) GetSchemaOk

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

func (o *IdentitySchemaContainer) HasId() bool

HasId returns a boolean if a field has been set.

func (*IdentitySchemaContainer) HasSchema

func (o *IdentitySchemaContainer) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (IdentitySchemaContainer) MarshalJSON

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

func (*IdentitySchemaContainer) SetId

func (o *IdentitySchemaContainer) SetId(v string)

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

func (*IdentitySchemaContainer) SetSchema

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.

type IdentityWithCredentials

type IdentityWithCredentials struct {
	Oidc     *IdentityWithCredentialsOidc     `json:"oidc,omitempty"`
	Password *IdentityWithCredentialsPassword `json:"password,omitempty"`
}

IdentityWithCredentials Create Identity and Import Credentials

func NewIdentityWithCredentials

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

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

GetOidc returns the Oidc field value if set, zero value otherwise.

func (*IdentityWithCredentials) GetOidcOk

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

GetPassword returns the Password field value if set, zero value otherwise.

func (*IdentityWithCredentials) GetPasswordOk

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

func (o *IdentityWithCredentials) HasOidc() bool

HasOidc returns a boolean if a field has been set.

func (*IdentityWithCredentials) HasPassword

func (o *IdentityWithCredentials) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (IdentityWithCredentials) MarshalJSON

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

func (*IdentityWithCredentials) SetOidc

SetOidc gets a reference to the given IdentityWithCredentialsOidc and assigns it to the Oidc field.

func (*IdentityWithCredentials) SetPassword

SetPassword gets a reference to the given IdentityWithCredentialsPassword and assigns it to the Password field.

type IdentityWithCredentialsOidc

type IdentityWithCredentialsOidc struct {
	Config *IdentityWithCredentialsOidcConfig `json:"config,omitempty"`
}

IdentityWithCredentialsOidc Create Identity and Import Social Sign In Credentials

func NewIdentityWithCredentialsOidc

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

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

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

func (*IdentityWithCredentialsOidc) GetConfigOk

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

func (o *IdentityWithCredentialsOidc) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (IdentityWithCredentialsOidc) MarshalJSON

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

func (*IdentityWithCredentialsOidc) SetConfig

SetConfig gets a reference to the given IdentityWithCredentialsOidcConfig and assigns it to the Config field.

type IdentityWithCredentialsOidcConfig

type IdentityWithCredentialsOidcConfig struct {
	Config *IdentityWithCredentialsPasswordConfig `json:"config,omitempty"`
	// A list of OpenID Connect Providers
	Providers []IdentityWithCredentialsOidcConfigProvider `json:"providers,omitempty"`
}

IdentityWithCredentialsOidcConfig struct for IdentityWithCredentialsOidcConfig

func NewIdentityWithCredentialsOidcConfig

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

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

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

func (*IdentityWithCredentialsOidcConfig) GetConfigOk

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

GetProviders returns the Providers field value if set, zero value otherwise.

func (*IdentityWithCredentialsOidcConfig) 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 (*IdentityWithCredentialsOidcConfig) HasConfig

func (o *IdentityWithCredentialsOidcConfig) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*IdentityWithCredentialsOidcConfig) HasProviders

func (o *IdentityWithCredentialsOidcConfig) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (IdentityWithCredentialsOidcConfig) MarshalJSON

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

func (*IdentityWithCredentialsOidcConfig) SetConfig

SetConfig gets a reference to the given IdentityWithCredentialsPasswordConfig and assigns it to the Config field.

func (*IdentityWithCredentialsOidcConfig) SetProviders

SetProviders gets a reference to the given []IdentityWithCredentialsOidcConfigProvider and assigns it to the Providers field.

type IdentityWithCredentialsOidcConfigProvider

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"`
}

IdentityWithCredentialsOidcConfigProvider Create Identity and Import Social Sign In Credentials Configuration

func NewIdentityWithCredentialsOidcConfigProvider

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

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

GetProvider returns the Provider field value

func (*IdentityWithCredentialsOidcConfigProvider) GetProviderOk

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

GetSubject returns the Subject field value

func (*IdentityWithCredentialsOidcConfigProvider) GetSubjectOk

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

func (IdentityWithCredentialsOidcConfigProvider) MarshalJSON

func (*IdentityWithCredentialsOidcConfigProvider) SetProvider

SetProvider sets field value

func (*IdentityWithCredentialsOidcConfigProvider) SetSubject

SetSubject sets field value

type IdentityWithCredentialsPassword

type IdentityWithCredentialsPassword struct {
	Config *IdentityWithCredentialsPasswordConfig `json:"config,omitempty"`
}

IdentityWithCredentialsPassword Create Identity and Import Password Credentials

func NewIdentityWithCredentialsPassword

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

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

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

func (*IdentityWithCredentialsPassword) GetConfigOk

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

func (o *IdentityWithCredentialsPassword) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (IdentityWithCredentialsPassword) MarshalJSON

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

func (*IdentityWithCredentialsPassword) SetConfig

SetConfig gets a reference to the given IdentityWithCredentialsPasswordConfig and assigns it to the Config field.

type IdentityWithCredentialsPasswordConfig

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"`
}

IdentityWithCredentialsPasswordConfig Create Identity and Import Password Credentials Configuration

func NewIdentityWithCredentialsPasswordConfig

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

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

func (o *IdentityWithCredentialsPasswordConfig) GetHashedPassword() string

GetHashedPassword returns the HashedPassword field value if set, zero value otherwise.

func (*IdentityWithCredentialsPasswordConfig) GetHashedPasswordOk

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

GetPassword returns the Password field value if set, zero value otherwise.

func (*IdentityWithCredentialsPasswordConfig) GetPasswordOk

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

func (o *IdentityWithCredentialsPasswordConfig) HasHashedPassword() bool

HasHashedPassword returns a boolean if a field has been set.

func (*IdentityWithCredentialsPasswordConfig) HasPassword

HasPassword returns a boolean if a field has been set.

func (IdentityWithCredentialsPasswordConfig) MarshalJSON

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

func (*IdentityWithCredentialsPasswordConfig) SetHashedPassword

func (o *IdentityWithCredentialsPasswordConfig) SetHashedPassword(v string)

SetHashedPassword gets a reference to the given string and assigns it to the HashedPassword field.

func (*IdentityWithCredentialsPasswordConfig) SetPassword

SetPassword gets a reference to the given string and assigns it to the Password field.

type IsAlive200Response

type IsAlive200Response struct {
	// Always \"ok\".
	Status string `json:"status"`
}

IsAlive200Response struct for IsAlive200Response

func NewIsAlive200Response

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

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

func (o *IsAlive200Response) GetStatus() string

GetStatus returns the Status field value

func (*IsAlive200Response) GetStatusOk

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

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

func (*IsAlive200Response) SetStatus

func (o *IsAlive200Response) SetStatus(v string)

SetStatus sets field value

type IsReady503Response

type IsReady503Response struct {
	// Errors contains a list of errors that caused the not ready status.
	Errors map[string]string `json:"errors"`
}

IsReady503Response struct for IsReady503Response

func NewIsReady503Response

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

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

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

GetErrors returns the Errors field value

func (*IsReady503Response) GetErrorsOk

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

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

func (*IsReady503Response) SetErrors

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

SetErrors sets field value

type JsonPatch

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"`
}

JsonPatch A JSONPatch document as defined by RFC 6902

func NewJsonPatch

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

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

func (o *JsonPatch) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*JsonPatch) GetFromOk

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

func (o *JsonPatch) GetOp() string

GetOp returns the Op field value

func (*JsonPatch) GetOpOk

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

func (o *JsonPatch) GetPath() string

GetPath returns the Path field value

func (*JsonPatch) GetPathOk

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

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

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

func (o *JsonPatch) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*JsonPatch) HasValue

func (o *JsonPatch) HasValue() bool

HasValue returns a boolean if a field has been set.

func (JsonPatch) MarshalJSON

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

func (*JsonPatch) SetFrom

func (o *JsonPatch) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*JsonPatch) SetOp

func (o *JsonPatch) SetOp(v string)

SetOp sets field value

func (*JsonPatch) SetPath

func (o *JsonPatch) SetPath(v string)

SetPath sets field value

func (*JsonPatch) SetValue

func (o *JsonPatch) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

type LoginFlow

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"`
}

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

func NewLoginFlow

func NewLoginFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, 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

func NewLoginFlowWithDefaults() *LoginFlow

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

func (*LoginFlow) GetActive

func (o *LoginFlow) GetActive() string

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

func (*LoginFlow) GetActiveOk

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

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

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

func (*LoginFlow) GetCreatedAtOk

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

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

func (*LoginFlow) GetExpiresAt

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

GetExpiresAt returns the ExpiresAt field value

func (*LoginFlow) GetExpiresAtOk

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

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

func (*LoginFlow) GetId

func (o *LoginFlow) GetId() string

GetId returns the Id field value

func (*LoginFlow) GetIdOk

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

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

func (*LoginFlow) GetIssuedAt

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

GetIssuedAt returns the IssuedAt field value

func (*LoginFlow) GetIssuedAtOk

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

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

func (*LoginFlow) GetOauth2LoginChallenge

func (o *LoginFlow) GetOauth2LoginChallenge() string

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

func (*LoginFlow) GetOauth2LoginChallengeOk

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

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

func (*LoginFlow) GetOauth2LoginRequest

func (o *LoginFlow) GetOauth2LoginRequest() OAuth2LoginRequest

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

func (*LoginFlow) GetOauth2LoginRequestOk

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

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

func (*LoginFlow) 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

func (o *LoginFlow) GetRefresh() bool

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

func (*LoginFlow) GetRefreshOk

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

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

func (*LoginFlow) GetRequestUrl

func (o *LoginFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*LoginFlow) GetRequestUrlOk

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

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

func (*LoginFlow) GetRequestedAal

func (o *LoginFlow) GetRequestedAal() AuthenticatorAssuranceLevel

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

func (*LoginFlow) GetRequestedAalOk

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

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

func (*LoginFlow) GetReturnTo

func (o *LoginFlow) GetReturnTo() string

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

func (*LoginFlow) GetReturnToOk

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

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

func (*LoginFlow) 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

func (o *LoginFlow) GetType() string

GetType returns the Type field value

func (*LoginFlow) GetTypeOk

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

func (o *LoginFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*LoginFlow) GetUiOk

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

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

func (*LoginFlow) GetUpdatedAt

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

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

func (*LoginFlow) GetUpdatedAtOk

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

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

func (*LoginFlow) HasActive

func (o *LoginFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*LoginFlow) HasCreatedAt

func (o *LoginFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*LoginFlow) HasOauth2LoginChallenge

func (o *LoginFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*LoginFlow) HasOauth2LoginRequest

func (o *LoginFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*LoginFlow) HasOrganizationId added in v1.1.0

func (o *LoginFlow) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*LoginFlow) HasRefresh

func (o *LoginFlow) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (*LoginFlow) HasRequestedAal

func (o *LoginFlow) HasRequestedAal() bool

HasRequestedAal returns a boolean if a field has been set.

func (*LoginFlow) HasReturnTo

func (o *LoginFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*LoginFlow) HasSessionTokenExchangeCode added in v1.0.0

func (o *LoginFlow) HasSessionTokenExchangeCode() bool

HasSessionTokenExchangeCode returns a boolean if a field has been set.

func (*LoginFlow) HasUpdatedAt

func (o *LoginFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (LoginFlow) MarshalJSON

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

func (*LoginFlow) SetActive

func (o *LoginFlow) SetActive(v string)

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

func (*LoginFlow) SetCreatedAt

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

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

func (*LoginFlow) SetExpiresAt

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

SetExpiresAt sets field value

func (*LoginFlow) SetId

func (o *LoginFlow) SetId(v string)

SetId sets field value

func (*LoginFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*LoginFlow) SetOauth2LoginChallenge

func (o *LoginFlow) SetOauth2LoginChallenge(v string)

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

func (*LoginFlow) SetOauth2LoginRequest

func (o *LoginFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

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

func (*LoginFlow) 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

func (o *LoginFlow) SetRefresh(v bool)

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

func (*LoginFlow) SetRequestUrl

func (o *LoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*LoginFlow) SetRequestedAal

func (o *LoginFlow) SetRequestedAal(v AuthenticatorAssuranceLevel)

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

func (*LoginFlow) SetReturnTo

func (o *LoginFlow) SetReturnTo(v string)

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

func (*LoginFlow) 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

func (o *LoginFlow) SetType(v string)

SetType sets field value

func (*LoginFlow) SetUi

func (o *LoginFlow) SetUi(v UiContainer)

SetUi sets field value

func (*LoginFlow) SetUpdatedAt

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

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

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 (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

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"`
}

LogoutFlow Logout Flow

func NewLogoutFlow

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

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

func (o *LogoutFlow) GetLogoutToken() string

GetLogoutToken returns the LogoutToken field value

func (*LogoutFlow) GetLogoutTokenOk

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

func (o *LogoutFlow) GetLogoutUrl() string

GetLogoutUrl returns the LogoutUrl field value

func (*LogoutFlow) GetLogoutUrlOk

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

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

func (*LogoutFlow) SetLogoutToken

func (o *LogoutFlow) SetLogoutToken(v string)

SetLogoutToken sets field value

func (*LogoutFlow) SetLogoutUrl

func (o *LogoutFlow) SetLogoutUrl(v string)

SetLogoutUrl sets field value

type Message

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"`
}

Message struct for Message

func NewMessage

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

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

func (o *Message) GetBody() string

GetBody returns the Body field value

func (*Message) GetBodyOk

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

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

GetCreatedAt returns the CreatedAt field value

func (*Message) GetCreatedAtOk

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

func (o *Message) GetId() string

GetId returns the Id field value

func (*Message) GetIdOk

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

func (o *Message) GetRecipient() string

GetRecipient returns the Recipient field value

func (*Message) GetRecipientOk

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

func (o *Message) GetSendCount() int64

GetSendCount returns the SendCount field value

func (*Message) GetSendCountOk

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

func (o *Message) GetStatus() CourierMessageStatus

GetStatus returns the Status field value

func (*Message) GetStatusOk

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

func (o *Message) GetSubject() string

GetSubject returns the Subject field value

func (*Message) GetSubjectOk

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

func (o *Message) GetTemplateType() string

GetTemplateType returns the TemplateType field value

func (*Message) GetTemplateTypeOk

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

func (o *Message) GetType() CourierMessageType

GetType returns the Type field value

func (*Message) GetTypeOk

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

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

GetUpdatedAt returns the UpdatedAt field value

func (*Message) GetUpdatedAtOk

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

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

func (*Message) SetBody

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

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

func (o *Message) SetId(v string)

SetId sets field value

func (*Message) SetRecipient

func (o *Message) SetRecipient(v string)

SetRecipient sets field value

func (*Message) SetSendCount

func (o *Message) SetSendCount(v int64)

SetSendCount sets field value

func (*Message) SetStatus

func (o *Message) SetStatus(v CourierMessageStatus)

SetStatus sets field value

func (*Message) SetSubject

func (o *Message) SetSubject(v string)

SetSubject sets field value

func (*Message) SetTemplateType

func (o *Message) SetTemplateType(v string)

SetTemplateType sets field value

func (*Message) SetType

func (o *Message) SetType(v CourierMessageType)

SetType sets field value

func (*Message) SetUpdatedAt

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

SetUpdatedAt sets field value

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"`
}

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

type MetadataApi

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 MetadataApiApiGetVersionRequest
	*/
	GetVersion(ctx context.Context) MetadataApiApiGetVersionRequest

	/*
	 * GetVersionExecute executes the request
	 * @return GetVersion200Response
	 */
	GetVersionExecute(r MetadataApiApiGetVersionRequest) (*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 MetadataApiApiIsAliveRequest
	*/
	IsAlive(ctx context.Context) MetadataApiApiIsAliveRequest

	/*
	 * IsAliveExecute executes the request
	 * @return IsAlive200Response
	 */
	IsAliveExecute(r MetadataApiApiIsAliveRequest) (*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 MetadataApiApiIsReadyRequest
	*/
	IsReady(ctx context.Context) MetadataApiApiIsReadyRequest

	/*
	 * IsReadyExecute executes the request
	 * @return IsAlive200Response
	 */
	IsReadyExecute(r MetadataApiApiIsReadyRequest) (*IsAlive200Response, *http.Response, error)
}

type MetadataApiApiGetVersionRequest

type MetadataApiApiGetVersionRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (MetadataApiApiGetVersionRequest) Execute

type MetadataApiApiIsAliveRequest

type MetadataApiApiIsAliveRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (MetadataApiApiIsAliveRequest) Execute

type MetadataApiApiIsReadyRequest

type MetadataApiApiIsReadyRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (MetadataApiApiIsReadyRequest) Execute

type MetadataApiService

type MetadataApiService service

MetadataApiService MetadataApi service

func (*MetadataApiService) GetVersion

  • 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 MetadataApiApiGetVersionRequest

func (*MetadataApiService) GetVersionExecute

* Execute executes the request * @return GetVersion200Response

func (*MetadataApiService) IsAlive

  • 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 MetadataApiApiIsAliveRequest

func (*MetadataApiService) IsAliveExecute

* Execute executes the request * @return IsAlive200Response

func (*MetadataApiService) IsReady

  • 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 MetadataApiApiIsReadyRequest

func (*MetadataApiService) IsReadyExecute

* 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"`
}

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.0

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

func (*NeedsPrivilegedSessionError) GetErrorOk added in v0.13.0

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.0

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.0

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

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.0

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

func NewNullableBatchPatchIdentitiesResponse added in v0.13.0

func NewNullableBatchPatchIdentitiesResponse(val *BatchPatchIdentitiesResponse) *NullableBatchPatchIdentitiesResponse

func (NullableBatchPatchIdentitiesResponse) Get added in v0.13.0

func (NullableBatchPatchIdentitiesResponse) IsSet added in v0.13.0

func (NullableBatchPatchIdentitiesResponse) MarshalJSON added in v0.13.0

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

func (*NullableBatchPatchIdentitiesResponse) Set added in v0.13.0

func (*NullableBatchPatchIdentitiesResponse) UnmarshalJSON added in v0.13.0

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

func (*NullableBatchPatchIdentitiesResponse) Unset added in v0.13.0

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.0

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

func NewNullableContinueWith added in v0.13.0

func NewNullableContinueWith(val *ContinueWith) *NullableContinueWith

func (NullableContinueWith) Get added in v0.13.0

func (NullableContinueWith) IsSet added in v0.13.0

func (v NullableContinueWith) IsSet() bool

func (NullableContinueWith) MarshalJSON added in v0.13.0

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

func (*NullableContinueWith) Set added in v0.13.0

func (v *NullableContinueWith) Set(val *ContinueWith)

func (*NullableContinueWith) UnmarshalJSON added in v0.13.0

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

func (*NullableContinueWith) Unset added in v0.13.0

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.0

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

func NewNullableContinueWithSetOrySessionToken added in v0.13.0

func NewNullableContinueWithSetOrySessionToken(val *ContinueWithSetOrySessionToken) *NullableContinueWithSetOrySessionToken

func (NullableContinueWithSetOrySessionToken) Get added in v0.13.0

func (NullableContinueWithSetOrySessionToken) IsSet added in v0.13.0

func (NullableContinueWithSetOrySessionToken) MarshalJSON added in v0.13.0

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

func (*NullableContinueWithSetOrySessionToken) Set added in v0.13.0

func (*NullableContinueWithSetOrySessionToken) UnmarshalJSON added in v0.13.0

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

func (*NullableContinueWithSetOrySessionToken) Unset added in v0.13.0

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.0

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

func NewNullableContinueWithVerificationUi added in v0.13.0

func NewNullableContinueWithVerificationUi(val *ContinueWithVerificationUi) *NullableContinueWithVerificationUi

func (NullableContinueWithVerificationUi) Get added in v0.13.0

func (NullableContinueWithVerificationUi) IsSet added in v0.13.0

func (NullableContinueWithVerificationUi) MarshalJSON added in v0.13.0

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

func (*NullableContinueWithVerificationUi) Set added in v0.13.0

func (*NullableContinueWithVerificationUi) UnmarshalJSON added in v0.13.0

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

func (*NullableContinueWithVerificationUi) Unset added in v0.13.0

type NullableContinueWithVerificationUiFlow added in v0.13.0

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

func NewNullableContinueWithVerificationUiFlow added in v0.13.0

func NewNullableContinueWithVerificationUiFlow(val *ContinueWithVerificationUiFlow) *NullableContinueWithVerificationUiFlow

func (NullableContinueWithVerificationUiFlow) Get added in v0.13.0

func (NullableContinueWithVerificationUiFlow) IsSet added in v0.13.0

func (NullableContinueWithVerificationUiFlow) MarshalJSON added in v0.13.0

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

func (*NullableContinueWithVerificationUiFlow) Set added in v0.13.0

func (*NullableContinueWithVerificationUiFlow) UnmarshalJSON added in v0.13.0

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

func (*NullableContinueWithVerificationUiFlow) Unset added in v0.13.0

type NullableCourierMessageStatus

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

func NewNullableCourierMessageStatus

func NewNullableCourierMessageStatus(val *CourierMessageStatus) *NullableCourierMessageStatus

func (NullableCourierMessageStatus) Get

func (NullableCourierMessageStatus) IsSet

func (NullableCourierMessageStatus) MarshalJSON

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

func (*NullableCourierMessageStatus) Set

func (*NullableCourierMessageStatus) UnmarshalJSON

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

func (*NullableCourierMessageStatus) Unset

func (v *NullableCourierMessageStatus) Unset()

type NullableCourierMessageType

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

func NewNullableCourierMessageType

func NewNullableCourierMessageType(val *CourierMessageType) *NullableCourierMessageType

func (NullableCourierMessageType) Get

func (NullableCourierMessageType) IsSet

func (v NullableCourierMessageType) IsSet() bool

func (NullableCourierMessageType) MarshalJSON

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

func (*NullableCourierMessageType) Set

func (*NullableCourierMessageType) UnmarshalJSON

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

func (*NullableCourierMessageType) Unset

func (v *NullableCourierMessageType) Unset()

type NullableCreateIdentityBody

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

func NewNullableCreateIdentityBody

func NewNullableCreateIdentityBody(val *CreateIdentityBody) *NullableCreateIdentityBody

func (NullableCreateIdentityBody) Get

func (NullableCreateIdentityBody) IsSet

func (v NullableCreateIdentityBody) IsSet() bool

func (NullableCreateIdentityBody) MarshalJSON

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

func (*NullableCreateIdentityBody) Set

func (*NullableCreateIdentityBody) UnmarshalJSON

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

func (*NullableCreateIdentityBody) Unset

func (v *NullableCreateIdentityBody) Unset()

type NullableCreateRecoveryCodeForIdentityBody

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

func (NullableCreateRecoveryCodeForIdentityBody) Get

func (NullableCreateRecoveryCodeForIdentityBody) IsSet

func (NullableCreateRecoveryCodeForIdentityBody) MarshalJSON

func (*NullableCreateRecoveryCodeForIdentityBody) Set

func (*NullableCreateRecoveryCodeForIdentityBody) UnmarshalJSON

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

func (*NullableCreateRecoveryCodeForIdentityBody) Unset

type NullableCreateRecoveryLinkForIdentityBody

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

func (NullableCreateRecoveryLinkForIdentityBody) Get

func (NullableCreateRecoveryLinkForIdentityBody) IsSet

func (NullableCreateRecoveryLinkForIdentityBody) MarshalJSON

func (*NullableCreateRecoveryLinkForIdentityBody) Set

func (*NullableCreateRecoveryLinkForIdentityBody) UnmarshalJSON

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

func (*NullableCreateRecoveryLinkForIdentityBody) Unset

type NullableDeleteMySessionsCount

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

func (NullableDeleteMySessionsCount) Get

func (NullableDeleteMySessionsCount) IsSet

func (NullableDeleteMySessionsCount) MarshalJSON

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

func (*NullableDeleteMySessionsCount) Set

func (*NullableDeleteMySessionsCount) UnmarshalJSON

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

func (*NullableDeleteMySessionsCount) Unset

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

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

func (NullableErrorBrowserLocationChangeRequired) Get

func (NullableErrorBrowserLocationChangeRequired) IsSet

func (NullableErrorBrowserLocationChangeRequired) MarshalJSON

func (*NullableErrorBrowserLocationChangeRequired) Set

func (*NullableErrorBrowserLocationChangeRequired) UnmarshalJSON

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

func (*NullableErrorBrowserLocationChangeRequired) Unset

type NullableErrorFlowReplaced

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

func NewNullableErrorFlowReplaced

func NewNullableErrorFlowReplaced(val *ErrorFlowReplaced) *NullableErrorFlowReplaced

func (NullableErrorFlowReplaced) Get

func (NullableErrorFlowReplaced) IsSet

func (v NullableErrorFlowReplaced) IsSet() bool

func (NullableErrorFlowReplaced) MarshalJSON

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

func (*NullableErrorFlowReplaced) Set

func (*NullableErrorFlowReplaced) UnmarshalJSON

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

func (*NullableErrorFlowReplaced) Unset

func (v *NullableErrorFlowReplaced) Unset()

type NullableErrorGeneric

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

func NewNullableErrorGeneric

func NewNullableErrorGeneric(val *ErrorGeneric) *NullableErrorGeneric

func (NullableErrorGeneric) Get

func (NullableErrorGeneric) IsSet

func (v NullableErrorGeneric) IsSet() bool

func (NullableErrorGeneric) MarshalJSON

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

func (*NullableErrorGeneric) Set

func (v *NullableErrorGeneric) Set(val *ErrorGeneric)

func (*NullableErrorGeneric) UnmarshalJSON

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

func (*NullableErrorGeneric) Unset

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

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

func NewNullableFlowError

func NewNullableFlowError(val *FlowError) *NullableFlowError

func (NullableFlowError) Get

func (v NullableFlowError) Get() *FlowError

func (NullableFlowError) IsSet

func (v NullableFlowError) IsSet() bool

func (NullableFlowError) MarshalJSON

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

func (*NullableFlowError) Set

func (v *NullableFlowError) Set(val *FlowError)

func (*NullableFlowError) UnmarshalJSON

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

func (*NullableFlowError) Unset

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

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

func (NullableGetVersion200Response) Get

func (NullableGetVersion200Response) IsSet

func (NullableGetVersion200Response) MarshalJSON

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

func (*NullableGetVersion200Response) Set

func (*NullableGetVersion200Response) UnmarshalJSON

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

func (*NullableGetVersion200Response) Unset

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.0

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

func NewNullableIdentityPatch added in v0.13.0

func NewNullableIdentityPatch(val *IdentityPatch) *NullableIdentityPatch

func (NullableIdentityPatch) Get added in v0.13.0

func (NullableIdentityPatch) IsSet added in v0.13.0

func (v NullableIdentityPatch) IsSet() bool

func (NullableIdentityPatch) MarshalJSON added in v0.13.0

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

func (*NullableIdentityPatch) Set added in v0.13.0

func (v *NullableIdentityPatch) Set(val *IdentityPatch)

func (*NullableIdentityPatch) UnmarshalJSON added in v0.13.0

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

func (*NullableIdentityPatch) Unset added in v0.13.0

func (v *NullableIdentityPatch) Unset()

type NullableIdentityPatchResponse added in v0.13.0

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

func NewNullableIdentityPatchResponse added in v0.13.0

func NewNullableIdentityPatchResponse(val *IdentityPatchResponse) *NullableIdentityPatchResponse

func (NullableIdentityPatchResponse) Get added in v0.13.0

func (NullableIdentityPatchResponse) IsSet added in v0.13.0

func (NullableIdentityPatchResponse) MarshalJSON added in v0.13.0

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

func (*NullableIdentityPatchResponse) Set added in v0.13.0

func (*NullableIdentityPatchResponse) UnmarshalJSON added in v0.13.0

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

func (*NullableIdentityPatchResponse) Unset added in v0.13.0

func (v *NullableIdentityPatchResponse) Unset()

type NullableIdentitySchemaContainer

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

func (NullableIdentitySchemaContainer) Get

func (NullableIdentitySchemaContainer) IsSet

func (NullableIdentitySchemaContainer) MarshalJSON

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

func (*NullableIdentitySchemaContainer) Set

func (*NullableIdentitySchemaContainer) UnmarshalJSON

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

func (*NullableIdentitySchemaContainer) Unset

type NullableIdentityWithCredentials

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

func (NullableIdentityWithCredentials) Get

func (NullableIdentityWithCredentials) IsSet

func (NullableIdentityWithCredentials) MarshalJSON

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

func (*NullableIdentityWithCredentials) Set

func (*NullableIdentityWithCredentials) UnmarshalJSON

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

func (*NullableIdentityWithCredentials) Unset

type NullableIdentityWithCredentialsOidc

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

func (NullableIdentityWithCredentialsOidc) Get

func (NullableIdentityWithCredentialsOidc) IsSet

func (NullableIdentityWithCredentialsOidc) MarshalJSON

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

func (*NullableIdentityWithCredentialsOidc) Set

func (*NullableIdentityWithCredentialsOidc) UnmarshalJSON

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

func (*NullableIdentityWithCredentialsOidc) Unset

type NullableIdentityWithCredentialsOidcConfig

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

func (NullableIdentityWithCredentialsOidcConfig) Get

func (NullableIdentityWithCredentialsOidcConfig) IsSet

func (NullableIdentityWithCredentialsOidcConfig) MarshalJSON

func (*NullableIdentityWithCredentialsOidcConfig) Set

func (*NullableIdentityWithCredentialsOidcConfig) UnmarshalJSON

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

func (*NullableIdentityWithCredentialsOidcConfig) Unset

type NullableIdentityWithCredentialsOidcConfigProvider

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

func (NullableIdentityWithCredentialsOidcConfigProvider) Get

func (NullableIdentityWithCredentialsOidcConfigProvider) IsSet

func (NullableIdentityWithCredentialsOidcConfigProvider) MarshalJSON

func (*NullableIdentityWithCredentialsOidcConfigProvider) Set

func (*NullableIdentityWithCredentialsOidcConfigProvider) UnmarshalJSON

func (*NullableIdentityWithCredentialsOidcConfigProvider) Unset

type NullableIdentityWithCredentialsPassword

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

func (NullableIdentityWithCredentialsPassword) Get

func (NullableIdentityWithCredentialsPassword) IsSet

func (NullableIdentityWithCredentialsPassword) MarshalJSON

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

func (*NullableIdentityWithCredentialsPassword) Set

func (*NullableIdentityWithCredentialsPassword) UnmarshalJSON

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

func (*NullableIdentityWithCredentialsPassword) Unset

type NullableIdentityWithCredentialsPasswordConfig

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

func (NullableIdentityWithCredentialsPasswordConfig) Get

func (NullableIdentityWithCredentialsPasswordConfig) IsSet

func (NullableIdentityWithCredentialsPasswordConfig) MarshalJSON

func (*NullableIdentityWithCredentialsPasswordConfig) Set

func (*NullableIdentityWithCredentialsPasswordConfig) UnmarshalJSON

func (*NullableIdentityWithCredentialsPasswordConfig) Unset

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableIsAlive200Response

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

func NewNullableIsAlive200Response

func NewNullableIsAlive200Response(val *IsAlive200Response) *NullableIsAlive200Response

func (NullableIsAlive200Response) Get

func (NullableIsAlive200Response) IsSet

func (v NullableIsAlive200Response) IsSet() bool

func (NullableIsAlive200Response) MarshalJSON

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

func (*NullableIsAlive200Response) Set

func (*NullableIsAlive200Response) UnmarshalJSON

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

func (*NullableIsAlive200Response) Unset

func (v *NullableIsAlive200Response) Unset()

type NullableIsReady503Response

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

func NewNullableIsReady503Response

func NewNullableIsReady503Response(val *IsReady503Response) *NullableIsReady503Response

func (NullableIsReady503Response) Get

func (NullableIsReady503Response) IsSet

func (v NullableIsReady503Response) IsSet() bool

func (NullableIsReady503Response) MarshalJSON

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

func (*NullableIsReady503Response) Set

func (*NullableIsReady503Response) UnmarshalJSON

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

func (*NullableIsReady503Response) Unset

func (v *NullableIsReady503Response) Unset()

type NullableJsonPatch

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

func NewNullableJsonPatch

func NewNullableJsonPatch(val *JsonPatch) *NullableJsonPatch

func (NullableJsonPatch) Get

func (v NullableJsonPatch) Get() *JsonPatch

func (NullableJsonPatch) IsSet

func (v NullableJsonPatch) IsSet() bool

func (NullableJsonPatch) MarshalJSON

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

func (*NullableJsonPatch) Set

func (v *NullableJsonPatch) Set(val *JsonPatch)

func (*NullableJsonPatch) UnmarshalJSON

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

func (*NullableJsonPatch) Unset

func (v *NullableJsonPatch) Unset()

type NullableLoginFlow

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

func NewNullableLoginFlow

func NewNullableLoginFlow(val *LoginFlow) *NullableLoginFlow

func (NullableLoginFlow) Get

func (v NullableLoginFlow) Get() *LoginFlow

func (NullableLoginFlow) IsSet

func (v NullableLoginFlow) IsSet() bool

func (NullableLoginFlow) MarshalJSON

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

func (*NullableLoginFlow) Set

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

func (*NullableLoginFlow) UnmarshalJSON

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

func (*NullableLoginFlow) Unset

func (v *NullableLoginFlow) Unset()

type 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

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

func NewNullableLogoutFlow

func NewNullableLogoutFlow(val *LogoutFlow) *NullableLogoutFlow

func (NullableLogoutFlow) Get

func (v NullableLogoutFlow) Get() *LogoutFlow

func (NullableLogoutFlow) IsSet

func (v NullableLogoutFlow) IsSet() bool

func (NullableLogoutFlow) MarshalJSON

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

func (*NullableLogoutFlow) Set

func (v *NullableLogoutFlow) Set(val *LogoutFlow)

func (*NullableLogoutFlow) UnmarshalJSON

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

func (*NullableLogoutFlow) Unset

func (v *NullableLogoutFlow) Unset()

type NullableMessage

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

func NewNullableMessage

func NewNullableMessage(val *Message) *NullableMessage

func (NullableMessage) Get

func (v NullableMessage) Get() *Message

func (NullableMessage) IsSet

func (v NullableMessage) IsSet() bool

func (NullableMessage) MarshalJSON

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

func (*NullableMessage) Set

func (v *NullableMessage) Set(val *Message)

func (*NullableMessage) UnmarshalJSON

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

func (*NullableMessage) Unset

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

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

func NewNullableOAuth2Client

func NewNullableOAuth2Client(val *OAuth2Client) *NullableOAuth2Client

func (NullableOAuth2Client) Get

func (NullableOAuth2Client) IsSet

func (v NullableOAuth2Client) IsSet() bool

func (NullableOAuth2Client) MarshalJSON

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

func (*NullableOAuth2Client) Set

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

func (*NullableOAuth2Client) UnmarshalJSON

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

func (*NullableOAuth2Client) Unset

func (v *NullableOAuth2Client) Unset()

type NullableOAuth2ConsentRequestOpenIDConnectContext

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

func (NullableOAuth2ConsentRequestOpenIDConnectContext) Get

func (NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet

func (NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Set

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Unset

type NullableOAuth2LoginRequest

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

func NewNullableOAuth2LoginRequest

func NewNullableOAuth2LoginRequest(val *OAuth2LoginRequest) *NullableOAuth2LoginRequest

func (NullableOAuth2LoginRequest) Get

func (NullableOAuth2LoginRequest) IsSet

func (v NullableOAuth2LoginRequest) IsSet() bool

func (NullableOAuth2LoginRequest) MarshalJSON

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

func (*NullableOAuth2LoginRequest) Set

func (*NullableOAuth2LoginRequest) UnmarshalJSON

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

func (*NullableOAuth2LoginRequest) Unset

func (v *NullableOAuth2LoginRequest) Unset()

type NullablePatchIdentitiesBody added in v0.13.0

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

func NewNullablePatchIdentitiesBody added in v0.13.0

func NewNullablePatchIdentitiesBody(val *PatchIdentitiesBody) *NullablePatchIdentitiesBody

func (NullablePatchIdentitiesBody) Get added in v0.13.0

func (NullablePatchIdentitiesBody) IsSet added in v0.13.0

func (NullablePatchIdentitiesBody) MarshalJSON added in v0.13.0

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

func (*NullablePatchIdentitiesBody) Set added in v0.13.0

func (*NullablePatchIdentitiesBody) UnmarshalJSON added in v0.13.0

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

func (*NullablePatchIdentitiesBody) Unset added in v0.13.0

func (v *NullablePatchIdentitiesBody) Unset()

type NullablePerformNativeLogoutBody

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

func (NullablePerformNativeLogoutBody) Get

func (NullablePerformNativeLogoutBody) IsSet

func (NullablePerformNativeLogoutBody) MarshalJSON

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

func (*NullablePerformNativeLogoutBody) Set

func (*NullablePerformNativeLogoutBody) UnmarshalJSON

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

func (*NullablePerformNativeLogoutBody) Unset

type NullableRecoveryCodeForIdentity

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

func (NullableRecoveryCodeForIdentity) Get

func (NullableRecoveryCodeForIdentity) IsSet

func (NullableRecoveryCodeForIdentity) MarshalJSON

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

func (*NullableRecoveryCodeForIdentity) Set

func (*NullableRecoveryCodeForIdentity) UnmarshalJSON

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

func (*NullableRecoveryCodeForIdentity) Unset

type NullableRecoveryFlow

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

func NewNullableRecoveryFlow

func NewNullableRecoveryFlow(val *RecoveryFlow) *NullableRecoveryFlow

func (NullableRecoveryFlow) Get

func (NullableRecoveryFlow) IsSet

func (v NullableRecoveryFlow) IsSet() bool

func (NullableRecoveryFlow) MarshalJSON

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

func (*NullableRecoveryFlow) Set

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

func (*NullableRecoveryFlow) UnmarshalJSON

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

func (*NullableRecoveryFlow) Unset

func (v *NullableRecoveryFlow) Unset()

type NullableRecoveryFlowState

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

func NewNullableRecoveryFlowState

func NewNullableRecoveryFlowState(val *RecoveryFlowState) *NullableRecoveryFlowState

func (NullableRecoveryFlowState) Get

func (NullableRecoveryFlowState) IsSet

func (v NullableRecoveryFlowState) IsSet() bool

func (NullableRecoveryFlowState) MarshalJSON

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

func (*NullableRecoveryFlowState) Set

func (*NullableRecoveryFlowState) UnmarshalJSON

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

func (*NullableRecoveryFlowState) Unset

func (v *NullableRecoveryFlowState) Unset()

type NullableRecoveryIdentityAddress

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

func (NullableRecoveryIdentityAddress) Get

func (NullableRecoveryIdentityAddress) IsSet

func (NullableRecoveryIdentityAddress) MarshalJSON

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

func (*NullableRecoveryIdentityAddress) Set

func (*NullableRecoveryIdentityAddress) UnmarshalJSON

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

func (*NullableRecoveryIdentityAddress) Unset

type NullableRecoveryLinkForIdentity

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

func (NullableRecoveryLinkForIdentity) Get

func (NullableRecoveryLinkForIdentity) IsSet

func (NullableRecoveryLinkForIdentity) MarshalJSON

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

func (*NullableRecoveryLinkForIdentity) Set

func (*NullableRecoveryLinkForIdentity) UnmarshalJSON

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

func (*NullableRecoveryLinkForIdentity) Unset

type NullableRegistrationFlow

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

func NewNullableRegistrationFlow

func NewNullableRegistrationFlow(val *RegistrationFlow) *NullableRegistrationFlow

func (NullableRegistrationFlow) Get

func (NullableRegistrationFlow) IsSet

func (v NullableRegistrationFlow) IsSet() bool

func (NullableRegistrationFlow) MarshalJSON

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

func (*NullableRegistrationFlow) Set

func (*NullableRegistrationFlow) UnmarshalJSON

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

func (*NullableRegistrationFlow) Unset

func (v *NullableRegistrationFlow) Unset()

type 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

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

func NewNullableSettingsFlow

func NewNullableSettingsFlow(val *SettingsFlow) *NullableSettingsFlow

func (NullableSettingsFlow) Get

func (NullableSettingsFlow) IsSet

func (v NullableSettingsFlow) IsSet() bool

func (NullableSettingsFlow) MarshalJSON

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

func (*NullableSettingsFlow) Set

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

func (*NullableSettingsFlow) UnmarshalJSON

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

func (*NullableSettingsFlow) Unset

func (v *NullableSettingsFlow) Unset()

type NullableSettingsFlowState

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

func NewNullableSettingsFlowState

func NewNullableSettingsFlowState(val *SettingsFlowState) *NullableSettingsFlowState

func (NullableSettingsFlowState) Get

func (NullableSettingsFlowState) IsSet

func (v NullableSettingsFlowState) IsSet() bool

func (NullableSettingsFlowState) MarshalJSON

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

func (*NullableSettingsFlowState) Set

func (*NullableSettingsFlowState) UnmarshalJSON

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

func (*NullableSettingsFlowState) Unset

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

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

func (NullableSuccessfulNativeLogin) Get

func (NullableSuccessfulNativeLogin) IsSet

func (NullableSuccessfulNativeLogin) MarshalJSON

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

func (*NullableSuccessfulNativeLogin) Set

func (*NullableSuccessfulNativeLogin) UnmarshalJSON

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

func (*NullableSuccessfulNativeLogin) Unset

func (v *NullableSuccessfulNativeLogin) Unset()

type NullableSuccessfulNativeRegistration

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

func (NullableSuccessfulNativeRegistration) Get

func (NullableSuccessfulNativeRegistration) IsSet

func (NullableSuccessfulNativeRegistration) MarshalJSON

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

func (*NullableSuccessfulNativeRegistration) Set

func (*NullableSuccessfulNativeRegistration) UnmarshalJSON

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

func (*NullableSuccessfulNativeRegistration) Unset

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTokenPagination

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

func NewNullableTokenPagination

func NewNullableTokenPagination(val *TokenPagination) *NullableTokenPagination

func (NullableTokenPagination) Get

func (NullableTokenPagination) IsSet

func (v NullableTokenPagination) IsSet() bool

func (NullableTokenPagination) MarshalJSON

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

func (*NullableTokenPagination) Set

func (*NullableTokenPagination) UnmarshalJSON

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

func (*NullableTokenPagination) Unset

func (v *NullableTokenPagination) Unset()

type NullableTokenPaginationHeaders

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

func (NullableTokenPaginationHeaders) Get

func (NullableTokenPaginationHeaders) IsSet

func (NullableTokenPaginationHeaders) MarshalJSON

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

func (*NullableTokenPaginationHeaders) Set

func (*NullableTokenPaginationHeaders) UnmarshalJSON

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

func (*NullableTokenPaginationHeaders) Unset

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

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

func NewNullableUpdateIdentityBody

func NewNullableUpdateIdentityBody(val *UpdateIdentityBody) *NullableUpdateIdentityBody

func (NullableUpdateIdentityBody) Get

func (NullableUpdateIdentityBody) IsSet

func (v NullableUpdateIdentityBody) IsSet() bool

func (NullableUpdateIdentityBody) MarshalJSON

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

func (*NullableUpdateIdentityBody) Set

func (*NullableUpdateIdentityBody) UnmarshalJSON

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

func (*NullableUpdateIdentityBody) Unset

func (v *NullableUpdateIdentityBody) Unset()

type NullableUpdateLoginFlowBody

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

func NewNullableUpdateLoginFlowBody

func NewNullableUpdateLoginFlowBody(val *UpdateLoginFlowBody) *NullableUpdateLoginFlowBody

func (NullableUpdateLoginFlowBody) Get

func (NullableUpdateLoginFlowBody) IsSet

func (NullableUpdateLoginFlowBody) MarshalJSON

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

func (*NullableUpdateLoginFlowBody) Set

func (*NullableUpdateLoginFlowBody) UnmarshalJSON

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

func (*NullableUpdateLoginFlowBody) Unset

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

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

func (NullableUpdateLoginFlowWithLookupSecretMethod) Get

func (NullableUpdateLoginFlowWithLookupSecretMethod) IsSet

func (NullableUpdateLoginFlowWithLookupSecretMethod) MarshalJSON

func (*NullableUpdateLoginFlowWithLookupSecretMethod) Set

func (*NullableUpdateLoginFlowWithLookupSecretMethod) UnmarshalJSON

func (*NullableUpdateLoginFlowWithLookupSecretMethod) Unset

type NullableUpdateLoginFlowWithOidcMethod

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

func (NullableUpdateLoginFlowWithOidcMethod) Get

func (NullableUpdateLoginFlowWithOidcMethod) IsSet

func (NullableUpdateLoginFlowWithOidcMethod) MarshalJSON

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

func (*NullableUpdateLoginFlowWithOidcMethod) Set

func (*NullableUpdateLoginFlowWithOidcMethod) UnmarshalJSON

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

func (*NullableUpdateLoginFlowWithOidcMethod) Unset

type NullableUpdateLoginFlowWithPasswordMethod

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

func (NullableUpdateLoginFlowWithPasswordMethod) Get

func (NullableUpdateLoginFlowWithPasswordMethod) IsSet

func (NullableUpdateLoginFlowWithPasswordMethod) MarshalJSON

func (*NullableUpdateLoginFlowWithPasswordMethod) Set

func (*NullableUpdateLoginFlowWithPasswordMethod) UnmarshalJSON

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

func (*NullableUpdateLoginFlowWithPasswordMethod) Unset

type NullableUpdateLoginFlowWithTotpMethod

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

func (NullableUpdateLoginFlowWithTotpMethod) Get

func (NullableUpdateLoginFlowWithTotpMethod) IsSet

func (NullableUpdateLoginFlowWithTotpMethod) MarshalJSON

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

func (*NullableUpdateLoginFlowWithTotpMethod) Set

func (*NullableUpdateLoginFlowWithTotpMethod) UnmarshalJSON

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

func (*NullableUpdateLoginFlowWithTotpMethod) Unset

type NullableUpdateLoginFlowWithWebAuthnMethod

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

func (NullableUpdateLoginFlowWithWebAuthnMethod) Get

func (NullableUpdateLoginFlowWithWebAuthnMethod) IsSet

func (NullableUpdateLoginFlowWithWebAuthnMethod) MarshalJSON

func (*NullableUpdateLoginFlowWithWebAuthnMethod) Set

func (*NullableUpdateLoginFlowWithWebAuthnMethod) UnmarshalJSON

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

func (*NullableUpdateLoginFlowWithWebAuthnMethod) Unset

type NullableUpdateRecoveryFlowBody

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

func (NullableUpdateRecoveryFlowBody) Get

func (NullableUpdateRecoveryFlowBody) IsSet

func (NullableUpdateRecoveryFlowBody) MarshalJSON

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

func (*NullableUpdateRecoveryFlowBody) Set

func (*NullableUpdateRecoveryFlowBody) UnmarshalJSON

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

func (*NullableUpdateRecoveryFlowBody) Unset

func (v *NullableUpdateRecoveryFlowBody) Unset()

type NullableUpdateRecoveryFlowWithCodeMethod

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

func (NullableUpdateRecoveryFlowWithCodeMethod) Get

func (NullableUpdateRecoveryFlowWithCodeMethod) IsSet

func (NullableUpdateRecoveryFlowWithCodeMethod) MarshalJSON

func (*NullableUpdateRecoveryFlowWithCodeMethod) Set

func (*NullableUpdateRecoveryFlowWithCodeMethod) UnmarshalJSON

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

func (*NullableUpdateRecoveryFlowWithCodeMethod) Unset

type NullableUpdateRecoveryFlowWithLinkMethod

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

func (NullableUpdateRecoveryFlowWithLinkMethod) Get

func (NullableUpdateRecoveryFlowWithLinkMethod) IsSet

func (NullableUpdateRecoveryFlowWithLinkMethod) MarshalJSON

func (*NullableUpdateRecoveryFlowWithLinkMethod) Set

func (*NullableUpdateRecoveryFlowWithLinkMethod) UnmarshalJSON

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

func (*NullableUpdateRecoveryFlowWithLinkMethod) Unset

type NullableUpdateRegistrationFlowBody

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

func (NullableUpdateRegistrationFlowBody) Get

func (NullableUpdateRegistrationFlowBody) IsSet

func (NullableUpdateRegistrationFlowBody) MarshalJSON

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

func (*NullableUpdateRegistrationFlowBody) Set

func (*NullableUpdateRegistrationFlowBody) UnmarshalJSON

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

func (*NullableUpdateRegistrationFlowBody) Unset

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

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

func (NullableUpdateRegistrationFlowWithOidcMethod) Get

func (NullableUpdateRegistrationFlowWithOidcMethod) IsSet

func (NullableUpdateRegistrationFlowWithOidcMethod) MarshalJSON

func (*NullableUpdateRegistrationFlowWithOidcMethod) Set

func (*NullableUpdateRegistrationFlowWithOidcMethod) UnmarshalJSON

func (*NullableUpdateRegistrationFlowWithOidcMethod) Unset

type NullableUpdateRegistrationFlowWithPasswordMethod

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

func (NullableUpdateRegistrationFlowWithPasswordMethod) Get

func (NullableUpdateRegistrationFlowWithPasswordMethod) IsSet

func (NullableUpdateRegistrationFlowWithPasswordMethod) MarshalJSON

func (*NullableUpdateRegistrationFlowWithPasswordMethod) Set

func (*NullableUpdateRegistrationFlowWithPasswordMethod) UnmarshalJSON

func (*NullableUpdateRegistrationFlowWithPasswordMethod) Unset

type NullableUpdateRegistrationFlowWithWebAuthnMethod

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

func (NullableUpdateRegistrationFlowWithWebAuthnMethod) Get

func (NullableUpdateRegistrationFlowWithWebAuthnMethod) IsSet

func (NullableUpdateRegistrationFlowWithWebAuthnMethod) MarshalJSON

func (*NullableUpdateRegistrationFlowWithWebAuthnMethod) Set

func (*NullableUpdateRegistrationFlowWithWebAuthnMethod) UnmarshalJSON

func (*NullableUpdateRegistrationFlowWithWebAuthnMethod) Unset

type NullableUpdateSettingsFlowBody

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

func (NullableUpdateSettingsFlowBody) Get

func (NullableUpdateSettingsFlowBody) IsSet

func (NullableUpdateSettingsFlowBody) MarshalJSON

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

func (*NullableUpdateSettingsFlowBody) Set

func (*NullableUpdateSettingsFlowBody) UnmarshalJSON

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

func (*NullableUpdateSettingsFlowBody) Unset

func (v *NullableUpdateSettingsFlowBody) Unset()

type NullableUpdateSettingsFlowWithLookupMethod

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

func (NullableUpdateSettingsFlowWithLookupMethod) Get

func (NullableUpdateSettingsFlowWithLookupMethod) IsSet

func (NullableUpdateSettingsFlowWithLookupMethod) MarshalJSON

func (*NullableUpdateSettingsFlowWithLookupMethod) Set

func (*NullableUpdateSettingsFlowWithLookupMethod) UnmarshalJSON

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

func (*NullableUpdateSettingsFlowWithLookupMethod) Unset

type NullableUpdateSettingsFlowWithOidcMethod

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

func (NullableUpdateSettingsFlowWithOidcMethod) Get

func (NullableUpdateSettingsFlowWithOidcMethod) IsSet

func (NullableUpdateSettingsFlowWithOidcMethod) MarshalJSON

func (*NullableUpdateSettingsFlowWithOidcMethod) Set

func (*NullableUpdateSettingsFlowWithOidcMethod) UnmarshalJSON

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

func (*NullableUpdateSettingsFlowWithOidcMethod) Unset

type NullableUpdateSettingsFlowWithPasswordMethod

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

func (NullableUpdateSettingsFlowWithPasswordMethod) Get

func (NullableUpdateSettingsFlowWithPasswordMethod) IsSet

func (NullableUpdateSettingsFlowWithPasswordMethod) MarshalJSON

func (*NullableUpdateSettingsFlowWithPasswordMethod) Set

func (*NullableUpdateSettingsFlowWithPasswordMethod) UnmarshalJSON

func (*NullableUpdateSettingsFlowWithPasswordMethod) Unset

type NullableUpdateSettingsFlowWithProfileMethod

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

func (NullableUpdateSettingsFlowWithProfileMethod) Get

func (NullableUpdateSettingsFlowWithProfileMethod) IsSet

func (NullableUpdateSettingsFlowWithProfileMethod) MarshalJSON

func (*NullableUpdateSettingsFlowWithProfileMethod) Set

func (*NullableUpdateSettingsFlowWithProfileMethod) UnmarshalJSON

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

func (*NullableUpdateSettingsFlowWithProfileMethod) Unset

type NullableUpdateSettingsFlowWithTotpMethod

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

func (NullableUpdateSettingsFlowWithTotpMethod) Get

func (NullableUpdateSettingsFlowWithTotpMethod) IsSet

func (NullableUpdateSettingsFlowWithTotpMethod) MarshalJSON

func (*NullableUpdateSettingsFlowWithTotpMethod) Set

func (*NullableUpdateSettingsFlowWithTotpMethod) UnmarshalJSON

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

func (*NullableUpdateSettingsFlowWithTotpMethod) Unset

type NullableUpdateSettingsFlowWithWebAuthnMethod

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

func (NullableUpdateSettingsFlowWithWebAuthnMethod) Get

func (NullableUpdateSettingsFlowWithWebAuthnMethod) IsSet

func (NullableUpdateSettingsFlowWithWebAuthnMethod) MarshalJSON

func (*NullableUpdateSettingsFlowWithWebAuthnMethod) Set

func (*NullableUpdateSettingsFlowWithWebAuthnMethod) UnmarshalJSON

func (*NullableUpdateSettingsFlowWithWebAuthnMethod) Unset

type NullableUpdateVerificationFlowBody

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

func (NullableUpdateVerificationFlowBody) Get

func (NullableUpdateVerificationFlowBody) IsSet

func (NullableUpdateVerificationFlowBody) MarshalJSON

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

func (*NullableUpdateVerificationFlowBody) Set

func (*NullableUpdateVerificationFlowBody) UnmarshalJSON

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

func (*NullableUpdateVerificationFlowBody) Unset

type NullableUpdateVerificationFlowWithCodeMethod added in v0.13.0

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

func NewNullableUpdateVerificationFlowWithCodeMethod added in v0.13.0

func NewNullableUpdateVerificationFlowWithCodeMethod(val *UpdateVerificationFlowWithCodeMethod) *NullableUpdateVerificationFlowWithCodeMethod

func (NullableUpdateVerificationFlowWithCodeMethod) Get added in v0.13.0

func (NullableUpdateVerificationFlowWithCodeMethod) IsSet added in v0.13.0

func (NullableUpdateVerificationFlowWithCodeMethod) MarshalJSON added in v0.13.0

func (*NullableUpdateVerificationFlowWithCodeMethod) Set added in v0.13.0

func (*NullableUpdateVerificationFlowWithCodeMethod) UnmarshalJSON added in v0.13.0

func (*NullableUpdateVerificationFlowWithCodeMethod) Unset added in v0.13.0

type NullableUpdateVerificationFlowWithLinkMethod

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

func (NullableUpdateVerificationFlowWithLinkMethod) Get

func (NullableUpdateVerificationFlowWithLinkMethod) IsSet

func (NullableUpdateVerificationFlowWithLinkMethod) MarshalJSON

func (*NullableUpdateVerificationFlowWithLinkMethod) Set

func (*NullableUpdateVerificationFlowWithLinkMethod) UnmarshalJSON

func (*NullableUpdateVerificationFlowWithLinkMethod) Unset

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

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

func NewNullableVerificationFlow

func NewNullableVerificationFlow(val *VerificationFlow) *NullableVerificationFlow

func (NullableVerificationFlow) Get

func (NullableVerificationFlow) IsSet

func (v NullableVerificationFlow) IsSet() bool

func (NullableVerificationFlow) MarshalJSON

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

func (*NullableVerificationFlow) Set

func (*NullableVerificationFlow) UnmarshalJSON

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

func (*NullableVerificationFlow) Unset

func (v *NullableVerificationFlow) Unset()

type NullableVerificationFlowState

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

func (NullableVerificationFlowState) Get

func (NullableVerificationFlowState) IsSet

func (NullableVerificationFlowState) MarshalJSON

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

func (*NullableVerificationFlowState) Set

func (*NullableVerificationFlowState) UnmarshalJSON

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

func (*NullableVerificationFlowState) Unset

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

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"`
}

OAuth2Client struct for OAuth2Client

func NewOAuth2Client

func NewOAuth2Client() *OAuth2Client

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

func NewOAuth2ClientWithDefaults

func NewOAuth2ClientWithDefaults() *OAuth2Client

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

func (*OAuth2Client) 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

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

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

func (*OAuth2Client) GetAllowedCorsOriginsOk

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

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

func (*OAuth2Client) GetAudience

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

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

func (*OAuth2Client) GetAudienceOk

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

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

func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespan() string

GetAuthorizationCodeGrantAccessTokenLifespan returns the AuthorizationCodeGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetAuthorizationCodeGrantAccessTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespan() string

GetAuthorizationCodeGrantIdTokenLifespan returns the AuthorizationCodeGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk

func (o *OAuth2Client) GetAuthorizationCodeGrantIdTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespan() string

GetAuthorizationCodeGrantRefreshTokenLifespan returns the AuthorizationCodeGrantRefreshTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk

func (o *OAuth2Client) GetAuthorizationCodeGrantRefreshTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetBackchannelLogoutSessionRequired

func (o *OAuth2Client) GetBackchannelLogoutSessionRequired() bool

GetBackchannelLogoutSessionRequired returns the BackchannelLogoutSessionRequired field value if set, zero value otherwise.

func (*OAuth2Client) GetBackchannelLogoutSessionRequiredOk

func (o *OAuth2Client) GetBackchannelLogoutSessionRequiredOk() (*bool, bool)

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

func (*OAuth2Client) GetBackchannelLogoutUri

func (o *OAuth2Client) GetBackchannelLogoutUri() string

GetBackchannelLogoutUri returns the BackchannelLogoutUri field value if set, zero value otherwise.

func (*OAuth2Client) GetBackchannelLogoutUriOk

func (o *OAuth2Client) GetBackchannelLogoutUriOk() (*string, bool)

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

func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespan() string

GetClientCredentialsGrantAccessTokenLifespan returns the ClientCredentialsGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetClientCredentialsGrantAccessTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetClientId

func (o *OAuth2Client) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*OAuth2Client) GetClientIdOk

func (o *OAuth2Client) GetClientIdOk() (*string, bool)

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

func (*OAuth2Client) GetClientName

func (o *OAuth2Client) GetClientName() string

GetClientName returns the ClientName field value if set, zero value otherwise.

func (*OAuth2Client) GetClientNameOk

func (o *OAuth2Client) GetClientNameOk() (*string, bool)

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

func (*OAuth2Client) GetClientSecret

func (o *OAuth2Client) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*OAuth2Client) GetClientSecretExpiresAt

func (o *OAuth2Client) GetClientSecretExpiresAt() int64

GetClientSecretExpiresAt returns the ClientSecretExpiresAt field value if set, zero value otherwise.

func (*OAuth2Client) GetClientSecretExpiresAtOk

func (o *OAuth2Client) GetClientSecretExpiresAtOk() (*int64, bool)

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

func (*OAuth2Client) GetClientSecretOk

func (o *OAuth2Client) GetClientSecretOk() (*string, bool)

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

func (*OAuth2Client) GetClientUri

func (o *OAuth2Client) GetClientUri() string

GetClientUri returns the ClientUri field value if set, zero value otherwise.

func (*OAuth2Client) GetClientUriOk

func (o *OAuth2Client) GetClientUriOk() (*string, bool)

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

func (*OAuth2Client) GetContacts

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

GetContacts returns the Contacts field value if set, zero value otherwise.

func (*OAuth2Client) GetContactsOk

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

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

func (*OAuth2Client) GetCreatedAt

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

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

func (*OAuth2Client) GetCreatedAtOk

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

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

func (*OAuth2Client) GetFrontchannelLogoutSessionRequired

func (o *OAuth2Client) GetFrontchannelLogoutSessionRequired() bool

GetFrontchannelLogoutSessionRequired returns the FrontchannelLogoutSessionRequired field value if set, zero value otherwise.

func (*OAuth2Client) GetFrontchannelLogoutSessionRequiredOk

func (o *OAuth2Client) GetFrontchannelLogoutSessionRequiredOk() (*bool, bool)

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

func (*OAuth2Client) GetFrontchannelLogoutUri

func (o *OAuth2Client) GetFrontchannelLogoutUri() string

GetFrontchannelLogoutUri returns the FrontchannelLogoutUri field value if set, zero value otherwise.

func (*OAuth2Client) GetFrontchannelLogoutUriOk

func (o *OAuth2Client) GetFrontchannelLogoutUriOk() (*string, bool)

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

func (*OAuth2Client) GetGrantTypes

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

GetGrantTypes returns the GrantTypes field value if set, zero value otherwise.

func (*OAuth2Client) GetGrantTypesOk

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

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

func (*OAuth2Client) GetImplicitGrantAccessTokenLifespan

func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespan() string

GetImplicitGrantAccessTokenLifespan returns the ImplicitGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetImplicitGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetImplicitGrantAccessTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetImplicitGrantIdTokenLifespan

func (o *OAuth2Client) GetImplicitGrantIdTokenLifespan() string

GetImplicitGrantIdTokenLifespan returns the ImplicitGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetImplicitGrantIdTokenLifespanOk

func (o *OAuth2Client) GetImplicitGrantIdTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetJwks

func (o *OAuth2Client) GetJwks() interface{}

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

func (*OAuth2Client) GetJwksOk

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

func (o *OAuth2Client) GetJwksUri() string

GetJwksUri returns the JwksUri field value if set, zero value otherwise.

func (*OAuth2Client) GetJwksUriOk

func (o *OAuth2Client) GetJwksUriOk() (*string, bool)

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

func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespan

func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespan() string

GetJwtBearerGrantAccessTokenLifespan returns the JwtBearerGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetJwtBearerGrantAccessTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetLogoUri

func (o *OAuth2Client) GetLogoUri() string

GetLogoUri returns the LogoUri field value if set, zero value otherwise.

func (*OAuth2Client) GetLogoUriOk

func (o *OAuth2Client) GetLogoUriOk() (*string, bool)

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

func (*OAuth2Client) GetMetadata

func (o *OAuth2Client) GetMetadata() interface{}

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

func (*OAuth2Client) GetMetadataOk

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

func (o *OAuth2Client) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*OAuth2Client) GetOwnerOk

func (o *OAuth2Client) GetOwnerOk() (*string, bool)

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

func (*OAuth2Client) GetPolicyUri

func (o *OAuth2Client) GetPolicyUri() string

GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.

func (*OAuth2Client) GetPolicyUriOk

func (o *OAuth2Client) GetPolicyUriOk() (*string, bool)

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

func (*OAuth2Client) GetPostLogoutRedirectUris

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

GetPostLogoutRedirectUris returns the PostLogoutRedirectUris field value if set, zero value otherwise.

func (*OAuth2Client) GetPostLogoutRedirectUrisOk

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

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

func (*OAuth2Client) GetRedirectUris

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

GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.

func (*OAuth2Client) GetRedirectUrisOk

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

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

func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespan() string

GetRefreshTokenGrantAccessTokenLifespan returns the RefreshTokenGrantAccessTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk

func (o *OAuth2Client) GetRefreshTokenGrantAccessTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespan

func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespan() string

GetRefreshTokenGrantIdTokenLifespan returns the RefreshTokenGrantIdTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk

func (o *OAuth2Client) GetRefreshTokenGrantIdTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespan() string

GetRefreshTokenGrantRefreshTokenLifespan returns the RefreshTokenGrantRefreshTokenLifespan field value if set, zero value otherwise.

func (*OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk

func (o *OAuth2Client) GetRefreshTokenGrantRefreshTokenLifespanOk() (*string, bool)

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

func (*OAuth2Client) GetRegistrationAccessToken

func (o *OAuth2Client) GetRegistrationAccessToken() string

GetRegistrationAccessToken returns the RegistrationAccessToken field value if set, zero value otherwise.

func (*OAuth2Client) GetRegistrationAccessTokenOk

func (o *OAuth2Client) GetRegistrationAccessTokenOk() (*string, bool)

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

func (*OAuth2Client) GetRegistrationClientUri

func (o *OAuth2Client) GetRegistrationClientUri() string

GetRegistrationClientUri returns the RegistrationClientUri field value if set, zero value otherwise.

func (*OAuth2Client) GetRegistrationClientUriOk

func (o *OAuth2Client) GetRegistrationClientUriOk() (*string, bool)

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

func (*OAuth2Client) GetRequestObjectSigningAlg

func (o *OAuth2Client) GetRequestObjectSigningAlg() string

GetRequestObjectSigningAlg returns the RequestObjectSigningAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetRequestObjectSigningAlgOk

func (o *OAuth2Client) GetRequestObjectSigningAlgOk() (*string, bool)

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

func (*OAuth2Client) GetRequestUris

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

GetRequestUris returns the RequestUris field value if set, zero value otherwise.

func (*OAuth2Client) GetRequestUrisOk

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

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

func (*OAuth2Client) GetResponseTypes

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

GetResponseTypes returns the ResponseTypes field value if set, zero value otherwise.

func (*OAuth2Client) GetResponseTypesOk

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

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

func (*OAuth2Client) GetScope

func (o *OAuth2Client) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*OAuth2Client) GetScopeOk

func (o *OAuth2Client) GetScopeOk() (*string, bool)

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

func (*OAuth2Client) GetSectorIdentifierUri

func (o *OAuth2Client) GetSectorIdentifierUri() string

GetSectorIdentifierUri returns the SectorIdentifierUri field value if set, zero value otherwise.

func (*OAuth2Client) GetSectorIdentifierUriOk

func (o *OAuth2Client) GetSectorIdentifierUriOk() (*string, bool)

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

func (*OAuth2Client) 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

func (o *OAuth2Client) GetSubjectType() string

GetSubjectType returns the SubjectType field value if set, zero value otherwise.

func (*OAuth2Client) GetSubjectTypeOk

func (o *OAuth2Client) GetSubjectTypeOk() (*string, bool)

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

func (*OAuth2Client) GetTokenEndpointAuthMethod

func (o *OAuth2Client) GetTokenEndpointAuthMethod() string

GetTokenEndpointAuthMethod returns the TokenEndpointAuthMethod field value if set, zero value otherwise.

func (*OAuth2Client) GetTokenEndpointAuthMethodOk

func (o *OAuth2Client) GetTokenEndpointAuthMethodOk() (*string, bool)

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

func (*OAuth2Client) GetTokenEndpointAuthSigningAlg

func (o *OAuth2Client) GetTokenEndpointAuthSigningAlg() string

GetTokenEndpointAuthSigningAlg returns the TokenEndpointAuthSigningAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetTokenEndpointAuthSigningAlgOk

func (o *OAuth2Client) GetTokenEndpointAuthSigningAlgOk() (*string, bool)

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

func (*OAuth2Client) GetTosUri

func (o *OAuth2Client) GetTosUri() string

GetTosUri returns the TosUri field value if set, zero value otherwise.

func (*OAuth2Client) GetTosUriOk

func (o *OAuth2Client) GetTosUriOk() (*string, bool)

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

func (*OAuth2Client) GetUpdatedAt

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

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

func (*OAuth2Client) GetUpdatedAtOk

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

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

func (*OAuth2Client) GetUserinfoSignedResponseAlg

func (o *OAuth2Client) GetUserinfoSignedResponseAlg() string

GetUserinfoSignedResponseAlg returns the UserinfoSignedResponseAlg field value if set, zero value otherwise.

func (*OAuth2Client) GetUserinfoSignedResponseAlgOk

func (o *OAuth2Client) GetUserinfoSignedResponseAlgOk() (*string, bool)

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

func (*OAuth2Client) HasAccessTokenStrategy added in v1.1.0

func (o *OAuth2Client) HasAccessTokenStrategy() bool

HasAccessTokenStrategy returns a boolean if a field has been set.

func (*OAuth2Client) HasAllowedCorsOrigins

func (o *OAuth2Client) HasAllowedCorsOrigins() bool

HasAllowedCorsOrigins returns a boolean if a field has been set.

func (*OAuth2Client) HasAudience

func (o *OAuth2Client) HasAudience() bool

HasAudience returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2Client) HasAuthorizationCodeGrantAccessTokenLifespan() bool

HasAuthorizationCodeGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2Client) HasAuthorizationCodeGrantIdTokenLifespan() bool

HasAuthorizationCodeGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2Client) HasAuthorizationCodeGrantRefreshTokenLifespan() bool

HasAuthorizationCodeGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasBackchannelLogoutSessionRequired

func (o *OAuth2Client) HasBackchannelLogoutSessionRequired() bool

HasBackchannelLogoutSessionRequired returns a boolean if a field has been set.

func (*OAuth2Client) HasBackchannelLogoutUri

func (o *OAuth2Client) HasBackchannelLogoutUri() bool

HasBackchannelLogoutUri returns a boolean if a field has been set.

func (*OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2Client) HasClientCredentialsGrantAccessTokenLifespan() bool

HasClientCredentialsGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasClientId

func (o *OAuth2Client) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*OAuth2Client) HasClientName

func (o *OAuth2Client) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*OAuth2Client) HasClientSecret

func (o *OAuth2Client) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*OAuth2Client) HasClientSecretExpiresAt

func (o *OAuth2Client) HasClientSecretExpiresAt() bool

HasClientSecretExpiresAt returns a boolean if a field has been set.

func (*OAuth2Client) HasClientUri

func (o *OAuth2Client) HasClientUri() bool

HasClientUri returns a boolean if a field has been set.

func (*OAuth2Client) HasContacts

func (o *OAuth2Client) HasContacts() bool

HasContacts returns a boolean if a field has been set.

func (*OAuth2Client) HasCreatedAt

func (o *OAuth2Client) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OAuth2Client) HasFrontchannelLogoutSessionRequired

func (o *OAuth2Client) HasFrontchannelLogoutSessionRequired() bool

HasFrontchannelLogoutSessionRequired returns a boolean if a field has been set.

func (*OAuth2Client) HasFrontchannelLogoutUri

func (o *OAuth2Client) HasFrontchannelLogoutUri() bool

HasFrontchannelLogoutUri returns a boolean if a field has been set.

func (*OAuth2Client) HasGrantTypes

func (o *OAuth2Client) HasGrantTypes() bool

HasGrantTypes returns a boolean if a field has been set.

func (*OAuth2Client) HasImplicitGrantAccessTokenLifespan

func (o *OAuth2Client) HasImplicitGrantAccessTokenLifespan() bool

HasImplicitGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasImplicitGrantIdTokenLifespan

func (o *OAuth2Client) HasImplicitGrantIdTokenLifespan() bool

HasImplicitGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasJwks

func (o *OAuth2Client) HasJwks() bool

HasJwks returns a boolean if a field has been set.

func (*OAuth2Client) HasJwksUri

func (o *OAuth2Client) HasJwksUri() bool

HasJwksUri returns a boolean if a field has been set.

func (*OAuth2Client) HasJwtBearerGrantAccessTokenLifespan

func (o *OAuth2Client) HasJwtBearerGrantAccessTokenLifespan() bool

HasJwtBearerGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasLogoUri

func (o *OAuth2Client) HasLogoUri() bool

HasLogoUri returns a boolean if a field has been set.

func (*OAuth2Client) HasMetadata

func (o *OAuth2Client) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*OAuth2Client) HasOwner

func (o *OAuth2Client) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*OAuth2Client) HasPolicyUri

func (o *OAuth2Client) HasPolicyUri() bool

HasPolicyUri returns a boolean if a field has been set.

func (*OAuth2Client) HasPostLogoutRedirectUris

func (o *OAuth2Client) HasPostLogoutRedirectUris() bool

HasPostLogoutRedirectUris returns a boolean if a field has been set.

func (*OAuth2Client) HasRedirectUris

func (o *OAuth2Client) HasRedirectUris() bool

HasRedirectUris returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2Client) HasRefreshTokenGrantAccessTokenLifespan() bool

HasRefreshTokenGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantIdTokenLifespan

func (o *OAuth2Client) HasRefreshTokenGrantIdTokenLifespan() bool

HasRefreshTokenGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2Client) HasRefreshTokenGrantRefreshTokenLifespan() bool

HasRefreshTokenGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2Client) HasRegistrationAccessToken

func (o *OAuth2Client) HasRegistrationAccessToken() bool

HasRegistrationAccessToken returns a boolean if a field has been set.

func (*OAuth2Client) HasRegistrationClientUri

func (o *OAuth2Client) HasRegistrationClientUri() bool

HasRegistrationClientUri returns a boolean if a field has been set.

func (*OAuth2Client) HasRequestObjectSigningAlg

func (o *OAuth2Client) HasRequestObjectSigningAlg() bool

HasRequestObjectSigningAlg returns a boolean if a field has been set.

func (*OAuth2Client) HasRequestUris

func (o *OAuth2Client) HasRequestUris() bool

HasRequestUris returns a boolean if a field has been set.

func (*OAuth2Client) HasResponseTypes

func (o *OAuth2Client) HasResponseTypes() bool

HasResponseTypes returns a boolean if a field has been set.

func (*OAuth2Client) HasScope

func (o *OAuth2Client) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*OAuth2Client) HasSectorIdentifierUri

func (o *OAuth2Client) HasSectorIdentifierUri() bool

HasSectorIdentifierUri returns a boolean if a field has been set.

func (*OAuth2Client) 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

func (o *OAuth2Client) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (*OAuth2Client) HasTokenEndpointAuthMethod

func (o *OAuth2Client) HasTokenEndpointAuthMethod() bool

HasTokenEndpointAuthMethod returns a boolean if a field has been set.

func (*OAuth2Client) HasTokenEndpointAuthSigningAlg

func (o *OAuth2Client) HasTokenEndpointAuthSigningAlg() bool

HasTokenEndpointAuthSigningAlg returns a boolean if a field has been set.

func (*OAuth2Client) HasTosUri

func (o *OAuth2Client) HasTosUri() bool

HasTosUri returns a boolean if a field has been set.

func (*OAuth2Client) HasUpdatedAt

func (o *OAuth2Client) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*OAuth2Client) HasUserinfoSignedResponseAlg

func (o *OAuth2Client) HasUserinfoSignedResponseAlg() bool

HasUserinfoSignedResponseAlg returns a boolean if a field has been set.

func (OAuth2Client) MarshalJSON

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

func (*OAuth2Client) 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

func (o *OAuth2Client) SetAllowedCorsOrigins(v []string)

SetAllowedCorsOrigins gets a reference to the given []string and assigns it to the AllowedCorsOrigins field.

func (*OAuth2Client) SetAudience

func (o *OAuth2Client) SetAudience(v []string)

SetAudience gets a reference to the given []string and assigns it to the Audience field.

func (*OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2Client) SetAuthorizationCodeGrantAccessTokenLifespan(v string)

SetAuthorizationCodeGrantAccessTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantAccessTokenLifespan field.

func (*OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2Client) SetAuthorizationCodeGrantIdTokenLifespan(v string)

SetAuthorizationCodeGrantIdTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantIdTokenLifespan field.

func (*OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2Client) SetAuthorizationCodeGrantRefreshTokenLifespan(v string)

SetAuthorizationCodeGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantRefreshTokenLifespan field.

func (*OAuth2Client) SetBackchannelLogoutSessionRequired

func (o *OAuth2Client) SetBackchannelLogoutSessionRequired(v bool)

SetBackchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the BackchannelLogoutSessionRequired field.

func (*OAuth2Client) SetBackchannelLogoutUri

func (o *OAuth2Client) SetBackchannelLogoutUri(v string)

SetBackchannelLogoutUri gets a reference to the given string and assigns it to the BackchannelLogoutUri field.

func (*OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2Client) SetClientCredentialsGrantAccessTokenLifespan(v string)

SetClientCredentialsGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ClientCredentialsGrantAccessTokenLifespan field.

func (*OAuth2Client) SetClientId

func (o *OAuth2Client) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*OAuth2Client) SetClientName

func (o *OAuth2Client) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*OAuth2Client) SetClientSecret

func (o *OAuth2Client) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*OAuth2Client) SetClientSecretExpiresAt

func (o *OAuth2Client) SetClientSecretExpiresAt(v int64)

SetClientSecretExpiresAt gets a reference to the given int64 and assigns it to the ClientSecretExpiresAt field.

func (*OAuth2Client) SetClientUri

func (o *OAuth2Client) SetClientUri(v string)

SetClientUri gets a reference to the given string and assigns it to the ClientUri field.

func (*OAuth2Client) SetContacts

func (o *OAuth2Client) SetContacts(v []string)

SetContacts gets a reference to the given []string and assigns it to the Contacts field.

func (*OAuth2Client) SetCreatedAt

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

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

func (*OAuth2Client) SetFrontchannelLogoutSessionRequired

func (o *OAuth2Client) SetFrontchannelLogoutSessionRequired(v bool)

SetFrontchannelLogoutSessionRequired gets a reference to the given bool and assigns it to the FrontchannelLogoutSessionRequired field.

func (*OAuth2Client) SetFrontchannelLogoutUri

func (o *OAuth2Client) SetFrontchannelLogoutUri(v string)

SetFrontchannelLogoutUri gets a reference to the given string and assigns it to the FrontchannelLogoutUri field.

func (*OAuth2Client) SetGrantTypes

func (o *OAuth2Client) SetGrantTypes(v []string)

SetGrantTypes gets a reference to the given []string and assigns it to the GrantTypes field.

func (*OAuth2Client) SetImplicitGrantAccessTokenLifespan

func (o *OAuth2Client) SetImplicitGrantAccessTokenLifespan(v string)

SetImplicitGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantAccessTokenLifespan field.

func (*OAuth2Client) SetImplicitGrantIdTokenLifespan

func (o *OAuth2Client) SetImplicitGrantIdTokenLifespan(v string)

SetImplicitGrantIdTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantIdTokenLifespan field.

func (*OAuth2Client) SetJwks

func (o *OAuth2Client) SetJwks(v interface{})

SetJwks gets a reference to the given interface{} and assigns it to the Jwks field.

func (*OAuth2Client) SetJwksUri

func (o *OAuth2Client) SetJwksUri(v string)

SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.

func (*OAuth2Client) SetJwtBearerGrantAccessTokenLifespan

func (o *OAuth2Client) SetJwtBearerGrantAccessTokenLifespan(v string)

SetJwtBearerGrantAccessTokenLifespan gets a reference to the given string and assigns it to the JwtBearerGrantAccessTokenLifespan field.

func (*OAuth2Client) SetLogoUri

func (o *OAuth2Client) SetLogoUri(v string)

SetLogoUri gets a reference to the given string and assigns it to the LogoUri field.

func (*OAuth2Client) SetMetadata

func (o *OAuth2Client) SetMetadata(v interface{})

SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field.

func (*OAuth2Client) SetOwner

func (o *OAuth2Client) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*OAuth2Client) SetPolicyUri

func (o *OAuth2Client) SetPolicyUri(v string)

SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.

func (*OAuth2Client) SetPostLogoutRedirectUris

func (o *OAuth2Client) SetPostLogoutRedirectUris(v []string)

SetPostLogoutRedirectUris gets a reference to the given []string and assigns it to the PostLogoutRedirectUris field.

func (*OAuth2Client) SetRedirectUris

func (o *OAuth2Client) SetRedirectUris(v []string)

SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.

func (*OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2Client) SetRefreshTokenGrantAccessTokenLifespan(v string)

SetRefreshTokenGrantAccessTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantAccessTokenLifespan field.

func (*OAuth2Client) SetRefreshTokenGrantIdTokenLifespan

func (o *OAuth2Client) SetRefreshTokenGrantIdTokenLifespan(v string)

SetRefreshTokenGrantIdTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantIdTokenLifespan field.

func (*OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2Client) SetRefreshTokenGrantRefreshTokenLifespan(v string)

SetRefreshTokenGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantRefreshTokenLifespan field.

func (*OAuth2Client) SetRegistrationAccessToken

func (o *OAuth2Client) SetRegistrationAccessToken(v string)

SetRegistrationAccessToken gets a reference to the given string and assigns it to the RegistrationAccessToken field.

func (*OAuth2Client) SetRegistrationClientUri

func (o *OAuth2Client) SetRegistrationClientUri(v string)

SetRegistrationClientUri gets a reference to the given string and assigns it to the RegistrationClientUri field.

func (*OAuth2Client) SetRequestObjectSigningAlg

func (o *OAuth2Client) SetRequestObjectSigningAlg(v string)

SetRequestObjectSigningAlg gets a reference to the given string and assigns it to the RequestObjectSigningAlg field.

func (*OAuth2Client) SetRequestUris

func (o *OAuth2Client) SetRequestUris(v []string)

SetRequestUris gets a reference to the given []string and assigns it to the RequestUris field.

func (*OAuth2Client) SetResponseTypes

func (o *OAuth2Client) SetResponseTypes(v []string)

SetResponseTypes gets a reference to the given []string and assigns it to the ResponseTypes field.

func (*OAuth2Client) SetScope

func (o *OAuth2Client) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OAuth2Client) SetSectorIdentifierUri

func (o *OAuth2Client) SetSectorIdentifierUri(v string)

SetSectorIdentifierUri gets a reference to the given string and assigns it to the SectorIdentifierUri field.

func (*OAuth2Client) 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

func (o *OAuth2Client) SetSubjectType(v string)

SetSubjectType gets a reference to the given string and assigns it to the SubjectType field.

func (*OAuth2Client) SetTokenEndpointAuthMethod

func (o *OAuth2Client) SetTokenEndpointAuthMethod(v string)

SetTokenEndpointAuthMethod gets a reference to the given string and assigns it to the TokenEndpointAuthMethod field.

func (*OAuth2Client) SetTokenEndpointAuthSigningAlg

func (o *OAuth2Client) SetTokenEndpointAuthSigningAlg(v string)

SetTokenEndpointAuthSigningAlg gets a reference to the given string and assigns it to the TokenEndpointAuthSigningAlg field.

func (*OAuth2Client) SetTosUri

func (o *OAuth2Client) SetTosUri(v string)

SetTosUri gets a reference to the given string and assigns it to the TosUri field.

func (*OAuth2Client) SetUpdatedAt

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

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

func (*OAuth2Client) SetUserinfoSignedResponseAlg

func (o *OAuth2Client) SetUserinfoSignedResponseAlg(v string)

SetUserinfoSignedResponseAlg gets a reference to the given string and assigns it to the UserinfoSignedResponseAlg field.

type OAuth2ConsentRequestOpenIDConnectContext

type OAuth2ConsentRequestOpenIDConnectContext struct {
	// ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.  OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter.
	AcrValues []string `json:"acr_values,omitempty"`
	// Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \\\"feature phone\\\" type display.  The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.
	Display *string `json:"display,omitempty"`
	// IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client.
	IdTokenHintClaims map[string]interface{} `json:"id_token_hint_claims,omitempty"`
	// LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional.
	LoginHint *string `json:"login_hint,omitempty"`
	// UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \\\"fr-CA fr en\\\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider.
	UiLocales []string `json:"ui_locales,omitempty"`
}

OAuth2ConsentRequestOpenIDConnectContext OAuth2ConsentRequestOpenIDConnectContext struct for OAuth2ConsentRequestOpenIDConnectContext

func NewOAuth2ConsentRequestOpenIDConnectContext

func NewOAuth2ConsentRequestOpenIDConnectContext() *OAuth2ConsentRequestOpenIDConnectContext

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

func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults

func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults() *OAuth2ConsentRequestOpenIDConnectContext

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

func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues

GetAcrValues returns the AcrValues field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk() ([]string, bool)

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

func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplay

GetDisplay returns the Display field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk

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

func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[string]interface{}

GetIdTokenHintClaims returns the IdTokenHintClaims field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk

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

GetLoginHint returns the LoginHint field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk() (*string, bool)

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

func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales

GetUiLocales returns the UiLocales field value if set, zero value otherwise.

func (*OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk

func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk() ([]string, bool)

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

func (*OAuth2ConsentRequestOpenIDConnectContext) HasAcrValues

HasAcrValues returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasDisplay

HasDisplay returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims

func (o *OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims() bool

HasIdTokenHintClaims returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint

HasLoginHint returns a boolean if a field has been set.

func (*OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales

HasUiLocales returns a boolean if a field has been set.

func (OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON

func (*OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues(v []string)

SetAcrValues gets a reference to the given []string and assigns it to the AcrValues field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetDisplay

SetDisplay gets a reference to the given string and assigns it to the Display field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims(v map[string]interface{})

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

func (*OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint

SetLoginHint gets a reference to the given string and assigns it to the LoginHint field.

func (*OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales

func (o *OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales(v []string)

SetUiLocales gets a reference to the given []string and assigns it to the UiLocales field.

type OAuth2LoginRequest

type OAuth2LoginRequest struct {
	// ID is the identifier (\\\"login challenge\\\") of the login request. It is used to identify the session.
	Challenge   *string                                   `json:"challenge,omitempty"`
	Client      *OAuth2Client                             `json:"client,omitempty"`
	OidcContext *OAuth2ConsentRequestOpenIDConnectContext `json:"oidc_context,omitempty"`
	// RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
	RequestUrl                   *string  `json:"request_url,omitempty"`
	RequestedAccessTokenAudience []string `json:"requested_access_token_audience,omitempty"`
	RequestedScope               []string `json:"requested_scope,omitempty"`
	// SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \\\"sid\\\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
	SessionId *string `json:"session_id,omitempty"`
	// Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL.  This feature allows you to update / set session information.
	Skip *bool `json:"skip,omitempty"`
	// Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail.
	Subject *string `json:"subject,omitempty"`
}

OAuth2LoginRequest OAuth2LoginRequest struct for OAuth2LoginRequest

func NewOAuth2LoginRequest

func NewOAuth2LoginRequest() *OAuth2LoginRequest

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

func NewOAuth2LoginRequestWithDefaults

func NewOAuth2LoginRequestWithDefaults() *OAuth2LoginRequest

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

func (*OAuth2LoginRequest) GetChallenge

func (o *OAuth2LoginRequest) GetChallenge() string

GetChallenge returns the Challenge field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetChallengeOk

func (o *OAuth2LoginRequest) GetChallengeOk() (*string, bool)

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

func (*OAuth2LoginRequest) GetClient

func (o *OAuth2LoginRequest) GetClient() OAuth2Client

GetClient returns the Client field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetClientOk

func (o *OAuth2LoginRequest) GetClientOk() (*OAuth2Client, bool)

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

func (*OAuth2LoginRequest) GetOidcContext

GetOidcContext returns the OidcContext field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetOidcContextOk

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

func (*OAuth2LoginRequest) GetRequestUrl

func (o *OAuth2LoginRequest) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestUrlOk

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

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

func (*OAuth2LoginRequest) GetRequestedAccessTokenAudience

func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudience() []string

GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk

func (o *OAuth2LoginRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)

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

func (*OAuth2LoginRequest) GetRequestedScope

func (o *OAuth2LoginRequest) GetRequestedScope() []string

GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetRequestedScopeOk

func (o *OAuth2LoginRequest) GetRequestedScopeOk() ([]string, bool)

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

func (*OAuth2LoginRequest) GetSessionId

func (o *OAuth2LoginRequest) GetSessionId() string

GetSessionId returns the SessionId field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSessionIdOk

func (o *OAuth2LoginRequest) GetSessionIdOk() (*string, bool)

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

func (*OAuth2LoginRequest) GetSkip

func (o *OAuth2LoginRequest) GetSkip() bool

GetSkip returns the Skip field value if set, zero value otherwise.

func (*OAuth2LoginRequest) GetSkipOk

func (o *OAuth2LoginRequest) GetSkipOk() (*bool, bool)

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

func (*OAuth2LoginRequest) GetSubject

func (o *OAuth2LoginRequest) GetSubject() string

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

func (*OAuth2LoginRequest) GetSubjectOk

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

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

func (*OAuth2LoginRequest) HasChallenge

func (o *OAuth2LoginRequest) HasChallenge() bool

HasChallenge returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasClient

func (o *OAuth2LoginRequest) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasOidcContext

func (o *OAuth2LoginRequest) HasOidcContext() bool

HasOidcContext returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestUrl

func (o *OAuth2LoginRequest) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedAccessTokenAudience

func (o *OAuth2LoginRequest) HasRequestedAccessTokenAudience() bool

HasRequestedAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedScope

func (o *OAuth2LoginRequest) HasRequestedScope() bool

HasRequestedScope returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSessionId

func (o *OAuth2LoginRequest) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSkip

func (o *OAuth2LoginRequest) HasSkip() bool

HasSkip returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasSubject

func (o *OAuth2LoginRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (OAuth2LoginRequest) MarshalJSON

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

func (*OAuth2LoginRequest) SetChallenge

func (o *OAuth2LoginRequest) SetChallenge(v string)

SetChallenge gets a reference to the given string and assigns it to the Challenge field.

func (*OAuth2LoginRequest) SetClient

func (o *OAuth2LoginRequest) SetClient(v OAuth2Client)

SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.

func (*OAuth2LoginRequest) SetOidcContext

SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.

func (*OAuth2LoginRequest) SetRequestUrl

func (o *OAuth2LoginRequest) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*OAuth2LoginRequest) SetRequestedAccessTokenAudience

func (o *OAuth2LoginRequest) SetRequestedAccessTokenAudience(v []string)

SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.

func (*OAuth2LoginRequest) SetRequestedScope

func (o *OAuth2LoginRequest) SetRequestedScope(v []string)

SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.

func (*OAuth2LoginRequest) SetSessionId

func (o *OAuth2LoginRequest) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

func (*OAuth2LoginRequest) SetSkip

func (o *OAuth2LoginRequest) SetSkip(v bool)

SetSkip gets a reference to the given bool and assigns it to the Skip field.

func (*OAuth2LoginRequest) SetSubject

func (o *OAuth2LoginRequest) SetSubject(v string)

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

type PatchIdentitiesBody added in v0.13.0

type PatchIdentitiesBody struct {
	// Identities holds the list of patches to apply  required
	Identities []IdentityPatch `json:"identities,omitempty"`
}

PatchIdentitiesBody Patch Identities Body

func NewPatchIdentitiesBody added in v0.13.0

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.0

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.0

func (o *PatchIdentitiesBody) GetIdentities() []IdentityPatch

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

func (*PatchIdentitiesBody) GetIdentitiesOk added in v0.13.0

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.0

func (o *PatchIdentitiesBody) HasIdentities() bool

HasIdentities returns a boolean if a field has been set.

func (PatchIdentitiesBody) MarshalJSON added in v0.13.0

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

func (*PatchIdentitiesBody) SetIdentities added in v0.13.0

func (o *PatchIdentitiesBody) SetIdentities(v []IdentityPatch)

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

type PerformNativeLogoutBody

type PerformNativeLogoutBody struct {
	// The Session Token  Invalidate this session token.
	SessionToken string `json:"session_token"`
}

PerformNativeLogoutBody Perform Native Logout Request Body

func NewPerformNativeLogoutBody

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

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

func (o *PerformNativeLogoutBody) GetSessionToken() string

GetSessionToken returns the SessionToken field value

func (*PerformNativeLogoutBody) GetSessionTokenOk

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

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

func (*PerformNativeLogoutBody) SetSessionToken

func (o *PerformNativeLogoutBody) SetSessionToken(v string)

SetSessionToken sets field value

type RecoveryCodeForIdentity

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"`
}

RecoveryCodeForIdentity Used when an administrator creates a recovery code for an identity.

func NewRecoveryCodeForIdentity

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

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

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*RecoveryCodeForIdentity) GetExpiresAtOk

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

func (o *RecoveryCodeForIdentity) GetRecoveryCode() string

GetRecoveryCode returns the RecoveryCode field value

func (*RecoveryCodeForIdentity) GetRecoveryCodeOk

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

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

func (o *RecoveryCodeForIdentity) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (RecoveryCodeForIdentity) MarshalJSON

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

func (*RecoveryCodeForIdentity) SetExpiresAt

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

func (o *RecoveryCodeForIdentity) SetRecoveryCode(v string)

SetRecoveryCode sets field value

func (o *RecoveryCodeForIdentity) SetRecoveryLink(v string)

SetRecoveryLink sets field value

type RecoveryFlow

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"`
}

RecoveryFlow This request is used when an identity wants to recover their account. We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)

func NewRecoveryFlow

func NewRecoveryFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state 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

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

func (o *RecoveryFlow) GetActive() string

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

func (*RecoveryFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value

func (*RecoveryFlow) GetExpiresAtOk

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

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

func (*RecoveryFlow) GetId

func (o *RecoveryFlow) GetId() string

GetId returns the Id field value

func (*RecoveryFlow) GetIdOk

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

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

func (*RecoveryFlow) GetIssuedAt

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

GetIssuedAt returns the IssuedAt field value

func (*RecoveryFlow) GetIssuedAtOk

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

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

func (*RecoveryFlow) GetRequestUrl

func (o *RecoveryFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RecoveryFlow) GetRequestUrlOk

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

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

func (*RecoveryFlow) GetReturnTo

func (o *RecoveryFlow) GetReturnTo() string

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

func (*RecoveryFlow) GetReturnToOk

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

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

func (*RecoveryFlow) GetState

func (o *RecoveryFlow) GetState() interface{}

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

func (*RecoveryFlow) GetStateOk

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

func (o *RecoveryFlow) GetType() string

GetType returns the Type field value

func (*RecoveryFlow) GetTypeOk

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

func (o *RecoveryFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RecoveryFlow) GetUiOk

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

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

func (*RecoveryFlow) HasActive

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

func (o *RecoveryFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (RecoveryFlow) MarshalJSON

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

func (*RecoveryFlow) SetActive

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

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

SetExpiresAt sets field value

func (*RecoveryFlow) SetId

func (o *RecoveryFlow) SetId(v string)

SetId sets field value

func (*RecoveryFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*RecoveryFlow) SetRequestUrl

func (o *RecoveryFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RecoveryFlow) SetReturnTo

func (o *RecoveryFlow) SetReturnTo(v string)

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

func (*RecoveryFlow) SetState

func (o *RecoveryFlow) SetState(v interface{})

SetState sets field value

func (*RecoveryFlow) SetType

func (o *RecoveryFlow) SetType(v string)

SetType sets field value

func (*RecoveryFlow) SetUi

func (o *RecoveryFlow) SetUi(v UiContainer)

SetUi sets field value

type RecoveryFlowState

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 (RecoveryFlowState) Ptr

Ptr returns reference to recoveryFlowState value

func (*RecoveryFlowState) UnmarshalJSON

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

type RecoveryIdentityAddress

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"`
}

RecoveryIdentityAddress struct for RecoveryIdentityAddress

func NewRecoveryIdentityAddress

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

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

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

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

func (*RecoveryIdentityAddress) GetCreatedAtOk

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

func (o *RecoveryIdentityAddress) GetId() string

GetId returns the Id field value

func (*RecoveryIdentityAddress) GetIdOk

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

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

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

func (*RecoveryIdentityAddress) GetUpdatedAtOk

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

func (o *RecoveryIdentityAddress) GetValue() string

GetValue returns the Value field value

func (*RecoveryIdentityAddress) GetValueOk

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

func (o *RecoveryIdentityAddress) GetVia() string

GetVia returns the Via field value

func (*RecoveryIdentityAddress) GetViaOk

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

func (o *RecoveryIdentityAddress) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RecoveryIdentityAddress) HasUpdatedAt

func (o *RecoveryIdentityAddress) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (RecoveryIdentityAddress) MarshalJSON

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

func (*RecoveryIdentityAddress) SetCreatedAt

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

func (o *RecoveryIdentityAddress) SetId(v string)

SetId sets field value

func (*RecoveryIdentityAddress) SetUpdatedAt

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

func (o *RecoveryIdentityAddress) SetValue(v string)

SetValue sets field value

func (*RecoveryIdentityAddress) SetVia

func (o *RecoveryIdentityAddress) SetVia(v string)

SetVia sets field value

type RecoveryLinkForIdentity

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"`
}

RecoveryLinkForIdentity Used when an administrator creates a recovery link for an identity.

func NewRecoveryLinkForIdentity

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

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

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*RecoveryLinkForIdentity) GetExpiresAtOk

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

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

func (o *RecoveryLinkForIdentity) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (RecoveryLinkForIdentity) MarshalJSON

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

func (*RecoveryLinkForIdentity) SetExpiresAt

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

type RegistrationFlow

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"`
}

RegistrationFlow struct for RegistrationFlow

func NewRegistrationFlow

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

func NewRegistrationFlowWithDefaults() *RegistrationFlow

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

func (*RegistrationFlow) GetActive

func (o *RegistrationFlow) GetActive() string

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

func (*RegistrationFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value

func (*RegistrationFlow) GetExpiresAtOk

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

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

func (*RegistrationFlow) GetId

func (o *RegistrationFlow) GetId() string

GetId returns the Id field value

func (*RegistrationFlow) GetIdOk

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

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

func (*RegistrationFlow) GetIssuedAt

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

GetIssuedAt returns the IssuedAt field value

func (*RegistrationFlow) GetIssuedAtOk

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

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

func (*RegistrationFlow) GetOauth2LoginChallenge

func (o *RegistrationFlow) GetOauth2LoginChallenge() string

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

func (*RegistrationFlow) GetOauth2LoginChallengeOk

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

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

func (*RegistrationFlow) GetOauth2LoginRequest

func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest

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

func (*RegistrationFlow) GetOauth2LoginRequestOk

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

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

func (*RegistrationFlow) 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

func (o *RegistrationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RegistrationFlow) GetRequestUrlOk

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

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

func (*RegistrationFlow) GetReturnTo

func (o *RegistrationFlow) GetReturnTo() string

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

func (*RegistrationFlow) GetReturnToOk

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

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

func (*RegistrationFlow) 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.0

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.0

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

func (o *RegistrationFlow) GetType() string

GetType returns the Type field value

func (*RegistrationFlow) GetTypeOk

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

func (o *RegistrationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RegistrationFlow) GetUiOk

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

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

func (*RegistrationFlow) HasActive

func (o *RegistrationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RegistrationFlow) HasOauth2LoginChallenge

func (o *RegistrationFlow) HasOauth2LoginChallenge() bool

HasOauth2LoginChallenge returns a boolean if a field has been set.

func (*RegistrationFlow) HasOauth2LoginRequest

func (o *RegistrationFlow) HasOauth2LoginRequest() bool

HasOauth2LoginRequest returns a boolean if a field has been set.

func (*RegistrationFlow) HasOrganizationId added in v1.1.0

func (o *RegistrationFlow) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*RegistrationFlow) HasReturnTo

func (o *RegistrationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*RegistrationFlow) 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.0

func (o *RegistrationFlow) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (RegistrationFlow) MarshalJSON

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

func (*RegistrationFlow) SetActive

func (o *RegistrationFlow) SetActive(v string)

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

func (*RegistrationFlow) SetExpiresAt

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

SetExpiresAt sets field value

func (*RegistrationFlow) SetId

func (o *RegistrationFlow) SetId(v string)

SetId sets field value

func (*RegistrationFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*RegistrationFlow) SetOauth2LoginChallenge

func (o *RegistrationFlow) SetOauth2LoginChallenge(v string)

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

func (*RegistrationFlow) SetOauth2LoginRequest

func (o *RegistrationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest)

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

func (*RegistrationFlow) 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

func (o *RegistrationFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RegistrationFlow) SetReturnTo

func (o *RegistrationFlow) SetReturnTo(v string)

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

func (*RegistrationFlow) 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.0

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

func (o *RegistrationFlow) SetType(v string)

SetType sets field value

func (*RegistrationFlow) SetUi

func (o *RegistrationFlow) SetUi(v UiContainer)

SetUi sets field value

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 (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"`
}

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.0

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

func (*SelfServiceFlowExpiredError) GetErrorOk added in v0.13.0

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

func (o *SelfServiceFlowExpiredError) GetExpiredAt() time.Time

GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetExpiredAtOk

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.0

func (o *SelfServiceFlowExpiredError) HasError() bool

HasError returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasExpiredAt

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.0

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

func (*SelfServiceFlowExpiredError) SetExpiredAt

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.

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"`
}

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

func (o *Session) GetDevices() []SessionDevice

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Session) GetDevicesOk

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

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

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.

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"`
}

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.

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"`
}

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

func (o *SessionDevice) GetId() string

GetId returns the Id field value

func (*SessionDevice) GetIdOk

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

func (o *SessionDevice) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*SessionDevice) GetIpAddressOk

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

func (o *SessionDevice) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*SessionDevice) GetLocationOk

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

func (o *SessionDevice) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*SessionDevice) HasLocation

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

func (o *SessionDevice) SetId(v string)

SetId sets field value

func (*SessionDevice) SetIpAddress

func (o *SessionDevice) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

func (*SessionDevice) SetLocation

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.

type SettingsFlow

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"`
}

SettingsFlow This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings)

func NewSettingsFlow

func NewSettingsFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state 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

func NewSettingsFlowWithDefaults() *SettingsFlow

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

func (*SettingsFlow) GetActive

func (o *SettingsFlow) GetActive() string

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

func (*SettingsFlow) GetActiveOk

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.0

func (o *SettingsFlow) GetContinueWith() []ContinueWith

GetContinueWith returns the ContinueWith field value if set, zero value otherwise.

func (*SettingsFlow) GetContinueWithOk added in v0.13.0

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

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

GetExpiresAt returns the ExpiresAt field value

func (*SettingsFlow) GetExpiresAtOk

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

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

func (*SettingsFlow) GetId

func (o *SettingsFlow) GetId() string

GetId returns the Id field value

func (*SettingsFlow) GetIdOk

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

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

func (*SettingsFlow) GetIdentity

func (o *SettingsFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SettingsFlow) GetIdentityOk

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

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

func (*SettingsFlow) GetIssuedAt

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

GetIssuedAt returns the IssuedAt field value

func (*SettingsFlow) GetIssuedAtOk

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

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

func (*SettingsFlow) GetRequestUrl

func (o *SettingsFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SettingsFlow) GetRequestUrlOk

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

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

func (*SettingsFlow) GetReturnTo

func (o *SettingsFlow) GetReturnTo() string

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

func (*SettingsFlow) GetReturnToOk

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

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

func (*SettingsFlow) GetState

func (o *SettingsFlow) GetState() interface{}

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

func (*SettingsFlow) GetStateOk

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

func (o *SettingsFlow) GetType() string

GetType returns the Type field value

func (*SettingsFlow) GetTypeOk

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

func (o *SettingsFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*SettingsFlow) GetUiOk

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

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

func (*SettingsFlow) HasActive

func (o *SettingsFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SettingsFlow) HasContinueWith added in v0.13.0

func (o *SettingsFlow) HasContinueWith() bool

HasContinueWith returns a boolean if a field has been set.

func (*SettingsFlow) HasReturnTo

func (o *SettingsFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (SettingsFlow) MarshalJSON

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

func (*SettingsFlow) SetActive

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.0

func (o *SettingsFlow) SetContinueWith(v []ContinueWith)

SetContinueWith gets a reference to the given []ContinueWith and assigns it to the ContinueWith field.

func (*SettingsFlow) SetExpiresAt

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

SetExpiresAt sets field value

func (*SettingsFlow) SetId

func (o *SettingsFlow) SetId(v string)

SetId sets field value

func (*SettingsFlow) SetIdentity

func (o *SettingsFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*SettingsFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*SettingsFlow) SetRequestUrl

func (o *SettingsFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SettingsFlow) SetReturnTo

func (o *SettingsFlow) SetReturnTo(v string)

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

func (*SettingsFlow) SetState

func (o *SettingsFlow) SetState(v interface{})

SetState sets field value

func (*SettingsFlow) SetType

func (o *SettingsFlow) SetType(v string)

SetType sets field value

func (*SettingsFlow) SetUi

func (o *SettingsFlow) SetUi(v UiContainer)

SetUi sets field value

type SettingsFlowState

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 (SettingsFlowState) Ptr

Ptr returns reference to settingsFlowState value

func (*SettingsFlowState) UnmarshalJSON

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"`
}

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.

type SuccessfulNativeLogin

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"`
}

SuccessfulNativeLogin The Response for Login Flows via API

func NewSuccessfulNativeLogin

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

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

func (o *SuccessfulNativeLogin) GetSession() Session

GetSession returns the Session field value

func (*SuccessfulNativeLogin) GetSessionOk

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

func (o *SuccessfulNativeLogin) GetSessionToken() string

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

func (*SuccessfulNativeLogin) GetSessionTokenOk

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

func (o *SuccessfulNativeLogin) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulNativeLogin) MarshalJSON

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

func (*SuccessfulNativeLogin) SetSession

func (o *SuccessfulNativeLogin) SetSession(v Session)

SetSession sets field value

func (*SuccessfulNativeLogin) SetSessionToken

func (o *SuccessfulNativeLogin) SetSessionToken(v string)

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

type SuccessfulNativeRegistration

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"`
}

SuccessfulNativeRegistration The Response for Registration Flows via API

func NewSuccessfulNativeRegistration

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

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.0

func (o *SuccessfulNativeRegistration) GetContinueWith() []ContinueWith

GetContinueWith returns the ContinueWith field value if set, zero value otherwise.

func (*SuccessfulNativeRegistration) GetContinueWithOk added in v0.13.0

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

func (o *SuccessfulNativeRegistration) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SuccessfulNativeRegistration) GetIdentityOk

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

func (o *SuccessfulNativeRegistration) GetSession() Session

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

func (*SuccessfulNativeRegistration) GetSessionOk

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

func (o *SuccessfulNativeRegistration) GetSessionToken() string

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

func (*SuccessfulNativeRegistration) GetSessionTokenOk

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.0

func (o *SuccessfulNativeRegistration) HasContinueWith() bool

HasContinueWith returns a boolean if a field has been set.

func (*SuccessfulNativeRegistration) HasSession

func (o *SuccessfulNativeRegistration) HasSession() bool

HasSession returns a boolean if a field has been set.

func (*SuccessfulNativeRegistration) HasSessionToken

func (o *SuccessfulNativeRegistration) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulNativeRegistration) MarshalJSON

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

func (*SuccessfulNativeRegistration) SetContinueWith added in v0.13.0

func (o *SuccessfulNativeRegistration) SetContinueWith(v []ContinueWith)

SetContinueWith gets a reference to the given []ContinueWith and assigns it to the ContinueWith field.

func (*SuccessfulNativeRegistration) SetIdentity

func (o *SuccessfulNativeRegistration) SetIdentity(v Identity)

SetIdentity sets field value

func (*SuccessfulNativeRegistration) SetSession

func (o *SuccessfulNativeRegistration) SetSession(v Session)

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

func (*SuccessfulNativeRegistration) SetSessionToken

func (o *SuccessfulNativeRegistration) SetSessionToken(v string)

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

type TokenPagination

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"`
}

TokenPagination struct for TokenPagination

func NewTokenPagination

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

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

func (o *TokenPagination) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*TokenPagination) GetPageSizeOk

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

func (o *TokenPagination) GetPageToken() string

GetPageToken returns the PageToken field value if set, zero value otherwise.

func (*TokenPagination) GetPageTokenOk

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

func (o *TokenPagination) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*TokenPagination) HasPageToken

func (o *TokenPagination) HasPageToken() bool

HasPageToken returns a boolean if a field has been set.

func (TokenPagination) MarshalJSON

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

func (*TokenPagination) SetPageSize

func (o *TokenPagination) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*TokenPagination) SetPageToken

func (o *TokenPagination) SetPageToken(v string)

SetPageToken gets a reference to the given string and assigns it to the PageToken field.

type TokenPaginationHeaders

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"`
}

TokenPaginationHeaders struct for TokenPaginationHeaders

func NewTokenPaginationHeaders

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

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

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

func (o *TokenPaginationHeaders) GetXTotalCount() string

GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.

func (*TokenPaginationHeaders) GetXTotalCountOk

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

func (o *TokenPaginationHeaders) HasXTotalCount() bool

HasXTotalCount returns a boolean if a field has been set.

func (TokenPaginationHeaders) MarshalJSON

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

func (o *TokenPaginationHeaders) SetXTotalCount(v string)

SetXTotalCount gets a reference to the given string and assigns it to the XTotalCount field.

type UiContainer

type UiContainer struct {
	// Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`.
	Action   string   `json:"action"`
	Messages []UiText `json:"messages,omitempty"`
	// Method is the form method (e.g. POST)
	Method string   `json:"method"`
	Nodes  []UiNode `json:"nodes"`
}

UiContainer Container represents a HTML Form. The container can work with both HTTP Form and JSON requests

func NewUiContainer

func NewUiContainer(action string, method string, nodes []UiNode) *UiContainer

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

func NewUiContainerWithDefaults

func NewUiContainerWithDefaults() *UiContainer

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

func (*UiContainer) GetAction

func (o *UiContainer) GetAction() string

GetAction returns the Action field value

func (*UiContainer) GetActionOk

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

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

func (*UiContainer) GetMessages

func (o *UiContainer) GetMessages() []UiText

GetMessages returns the Messages field value if set, zero value otherwise.

func (*UiContainer) GetMessagesOk

func (o *UiContainer) GetMessagesOk() ([]UiText, bool)

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

func (*UiContainer) GetMethod

func (o *UiContainer) GetMethod() string

GetMethod returns the Method field value

func (*UiContainer) GetMethodOk

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

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

func (*UiContainer) GetNodes

func (o *UiContainer) GetNodes() []UiNode

GetNodes returns the Nodes field value

func (*UiContainer) GetNodesOk

func (o *UiContainer) GetNodesOk() ([]UiNode, bool)

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

func (*UiContainer) HasMessages

func (o *UiContainer) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (UiContainer) MarshalJSON

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

func (*UiContainer) SetAction

func (o *UiContainer) SetAction(v string)

SetAction sets field value

func (*UiContainer) SetMessages

func (o *UiContainer) SetMessages(v []UiText)

SetMessages gets a reference to the given []UiText and assigns it to the Messages field.

func (*UiContainer) SetMethod

func (o *UiContainer) SetMethod(v string)

SetMethod sets field value

func (*UiContainer) SetNodes

func (o *UiContainer) SetNodes(v []UiNode)

SetNodes sets field value

type UiNode

type UiNode struct {
	Attributes UiNodeAttributes `json:"attributes"`
	// Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup 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"`
}

UiNode Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an `<img>` tag, or an `<input element>` but also `some plain text`.

func NewUiNode

func NewUiNode(attributes UiNodeAttributes, group string, messages []UiText, meta UiNodeMeta, type_ string) *UiNode

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

func NewUiNodeWithDefaults

func NewUiNodeWithDefaults() *UiNode

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

func (*UiNode) GetAttributes

func (o *UiNode) GetAttributes() UiNodeAttributes

GetAttributes returns the Attributes field value

func (*UiNode) GetAttributesOk

func (o *UiNode) GetAttributesOk() (*UiNodeAttributes, bool)

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

func (*UiNode) GetGroup

func (o *UiNode) GetGroup() string

GetGroup returns the Group field value

func (*UiNode) GetGroupOk

func (o *UiNode) GetGroupOk() (*string, bool)

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

func (*UiNode) GetMessages

func (o *UiNode) GetMessages() []UiText

GetMessages returns the Messages field value

func (*UiNode) GetMessagesOk

func (o *UiNode) GetMessagesOk() ([]UiText, bool)

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

func (*UiNode) GetMeta

func (o *UiNode) GetMeta() UiNodeMeta

GetMeta returns the Meta field value

func (*UiNode) GetMetaOk

func (o *UiNode) GetMetaOk() (*UiNodeMeta, bool)

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

func (*UiNode) GetType

func (o *UiNode) GetType() string

GetType returns the Type field value

func (*UiNode) GetTypeOk

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

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

func (UiNode) MarshalJSON

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

func (*UiNode) SetAttributes

func (o *UiNode) SetAttributes(v UiNodeAttributes)

SetAttributes sets field value

func (*UiNode) SetGroup

func (o *UiNode) SetGroup(v string)

SetGroup sets field value

func (*UiNode) SetMessages

func (o *UiNode) SetMessages(v []UiText)

SetMessages sets field value

func (*UiNode) SetMeta

func (o *UiNode) SetMeta(v UiNodeMeta)

SetMeta sets field value

func (*UiNode) SetType

func (o *UiNode) SetType(v string)

SetType sets field value

type UiNodeAnchorAttributes

type UiNodeAnchorAttributes struct {
	// The link's href (destination) URL.  format: uri
	Href string `json:"href"`
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"a\".
	NodeType string `json:"node_type"`
	Title    UiText `json:"title"`
}

UiNodeAnchorAttributes struct for UiNodeAnchorAttributes

func NewUiNodeAnchorAttributes

func NewUiNodeAnchorAttributes(href string, id string, nodeType string, title UiText) *UiNodeAnchorAttributes

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

func NewUiNodeAnchorAttributesWithDefaults

func NewUiNodeAnchorAttributesWithDefaults() *UiNodeAnchorAttributes

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

func (*UiNodeAnchorAttributes) GetHref

func (o *UiNodeAnchorAttributes) GetHref() string

GetHref returns the Href field value

func (*UiNodeAnchorAttributes) GetHrefOk

func (o *UiNodeAnchorAttributes) GetHrefOk() (*string, bool)

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

func (*UiNodeAnchorAttributes) GetId

func (o *UiNodeAnchorAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeAnchorAttributes) GetIdOk

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

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

func (*UiNodeAnchorAttributes) GetNodeType

func (o *UiNodeAnchorAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeAnchorAttributes) GetNodeTypeOk

func (o *UiNodeAnchorAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeAnchorAttributes) GetTitle

func (o *UiNodeAnchorAttributes) GetTitle() UiText

GetTitle returns the Title field value

func (*UiNodeAnchorAttributes) GetTitleOk

func (o *UiNodeAnchorAttributes) GetTitleOk() (*UiText, bool)

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

func (UiNodeAnchorAttributes) MarshalJSON

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

func (*UiNodeAnchorAttributes) SetHref

func (o *UiNodeAnchorAttributes) SetHref(v string)

SetHref sets field value

func (*UiNodeAnchorAttributes) SetId

func (o *UiNodeAnchorAttributes) SetId(v string)

SetId sets field value

func (*UiNodeAnchorAttributes) SetNodeType

func (o *UiNodeAnchorAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeAnchorAttributes) SetTitle

func (o *UiNodeAnchorAttributes) SetTitle(v UiText)

SetTitle sets field value

type UiNodeAttributes

type UiNodeAttributes struct {
	UiNodeAnchorAttributes *UiNodeAnchorAttributes
	UiNodeImageAttributes  *UiNodeImageAttributes
	UiNodeInputAttributes  *UiNodeInputAttributes
	UiNodeScriptAttributes *UiNodeScriptAttributes
	UiNodeTextAttributes   *UiNodeTextAttributes
}

UiNodeAttributes - struct for UiNodeAttributes

func UiNodeAnchorAttributesAsUiNodeAttributes

func UiNodeAnchorAttributesAsUiNodeAttributes(v *UiNodeAnchorAttributes) UiNodeAttributes

UiNodeAnchorAttributesAsUiNodeAttributes is a convenience function that returns UiNodeAnchorAttributes wrapped in UiNodeAttributes

func UiNodeImageAttributesAsUiNodeAttributes

func UiNodeImageAttributesAsUiNodeAttributes(v *UiNodeImageAttributes) UiNodeAttributes

UiNodeImageAttributesAsUiNodeAttributes is a convenience function that returns UiNodeImageAttributes wrapped in UiNodeAttributes

func UiNodeInputAttributesAsUiNodeAttributes

func UiNodeInputAttributesAsUiNodeAttributes(v *UiNodeInputAttributes) UiNodeAttributes

UiNodeInputAttributesAsUiNodeAttributes is a convenience function that returns UiNodeInputAttributes wrapped in UiNodeAttributes

func UiNodeScriptAttributesAsUiNodeAttributes

func UiNodeScriptAttributesAsUiNodeAttributes(v *UiNodeScriptAttributes) UiNodeAttributes

UiNodeScriptAttributesAsUiNodeAttributes is a convenience function that returns UiNodeScriptAttributes wrapped in UiNodeAttributes

func UiNodeTextAttributesAsUiNodeAttributes

func UiNodeTextAttributesAsUiNodeAttributes(v *UiNodeTextAttributes) UiNodeAttributes

UiNodeTextAttributesAsUiNodeAttributes is a convenience function that returns UiNodeTextAttributes wrapped in UiNodeAttributes

func (*UiNodeAttributes) GetActualInstance

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

Get the actual instance

func (UiNodeAttributes) MarshalJSON

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

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

func (*UiNodeAttributes) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type UiNodeImageAttributes

type UiNodeImageAttributes struct {
	// Height of the image
	Height int64 `json:"height"`
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"img\".
	NodeType string `json:"node_type"`
	// The image's source URL.  format: uri
	Src string `json:"src"`
	// Width of the image
	Width int64 `json:"width"`
}

UiNodeImageAttributes struct for UiNodeImageAttributes

func NewUiNodeImageAttributes

func NewUiNodeImageAttributes(height int64, id string, nodeType string, src string, width int64) *UiNodeImageAttributes

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

func NewUiNodeImageAttributesWithDefaults

func NewUiNodeImageAttributesWithDefaults() *UiNodeImageAttributes

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

func (*UiNodeImageAttributes) GetHeight

func (o *UiNodeImageAttributes) GetHeight() int64

GetHeight returns the Height field value

func (*UiNodeImageAttributes) GetHeightOk

func (o *UiNodeImageAttributes) GetHeightOk() (*int64, bool)

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

func (*UiNodeImageAttributes) GetId

func (o *UiNodeImageAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeImageAttributes) GetIdOk

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

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

func (*UiNodeImageAttributes) GetNodeType

func (o *UiNodeImageAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeImageAttributes) GetNodeTypeOk

func (o *UiNodeImageAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeImageAttributes) GetSrc

func (o *UiNodeImageAttributes) GetSrc() string

GetSrc returns the Src field value

func (*UiNodeImageAttributes) GetSrcOk

func (o *UiNodeImageAttributes) GetSrcOk() (*string, bool)

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

func (*UiNodeImageAttributes) GetWidth

func (o *UiNodeImageAttributes) GetWidth() int64

GetWidth returns the Width field value

func (*UiNodeImageAttributes) GetWidthOk

func (o *UiNodeImageAttributes) GetWidthOk() (*int64, bool)

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

func (UiNodeImageAttributes) MarshalJSON

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

func (*UiNodeImageAttributes) SetHeight

func (o *UiNodeImageAttributes) SetHeight(v int64)

SetHeight sets field value

func (*UiNodeImageAttributes) SetId

func (o *UiNodeImageAttributes) SetId(v string)

SetId sets field value

func (*UiNodeImageAttributes) SetNodeType

func (o *UiNodeImageAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeImageAttributes) SetSrc

func (o *UiNodeImageAttributes) SetSrc(v string)

SetSrc sets field value

func (*UiNodeImageAttributes) SetWidth

func (o *UiNodeImageAttributes) SetWidth(v int64)

SetWidth sets field value

type UiNodeInputAttributes

type UiNodeInputAttributes struct {
	// The 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"`
}

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

func (o *UiNodeInputAttributes) GetAutocomplete() string

GetAutocomplete returns the Autocomplete field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetAutocompleteOk

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

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

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.

type UiNodeMeta

type UiNodeMeta struct {
	Label *UiText `json:"label,omitempty"`
}

UiNodeMeta This might include a label and other information that can optionally be used to render UIs.

func NewUiNodeMeta

func NewUiNodeMeta() *UiNodeMeta

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

func NewUiNodeMetaWithDefaults

func NewUiNodeMetaWithDefaults() *UiNodeMeta

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

func (*UiNodeMeta) GetLabel

func (o *UiNodeMeta) GetLabel() UiText

GetLabel returns the Label field value if set, zero value otherwise.

func (*UiNodeMeta) GetLabelOk

func (o *UiNodeMeta) GetLabelOk() (*UiText, bool)

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

func (*UiNodeMeta) HasLabel

func (o *UiNodeMeta) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (UiNodeMeta) MarshalJSON

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

func (*UiNodeMeta) SetLabel

func (o *UiNodeMeta) SetLabel(v UiText)

SetLabel gets a reference to the given UiText and assigns it to the Label field.

type UiNodeScriptAttributes

type UiNodeScriptAttributes struct {
	// The script async type
	Async bool `json:"async"`
	// The script cross origin policy
	Crossorigin string `json:"crossorigin"`
	// A unique identifier
	Id string `json:"id"`
	// The script's integrity hash
	Integrity string `json:"integrity"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\".
	NodeType string `json:"node_type"`
	// Nonce for CSP  A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value!
	Nonce string `json:"nonce"`
	// The script referrer policy
	Referrerpolicy string `json:"referrerpolicy"`
	// The script source
	Src string `json:"src"`
	// The script MIME type
	Type string `json:"type"`
}

UiNodeScriptAttributes struct for UiNodeScriptAttributes

func NewUiNodeScriptAttributes

func NewUiNodeScriptAttributes(async bool, crossorigin string, id string, integrity string, nodeType string, nonce string, referrerpolicy string, src string, type_ string) *UiNodeScriptAttributes

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

func NewUiNodeScriptAttributesWithDefaults

func NewUiNodeScriptAttributesWithDefaults() *UiNodeScriptAttributes

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

func (*UiNodeScriptAttributes) GetAsync

func (o *UiNodeScriptAttributes) GetAsync() bool

GetAsync returns the Async field value

func (*UiNodeScriptAttributes) GetAsyncOk

func (o *UiNodeScriptAttributes) GetAsyncOk() (*bool, bool)

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

func (*UiNodeScriptAttributes) GetCrossorigin

func (o *UiNodeScriptAttributes) GetCrossorigin() string

GetCrossorigin returns the Crossorigin field value

func (*UiNodeScriptAttributes) GetCrossoriginOk

func (o *UiNodeScriptAttributes) GetCrossoriginOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetId

func (o *UiNodeScriptAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeScriptAttributes) GetIdOk

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

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

func (*UiNodeScriptAttributes) GetIntegrity

func (o *UiNodeScriptAttributes) GetIntegrity() string

GetIntegrity returns the Integrity field value

func (*UiNodeScriptAttributes) GetIntegrityOk

func (o *UiNodeScriptAttributes) GetIntegrityOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetNodeType

func (o *UiNodeScriptAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeScriptAttributes) GetNodeTypeOk

func (o *UiNodeScriptAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetNonce

func (o *UiNodeScriptAttributes) GetNonce() string

GetNonce returns the Nonce field value

func (*UiNodeScriptAttributes) GetNonceOk

func (o *UiNodeScriptAttributes) GetNonceOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetReferrerpolicy

func (o *UiNodeScriptAttributes) GetReferrerpolicy() string

GetReferrerpolicy returns the Referrerpolicy field value

func (*UiNodeScriptAttributes) GetReferrerpolicyOk

func (o *UiNodeScriptAttributes) GetReferrerpolicyOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetSrc

func (o *UiNodeScriptAttributes) GetSrc() string

GetSrc returns the Src field value

func (*UiNodeScriptAttributes) GetSrcOk

func (o *UiNodeScriptAttributes) GetSrcOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetType

func (o *UiNodeScriptAttributes) GetType() string

GetType returns the Type field value

func (*UiNodeScriptAttributes) GetTypeOk

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

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

func (UiNodeScriptAttributes) MarshalJSON

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

func (*UiNodeScriptAttributes) SetAsync

func (o *UiNodeScriptAttributes) SetAsync(v bool)

SetAsync sets field value

func (*UiNodeScriptAttributes) SetCrossorigin

func (o *UiNodeScriptAttributes) SetCrossorigin(v string)

SetCrossorigin sets field value

func (*UiNodeScriptAttributes) SetId

func (o *UiNodeScriptAttributes) SetId(v string)

SetId sets field value

func (*UiNodeScriptAttributes) SetIntegrity

func (o *UiNodeScriptAttributes) SetIntegrity(v string)

SetIntegrity sets field value

func (*UiNodeScriptAttributes) SetNodeType

func (o *UiNodeScriptAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeScriptAttributes) SetNonce

func (o *UiNodeScriptAttributes) SetNonce(v string)

SetNonce sets field value

func (*UiNodeScriptAttributes) SetReferrerpolicy

func (o *UiNodeScriptAttributes) SetReferrerpolicy(v string)

SetReferrerpolicy sets field value

func (*UiNodeScriptAttributes) SetSrc

func (o *UiNodeScriptAttributes) SetSrc(v string)

SetSrc sets field value

func (*UiNodeScriptAttributes) SetType

func (o *UiNodeScriptAttributes) SetType(v string)

SetType sets field value

type UiNodeTextAttributes

type UiNodeTextAttributes struct {
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"text\".
	NodeType string `json:"node_type"`
	Text     UiText `json:"text"`
}

UiNodeTextAttributes struct for UiNodeTextAttributes

func NewUiNodeTextAttributes

func NewUiNodeTextAttributes(id string, nodeType string, text UiText) *UiNodeTextAttributes

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

func NewUiNodeTextAttributesWithDefaults

func NewUiNodeTextAttributesWithDefaults() *UiNodeTextAttributes

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

func (*UiNodeTextAttributes) GetId

func (o *UiNodeTextAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeTextAttributes) GetIdOk

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

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

func (*UiNodeTextAttributes) GetNodeType

func (o *UiNodeTextAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeTextAttributes) GetNodeTypeOk

func (o *UiNodeTextAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeTextAttributes) GetText

func (o *UiNodeTextAttributes) GetText() UiText

GetText returns the Text field value

func (*UiNodeTextAttributes) GetTextOk

func (o *UiNodeTextAttributes) GetTextOk() (*UiText, bool)

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

func (UiNodeTextAttributes) MarshalJSON

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

func (*UiNodeTextAttributes) SetId

func (o *UiNodeTextAttributes) SetId(v string)

SetId sets field value

func (*UiNodeTextAttributes) SetNodeType

func (o *UiNodeTextAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeTextAttributes) SetText

func (o *UiNodeTextAttributes) SetText(v UiText)

SetText sets field value

type UiText

type UiText struct {
	// The message's context. Useful when customizing messages.
	Context map[string]interface{} `json:"context,omitempty"`
	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"`
}

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

type UpdateIdentityBody

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"`
}

UpdateIdentityBody Update Identity Body

func NewUpdateIdentityBody

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

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

func (o *UpdateIdentityBody) GetCredentials() IdentityWithCredentials

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

func (*UpdateIdentityBody) GetCredentialsOk

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

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

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

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

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

func (o *UpdateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*UpdateIdentityBody) GetSchemaIdOk

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

func (o *UpdateIdentityBody) GetState() string

GetState returns the State field value

func (*UpdateIdentityBody) GetStateOk

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

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

GetTraits returns the Traits field value

func (*UpdateIdentityBody) GetTraitsOk

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

func (o *UpdateIdentityBody) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*UpdateIdentityBody) HasMetadataAdmin

func (o *UpdateIdentityBody) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*UpdateIdentityBody) HasMetadataPublic

func (o *UpdateIdentityBody) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (UpdateIdentityBody) MarshalJSON

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

func (*UpdateIdentityBody) SetCredentials

func (o *UpdateIdentityBody) SetCredentials(v IdentityWithCredentials)

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

func (*UpdateIdentityBody) SetMetadataAdmin

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

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

func (*UpdateIdentityBody) SetMetadataPublic

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

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

func (*UpdateIdentityBody) SetSchemaId

func (o *UpdateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*UpdateIdentityBody) SetState

func (o *UpdateIdentityBody) SetState(v string)

SetState sets field value

func (*UpdateIdentityBody) SetTraits

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

SetTraits sets field value

type UpdateLoginFlowBody

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

func UpdateLoginFlowWithLookupSecretMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithLookupSecretMethod) UpdateLoginFlowBody

UpdateLoginFlowWithLookupSecretMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithLookupSecretMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithOidcMethodAsUpdateLoginFlowBody

func UpdateLoginFlowWithOidcMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithOidcMethod) UpdateLoginFlowBody

UpdateLoginFlowWithOidcMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithOidcMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithPasswordMethodAsUpdateLoginFlowBody

func UpdateLoginFlowWithPasswordMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithPasswordMethod) UpdateLoginFlowBody

UpdateLoginFlowWithPasswordMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithPasswordMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithTotpMethodAsUpdateLoginFlowBody

func UpdateLoginFlowWithTotpMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithTotpMethod) UpdateLoginFlowBody

UpdateLoginFlowWithTotpMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithTotpMethod wrapped in UpdateLoginFlowBody

func UpdateLoginFlowWithWebAuthnMethodAsUpdateLoginFlowBody

func UpdateLoginFlowWithWebAuthnMethodAsUpdateLoginFlowBody(v *UpdateLoginFlowWithWebAuthnMethod) UpdateLoginFlowBody

UpdateLoginFlowWithWebAuthnMethodAsUpdateLoginFlowBody is a convenience function that returns UpdateLoginFlowWithWebAuthnMethod wrapped in UpdateLoginFlowBody

func (*UpdateLoginFlowBody) GetActualInstance

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

Get the actual instance

func (UpdateLoginFlowBody) MarshalJSON

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

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

func (*UpdateLoginFlowBody) UnmarshalJSON

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"`
}

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.

type UpdateLoginFlowWithLookupSecretMethod

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"`
}

UpdateLoginFlowWithLookupSecretMethod Update Login Flow with Lookup Secret Method

func NewUpdateLoginFlowWithLookupSecretMethod

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

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

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithLookupSecretMethod) GetCsrfTokenOk

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

func (o *UpdateLoginFlowWithLookupSecretMethod) GetLookupSecret() string

GetLookupSecret returns the LookupSecret field value

func (*UpdateLoginFlowWithLookupSecretMethod) GetLookupSecretOk

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

GetMethod returns the Method field value

func (*UpdateLoginFlowWithLookupSecretMethod) GetMethodOk

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

func (o *UpdateLoginFlowWithLookupSecretMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateLoginFlowWithLookupSecretMethod) MarshalJSON

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

func (*UpdateLoginFlowWithLookupSecretMethod) SetCsrfToken

func (o *UpdateLoginFlowWithLookupSecretMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithLookupSecretMethod) SetLookupSecret

func (o *UpdateLoginFlowWithLookupSecretMethod) SetLookupSecret(v string)

SetLookupSecret sets field value

func (*UpdateLoginFlowWithLookupSecretMethod) SetMethod

SetMethod sets field value

type UpdateLoginFlowWithOidcMethod

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"`
}

UpdateLoginFlowWithOidcMethod Update Login Flow with OpenID Connect Method

func NewUpdateLoginFlowWithOidcMethod

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

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

func (o *UpdateLoginFlowWithOidcMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetCsrfTokenOk

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

func (o *UpdateLoginFlowWithOidcMethod) GetMethod() string

GetMethod returns the Method field value

func (*UpdateLoginFlowWithOidcMethod) GetMethodOk

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

func (o *UpdateLoginFlowWithOidcMethod) GetProvider() string

GetProvider returns the Provider field value

func (*UpdateLoginFlowWithOidcMethod) GetProviderOk

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

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

GetTraits returns the Traits field value if set, zero value otherwise.

func (*UpdateLoginFlowWithOidcMethod) GetTraitsOk

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.0

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.0

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

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

func (o *UpdateLoginFlowWithOidcMethod) HasTraits() bool

HasTraits returns a boolean if a field has been set.

func (*UpdateLoginFlowWithOidcMethod) HasUpstreamParameters added in v0.13.0

func (o *UpdateLoginFlowWithOidcMethod) HasUpstreamParameters() bool

HasUpstreamParameters returns a boolean if a field has been set.

func (UpdateLoginFlowWithOidcMethod) MarshalJSON

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

func (*UpdateLoginFlowWithOidcMethod) SetCsrfToken

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

func (o *UpdateLoginFlowWithOidcMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithOidcMethod) SetProvider

func (o *UpdateLoginFlowWithOidcMethod) SetProvider(v string)

SetProvider sets field value

func (*UpdateLoginFlowWithOidcMethod) SetTraits

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.0

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.

type UpdateLoginFlowWithPasswordMethod

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"`
}

UpdateLoginFlowWithPasswordMethod Update Login Flow with Password Method

func NewUpdateLoginFlowWithPasswordMethod

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

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

func (o *UpdateLoginFlowWithPasswordMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithPasswordMethod) GetCsrfTokenOk

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

func (o *UpdateLoginFlowWithPasswordMethod) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*UpdateLoginFlowWithPasswordMethod) GetIdentifierOk

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

GetMethod returns the Method field value

func (*UpdateLoginFlowWithPasswordMethod) GetMethodOk

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

func (o *UpdateLoginFlowWithPasswordMethod) GetPassword() string

GetPassword returns the Password field value

func (*UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifier

func (o *UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifier() string

GetPasswordIdentifier returns the PasswordIdentifier field value if set, zero value otherwise.

func (*UpdateLoginFlowWithPasswordMethod) GetPasswordIdentifierOk

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

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

func (o *UpdateLoginFlowWithPasswordMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateLoginFlowWithPasswordMethod) HasPasswordIdentifier

func (o *UpdateLoginFlowWithPasswordMethod) HasPasswordIdentifier() bool

HasPasswordIdentifier returns a boolean if a field has been set.

func (UpdateLoginFlowWithPasswordMethod) MarshalJSON

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

func (*UpdateLoginFlowWithPasswordMethod) SetCsrfToken

func (o *UpdateLoginFlowWithPasswordMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithPasswordMethod) SetIdentifier

func (o *UpdateLoginFlowWithPasswordMethod) SetIdentifier(v string)

SetIdentifier sets field value

func (*UpdateLoginFlowWithPasswordMethod) SetMethod

func (o *UpdateLoginFlowWithPasswordMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithPasswordMethod) SetPassword

func (o *UpdateLoginFlowWithPasswordMethod) SetPassword(v string)

SetPassword sets field value

func (*UpdateLoginFlowWithPasswordMethod) SetPasswordIdentifier

func (o *UpdateLoginFlowWithPasswordMethod) SetPasswordIdentifier(v string)

SetPasswordIdentifier gets a reference to the given string and assigns it to the PasswordIdentifier field.

type UpdateLoginFlowWithTotpMethod

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"`
}

UpdateLoginFlowWithTotpMethod Update Login Flow with TOTP Method

func NewUpdateLoginFlowWithTotpMethod

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

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

func (o *UpdateLoginFlowWithTotpMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithTotpMethod) GetCsrfTokenOk

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

func (o *UpdateLoginFlowWithTotpMethod) GetMethod() string

GetMethod returns the Method field value

func (*UpdateLoginFlowWithTotpMethod) GetMethodOk

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

func (o *UpdateLoginFlowWithTotpMethod) GetTotpCode() string

GetTotpCode returns the TotpCode field value

func (*UpdateLoginFlowWithTotpMethod) GetTotpCodeOk

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

func (o *UpdateLoginFlowWithTotpMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateLoginFlowWithTotpMethod) MarshalJSON

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

func (*UpdateLoginFlowWithTotpMethod) SetCsrfToken

func (o *UpdateLoginFlowWithTotpMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithTotpMethod) SetMethod

func (o *UpdateLoginFlowWithTotpMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithTotpMethod) SetTotpCode

func (o *UpdateLoginFlowWithTotpMethod) SetTotpCode(v string)

SetTotpCode sets field value

type UpdateLoginFlowWithWebAuthnMethod

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"`
}

UpdateLoginFlowWithWebAuthnMethod Update Login Flow with WebAuthn Method

func NewUpdateLoginFlowWithWebAuthnMethod

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

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

func (o *UpdateLoginFlowWithWebAuthnMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateLoginFlowWithWebAuthnMethod) GetCsrfTokenOk

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

func (o *UpdateLoginFlowWithWebAuthnMethod) GetIdentifier() string

GetIdentifier returns the Identifier field value

func (*UpdateLoginFlowWithWebAuthnMethod) GetIdentifierOk

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

GetMethod returns the Method field value

func (*UpdateLoginFlowWithWebAuthnMethod) GetMethodOk

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

func (o *UpdateLoginFlowWithWebAuthnMethod) GetWebauthnLogin() string

GetWebauthnLogin returns the WebauthnLogin field value if set, zero value otherwise.

func (*UpdateLoginFlowWithWebAuthnMethod) GetWebauthnLoginOk

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

func (o *UpdateLoginFlowWithWebAuthnMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateLoginFlowWithWebAuthnMethod) HasWebauthnLogin

func (o *UpdateLoginFlowWithWebAuthnMethod) HasWebauthnLogin() bool

HasWebauthnLogin returns a boolean if a field has been set.

func (UpdateLoginFlowWithWebAuthnMethod) MarshalJSON

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

func (*UpdateLoginFlowWithWebAuthnMethod) SetCsrfToken

func (o *UpdateLoginFlowWithWebAuthnMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateLoginFlowWithWebAuthnMethod) SetIdentifier

func (o *UpdateLoginFlowWithWebAuthnMethod) SetIdentifier(v string)

SetIdentifier sets field value

func (*UpdateLoginFlowWithWebAuthnMethod) SetMethod

func (o *UpdateLoginFlowWithWebAuthnMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateLoginFlowWithWebAuthnMethod) SetWebauthnLogin

func (o *UpdateLoginFlowWithWebAuthnMethod) SetWebauthnLogin(v string)

SetWebauthnLogin gets a reference to the given string and assigns it to the WebauthnLogin field.

type UpdateRecoveryFlowBody

type UpdateRecoveryFlowBody struct {
	UpdateRecoveryFlowWithCodeMethod *UpdateRecoveryFlowWithCodeMethod
	UpdateRecoveryFlowWithLinkMethod *UpdateRecoveryFlowWithLinkMethod
}

UpdateRecoveryFlowBody - Update Recovery Flow Request Body

func UpdateRecoveryFlowWithCodeMethodAsUpdateRecoveryFlowBody

func UpdateRecoveryFlowWithCodeMethodAsUpdateRecoveryFlowBody(v *UpdateRecoveryFlowWithCodeMethod) UpdateRecoveryFlowBody

UpdateRecoveryFlowWithCodeMethodAsUpdateRecoveryFlowBody is a convenience function that returns UpdateRecoveryFlowWithCodeMethod wrapped in UpdateRecoveryFlowBody

func UpdateRecoveryFlowWithLinkMethodAsUpdateRecoveryFlowBody

func UpdateRecoveryFlowWithLinkMethodAsUpdateRecoveryFlowBody(v *UpdateRecoveryFlowWithLinkMethod) UpdateRecoveryFlowBody

UpdateRecoveryFlowWithLinkMethodAsUpdateRecoveryFlowBody is a convenience function that returns UpdateRecoveryFlowWithLinkMethod wrapped in UpdateRecoveryFlowBody

func (*UpdateRecoveryFlowBody) GetActualInstance

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

Get the actual instance

func (UpdateRecoveryFlowBody) MarshalJSON

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

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

func (*UpdateRecoveryFlowBody) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type UpdateRecoveryFlowWithCodeMethod

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"`
}

UpdateRecoveryFlowWithCodeMethod Update Recovery Flow with Code Method

func NewUpdateRecoveryFlowWithCodeMethod

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

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

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

func (*UpdateRecoveryFlowWithCodeMethod) GetCodeOk

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

func (o *UpdateRecoveryFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRecoveryFlowWithCodeMethod) GetCsrfTokenOk

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

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

func (*UpdateRecoveryFlowWithCodeMethod) GetEmailOk

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

GetMethod returns the Method field value

func (*UpdateRecoveryFlowWithCodeMethod) GetMethodOk

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

HasCode returns a boolean if a field has been set.

func (*UpdateRecoveryFlowWithCodeMethod) HasCsrfToken

func (o *UpdateRecoveryFlowWithCodeMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRecoveryFlowWithCodeMethod) HasEmail

func (o *UpdateRecoveryFlowWithCodeMethod) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (UpdateRecoveryFlowWithCodeMethod) MarshalJSON

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

func (*UpdateRecoveryFlowWithCodeMethod) SetCode

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

func (*UpdateRecoveryFlowWithCodeMethod) SetCsrfToken

func (o *UpdateRecoveryFlowWithCodeMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRecoveryFlowWithCodeMethod) SetEmail

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

func (*UpdateRecoveryFlowWithCodeMethod) SetMethod

func (o *UpdateRecoveryFlowWithCodeMethod) SetMethod(v string)

SetMethod sets field value

type UpdateRecoveryFlowWithLinkMethod

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"`
}

UpdateRecoveryFlowWithLinkMethod Update Recovery Flow with Link Method

func NewUpdateRecoveryFlowWithLinkMethod

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

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

func (o *UpdateRecoveryFlowWithLinkMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRecoveryFlowWithLinkMethod) GetCsrfTokenOk

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

GetEmail returns the Email field value

func (*UpdateRecoveryFlowWithLinkMethod) GetEmailOk

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

GetMethod returns the Method field value

func (*UpdateRecoveryFlowWithLinkMethod) GetMethodOk

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

func (o *UpdateRecoveryFlowWithLinkMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateRecoveryFlowWithLinkMethod) MarshalJSON

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

func (*UpdateRecoveryFlowWithLinkMethod) SetCsrfToken

func (o *UpdateRecoveryFlowWithLinkMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRecoveryFlowWithLinkMethod) SetEmail

SetEmail sets field value

func (*UpdateRecoveryFlowWithLinkMethod) SetMethod

func (o *UpdateRecoveryFlowWithLinkMethod) SetMethod(v string)

SetMethod sets field value

type UpdateRegistrationFlowBody

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

func UpdateRegistrationFlowWithOidcMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithOidcMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithOidcMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithOidcMethod wrapped in UpdateRegistrationFlowBody

func UpdateRegistrationFlowWithPasswordMethodAsUpdateRegistrationFlowBody

func UpdateRegistrationFlowWithPasswordMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithPasswordMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithPasswordMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithPasswordMethod wrapped in UpdateRegistrationFlowBody

func UpdateRegistrationFlowWithWebAuthnMethodAsUpdateRegistrationFlowBody

func UpdateRegistrationFlowWithWebAuthnMethodAsUpdateRegistrationFlowBody(v *UpdateRegistrationFlowWithWebAuthnMethod) UpdateRegistrationFlowBody

UpdateRegistrationFlowWithWebAuthnMethodAsUpdateRegistrationFlowBody is a convenience function that returns UpdateRegistrationFlowWithWebAuthnMethod wrapped in UpdateRegistrationFlowBody

func (*UpdateRegistrationFlowBody) GetActualInstance

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

Get the actual instance

func (UpdateRegistrationFlowBody) MarshalJSON

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

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

func (*UpdateRegistrationFlowBody) UnmarshalJSON

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"`
}

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.

type UpdateRegistrationFlowWithOidcMethod

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"`
}

UpdateRegistrationFlowWithOidcMethod Update Registration Flow with OpenID Connect Method

func NewUpdateRegistrationFlowWithOidcMethod

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

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

func (o *UpdateRegistrationFlowWithOidcMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithOidcMethod) GetMethodOk

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

GetProvider returns the Provider field value

func (*UpdateRegistrationFlowWithOidcMethod) GetProviderOk

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

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

GetTraits returns the Traits field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithOidcMethod) GetTraitsOk

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.0

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.0

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.0

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.0

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

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

HasTraits returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasTransientPayload added in v0.13.0

func (o *UpdateRegistrationFlowWithOidcMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithOidcMethod) HasUpstreamParameters added in v0.13.0

func (o *UpdateRegistrationFlowWithOidcMethod) HasUpstreamParameters() bool

HasUpstreamParameters returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithOidcMethod) MarshalJSON

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

func (*UpdateRegistrationFlowWithOidcMethod) SetCsrfToken

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

SetMethod sets field value

func (*UpdateRegistrationFlowWithOidcMethod) SetProvider

func (o *UpdateRegistrationFlowWithOidcMethod) SetProvider(v string)

SetProvider sets field value

func (*UpdateRegistrationFlowWithOidcMethod) SetTraits

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.0

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.0

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.

type UpdateRegistrationFlowWithPasswordMethod

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"`
}

UpdateRegistrationFlowWithPasswordMethod Update Registration Flow with Password Method

func NewUpdateRegistrationFlowWithPasswordMethod

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

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

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithPasswordMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithPasswordMethod) GetMethodOk

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

func (*UpdateRegistrationFlowWithPasswordMethod) GetPassword

GetPassword returns the Password field value

func (*UpdateRegistrationFlowWithPasswordMethod) GetPasswordOk

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

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

GetTraits returns the Traits field value

func (*UpdateRegistrationFlowWithPasswordMethod) GetTraitsOk

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.0

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.0

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

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithPasswordMethod) HasTransientPayload added in v0.13.0

func (o *UpdateRegistrationFlowWithPasswordMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithPasswordMethod) MarshalJSON

func (*UpdateRegistrationFlowWithPasswordMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRegistrationFlowWithPasswordMethod) SetMethod

SetMethod sets field value

func (*UpdateRegistrationFlowWithPasswordMethod) SetPassword

SetPassword sets field value

func (*UpdateRegistrationFlowWithPasswordMethod) SetTraits

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

SetTraits sets field value

func (*UpdateRegistrationFlowWithPasswordMethod) SetTransientPayload added in v0.13.0

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.

type UpdateRegistrationFlowWithWebAuthnMethod

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"`
}

UpdateRegistrationFlowWithWebAuthnMethod Update Registration Flow with WebAuthn Method

func NewUpdateRegistrationFlowWithWebAuthnMethod

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

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

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetMethodOk

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

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetTraits

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

GetTraits returns the Traits field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetTraitsOk

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.0

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.0

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

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegister() string

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname

func (o *UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*UpdateRegistrationFlowWithWebAuthnMethod) GetWebauthnRegisterDisplaynameOk

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

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

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasTransientPayload added in v0.13.0

func (o *UpdateRegistrationFlowWithWebAuthnMethod) HasTransientPayload() bool

HasTransientPayload returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegister

func (o *UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegister() bool

HasWebauthnRegister returns a boolean if a field has been set.

func (*UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname

func (o *UpdateRegistrationFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (UpdateRegistrationFlowWithWebAuthnMethod) MarshalJSON

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetMethod

SetMethod sets field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetTraits

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

SetTraits sets field value

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetTransientPayload added in v0.13.0

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

func (o *UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegister(v string)

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname

func (o *UpdateRegistrationFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

type UpdateSettingsFlowBody

type UpdateSettingsFlowBody struct {
	UpdateSettingsFlowWithLookupMethod   *UpdateSettingsFlowWithLookupMethod
	UpdateSettingsFlowWithOidcMethod     *UpdateSettingsFlowWithOidcMethod
	UpdateSettingsFlowWithPasswordMethod *UpdateSettingsFlowWithPasswordMethod
	UpdateSettingsFlowWithProfileMethod  *UpdateSettingsFlowWithProfileMethod
	UpdateSettingsFlowWithTotpMethod     *UpdateSettingsFlowWithTotpMethod
	UpdateSettingsFlowWithWebAuthnMethod *UpdateSettingsFlowWithWebAuthnMethod
}

UpdateSettingsFlowBody - Update Settings Flow Request Body

func UpdateSettingsFlowWithLookupMethodAsUpdateSettingsFlowBody

func UpdateSettingsFlowWithLookupMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithLookupMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithLookupMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithLookupMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithOidcMethodAsUpdateSettingsFlowBody

func UpdateSettingsFlowWithOidcMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithOidcMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithOidcMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithOidcMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithPasswordMethodAsUpdateSettingsFlowBody

func UpdateSettingsFlowWithPasswordMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithPasswordMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithPasswordMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithPasswordMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithProfileMethodAsUpdateSettingsFlowBody

func UpdateSettingsFlowWithProfileMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithProfileMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithProfileMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithProfileMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithTotpMethodAsUpdateSettingsFlowBody

func UpdateSettingsFlowWithTotpMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithTotpMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithTotpMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithTotpMethod wrapped in UpdateSettingsFlowBody

func UpdateSettingsFlowWithWebAuthnMethodAsUpdateSettingsFlowBody

func UpdateSettingsFlowWithWebAuthnMethodAsUpdateSettingsFlowBody(v *UpdateSettingsFlowWithWebAuthnMethod) UpdateSettingsFlowBody

UpdateSettingsFlowWithWebAuthnMethodAsUpdateSettingsFlowBody is a convenience function that returns UpdateSettingsFlowWithWebAuthnMethod wrapped in UpdateSettingsFlowBody

func (*UpdateSettingsFlowBody) GetActualInstance

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

Get the actual instance

func (UpdateSettingsFlowBody) MarshalJSON

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

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

func (*UpdateSettingsFlowBody) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type UpdateSettingsFlowWithLookupMethod

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"`
}

UpdateSettingsFlowWithLookupMethod Update Settings Flow with Lookup Method

func NewUpdateSettingsFlowWithLookupMethod

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

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

func (o *UpdateSettingsFlowWithLookupMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetCsrfTokenOk

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

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretConfirm() bool

GetLookupSecretConfirm returns the LookupSecretConfirm field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretConfirmOk

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

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretDisable() bool

GetLookupSecretDisable returns the LookupSecretDisable field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretDisableOk

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

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretRegenerate() bool

GetLookupSecretRegenerate returns the LookupSecretRegenerate field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretRegenerateOk

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

func (o *UpdateSettingsFlowWithLookupMethod) GetLookupSecretReveal() bool

GetLookupSecretReveal returns the LookupSecretReveal field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithLookupMethod) GetLookupSecretRevealOk

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

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithLookupMethod) GetMethodOk

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

func (o *UpdateSettingsFlowWithLookupMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretConfirm

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretConfirm() bool

HasLookupSecretConfirm returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretDisable

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretDisable() bool

HasLookupSecretDisable returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretRegenerate

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretRegenerate() bool

HasLookupSecretRegenerate returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithLookupMethod) HasLookupSecretReveal

func (o *UpdateSettingsFlowWithLookupMethod) HasLookupSecretReveal() bool

HasLookupSecretReveal returns a boolean if a field has been set.

func (UpdateSettingsFlowWithLookupMethod) MarshalJSON

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

func (*UpdateSettingsFlowWithLookupMethod) SetCsrfToken

func (o *UpdateSettingsFlowWithLookupMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretConfirm

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretConfirm(v bool)

SetLookupSecretConfirm gets a reference to the given bool and assigns it to the LookupSecretConfirm field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretDisable

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretDisable(v bool)

SetLookupSecretDisable gets a reference to the given bool and assigns it to the LookupSecretDisable field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretRegenerate

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretRegenerate(v bool)

SetLookupSecretRegenerate gets a reference to the given bool and assigns it to the LookupSecretRegenerate field.

func (*UpdateSettingsFlowWithLookupMethod) SetLookupSecretReveal

func (o *UpdateSettingsFlowWithLookupMethod) SetLookupSecretReveal(v bool)

SetLookupSecretReveal gets a reference to the given bool and assigns it to the LookupSecretReveal field.

func (*UpdateSettingsFlowWithLookupMethod) SetMethod

SetMethod sets field value

type UpdateSettingsFlowWithOidcMethod

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"`
}

UpdateSettingsFlowWithOidcMethod Update Settings Flow with OpenID Connect Method

func NewUpdateSettingsFlowWithOidcMethod

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

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

GetFlow returns the Flow field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetFlowOk

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

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

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithOidcMethod) GetMethodOk

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

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

GetTraits returns the Traits field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithOidcMethod) GetTraitsOk

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

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.0

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.0

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

HasFlow returns a boolean if a field has been set.

HasLink returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithOidcMethod) HasTraits

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.0

func (o *UpdateSettingsFlowWithOidcMethod) HasUpstreamParameters() bool

HasUpstreamParameters returns a boolean if a field has been set.

func (UpdateSettingsFlowWithOidcMethod) MarshalJSON

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

func (*UpdateSettingsFlowWithOidcMethod) SetFlow

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

func (o *UpdateSettingsFlowWithOidcMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateSettingsFlowWithOidcMethod) SetTraits

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.0

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.

type UpdateSettingsFlowWithPasswordMethod

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"`
}

UpdateSettingsFlowWithPasswordMethod Update Settings Flow with Password Method

func NewUpdateSettingsFlowWithPasswordMethod

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

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

func (o *UpdateSettingsFlowWithPasswordMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithPasswordMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithPasswordMethod) GetMethodOk

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

GetPassword returns the Password field value

func (*UpdateSettingsFlowWithPasswordMethod) GetPasswordOk

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

func (o *UpdateSettingsFlowWithPasswordMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateSettingsFlowWithPasswordMethod) MarshalJSON

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

func (*UpdateSettingsFlowWithPasswordMethod) SetCsrfToken

func (o *UpdateSettingsFlowWithPasswordMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithPasswordMethod) SetMethod

SetMethod sets field value

func (*UpdateSettingsFlowWithPasswordMethod) SetPassword

func (o *UpdateSettingsFlowWithPasswordMethod) SetPassword(v string)

SetPassword sets field value

type UpdateSettingsFlowWithProfileMethod

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"`
}

UpdateSettingsFlowWithProfileMethod Update Settings Flow with Profile Method

func NewUpdateSettingsFlowWithProfileMethod

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

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

func (o *UpdateSettingsFlowWithProfileMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithProfileMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithProfileMethod) GetMethodOk

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

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

GetTraits returns the Traits field value

func (*UpdateSettingsFlowWithProfileMethod) GetTraitsOk

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

func (o *UpdateSettingsFlowWithProfileMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateSettingsFlowWithProfileMethod) MarshalJSON

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

func (*UpdateSettingsFlowWithProfileMethod) SetCsrfToken

func (o *UpdateSettingsFlowWithProfileMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithProfileMethod) SetMethod

SetMethod sets field value

func (*UpdateSettingsFlowWithProfileMethod) SetTraits

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

SetTraits sets field value

type UpdateSettingsFlowWithTotpMethod

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"`
}

UpdateSettingsFlowWithTotpMethod Update Settings Flow with TOTP Method

func NewUpdateSettingsFlowWithTotpMethod

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

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

func (o *UpdateSettingsFlowWithTotpMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithTotpMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithTotpMethod) GetMethodOk

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

func (o *UpdateSettingsFlowWithTotpMethod) GetTotpCode() string

GetTotpCode returns the TotpCode field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithTotpMethod) GetTotpCodeOk

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

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

func (o *UpdateSettingsFlowWithTotpMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithTotpMethod) HasTotpCode

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

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

func (*UpdateSettingsFlowWithTotpMethod) SetCsrfToken

func (o *UpdateSettingsFlowWithTotpMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithTotpMethod) SetMethod

func (o *UpdateSettingsFlowWithTotpMethod) SetMethod(v string)

SetMethod sets field value

func (*UpdateSettingsFlowWithTotpMethod) SetTotpCode

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.

type UpdateSettingsFlowWithWebAuthnMethod

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"`
}

UpdateSettingsFlowWithWebAuthnMethod Update Settings Flow with WebAuthn Method

func NewUpdateSettingsFlowWithWebAuthnMethod

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

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

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetCsrfTokenOk

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

GetMethod returns the Method field value

func (*UpdateSettingsFlowWithWebAuthnMethod) GetMethodOk

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

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegister() string

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRegisterDisplaynameOk

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

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

func (o *UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRemove() string

GetWebauthnRemove returns the WebauthnRemove field value if set, zero value otherwise.

func (*UpdateSettingsFlowWithWebAuthnMethod) GetWebauthnRemoveOk

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

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegister

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegister() bool

HasWebauthnRegister returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (*UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRemove

func (o *UpdateSettingsFlowWithWebAuthnMethod) HasWebauthnRemove() bool

HasWebauthnRemove returns a boolean if a field has been set.

func (UpdateSettingsFlowWithWebAuthnMethod) MarshalJSON

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

func (*UpdateSettingsFlowWithWebAuthnMethod) SetCsrfToken

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateSettingsFlowWithWebAuthnMethod) SetMethod

SetMethod sets field value

func (*UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegister

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegister(v string)

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

func (*UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRemove

func (o *UpdateSettingsFlowWithWebAuthnMethod) SetWebauthnRemove(v string)

SetWebauthnRemove gets a reference to the given string and assigns it to the WebauthnRemove field.

type UpdateVerificationFlowBody

type UpdateVerificationFlowBody struct {
	UpdateVerificationFlowWithCodeMethod *UpdateVerificationFlowWithCodeMethod
	UpdateVerificationFlowWithLinkMethod *UpdateVerificationFlowWithLinkMethod
}

UpdateVerificationFlowBody - Update Verification Flow Request Body

func UpdateVerificationFlowWithCodeMethodAsUpdateVerificationFlowBody added in v0.13.0

func UpdateVerificationFlowWithCodeMethodAsUpdateVerificationFlowBody(v *UpdateVerificationFlowWithCodeMethod) UpdateVerificationFlowBody

UpdateVerificationFlowWithCodeMethodAsUpdateVerificationFlowBody is a convenience function that returns UpdateVerificationFlowWithCodeMethod wrapped in UpdateVerificationFlowBody

func UpdateVerificationFlowWithLinkMethodAsUpdateVerificationFlowBody

func UpdateVerificationFlowWithLinkMethodAsUpdateVerificationFlowBody(v *UpdateVerificationFlowWithLinkMethod) UpdateVerificationFlowBody

UpdateVerificationFlowWithLinkMethodAsUpdateVerificationFlowBody is a convenience function that returns UpdateVerificationFlowWithLinkMethod wrapped in UpdateVerificationFlowBody

func (*UpdateVerificationFlowBody) GetActualInstance

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

Get the actual instance

func (UpdateVerificationFlowBody) MarshalJSON

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

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

func (*UpdateVerificationFlowBody) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type UpdateVerificationFlowWithCodeMethod added in v0.13.0

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"`
}

UpdateVerificationFlowWithCodeMethod struct for UpdateVerificationFlowWithCodeMethod

func NewUpdateVerificationFlowWithCodeMethod added in v0.13.0

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.0

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.0

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

func (*UpdateVerificationFlowWithCodeMethod) GetCodeOk added in v0.13.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 (*UpdateVerificationFlowWithCodeMethod) GetCsrfToken added in v0.13.0

func (o *UpdateVerificationFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateVerificationFlowWithCodeMethod) GetCsrfTokenOk added in v0.13.0

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.0

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

func (*UpdateVerificationFlowWithCodeMethod) GetEmailOk added in v0.13.0

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.0

GetMethod returns the Method field value

func (*UpdateVerificationFlowWithCodeMethod) GetMethodOk added in v0.13.0

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.0

HasCode returns a boolean if a field has been set.

func (*UpdateVerificationFlowWithCodeMethod) HasCsrfToken added in v0.13.0

func (o *UpdateVerificationFlowWithCodeMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (*UpdateVerificationFlowWithCodeMethod) HasEmail added in v0.13.0

HasEmail returns a boolean if a field has been set.

func (UpdateVerificationFlowWithCodeMethod) MarshalJSON added in v0.13.0

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

func (*UpdateVerificationFlowWithCodeMethod) SetCode added in v0.13.0

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

func (*UpdateVerificationFlowWithCodeMethod) SetCsrfToken added in v0.13.0

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.0

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

func (*UpdateVerificationFlowWithCodeMethod) SetMethod added in v0.13.0

SetMethod sets field value

type UpdateVerificationFlowWithLinkMethod

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"`
}

UpdateVerificationFlowWithLinkMethod Update Verification Flow with Link Method

func NewUpdateVerificationFlowWithLinkMethod

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

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

func (o *UpdateVerificationFlowWithLinkMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*UpdateVerificationFlowWithLinkMethod) GetCsrfTokenOk

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

GetEmail returns the Email field value

func (*UpdateVerificationFlowWithLinkMethod) GetEmailOk

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

GetMethod returns the Method field value

func (*UpdateVerificationFlowWithLinkMethod) GetMethodOk

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

func (o *UpdateVerificationFlowWithLinkMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

func (UpdateVerificationFlowWithLinkMethod) MarshalJSON

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

func (*UpdateVerificationFlowWithLinkMethod) SetCsrfToken

func (o *UpdateVerificationFlowWithLinkMethod) SetCsrfToken(v string)

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*UpdateVerificationFlowWithLinkMethod) SetEmail

SetEmail sets field value

func (*UpdateVerificationFlowWithLinkMethod) SetMethod

SetMethod sets field value

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"`
}

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

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

type VerificationFlow

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"`
}

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

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

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

func (o *VerificationFlow) GetActive() string

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

func (*VerificationFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VerificationFlow) GetExpiresAtOk

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

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

func (*VerificationFlow) GetId

func (o *VerificationFlow) GetId() string

GetId returns the Id field value

func (*VerificationFlow) GetIdOk

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

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

func (*VerificationFlow) GetIssuedAt

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

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetIssuedAtOk

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

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

func (*VerificationFlow) GetRequestUrl

func (o *VerificationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*VerificationFlow) GetRequestUrlOk

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

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

func (*VerificationFlow) GetReturnTo

func (o *VerificationFlow) GetReturnTo() string

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

func (*VerificationFlow) GetReturnToOk

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

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

func (*VerificationFlow) GetState

func (o *VerificationFlow) GetState() interface{}

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

func (*VerificationFlow) GetStateOk

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

func (o *VerificationFlow) GetType() string

GetType returns the Type field value

func (*VerificationFlow) GetTypeOk

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

func (o *VerificationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*VerificationFlow) GetUiOk

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

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

func (*VerificationFlow) HasActive

func (o *VerificationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*VerificationFlow) HasExpiresAt

func (o *VerificationFlow) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VerificationFlow) HasIssuedAt

func (o *VerificationFlow) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*VerificationFlow) HasRequestUrl

func (o *VerificationFlow) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*VerificationFlow) HasReturnTo

func (o *VerificationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (VerificationFlow) MarshalJSON

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

func (*VerificationFlow) SetActive

func (o *VerificationFlow) SetActive(v string)

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

func (*VerificationFlow) SetExpiresAt

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

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*VerificationFlow) SetId

func (o *VerificationFlow) SetId(v string)

SetId sets field value

func (*VerificationFlow) SetIssuedAt

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

SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.

func (*VerificationFlow) SetRequestUrl

func (o *VerificationFlow) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*VerificationFlow) SetReturnTo

func (o *VerificationFlow) SetReturnTo(v string)

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

func (*VerificationFlow) SetState

func (o *VerificationFlow) SetState(v interface{})

SetState sets field value

func (*VerificationFlow) SetType

func (o *VerificationFlow) SetType(v string)

SetType sets field value

func (*VerificationFlow) SetUi

func (o *VerificationFlow) SetUi(v UiContainer)

SetUi sets field value

type VerificationFlowState

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 (VerificationFlowState) Ptr

Ptr returns reference to verificationFlowState value

func (*VerificationFlowState) UnmarshalJSON

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

type Version

type Version struct {
	// Version is the service's version.
	Version *string `json:"version,omitempty"`
}

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL