client

package module
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 34

README

ory/hydra-client-go

This is the official Ory Hydra SDK for go.

Ory Self-Hosted

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

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

Installation

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

Documentation

Generation

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

Feedback

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

Thanks for being a part of the Ory community!

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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")

	// 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 IsNil added in v2.2.0

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	JwkAPI JwkAPI

	MetadataAPI MetadataAPI

	OAuth2API OAuth2API

	OidcAPI OidcAPI

	WellknownAPI WellknownAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Ory Hydra API API vv2.2.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AcceptOAuth2ConsentRequest

type AcceptOAuth2ConsentRequest struct {
	Context                  interface{} `json:"context,omitempty"`
	GrantAccessTokenAudience []string    `json:"grant_access_token_audience,omitempty"`
	GrantScope               []string    `json:"grant_scope,omitempty"`
	HandledAt                *time.Time  `json:"handled_at,omitempty"`
	// Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope.
	Remember *bool `json:"remember,omitempty"`
	// RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely.
	RememberFor          *int64                             `json:"remember_for,omitempty"`
	Session              *AcceptOAuth2ConsentRequestSession `json:"session,omitempty"`
	AdditionalProperties map[string]interface{}
}

AcceptOAuth2ConsentRequest struct for AcceptOAuth2ConsentRequest

func NewAcceptOAuth2ConsentRequest

func NewAcceptOAuth2ConsentRequest() *AcceptOAuth2ConsentRequest

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

func NewAcceptOAuth2ConsentRequestWithDefaults

func NewAcceptOAuth2ConsentRequestWithDefaults() *AcceptOAuth2ConsentRequest

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

func (*AcceptOAuth2ConsentRequest) GetContext added in v2.2.0

func (o *AcceptOAuth2ConsentRequest) GetContext() interface{}

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

func (*AcceptOAuth2ConsentRequest) GetContextOk added in v2.2.0

func (o *AcceptOAuth2ConsentRequest) GetContextOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AcceptOAuth2ConsentRequest) GetGrantAccessTokenAudience

func (o *AcceptOAuth2ConsentRequest) GetGrantAccessTokenAudience() []string

GetGrantAccessTokenAudience returns the GrantAccessTokenAudience field value if set, zero value otherwise.

func (*AcceptOAuth2ConsentRequest) GetGrantAccessTokenAudienceOk

func (o *AcceptOAuth2ConsentRequest) GetGrantAccessTokenAudienceOk() ([]string, bool)

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

func (*AcceptOAuth2ConsentRequest) GetGrantScope

func (o *AcceptOAuth2ConsentRequest) GetGrantScope() []string

GetGrantScope returns the GrantScope field value if set, zero value otherwise.

func (*AcceptOAuth2ConsentRequest) GetGrantScopeOk

func (o *AcceptOAuth2ConsentRequest) GetGrantScopeOk() ([]string, bool)

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

func (*AcceptOAuth2ConsentRequest) GetHandledAt

func (o *AcceptOAuth2ConsentRequest) GetHandledAt() time.Time

GetHandledAt returns the HandledAt field value if set, zero value otherwise.

func (*AcceptOAuth2ConsentRequest) GetHandledAtOk

func (o *AcceptOAuth2ConsentRequest) GetHandledAtOk() (*time.Time, bool)

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

func (*AcceptOAuth2ConsentRequest) GetRemember

func (o *AcceptOAuth2ConsentRequest) GetRemember() bool

GetRemember returns the Remember field value if set, zero value otherwise.

func (*AcceptOAuth2ConsentRequest) GetRememberFor

func (o *AcceptOAuth2ConsentRequest) GetRememberFor() int64

GetRememberFor returns the RememberFor field value if set, zero value otherwise.

func (*AcceptOAuth2ConsentRequest) GetRememberForOk

func (o *AcceptOAuth2ConsentRequest) GetRememberForOk() (*int64, bool)

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

func (*AcceptOAuth2ConsentRequest) GetRememberOk

func (o *AcceptOAuth2ConsentRequest) GetRememberOk() (*bool, bool)

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

func (*AcceptOAuth2ConsentRequest) GetSession

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

func (*AcceptOAuth2ConsentRequest) GetSessionOk

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 (*AcceptOAuth2ConsentRequest) HasContext added in v2.2.0

func (o *AcceptOAuth2ConsentRequest) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequest) HasGrantAccessTokenAudience

func (o *AcceptOAuth2ConsentRequest) HasGrantAccessTokenAudience() bool

HasGrantAccessTokenAudience returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequest) HasGrantScope

func (o *AcceptOAuth2ConsentRequest) HasGrantScope() bool

HasGrantScope returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequest) HasHandledAt

func (o *AcceptOAuth2ConsentRequest) HasHandledAt() bool

HasHandledAt returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequest) HasRemember

func (o *AcceptOAuth2ConsentRequest) HasRemember() bool

HasRemember returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequest) HasRememberFor

func (o *AcceptOAuth2ConsentRequest) HasRememberFor() bool

HasRememberFor returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequest) HasSession

func (o *AcceptOAuth2ConsentRequest) HasSession() bool

HasSession returns a boolean if a field has been set.

func (AcceptOAuth2ConsentRequest) MarshalJSON

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

func (*AcceptOAuth2ConsentRequest) SetContext added in v2.2.0

func (o *AcceptOAuth2ConsentRequest) SetContext(v interface{})

SetContext gets a reference to the given interface{} and assigns it to the Context field.

func (*AcceptOAuth2ConsentRequest) SetGrantAccessTokenAudience

func (o *AcceptOAuth2ConsentRequest) SetGrantAccessTokenAudience(v []string)

SetGrantAccessTokenAudience gets a reference to the given []string and assigns it to the GrantAccessTokenAudience field.

func (*AcceptOAuth2ConsentRequest) SetGrantScope

func (o *AcceptOAuth2ConsentRequest) SetGrantScope(v []string)

SetGrantScope gets a reference to the given []string and assigns it to the GrantScope field.

func (*AcceptOAuth2ConsentRequest) SetHandledAt

func (o *AcceptOAuth2ConsentRequest) SetHandledAt(v time.Time)

SetHandledAt gets a reference to the given time.Time and assigns it to the HandledAt field.

func (*AcceptOAuth2ConsentRequest) SetRemember

func (o *AcceptOAuth2ConsentRequest) SetRemember(v bool)

SetRemember gets a reference to the given bool and assigns it to the Remember field.

func (*AcceptOAuth2ConsentRequest) SetRememberFor

func (o *AcceptOAuth2ConsentRequest) SetRememberFor(v int64)

SetRememberFor gets a reference to the given int64 and assigns it to the RememberFor field.

func (*AcceptOAuth2ConsentRequest) SetSession

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

func (AcceptOAuth2ConsentRequest) ToMap added in v2.2.0

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

func (*AcceptOAuth2ConsentRequest) UnmarshalJSON added in v2.2.0

func (o *AcceptOAuth2ConsentRequest) UnmarshalJSON(data []byte) (err error)

type AcceptOAuth2ConsentRequestSession

type AcceptOAuth2ConsentRequestSession struct {
	// AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!
	AccessToken interface{} `json:"access_token,omitempty"`
	// IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable by anyone that has access to the ID Challenge. Use with care!
	IdToken              interface{} `json:"id_token,omitempty"`
	AdditionalProperties map[string]interface{}
}

AcceptOAuth2ConsentRequestSession struct for AcceptOAuth2ConsentRequestSession

func NewAcceptOAuth2ConsentRequestSession

func NewAcceptOAuth2ConsentRequestSession() *AcceptOAuth2ConsentRequestSession

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

func NewAcceptOAuth2ConsentRequestSessionWithDefaults

func NewAcceptOAuth2ConsentRequestSessionWithDefaults() *AcceptOAuth2ConsentRequestSession

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

func (*AcceptOAuth2ConsentRequestSession) GetAccessToken

func (o *AcceptOAuth2ConsentRequestSession) GetAccessToken() interface{}

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

func (*AcceptOAuth2ConsentRequestSession) GetAccessTokenOk

func (o *AcceptOAuth2ConsentRequestSession) GetAccessTokenOk() (*interface{}, bool)

GetAccessTokenOk returns a tuple with the AccessToken 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 (*AcceptOAuth2ConsentRequestSession) GetIdToken

func (o *AcceptOAuth2ConsentRequestSession) GetIdToken() interface{}

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

func (*AcceptOAuth2ConsentRequestSession) GetIdTokenOk

func (o *AcceptOAuth2ConsentRequestSession) GetIdTokenOk() (*interface{}, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AcceptOAuth2ConsentRequestSession) HasAccessToken

func (o *AcceptOAuth2ConsentRequestSession) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*AcceptOAuth2ConsentRequestSession) HasIdToken

func (o *AcceptOAuth2ConsentRequestSession) HasIdToken() bool

HasIdToken returns a boolean if a field has been set.

func (AcceptOAuth2ConsentRequestSession) MarshalJSON

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

func (*AcceptOAuth2ConsentRequestSession) SetAccessToken

func (o *AcceptOAuth2ConsentRequestSession) SetAccessToken(v interface{})

SetAccessToken gets a reference to the given interface{} and assigns it to the AccessToken field.

func (*AcceptOAuth2ConsentRequestSession) SetIdToken

func (o *AcceptOAuth2ConsentRequestSession) SetIdToken(v interface{})

SetIdToken gets a reference to the given interface{} and assigns it to the IdToken field.

func (AcceptOAuth2ConsentRequestSession) ToMap added in v2.2.0

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

func (*AcceptOAuth2ConsentRequestSession) UnmarshalJSON added in v2.2.0

func (o *AcceptOAuth2ConsentRequestSession) UnmarshalJSON(data []byte) (err error)

type AcceptOAuth2LoginRequest

type AcceptOAuth2LoginRequest struct {
	// ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
	Acr     *string     `json:"acr,omitempty"`
	Amr     []string    `json:"amr,omitempty"`
	Context interface{} `json:"context,omitempty"`
	// Extend OAuth2 authentication session lifespan  If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously.  This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`.
	ExtendSessionLifespan *bool `json:"extend_session_lifespan,omitempty"`
	// ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client.  Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection.  Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration).  Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value).  If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail.
	ForceSubjectIdentifier *string `json:"force_subject_identifier,omitempty"`
	// IdentityProviderSessionID is the session ID of the end-user that authenticated. If specified, we will use this value to propagate the logout.
	IdentityProviderSessionId *string `json:"identity_provider_session_id,omitempty"`
	// Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again.
	Remember *bool `json:"remember,omitempty"`
	// RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie).
	RememberFor *int64 `json:"remember_for,omitempty"`
	// Subject is the user ID of the end-user that authenticated.
	Subject              string `json:"subject"`
	AdditionalProperties map[string]interface{}
}

AcceptOAuth2LoginRequest struct for AcceptOAuth2LoginRequest

func NewAcceptOAuth2LoginRequest

func NewAcceptOAuth2LoginRequest(subject string) *AcceptOAuth2LoginRequest

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

func NewAcceptOAuth2LoginRequestWithDefaults

func NewAcceptOAuth2LoginRequestWithDefaults() *AcceptOAuth2LoginRequest

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

func (*AcceptOAuth2LoginRequest) GetAcr

func (o *AcceptOAuth2LoginRequest) GetAcr() string

GetAcr returns the Acr field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetAcrOk

func (o *AcceptOAuth2LoginRequest) GetAcrOk() (*string, bool)

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

func (*AcceptOAuth2LoginRequest) GetAmr

func (o *AcceptOAuth2LoginRequest) GetAmr() []string

GetAmr returns the Amr field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetAmrOk

func (o *AcceptOAuth2LoginRequest) GetAmrOk() ([]string, bool)

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

func (*AcceptOAuth2LoginRequest) GetContext

func (o *AcceptOAuth2LoginRequest) GetContext() interface{}

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

func (*AcceptOAuth2LoginRequest) GetContextOk

func (o *AcceptOAuth2LoginRequest) GetContextOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AcceptOAuth2LoginRequest) GetExtendSessionLifespan added in v2.1.0

func (o *AcceptOAuth2LoginRequest) GetExtendSessionLifespan() bool

GetExtendSessionLifespan returns the ExtendSessionLifespan field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetExtendSessionLifespanOk added in v2.1.0

func (o *AcceptOAuth2LoginRequest) GetExtendSessionLifespanOk() (*bool, bool)

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

func (*AcceptOAuth2LoginRequest) GetForceSubjectIdentifier

func (o *AcceptOAuth2LoginRequest) GetForceSubjectIdentifier() string

GetForceSubjectIdentifier returns the ForceSubjectIdentifier field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetForceSubjectIdentifierOk

func (o *AcceptOAuth2LoginRequest) GetForceSubjectIdentifierOk() (*string, bool)

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

func (*AcceptOAuth2LoginRequest) GetIdentityProviderSessionId added in v2.2.0

func (o *AcceptOAuth2LoginRequest) GetIdentityProviderSessionId() string

GetIdentityProviderSessionId returns the IdentityProviderSessionId field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetIdentityProviderSessionIdOk added in v2.2.0

func (o *AcceptOAuth2LoginRequest) GetIdentityProviderSessionIdOk() (*string, bool)

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

func (*AcceptOAuth2LoginRequest) GetRemember

func (o *AcceptOAuth2LoginRequest) GetRemember() bool

GetRemember returns the Remember field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetRememberFor

func (o *AcceptOAuth2LoginRequest) GetRememberFor() int64

GetRememberFor returns the RememberFor field value if set, zero value otherwise.

func (*AcceptOAuth2LoginRequest) GetRememberForOk

func (o *AcceptOAuth2LoginRequest) GetRememberForOk() (*int64, bool)

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

func (*AcceptOAuth2LoginRequest) GetRememberOk

func (o *AcceptOAuth2LoginRequest) GetRememberOk() (*bool, bool)

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

func (*AcceptOAuth2LoginRequest) GetSubject

func (o *AcceptOAuth2LoginRequest) GetSubject() string

GetSubject returns the Subject field value

func (*AcceptOAuth2LoginRequest) GetSubjectOk

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

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

func (*AcceptOAuth2LoginRequest) HasAcr

func (o *AcceptOAuth2LoginRequest) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasAmr

func (o *AcceptOAuth2LoginRequest) HasAmr() bool

HasAmr returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasContext

func (o *AcceptOAuth2LoginRequest) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasExtendSessionLifespan added in v2.1.0

func (o *AcceptOAuth2LoginRequest) HasExtendSessionLifespan() bool

HasExtendSessionLifespan returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasForceSubjectIdentifier

func (o *AcceptOAuth2LoginRequest) HasForceSubjectIdentifier() bool

HasForceSubjectIdentifier returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasIdentityProviderSessionId added in v2.2.0

func (o *AcceptOAuth2LoginRequest) HasIdentityProviderSessionId() bool

HasIdentityProviderSessionId returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasRemember

func (o *AcceptOAuth2LoginRequest) HasRemember() bool

HasRemember returns a boolean if a field has been set.

func (*AcceptOAuth2LoginRequest) HasRememberFor

func (o *AcceptOAuth2LoginRequest) HasRememberFor() bool

HasRememberFor returns a boolean if a field has been set.

func (AcceptOAuth2LoginRequest) MarshalJSON

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

func (*AcceptOAuth2LoginRequest) SetAcr

func (o *AcceptOAuth2LoginRequest) SetAcr(v string)

SetAcr gets a reference to the given string and assigns it to the Acr field.

func (*AcceptOAuth2LoginRequest) SetAmr

func (o *AcceptOAuth2LoginRequest) SetAmr(v []string)

SetAmr gets a reference to the given []string and assigns it to the Amr field.

func (*AcceptOAuth2LoginRequest) SetContext

func (o *AcceptOAuth2LoginRequest) SetContext(v interface{})

SetContext gets a reference to the given interface{} and assigns it to the Context field.

func (*AcceptOAuth2LoginRequest) SetExtendSessionLifespan added in v2.1.0

func (o *AcceptOAuth2LoginRequest) SetExtendSessionLifespan(v bool)

SetExtendSessionLifespan gets a reference to the given bool and assigns it to the ExtendSessionLifespan field.

func (*AcceptOAuth2LoginRequest) SetForceSubjectIdentifier

func (o *AcceptOAuth2LoginRequest) SetForceSubjectIdentifier(v string)

SetForceSubjectIdentifier gets a reference to the given string and assigns it to the ForceSubjectIdentifier field.

func (*AcceptOAuth2LoginRequest) SetIdentityProviderSessionId added in v2.2.0

func (o *AcceptOAuth2LoginRequest) SetIdentityProviderSessionId(v string)

SetIdentityProviderSessionId gets a reference to the given string and assigns it to the IdentityProviderSessionId field.

func (*AcceptOAuth2LoginRequest) SetRemember

func (o *AcceptOAuth2LoginRequest) SetRemember(v bool)

SetRemember gets a reference to the given bool and assigns it to the Remember field.

func (*AcceptOAuth2LoginRequest) SetRememberFor

func (o *AcceptOAuth2LoginRequest) SetRememberFor(v int64)

SetRememberFor gets a reference to the given int64 and assigns it to the RememberFor field.

func (*AcceptOAuth2LoginRequest) SetSubject

func (o *AcceptOAuth2LoginRequest) SetSubject(v string)

SetSubject sets field value

func (AcceptOAuth2LoginRequest) ToMap added in v2.2.0

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

func (*AcceptOAuth2LoginRequest) UnmarshalJSON added in v2.2.0

func (o *AcceptOAuth2LoginRequest) UnmarshalJSON(data []byte) (err 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 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 CreateJsonWebKeySet

type CreateJsonWebKeySet struct {
	// JSON Web Key Algorithm  The algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`.
	Alg string `json:"alg"`
	// JSON Web Key ID  The Key ID of the key to be created.
	Kid string `json:"kid"`
	// JSON Web Key Use  The \"use\" (public key use) parameter identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are \"enc\" and \"sig\".
	Use                  string `json:"use"`
	AdditionalProperties map[string]interface{}
}

CreateJsonWebKeySet Create JSON Web Key Set Request Body

func NewCreateJsonWebKeySet

func NewCreateJsonWebKeySet(alg string, kid string, use string) *CreateJsonWebKeySet

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

func NewCreateJsonWebKeySetWithDefaults

func NewCreateJsonWebKeySetWithDefaults() *CreateJsonWebKeySet

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

func (*CreateJsonWebKeySet) GetAlg

func (o *CreateJsonWebKeySet) GetAlg() string

GetAlg returns the Alg field value

func (*CreateJsonWebKeySet) GetAlgOk

func (o *CreateJsonWebKeySet) GetAlgOk() (*string, bool)

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

func (*CreateJsonWebKeySet) GetKid

func (o *CreateJsonWebKeySet) GetKid() string

GetKid returns the Kid field value

func (*CreateJsonWebKeySet) GetKidOk

func (o *CreateJsonWebKeySet) GetKidOk() (*string, bool)

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

func (*CreateJsonWebKeySet) GetUse

func (o *CreateJsonWebKeySet) GetUse() string

GetUse returns the Use field value

func (*CreateJsonWebKeySet) GetUseOk

func (o *CreateJsonWebKeySet) GetUseOk() (*string, bool)

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

func (CreateJsonWebKeySet) MarshalJSON

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

func (*CreateJsonWebKeySet) SetAlg

func (o *CreateJsonWebKeySet) SetAlg(v string)

SetAlg sets field value

func (*CreateJsonWebKeySet) SetKid

func (o *CreateJsonWebKeySet) SetKid(v string)

SetKid sets field value

func (*CreateJsonWebKeySet) SetUse

func (o *CreateJsonWebKeySet) SetUse(v string)

SetUse sets field value

func (CreateJsonWebKeySet) ToMap added in v2.2.0

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

func (*CreateJsonWebKeySet) UnmarshalJSON added in v2.2.0

func (o *CreateJsonWebKeySet) UnmarshalJSON(data []byte) (err error)

type CreateVerifiableCredentialRequestBody added in v2.2.0

type CreateVerifiableCredentialRequestBody struct {
	Format               *string                    `json:"format,omitempty"`
	Proof                *VerifiableCredentialProof `json:"proof,omitempty"`
	Types                []string                   `json:"types,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateVerifiableCredentialRequestBody struct for CreateVerifiableCredentialRequestBody

func NewCreateVerifiableCredentialRequestBody added in v2.2.0

func NewCreateVerifiableCredentialRequestBody() *CreateVerifiableCredentialRequestBody

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

func NewCreateVerifiableCredentialRequestBodyWithDefaults added in v2.2.0

func NewCreateVerifiableCredentialRequestBodyWithDefaults() *CreateVerifiableCredentialRequestBody

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

func (*CreateVerifiableCredentialRequestBody) GetFormat added in v2.2.0

GetFormat returns the Format field value if set, zero value otherwise.

func (*CreateVerifiableCredentialRequestBody) GetFormatOk added in v2.2.0

func (o *CreateVerifiableCredentialRequestBody) GetFormatOk() (*string, bool)

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

func (*CreateVerifiableCredentialRequestBody) GetProof added in v2.2.0

GetProof returns the Proof field value if set, zero value otherwise.

func (*CreateVerifiableCredentialRequestBody) GetProofOk added in v2.2.0

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

func (*CreateVerifiableCredentialRequestBody) GetTypes added in v2.2.0

GetTypes returns the Types field value if set, zero value otherwise.

func (*CreateVerifiableCredentialRequestBody) GetTypesOk added in v2.2.0

func (o *CreateVerifiableCredentialRequestBody) GetTypesOk() ([]string, bool)

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

func (*CreateVerifiableCredentialRequestBody) HasFormat added in v2.2.0

HasFormat returns a boolean if a field has been set.

func (*CreateVerifiableCredentialRequestBody) HasProof added in v2.2.0

HasProof returns a boolean if a field has been set.

func (*CreateVerifiableCredentialRequestBody) HasTypes added in v2.2.0

HasTypes returns a boolean if a field has been set.

func (CreateVerifiableCredentialRequestBody) MarshalJSON added in v2.2.0

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

func (*CreateVerifiableCredentialRequestBody) SetFormat added in v2.2.0

SetFormat gets a reference to the given string and assigns it to the Format field.

func (*CreateVerifiableCredentialRequestBody) SetProof added in v2.2.0

SetProof gets a reference to the given VerifiableCredentialProof and assigns it to the Proof field.

func (*CreateVerifiableCredentialRequestBody) SetTypes added in v2.2.0

SetTypes gets a reference to the given []string and assigns it to the Types field.

func (CreateVerifiableCredentialRequestBody) ToMap added in v2.2.0

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

func (*CreateVerifiableCredentialRequestBody) UnmarshalJSON added in v2.2.0

func (o *CreateVerifiableCredentialRequestBody) UnmarshalJSON(data []byte) (err error)

type CredentialSupportedDraft00 added in v2.2.0

type CredentialSupportedDraft00 struct {
	// OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported  Contains a list of cryptographic binding methods supported for signing the proof.
	CryptographicBindingMethodsSupported []string `json:"cryptographic_binding_methods_supported,omitempty"`
	// OpenID Connect Verifiable Credentials Cryptographic Suites Supported  Contains a list of cryptographic suites methods supported for signing the proof.
	CryptographicSuitesSupported []string `json:"cryptographic_suites_supported,omitempty"`
	// OpenID Connect Verifiable Credentials Format  Contains the format that is supported by this authorization server.
	Format *string `json:"format,omitempty"`
	// OpenID Connect Verifiable Credentials Types  Contains the types of verifiable credentials supported.
	Types                []string `json:"types,omitempty"`
	AdditionalProperties map[string]interface{}
}

CredentialSupportedDraft00 Includes information about the supported verifiable credentials.

func NewCredentialSupportedDraft00 added in v2.2.0

func NewCredentialSupportedDraft00() *CredentialSupportedDraft00

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

func NewCredentialSupportedDraft00WithDefaults added in v2.2.0

func NewCredentialSupportedDraft00WithDefaults() *CredentialSupportedDraft00

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

func (*CredentialSupportedDraft00) GetCryptographicBindingMethodsSupported added in v2.2.0

func (o *CredentialSupportedDraft00) GetCryptographicBindingMethodsSupported() []string

GetCryptographicBindingMethodsSupported returns the CryptographicBindingMethodsSupported field value if set, zero value otherwise.

func (*CredentialSupportedDraft00) GetCryptographicBindingMethodsSupportedOk added in v2.2.0

func (o *CredentialSupportedDraft00) GetCryptographicBindingMethodsSupportedOk() ([]string, bool)

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

func (*CredentialSupportedDraft00) GetCryptographicSuitesSupported added in v2.2.0

func (o *CredentialSupportedDraft00) GetCryptographicSuitesSupported() []string

GetCryptographicSuitesSupported returns the CryptographicSuitesSupported field value if set, zero value otherwise.

func (*CredentialSupportedDraft00) GetCryptographicSuitesSupportedOk added in v2.2.0

func (o *CredentialSupportedDraft00) GetCryptographicSuitesSupportedOk() ([]string, bool)

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

func (*CredentialSupportedDraft00) GetFormat added in v2.2.0

func (o *CredentialSupportedDraft00) GetFormat() string

GetFormat returns the Format field value if set, zero value otherwise.

func (*CredentialSupportedDraft00) GetFormatOk added in v2.2.0

func (o *CredentialSupportedDraft00) GetFormatOk() (*string, bool)

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

func (*CredentialSupportedDraft00) GetTypes added in v2.2.0

func (o *CredentialSupportedDraft00) GetTypes() []string

GetTypes returns the Types field value if set, zero value otherwise.

func (*CredentialSupportedDraft00) GetTypesOk added in v2.2.0

func (o *CredentialSupportedDraft00) GetTypesOk() ([]string, bool)

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

func (*CredentialSupportedDraft00) HasCryptographicBindingMethodsSupported added in v2.2.0

func (o *CredentialSupportedDraft00) HasCryptographicBindingMethodsSupported() bool

HasCryptographicBindingMethodsSupported returns a boolean if a field has been set.

func (*CredentialSupportedDraft00) HasCryptographicSuitesSupported added in v2.2.0

func (o *CredentialSupportedDraft00) HasCryptographicSuitesSupported() bool

HasCryptographicSuitesSupported returns a boolean if a field has been set.

func (*CredentialSupportedDraft00) HasFormat added in v2.2.0

func (o *CredentialSupportedDraft00) HasFormat() bool

HasFormat returns a boolean if a field has been set.

func (*CredentialSupportedDraft00) HasTypes added in v2.2.0

func (o *CredentialSupportedDraft00) HasTypes() bool

HasTypes returns a boolean if a field has been set.

func (CredentialSupportedDraft00) MarshalJSON added in v2.2.0

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

func (*CredentialSupportedDraft00) SetCryptographicBindingMethodsSupported added in v2.2.0

func (o *CredentialSupportedDraft00) SetCryptographicBindingMethodsSupported(v []string)

SetCryptographicBindingMethodsSupported gets a reference to the given []string and assigns it to the CryptographicBindingMethodsSupported field.

func (*CredentialSupportedDraft00) SetCryptographicSuitesSupported added in v2.2.0

func (o *CredentialSupportedDraft00) SetCryptographicSuitesSupported(v []string)

SetCryptographicSuitesSupported gets a reference to the given []string and assigns it to the CryptographicSuitesSupported field.

func (*CredentialSupportedDraft00) SetFormat added in v2.2.0

func (o *CredentialSupportedDraft00) SetFormat(v string)

SetFormat gets a reference to the given string and assigns it to the Format field.

func (*CredentialSupportedDraft00) SetTypes added in v2.2.0

func (o *CredentialSupportedDraft00) SetTypes(v []string)

SetTypes gets a reference to the given []string and assigns it to the Types field.

func (CredentialSupportedDraft00) ToMap added in v2.2.0

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

func (*CredentialSupportedDraft00) UnmarshalJSON added in v2.2.0

func (o *CredentialSupportedDraft00) UnmarshalJSON(data []byte) (err error)

type ErrorOAuth2

type ErrorOAuth2 struct {
	// Error
	Error *string `json:"error,omitempty"`
	// Error Debug Information  Only available in dev mode.
	ErrorDebug *string `json:"error_debug,omitempty"`
	// Error Description
	ErrorDescription *string `json:"error_description,omitempty"`
	// Error Hint  Helps the user identify the error cause.
	ErrorHint *string `json:"error_hint,omitempty"`
	// HTTP Status Code
	StatusCode           *int64 `json:"status_code,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorOAuth2 Error

func NewErrorOAuth2

func NewErrorOAuth2() *ErrorOAuth2

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

func NewErrorOAuth2WithDefaults

func NewErrorOAuth2WithDefaults() *ErrorOAuth2

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

func (*ErrorOAuth2) GetError

func (o *ErrorOAuth2) GetError() string

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

func (*ErrorOAuth2) GetErrorDebug

func (o *ErrorOAuth2) GetErrorDebug() string

GetErrorDebug returns the ErrorDebug field value if set, zero value otherwise.

func (*ErrorOAuth2) GetErrorDebugOk

func (o *ErrorOAuth2) GetErrorDebugOk() (*string, bool)

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

func (*ErrorOAuth2) GetErrorDescription

func (o *ErrorOAuth2) GetErrorDescription() string

GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.

func (*ErrorOAuth2) GetErrorDescriptionOk

func (o *ErrorOAuth2) GetErrorDescriptionOk() (*string, bool)

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

func (*ErrorOAuth2) GetErrorHint

func (o *ErrorOAuth2) GetErrorHint() string

GetErrorHint returns the ErrorHint field value if set, zero value otherwise.

func (*ErrorOAuth2) GetErrorHintOk

func (o *ErrorOAuth2) GetErrorHintOk() (*string, bool)

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

func (*ErrorOAuth2) GetErrorOk

func (o *ErrorOAuth2) GetErrorOk() (*string, 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 (*ErrorOAuth2) GetStatusCode

func (o *ErrorOAuth2) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ErrorOAuth2) GetStatusCodeOk

func (o *ErrorOAuth2) GetStatusCodeOk() (*int64, bool)

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

func (*ErrorOAuth2) HasError

func (o *ErrorOAuth2) HasError() bool

HasError returns a boolean if a field has been set.

func (*ErrorOAuth2) HasErrorDebug

func (o *ErrorOAuth2) HasErrorDebug() bool

HasErrorDebug returns a boolean if a field has been set.

func (*ErrorOAuth2) HasErrorDescription

func (o *ErrorOAuth2) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*ErrorOAuth2) HasErrorHint

func (o *ErrorOAuth2) HasErrorHint() bool

HasErrorHint returns a boolean if a field has been set.

func (*ErrorOAuth2) HasStatusCode

func (o *ErrorOAuth2) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (ErrorOAuth2) MarshalJSON

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

func (*ErrorOAuth2) SetError

func (o *ErrorOAuth2) SetError(v string)

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

func (*ErrorOAuth2) SetErrorDebug

func (o *ErrorOAuth2) SetErrorDebug(v string)

SetErrorDebug gets a reference to the given string and assigns it to the ErrorDebug field.

func (*ErrorOAuth2) SetErrorDescription

func (o *ErrorOAuth2) SetErrorDescription(v string)

SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.

func (*ErrorOAuth2) SetErrorHint

func (o *ErrorOAuth2) SetErrorHint(v string)

SetErrorHint gets a reference to the given string and assigns it to the ErrorHint field.

func (*ErrorOAuth2) SetStatusCode

func (o *ErrorOAuth2) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (ErrorOAuth2) ToMap added in v2.2.0

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

func (*ErrorOAuth2) UnmarshalJSON added in v2.2.0

func (o *ErrorOAuth2) UnmarshalJSON(data []byte) (err error)

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 interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason *string `json:"reason,omitempty"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// The status description
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

GenericError struct for GenericError

func NewGenericError

func NewGenericError(message string) *GenericError

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

func NewGenericErrorWithDefaults

func NewGenericErrorWithDefaults() *GenericError

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

func (*GenericError) GetCode

func (o *GenericError) GetCode() int64

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

func (*GenericError) GetCodeOk

func (o *GenericError) GetCodeOk() (*int64, bool)

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

func (*GenericError) GetDebug

func (o *GenericError) GetDebug() string

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

func (*GenericError) GetDebugOk

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

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

func (*GenericError) GetDetails

func (o *GenericError) GetDetails() interface{}

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

func (*GenericError) GetDetailsOk

func (o *GenericError) GetDetailsOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 interface{})

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

func (*GenericError) SetId

func (o *GenericError) SetId(v string)

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

func (*GenericError) SetMessage

func (o *GenericError) SetMessage(v string)

SetMessage sets field value

func (*GenericError) SetReason

func (o *GenericError) SetReason(v string)

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

func (*GenericError) SetRequest

func (o *GenericError) SetRequest(v string)

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

func (*GenericError) SetStatus

func (o *GenericError) SetStatus(v string)

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

func (GenericError) ToMap added in v2.2.0

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

func (*GenericError) UnmarshalJSON added in v2.2.0

func (o *GenericError) UnmarshalJSON(data []byte) (err error)

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetVersion200Response

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

GetVersion200Response struct for GetVersion200Response

func NewGetVersion200Response

func NewGetVersion200Response() *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 if set, zero value otherwise.

func (*GetVersion200Response) GetVersionOk

func (o *GetVersion200Response) 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 (*GetVersion200Response) HasVersion

func (o *GetVersion200Response) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (GetVersion200Response) MarshalJSON

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

func (*GetVersion200Response) SetVersion

func (o *GetVersion200Response) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (GetVersion200Response) ToMap added in v2.2.0

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

func (*GetVersion200Response) UnmarshalJSON added in v2.2.0

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

type HealthNotReadyStatus

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

HealthNotReadyStatus struct for HealthNotReadyStatus

func NewHealthNotReadyStatus

func NewHealthNotReadyStatus() *HealthNotReadyStatus

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

func NewHealthNotReadyStatusWithDefaults

func NewHealthNotReadyStatusWithDefaults() *HealthNotReadyStatus

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

func (*HealthNotReadyStatus) GetErrors

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

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

func (*HealthNotReadyStatus) GetErrorsOk

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

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

func (*HealthNotReadyStatus) HasErrors

func (o *HealthNotReadyStatus) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (HealthNotReadyStatus) MarshalJSON

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

func (*HealthNotReadyStatus) SetErrors

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

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

func (HealthNotReadyStatus) ToMap added in v2.2.0

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

func (*HealthNotReadyStatus) UnmarshalJSON added in v2.2.0

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

type HealthStatus

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

HealthStatus struct for HealthStatus

func NewHealthStatus

func NewHealthStatus() *HealthStatus

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

func NewHealthStatusWithDefaults

func NewHealthStatusWithDefaults() *HealthStatus

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

func (*HealthStatus) GetStatus

func (o *HealthStatus) GetStatus() string

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

func (*HealthStatus) GetStatusOk

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

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

func (*HealthStatus) HasStatus

func (o *HealthStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HealthStatus) MarshalJSON

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

func (*HealthStatus) SetStatus

func (o *HealthStatus) SetStatus(v string)

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

func (HealthStatus) ToMap added in v2.2.0

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

func (*HealthStatus) UnmarshalJSON added in v2.2.0

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

type IntrospectedOAuth2Token

type IntrospectedOAuth2Token struct {
	// Active is a boolean indicator of whether or not the presented token is currently active.  The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time).
	Active bool `json:"active"`
	// Audience contains a list of the token's intended audiences.
	Aud []string `json:"aud,omitempty"`
	// ID is aclient identifier for the OAuth 2.0 client that requested this token.
	ClientId *string `json:"client_id,omitempty"`
	// Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire.
	Exp *int64 `json:"exp,omitempty"`
	// Extra is arbitrary data set by the session.
	Ext map[string]interface{} `json:"ext,omitempty"`
	// Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued.
	Iat *int64 `json:"iat,omitempty"`
	// IssuerURL is a string representing the issuer of this token
	Iss *string `json:"iss,omitempty"`
	// NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before.
	Nbf *int64 `json:"nbf,omitempty"`
	// ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued.
	ObfuscatedSubject *string `json:"obfuscated_subject,omitempty"`
	// Scope is a JSON string containing a space-separated list of scopes associated with this token.
	Scope *string `json:"scope,omitempty"`
	// Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token.
	Sub *string `json:"sub,omitempty"`
	// TokenType is the introspected token's type, typically `Bearer`.
	TokenType *string `json:"token_type,omitempty"`
	// TokenUse is the introspected token's use, for example `access_token` or `refresh_token`.
	TokenUse *string `json:"token_use,omitempty"`
	// Username is a human-readable identifier for the resource owner who authorized this token.
	Username             *string `json:"username,omitempty"`
	AdditionalProperties map[string]interface{}
}

IntrospectedOAuth2Token Introspection contains an access token's session data as specified by [IETF RFC 7662](https://tools.ietf.org/html/rfc7662)

func NewIntrospectedOAuth2Token

func NewIntrospectedOAuth2Token(active bool) *IntrospectedOAuth2Token

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

func NewIntrospectedOAuth2TokenWithDefaults

func NewIntrospectedOAuth2TokenWithDefaults() *IntrospectedOAuth2Token

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

func (*IntrospectedOAuth2Token) GetActive

func (o *IntrospectedOAuth2Token) GetActive() bool

GetActive returns the Active field value

func (*IntrospectedOAuth2Token) GetActiveOk

func (o *IntrospectedOAuth2Token) GetActiveOk() (*bool, bool)

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

func (*IntrospectedOAuth2Token) GetAud

func (o *IntrospectedOAuth2Token) GetAud() []string

GetAud returns the Aud field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetAudOk

func (o *IntrospectedOAuth2Token) GetAudOk() ([]string, bool)

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

func (*IntrospectedOAuth2Token) GetClientId

func (o *IntrospectedOAuth2Token) GetClientId() string

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

func (*IntrospectedOAuth2Token) GetClientIdOk

func (o *IntrospectedOAuth2Token) 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 (*IntrospectedOAuth2Token) GetExp

func (o *IntrospectedOAuth2Token) GetExp() int64

GetExp returns the Exp field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetExpOk

func (o *IntrospectedOAuth2Token) GetExpOk() (*int64, bool)

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

func (*IntrospectedOAuth2Token) GetExt

func (o *IntrospectedOAuth2Token) GetExt() map[string]interface{}

GetExt returns the Ext field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetExtOk

func (o *IntrospectedOAuth2Token) GetExtOk() (map[string]interface{}, bool)

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

func (*IntrospectedOAuth2Token) GetIat

func (o *IntrospectedOAuth2Token) GetIat() int64

GetIat returns the Iat field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetIatOk

func (o *IntrospectedOAuth2Token) GetIatOk() (*int64, bool)

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

func (*IntrospectedOAuth2Token) GetIss

func (o *IntrospectedOAuth2Token) GetIss() string

GetIss returns the Iss field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetIssOk

func (o *IntrospectedOAuth2Token) GetIssOk() (*string, bool)

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

func (*IntrospectedOAuth2Token) GetNbf

func (o *IntrospectedOAuth2Token) GetNbf() int64

GetNbf returns the Nbf field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetNbfOk

func (o *IntrospectedOAuth2Token) GetNbfOk() (*int64, bool)

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

func (*IntrospectedOAuth2Token) GetObfuscatedSubject

func (o *IntrospectedOAuth2Token) GetObfuscatedSubject() string

GetObfuscatedSubject returns the ObfuscatedSubject field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetObfuscatedSubjectOk

func (o *IntrospectedOAuth2Token) GetObfuscatedSubjectOk() (*string, bool)

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

func (*IntrospectedOAuth2Token) GetScope

func (o *IntrospectedOAuth2Token) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetScopeOk

func (o *IntrospectedOAuth2Token) 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 (*IntrospectedOAuth2Token) GetSub

func (o *IntrospectedOAuth2Token) GetSub() string

GetSub returns the Sub field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetSubOk

func (o *IntrospectedOAuth2Token) GetSubOk() (*string, bool)

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

func (*IntrospectedOAuth2Token) GetTokenType

func (o *IntrospectedOAuth2Token) GetTokenType() string

GetTokenType returns the TokenType field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetTokenTypeOk

func (o *IntrospectedOAuth2Token) GetTokenTypeOk() (*string, bool)

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

func (*IntrospectedOAuth2Token) GetTokenUse

func (o *IntrospectedOAuth2Token) GetTokenUse() string

GetTokenUse returns the TokenUse field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetTokenUseOk

func (o *IntrospectedOAuth2Token) GetTokenUseOk() (*string, bool)

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

func (*IntrospectedOAuth2Token) GetUsername

func (o *IntrospectedOAuth2Token) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*IntrospectedOAuth2Token) GetUsernameOk

func (o *IntrospectedOAuth2Token) GetUsernameOk() (*string, bool)

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

func (*IntrospectedOAuth2Token) HasAud

func (o *IntrospectedOAuth2Token) HasAud() bool

HasAud returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasClientId

func (o *IntrospectedOAuth2Token) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasExp

func (o *IntrospectedOAuth2Token) HasExp() bool

HasExp returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasExt

func (o *IntrospectedOAuth2Token) HasExt() bool

HasExt returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasIat

func (o *IntrospectedOAuth2Token) HasIat() bool

HasIat returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasIss

func (o *IntrospectedOAuth2Token) HasIss() bool

HasIss returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasNbf

func (o *IntrospectedOAuth2Token) HasNbf() bool

HasNbf returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasObfuscatedSubject

func (o *IntrospectedOAuth2Token) HasObfuscatedSubject() bool

HasObfuscatedSubject returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasScope

func (o *IntrospectedOAuth2Token) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasSub

func (o *IntrospectedOAuth2Token) HasSub() bool

HasSub returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasTokenType

func (o *IntrospectedOAuth2Token) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasTokenUse

func (o *IntrospectedOAuth2Token) HasTokenUse() bool

HasTokenUse returns a boolean if a field has been set.

func (*IntrospectedOAuth2Token) HasUsername

func (o *IntrospectedOAuth2Token) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (IntrospectedOAuth2Token) MarshalJSON

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

func (*IntrospectedOAuth2Token) SetActive

func (o *IntrospectedOAuth2Token) SetActive(v bool)

SetActive sets field value

func (*IntrospectedOAuth2Token) SetAud

func (o *IntrospectedOAuth2Token) SetAud(v []string)

SetAud gets a reference to the given []string and assigns it to the Aud field.

func (*IntrospectedOAuth2Token) SetClientId

func (o *IntrospectedOAuth2Token) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*IntrospectedOAuth2Token) SetExp

func (o *IntrospectedOAuth2Token) SetExp(v int64)

SetExp gets a reference to the given int64 and assigns it to the Exp field.

func (*IntrospectedOAuth2Token) SetExt

func (o *IntrospectedOAuth2Token) SetExt(v map[string]interface{})

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

func (*IntrospectedOAuth2Token) SetIat

func (o *IntrospectedOAuth2Token) SetIat(v int64)

SetIat gets a reference to the given int64 and assigns it to the Iat field.

func (*IntrospectedOAuth2Token) SetIss

func (o *IntrospectedOAuth2Token) SetIss(v string)

SetIss gets a reference to the given string and assigns it to the Iss field.

func (*IntrospectedOAuth2Token) SetNbf

func (o *IntrospectedOAuth2Token) SetNbf(v int64)

SetNbf gets a reference to the given int64 and assigns it to the Nbf field.

func (*IntrospectedOAuth2Token) SetObfuscatedSubject

func (o *IntrospectedOAuth2Token) SetObfuscatedSubject(v string)

SetObfuscatedSubject gets a reference to the given string and assigns it to the ObfuscatedSubject field.

func (*IntrospectedOAuth2Token) SetScope

func (o *IntrospectedOAuth2Token) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*IntrospectedOAuth2Token) SetSub

func (o *IntrospectedOAuth2Token) SetSub(v string)

SetSub gets a reference to the given string and assigns it to the Sub field.

func (*IntrospectedOAuth2Token) SetTokenType

func (o *IntrospectedOAuth2Token) SetTokenType(v string)

SetTokenType gets a reference to the given string and assigns it to the TokenType field.

func (*IntrospectedOAuth2Token) SetTokenUse

func (o *IntrospectedOAuth2Token) SetTokenUse(v string)

SetTokenUse gets a reference to the given string and assigns it to the TokenUse field.

func (*IntrospectedOAuth2Token) SetUsername

func (o *IntrospectedOAuth2Token) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (IntrospectedOAuth2Token) ToMap added in v2.2.0

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

func (*IntrospectedOAuth2Token) UnmarshalJSON added in v2.2.0

func (o *IntrospectedOAuth2Token) UnmarshalJSON(data []byte) (err error)

type IsReady200Response

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

IsReady200Response struct for IsReady200Response

func NewIsReady200Response

func NewIsReady200Response() *IsReady200Response

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

func NewIsReady200ResponseWithDefaults

func NewIsReady200ResponseWithDefaults() *IsReady200Response

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

func (*IsReady200Response) GetStatus

func (o *IsReady200Response) GetStatus() string

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

func (*IsReady200Response) GetStatusOk

func (o *IsReady200Response) 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 (*IsReady200Response) HasStatus

func (o *IsReady200Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (IsReady200Response) MarshalJSON

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

func (*IsReady200Response) SetStatus

func (o *IsReady200Response) SetStatus(v string)

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

func (IsReady200Response) ToMap added in v2.2.0

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

func (*IsReady200Response) UnmarshalJSON added in v2.2.0

func (o *IsReady200Response) UnmarshalJSON(data []byte) (err error)

type IsReady503Response

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

IsReady503Response struct for IsReady503Response

func NewIsReady503Response

func NewIsReady503Response() *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 if set, zero value otherwise.

func (*IsReady503Response) GetErrorsOk

func (o *IsReady503Response) 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 (*IsReady503Response) HasErrors

func (o *IsReady503Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (IsReady503Response) MarshalJSON

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

func (*IsReady503Response) SetErrors

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

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

func (IsReady503Response) ToMap added in v2.2.0

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

func (*IsReady503Response) UnmarshalJSON added in v2.2.0

func (o *IsReady503Response) UnmarshalJSON(data []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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.

func (JsonPatch) ToMap added in v2.2.0

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

func (*JsonPatch) UnmarshalJSON added in v2.2.0

func (o *JsonPatch) UnmarshalJSON(data []byte) (err error)

type JsonWebKey

type JsonWebKey struct {
	// The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key.  The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name.
	Alg string  `json:"alg"`
	Crv *string `json:"crv,omitempty"`
	D   *string `json:"d,omitempty"`
	Dp  *string `json:"dp,omitempty"`
	Dq  *string `json:"dq,omitempty"`
	E   *string `json:"e,omitempty"`
	K   *string `json:"k,omitempty"`
	// The \"kid\" (key ID) parameter is used to match a specific key.  This is used, for instance, to choose among a set of keys within a JWK Set during key rollover.  The structure of the \"kid\" value is unspecified.  When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values.  (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.)  The \"kid\" value is a case-sensitive string.
	Kid string `json:"kid"`
	// The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name.  The \"kty\" value is a case-sensitive string.
	Kty string  `json:"kty"`
	N   *string `json:"n,omitempty"`
	P   *string `json:"p,omitempty"`
	Q   *string `json:"q,omitempty"`
	Qi  *string `json:"qi,omitempty"`
	// Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).
	Use string  `json:"use"`
	X   *string `json:"x,omitempty"`
	// The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280].  The certificate chain is represented as a JSON array of certificate value strings.  Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.
	X5c                  []string `json:"x5c,omitempty"`
	Y                    *string  `json:"y,omitempty"`
	AdditionalProperties map[string]interface{}
}

JsonWebKey struct for JsonWebKey

func NewJsonWebKey

func NewJsonWebKey(alg string, kid string, kty string, use string) *JsonWebKey

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

func NewJsonWebKeyWithDefaults

func NewJsonWebKeyWithDefaults() *JsonWebKey

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

func (*JsonWebKey) GetAlg

func (o *JsonWebKey) GetAlg() string

GetAlg returns the Alg field value

func (*JsonWebKey) GetAlgOk

func (o *JsonWebKey) GetAlgOk() (*string, bool)

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

func (*JsonWebKey) GetCrv

func (o *JsonWebKey) GetCrv() string

GetCrv returns the Crv field value if set, zero value otherwise.

func (*JsonWebKey) GetCrvOk

func (o *JsonWebKey) GetCrvOk() (*string, bool)

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

func (*JsonWebKey) GetD

func (o *JsonWebKey) GetD() string

GetD returns the D field value if set, zero value otherwise.

func (*JsonWebKey) GetDOk

func (o *JsonWebKey) GetDOk() (*string, bool)

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

func (*JsonWebKey) GetDp

func (o *JsonWebKey) GetDp() string

GetDp returns the Dp field value if set, zero value otherwise.

func (*JsonWebKey) GetDpOk

func (o *JsonWebKey) GetDpOk() (*string, bool)

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

func (*JsonWebKey) GetDq

func (o *JsonWebKey) GetDq() string

GetDq returns the Dq field value if set, zero value otherwise.

func (*JsonWebKey) GetDqOk

func (o *JsonWebKey) GetDqOk() (*string, bool)

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

func (*JsonWebKey) GetE

func (o *JsonWebKey) GetE() string

GetE returns the E field value if set, zero value otherwise.

func (*JsonWebKey) GetEOk

func (o *JsonWebKey) GetEOk() (*string, bool)

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

func (*JsonWebKey) GetK

func (o *JsonWebKey) GetK() string

GetK returns the K field value if set, zero value otherwise.

func (*JsonWebKey) GetKOk

func (o *JsonWebKey) GetKOk() (*string, bool)

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

func (*JsonWebKey) GetKid

func (o *JsonWebKey) GetKid() string

GetKid returns the Kid field value

func (*JsonWebKey) GetKidOk

func (o *JsonWebKey) GetKidOk() (*string, bool)

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

func (*JsonWebKey) GetKty

func (o *JsonWebKey) GetKty() string

GetKty returns the Kty field value

func (*JsonWebKey) GetKtyOk

func (o *JsonWebKey) GetKtyOk() (*string, bool)

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

func (*JsonWebKey) GetN

func (o *JsonWebKey) GetN() string

GetN returns the N field value if set, zero value otherwise.

func (*JsonWebKey) GetNOk

func (o *JsonWebKey) GetNOk() (*string, bool)

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

func (*JsonWebKey) GetP

func (o *JsonWebKey) GetP() string

GetP returns the P field value if set, zero value otherwise.

func (*JsonWebKey) GetPOk

func (o *JsonWebKey) GetPOk() (*string, bool)

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

func (*JsonWebKey) GetQ

func (o *JsonWebKey) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*JsonWebKey) GetQOk

func (o *JsonWebKey) GetQOk() (*string, bool)

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

func (*JsonWebKey) GetQi

func (o *JsonWebKey) GetQi() string

GetQi returns the Qi field value if set, zero value otherwise.

func (*JsonWebKey) GetQiOk

func (o *JsonWebKey) GetQiOk() (*string, bool)

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

func (*JsonWebKey) GetUse

func (o *JsonWebKey) GetUse() string

GetUse returns the Use field value

func (*JsonWebKey) GetUseOk

func (o *JsonWebKey) GetUseOk() (*string, bool)

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

func (*JsonWebKey) GetX

func (o *JsonWebKey) GetX() string

GetX returns the X field value if set, zero value otherwise.

func (*JsonWebKey) GetX5c

func (o *JsonWebKey) GetX5c() []string

GetX5c returns the X5c field value if set, zero value otherwise.

func (*JsonWebKey) GetX5cOk

func (o *JsonWebKey) GetX5cOk() ([]string, bool)

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

func (*JsonWebKey) GetXOk

func (o *JsonWebKey) GetXOk() (*string, bool)

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

func (*JsonWebKey) GetY

func (o *JsonWebKey) GetY() string

GetY returns the Y field value if set, zero value otherwise.

func (*JsonWebKey) GetYOk

func (o *JsonWebKey) GetYOk() (*string, bool)

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

func (*JsonWebKey) HasCrv

func (o *JsonWebKey) HasCrv() bool

HasCrv returns a boolean if a field has been set.

func (*JsonWebKey) HasD

func (o *JsonWebKey) HasD() bool

HasD returns a boolean if a field has been set.

func (*JsonWebKey) HasDp

func (o *JsonWebKey) HasDp() bool

HasDp returns a boolean if a field has been set.

func (*JsonWebKey) HasDq

func (o *JsonWebKey) HasDq() bool

HasDq returns a boolean if a field has been set.

func (*JsonWebKey) HasE

func (o *JsonWebKey) HasE() bool

HasE returns a boolean if a field has been set.

func (*JsonWebKey) HasK

func (o *JsonWebKey) HasK() bool

HasK returns a boolean if a field has been set.

func (*JsonWebKey) HasN

func (o *JsonWebKey) HasN() bool

HasN returns a boolean if a field has been set.

func (*JsonWebKey) HasP

func (o *JsonWebKey) HasP() bool

HasP returns a boolean if a field has been set.

func (*JsonWebKey) HasQ

func (o *JsonWebKey) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*JsonWebKey) HasQi

func (o *JsonWebKey) HasQi() bool

HasQi returns a boolean if a field has been set.

func (*JsonWebKey) HasX

func (o *JsonWebKey) HasX() bool

HasX returns a boolean if a field has been set.

func (*JsonWebKey) HasX5c

func (o *JsonWebKey) HasX5c() bool

HasX5c returns a boolean if a field has been set.

func (*JsonWebKey) HasY

func (o *JsonWebKey) HasY() bool

HasY returns a boolean if a field has been set.

func (JsonWebKey) MarshalJSON

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

func (*JsonWebKey) SetAlg

func (o *JsonWebKey) SetAlg(v string)

SetAlg sets field value

func (*JsonWebKey) SetCrv

func (o *JsonWebKey) SetCrv(v string)

SetCrv gets a reference to the given string and assigns it to the Crv field.

func (*JsonWebKey) SetD

func (o *JsonWebKey) SetD(v string)

SetD gets a reference to the given string and assigns it to the D field.

func (*JsonWebKey) SetDp

func (o *JsonWebKey) SetDp(v string)

SetDp gets a reference to the given string and assigns it to the Dp field.

func (*JsonWebKey) SetDq

func (o *JsonWebKey) SetDq(v string)

SetDq gets a reference to the given string and assigns it to the Dq field.

func (*JsonWebKey) SetE

func (o *JsonWebKey) SetE(v string)

SetE gets a reference to the given string and assigns it to the E field.

func (*JsonWebKey) SetK

func (o *JsonWebKey) SetK(v string)

SetK gets a reference to the given string and assigns it to the K field.

func (*JsonWebKey) SetKid

func (o *JsonWebKey) SetKid(v string)

SetKid sets field value

func (*JsonWebKey) SetKty

func (o *JsonWebKey) SetKty(v string)

SetKty sets field value

func (*JsonWebKey) SetN

func (o *JsonWebKey) SetN(v string)

SetN gets a reference to the given string and assigns it to the N field.

func (*JsonWebKey) SetP

func (o *JsonWebKey) SetP(v string)

SetP gets a reference to the given string and assigns it to the P field.

func (*JsonWebKey) SetQ

func (o *JsonWebKey) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*JsonWebKey) SetQi

func (o *JsonWebKey) SetQi(v string)

SetQi gets a reference to the given string and assigns it to the Qi field.

func (*JsonWebKey) SetUse

func (o *JsonWebKey) SetUse(v string)

SetUse sets field value

func (*JsonWebKey) SetX

func (o *JsonWebKey) SetX(v string)

SetX gets a reference to the given string and assigns it to the X field.

func (*JsonWebKey) SetX5c

func (o *JsonWebKey) SetX5c(v []string)

SetX5c gets a reference to the given []string and assigns it to the X5c field.

func (*JsonWebKey) SetY

func (o *JsonWebKey) SetY(v string)

SetY gets a reference to the given string and assigns it to the Y field.

func (JsonWebKey) ToMap added in v2.2.0

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

func (*JsonWebKey) UnmarshalJSON added in v2.2.0

func (o *JsonWebKey) UnmarshalJSON(data []byte) (err error)

type JsonWebKeySet

type JsonWebKeySet struct {
	// List of JSON Web Keys  The value of the \"keys\" parameter is an array of JSON Web Key (JWK) values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
	Keys                 []JsonWebKey `json:"keys,omitempty"`
	AdditionalProperties map[string]interface{}
}

JsonWebKeySet JSON Web Key Set

func NewJsonWebKeySet

func NewJsonWebKeySet() *JsonWebKeySet

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

func NewJsonWebKeySetWithDefaults

func NewJsonWebKeySetWithDefaults() *JsonWebKeySet

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

func (*JsonWebKeySet) GetKeys

func (o *JsonWebKeySet) GetKeys() []JsonWebKey

GetKeys returns the Keys field value if set, zero value otherwise.

func (*JsonWebKeySet) GetKeysOk

func (o *JsonWebKeySet) GetKeysOk() ([]JsonWebKey, bool)

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

func (*JsonWebKeySet) HasKeys

func (o *JsonWebKeySet) HasKeys() bool

HasKeys returns a boolean if a field has been set.

func (JsonWebKeySet) MarshalJSON

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

func (*JsonWebKeySet) SetKeys

func (o *JsonWebKeySet) SetKeys(v []JsonWebKey)

SetKeys gets a reference to the given []JsonWebKey and assigns it to the Keys field.

func (JsonWebKeySet) ToMap added in v2.2.0

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

func (*JsonWebKeySet) UnmarshalJSON added in v2.2.0

func (o *JsonWebKeySet) UnmarshalJSON(data []byte) (err error)

type JwkAPI added in v2.2.0

type JwkAPI interface {

	/*
		CreateJsonWebKeySet Create JSON Web Key

		This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created.

	A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set The JSON Web Key Set ID
		@return JwkAPICreateJsonWebKeySetRequest
	*/
	CreateJsonWebKeySet(ctx context.Context, set string) JwkAPICreateJsonWebKeySetRequest

	// CreateJsonWebKeySetExecute executes the request
	//  @return JsonWebKeySet
	CreateJsonWebKeySetExecute(r JwkAPICreateJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)

	/*
		DeleteJsonWebKey Delete JSON Web Key

		Use this endpoint to delete a single JSON Web Key.

	A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A
	JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses
	this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens),
	and allows storing user-defined keys as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set The JSON Web Key Set
		@param kid The JSON Web Key ID (kid)
		@return JwkAPIDeleteJsonWebKeyRequest
	*/
	DeleteJsonWebKey(ctx context.Context, set string, kid string) JwkAPIDeleteJsonWebKeyRequest

	// DeleteJsonWebKeyExecute executes the request
	DeleteJsonWebKeyExecute(r JwkAPIDeleteJsonWebKeyRequest) (*http.Response, error)

	/*
		DeleteJsonWebKeySet Delete JSON Web Key Set

		Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set.

	A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set The JSON Web Key Set
		@return JwkAPIDeleteJsonWebKeySetRequest
	*/
	DeleteJsonWebKeySet(ctx context.Context, set string) JwkAPIDeleteJsonWebKeySetRequest

	// DeleteJsonWebKeySetExecute executes the request
	DeleteJsonWebKeySetExecute(r JwkAPIDeleteJsonWebKeySetRequest) (*http.Response, error)

	/*
		GetJsonWebKey Get JSON Web Key

		This endpoint returns a singular JSON Web Key contained in a set. It is identified by the set and the specific key ID (kid).

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set JSON Web Key Set ID
		@param kid JSON Web Key ID
		@return JwkAPIGetJsonWebKeyRequest
	*/
	GetJsonWebKey(ctx context.Context, set string, kid string) JwkAPIGetJsonWebKeyRequest

	// GetJsonWebKeyExecute executes the request
	//  @return JsonWebKeySet
	GetJsonWebKeyExecute(r JwkAPIGetJsonWebKeyRequest) (*JsonWebKeySet, *http.Response, error)

	/*
		GetJsonWebKeySet Retrieve a JSON Web Key Set

		This endpoint can be used to retrieve JWK Sets stored in ORY Hydra.

	A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set JSON Web Key Set ID
		@return JwkAPIGetJsonWebKeySetRequest
	*/
	GetJsonWebKeySet(ctx context.Context, set string) JwkAPIGetJsonWebKeySetRequest

	// GetJsonWebKeySetExecute executes the request
	//  @return JsonWebKeySet
	GetJsonWebKeySetExecute(r JwkAPIGetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)

	/*
		SetJsonWebKey Set JSON Web Key

		Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.

	A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set The JSON Web Key Set ID
		@param kid JSON Web Key ID
		@return JwkAPISetJsonWebKeyRequest
	*/
	SetJsonWebKey(ctx context.Context, set string, kid string) JwkAPISetJsonWebKeyRequest

	// SetJsonWebKeyExecute executes the request
	//  @return JsonWebKey
	SetJsonWebKeyExecute(r JwkAPISetJsonWebKeyRequest) (*JsonWebKey, *http.Response, error)

	/*
		SetJsonWebKeySet Update a JSON Web Key Set

		Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.

	A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param set The JSON Web Key Set ID
		@return JwkAPISetJsonWebKeySetRequest
	*/
	SetJsonWebKeySet(ctx context.Context, set string) JwkAPISetJsonWebKeySetRequest

	// SetJsonWebKeySetExecute executes the request
	//  @return JsonWebKeySet
	SetJsonWebKeySetExecute(r JwkAPISetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
}

type JwkAPICreateJsonWebKeySetRequest added in v2.2.0

type JwkAPICreateJsonWebKeySetRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPICreateJsonWebKeySetRequest) CreateJsonWebKeySet added in v2.2.0

func (JwkAPICreateJsonWebKeySetRequest) Execute added in v2.2.0

type JwkAPIDeleteJsonWebKeyRequest added in v2.2.0

type JwkAPIDeleteJsonWebKeyRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPIDeleteJsonWebKeyRequest) Execute added in v2.2.0

type JwkAPIDeleteJsonWebKeySetRequest added in v2.2.0

type JwkAPIDeleteJsonWebKeySetRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPIDeleteJsonWebKeySetRequest) Execute added in v2.2.0

type JwkAPIGetJsonWebKeyRequest added in v2.2.0

type JwkAPIGetJsonWebKeyRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPIGetJsonWebKeyRequest) Execute added in v2.2.0

type JwkAPIGetJsonWebKeySetRequest added in v2.2.0

type JwkAPIGetJsonWebKeySetRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPIGetJsonWebKeySetRequest) Execute added in v2.2.0

type JwkAPIService added in v2.2.0

type JwkAPIService service

JwkAPIService JwkAPI service

func (*JwkAPIService) CreateJsonWebKeySet added in v2.2.0

func (a *JwkAPIService) CreateJsonWebKeySet(ctx context.Context, set string) JwkAPICreateJsonWebKeySetRequest

CreateJsonWebKeySet Create JSON Web Key

This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
@return JwkAPICreateJsonWebKeySetRequest

func (*JwkAPIService) CreateJsonWebKeySetExecute added in v2.2.0

func (a *JwkAPIService) CreateJsonWebKeySetExecute(r JwkAPICreateJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)

Execute executes the request

@return JsonWebKeySet

func (*JwkAPIService) DeleteJsonWebKey added in v2.2.0

func (a *JwkAPIService) DeleteJsonWebKey(ctx context.Context, set string, kid string) JwkAPIDeleteJsonWebKeyRequest

DeleteJsonWebKey Delete JSON Web Key

Use this endpoint to delete a single JSON Web Key.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set
@param kid The JSON Web Key ID (kid)
@return JwkAPIDeleteJsonWebKeyRequest

func (*JwkAPIService) DeleteJsonWebKeyExecute added in v2.2.0

func (a *JwkAPIService) DeleteJsonWebKeyExecute(r JwkAPIDeleteJsonWebKeyRequest) (*http.Response, error)

Execute executes the request

func (*JwkAPIService) DeleteJsonWebKeySet added in v2.2.0

func (a *JwkAPIService) DeleteJsonWebKeySet(ctx context.Context, set string) JwkAPIDeleteJsonWebKeySetRequest

DeleteJsonWebKeySet Delete JSON Web Key Set

Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set
@return JwkAPIDeleteJsonWebKeySetRequest

func (*JwkAPIService) DeleteJsonWebKeySetExecute added in v2.2.0

func (a *JwkAPIService) DeleteJsonWebKeySetExecute(r JwkAPIDeleteJsonWebKeySetRequest) (*http.Response, error)

Execute executes the request

func (*JwkAPIService) GetJsonWebKey added in v2.2.0

func (a *JwkAPIService) GetJsonWebKey(ctx context.Context, set string, kid string) JwkAPIGetJsonWebKeyRequest

GetJsonWebKey Get JSON Web Key

This endpoint returns a singular JSON Web Key contained in a set. It is identified by the set and the specific key ID (kid).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set JSON Web Key Set ID
@param kid JSON Web Key ID
@return JwkAPIGetJsonWebKeyRequest

func (*JwkAPIService) GetJsonWebKeyExecute added in v2.2.0

func (a *JwkAPIService) GetJsonWebKeyExecute(r JwkAPIGetJsonWebKeyRequest) (*JsonWebKeySet, *http.Response, error)

Execute executes the request

@return JsonWebKeySet

func (*JwkAPIService) GetJsonWebKeySet added in v2.2.0

func (a *JwkAPIService) GetJsonWebKeySet(ctx context.Context, set string) JwkAPIGetJsonWebKeySetRequest

GetJsonWebKeySet Retrieve a JSON Web Key Set

This endpoint can be used to retrieve JWK Sets stored in ORY Hydra.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set JSON Web Key Set ID
@return JwkAPIGetJsonWebKeySetRequest

func (*JwkAPIService) GetJsonWebKeySetExecute added in v2.2.0

func (a *JwkAPIService) GetJsonWebKeySetExecute(r JwkAPIGetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)

Execute executes the request

@return JsonWebKeySet

func (*JwkAPIService) SetJsonWebKey added in v2.2.0

func (a *JwkAPIService) SetJsonWebKey(ctx context.Context, set string, kid string) JwkAPISetJsonWebKeyRequest

SetJsonWebKey Set JSON Web Key

Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
@param kid JSON Web Key ID
@return JwkAPISetJsonWebKeyRequest

func (*JwkAPIService) SetJsonWebKeyExecute added in v2.2.0

func (a *JwkAPIService) SetJsonWebKeyExecute(r JwkAPISetJsonWebKeyRequest) (*JsonWebKey, *http.Response, error)

Execute executes the request

@return JsonWebKey

func (*JwkAPIService) SetJsonWebKeySet added in v2.2.0

func (a *JwkAPIService) SetJsonWebKeySet(ctx context.Context, set string) JwkAPISetJsonWebKeySetRequest

SetJsonWebKeySet Update a JSON Web Key Set

Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
@return JwkAPISetJsonWebKeySetRequest

func (*JwkAPIService) SetJsonWebKeySetExecute added in v2.2.0

func (a *JwkAPIService) SetJsonWebKeySetExecute(r JwkAPISetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)

Execute executes the request

@return JsonWebKeySet

type JwkAPISetJsonWebKeyRequest added in v2.2.0

type JwkAPISetJsonWebKeyRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPISetJsonWebKeyRequest) Execute added in v2.2.0

func (JwkAPISetJsonWebKeyRequest) JsonWebKey added in v2.2.0

type JwkAPISetJsonWebKeySetRequest added in v2.2.0

type JwkAPISetJsonWebKeySetRequest struct {
	ApiService JwkAPI
	// contains filtered or unexported fields
}

func (JwkAPISetJsonWebKeySetRequest) Execute added in v2.2.0

func (JwkAPISetJsonWebKeySetRequest) JsonWebKeySet added in v2.2.0

type MappedNullable added in v2.2.0

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MetadataAPI added in v2.2.0

type MetadataAPI interface {

	/*
		GetVersion Return Running Software Version.

		This endpoint returns the version of Ory Hydra.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of this service, the version will never
	refer to the cluster state, only to a single instance.

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

	// GetVersionExecute executes the request
	//  @return GetVersion200Response
	GetVersionExecute(r MetadataAPIGetVersionRequest) (*GetVersion200Response, *http.Response, error)

	/*
		IsAlive Check HTTP Server Status

		This endpoint returns a HTTP 200 status code when Ory Hydra is accepting incoming
	HTTP requests. This status does currently not include checks whether the database connection is working.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of this service, the health status will never
	refer to the cluster state, only to a single instance.

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

	// IsAliveExecute executes the request
	//  @return HealthStatus
	IsAliveExecute(r MetadataAPIIsAliveRequest) (*HealthStatus, *http.Response, error)

	/*
		IsReady Check HTTP Server and Database Status

		This endpoint returns a HTTP 200 status code when Ory Hydra 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 Hydra, the health status will never
	refer to the cluster state, only to a single instance.

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

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

type MetadataAPIGetVersionRequest added in v2.2.0

type MetadataAPIGetVersionRequest struct {
	ApiService MetadataAPI
	// contains filtered or unexported fields
}

func (MetadataAPIGetVersionRequest) Execute added in v2.2.0

type MetadataAPIIsAliveRequest added in v2.2.0

type MetadataAPIIsAliveRequest struct {
	ApiService MetadataAPI
	// contains filtered or unexported fields
}

func (MetadataAPIIsAliveRequest) Execute added in v2.2.0

type MetadataAPIIsReadyRequest added in v2.2.0

type MetadataAPIIsReadyRequest struct {
	ApiService MetadataAPI
	// contains filtered or unexported fields
}

func (MetadataAPIIsReadyRequest) Execute added in v2.2.0

type MetadataAPIService added in v2.2.0

type MetadataAPIService service

MetadataAPIService MetadataAPI service

func (*MetadataAPIService) GetVersion added in v2.2.0

GetVersion Return Running Software Version.

This endpoint returns the version of Ory Hydra.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.

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

func (*MetadataAPIService) GetVersionExecute added in v2.2.0

Execute executes the request

@return GetVersion200Response

func (*MetadataAPIService) IsAlive added in v2.2.0

IsAlive Check HTTP Server Status

This endpoint returns a HTTP 200 status code when Ory Hydra is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.

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

func (*MetadataAPIService) IsAliveExecute added in v2.2.0

Execute executes the request

@return HealthStatus

func (*MetadataAPIService) IsReady added in v2.2.0

IsReady Check HTTP Server and Database Status

This endpoint returns a HTTP 200 status code when Ory Hydra 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 Hydra, the health status will never refer to the cluster state, only to a single instance.

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

func (*MetadataAPIService) IsReadyExecute added in v2.2.0

Execute executes the request

@return IsReady200Response

type NullableAcceptOAuth2ConsentRequest

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

func (NullableAcceptOAuth2ConsentRequest) Get

func (NullableAcceptOAuth2ConsentRequest) IsSet

func (NullableAcceptOAuth2ConsentRequest) MarshalJSON

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

func (*NullableAcceptOAuth2ConsentRequest) Set

func (*NullableAcceptOAuth2ConsentRequest) UnmarshalJSON

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

func (*NullableAcceptOAuth2ConsentRequest) Unset

type NullableAcceptOAuth2ConsentRequestSession

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

func (NullableAcceptOAuth2ConsentRequestSession) Get

func (NullableAcceptOAuth2ConsentRequestSession) IsSet

func (NullableAcceptOAuth2ConsentRequestSession) MarshalJSON

func (*NullableAcceptOAuth2ConsentRequestSession) Set

func (*NullableAcceptOAuth2ConsentRequestSession) UnmarshalJSON

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

func (*NullableAcceptOAuth2ConsentRequestSession) Unset

type NullableAcceptOAuth2LoginRequest

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

func (NullableAcceptOAuth2LoginRequest) Get

func (NullableAcceptOAuth2LoginRequest) IsSet

func (NullableAcceptOAuth2LoginRequest) MarshalJSON

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

func (*NullableAcceptOAuth2LoginRequest) Set

func (*NullableAcceptOAuth2LoginRequest) UnmarshalJSON

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

func (*NullableAcceptOAuth2LoginRequest) Unset

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateJsonWebKeySet

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

func NewNullableCreateJsonWebKeySet

func NewNullableCreateJsonWebKeySet(val *CreateJsonWebKeySet) *NullableCreateJsonWebKeySet

func (NullableCreateJsonWebKeySet) Get

func (NullableCreateJsonWebKeySet) IsSet

func (NullableCreateJsonWebKeySet) MarshalJSON

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

func (*NullableCreateJsonWebKeySet) Set

func (*NullableCreateJsonWebKeySet) UnmarshalJSON

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

func (*NullableCreateJsonWebKeySet) Unset

func (v *NullableCreateJsonWebKeySet) Unset()

type NullableCreateVerifiableCredentialRequestBody added in v2.2.0

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

func (NullableCreateVerifiableCredentialRequestBody) Get added in v2.2.0

func (NullableCreateVerifiableCredentialRequestBody) IsSet added in v2.2.0

func (NullableCreateVerifiableCredentialRequestBody) MarshalJSON added in v2.2.0

func (*NullableCreateVerifiableCredentialRequestBody) Set added in v2.2.0

func (*NullableCreateVerifiableCredentialRequestBody) UnmarshalJSON added in v2.2.0

func (*NullableCreateVerifiableCredentialRequestBody) Unset added in v2.2.0

type NullableCredentialSupportedDraft00 added in v2.2.0

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

func NewNullableCredentialSupportedDraft00 added in v2.2.0

func NewNullableCredentialSupportedDraft00(val *CredentialSupportedDraft00) *NullableCredentialSupportedDraft00

func (NullableCredentialSupportedDraft00) Get added in v2.2.0

func (NullableCredentialSupportedDraft00) IsSet added in v2.2.0

func (NullableCredentialSupportedDraft00) MarshalJSON added in v2.2.0

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

func (*NullableCredentialSupportedDraft00) Set added in v2.2.0

func (*NullableCredentialSupportedDraft00) UnmarshalJSON added in v2.2.0

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

func (*NullableCredentialSupportedDraft00) Unset added in v2.2.0

type NullableErrorOAuth2

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

func NewNullableErrorOAuth2

func NewNullableErrorOAuth2(val *ErrorOAuth2) *NullableErrorOAuth2

func (NullableErrorOAuth2) Get

func (NullableErrorOAuth2) IsSet

func (v NullableErrorOAuth2) IsSet() bool

func (NullableErrorOAuth2) MarshalJSON

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

func (*NullableErrorOAuth2) Set

func (v *NullableErrorOAuth2) Set(val *ErrorOAuth2)

func (*NullableErrorOAuth2) UnmarshalJSON

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

func (*NullableErrorOAuth2) Unset

func (v *NullableErrorOAuth2) 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 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 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 NullableIntrospectedOAuth2Token

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

func (NullableIntrospectedOAuth2Token) Get

func (NullableIntrospectedOAuth2Token) IsSet

func (NullableIntrospectedOAuth2Token) MarshalJSON

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

func (*NullableIntrospectedOAuth2Token) Set

func (*NullableIntrospectedOAuth2Token) UnmarshalJSON

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

func (*NullableIntrospectedOAuth2Token) Unset

type NullableIsReady200Response

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

func NewNullableIsReady200Response

func NewNullableIsReady200Response(val *IsReady200Response) *NullableIsReady200Response

func (NullableIsReady200Response) Get

func (NullableIsReady200Response) IsSet

func (v NullableIsReady200Response) IsSet() bool

func (NullableIsReady200Response) MarshalJSON

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

func (*NullableIsReady200Response) Set

func (*NullableIsReady200Response) UnmarshalJSON

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

func (*NullableIsReady200Response) Unset

func (v *NullableIsReady200Response) 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 NullableJsonWebKey

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

func NewNullableJsonWebKey

func NewNullableJsonWebKey(val *JsonWebKey) *NullableJsonWebKey

func (NullableJsonWebKey) Get

func (v NullableJsonWebKey) Get() *JsonWebKey

func (NullableJsonWebKey) IsSet

func (v NullableJsonWebKey) IsSet() bool

func (NullableJsonWebKey) MarshalJSON

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

func (*NullableJsonWebKey) Set

func (v *NullableJsonWebKey) Set(val *JsonWebKey)

func (*NullableJsonWebKey) UnmarshalJSON

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

func (*NullableJsonWebKey) Unset

func (v *NullableJsonWebKey) Unset()

type NullableJsonWebKeySet

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

func NewNullableJsonWebKeySet

func NewNullableJsonWebKeySet(val *JsonWebKeySet) *NullableJsonWebKeySet

func (NullableJsonWebKeySet) Get

func (NullableJsonWebKeySet) IsSet

func (v NullableJsonWebKeySet) IsSet() bool

func (NullableJsonWebKeySet) MarshalJSON

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

func (*NullableJsonWebKeySet) Set

func (v *NullableJsonWebKeySet) Set(val *JsonWebKeySet)

func (*NullableJsonWebKeySet) UnmarshalJSON

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

func (*NullableJsonWebKeySet) Unset

func (v *NullableJsonWebKeySet) 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 NullableOAuth2ClientTokenLifespans

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

func (NullableOAuth2ClientTokenLifespans) Get

func (NullableOAuth2ClientTokenLifespans) IsSet

func (NullableOAuth2ClientTokenLifespans) MarshalJSON

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

func (*NullableOAuth2ClientTokenLifespans) Set

func (*NullableOAuth2ClientTokenLifespans) UnmarshalJSON

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

func (*NullableOAuth2ClientTokenLifespans) Unset

type NullableOAuth2ConsentRequest

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

func NewNullableOAuth2ConsentRequest

func NewNullableOAuth2ConsentRequest(val *OAuth2ConsentRequest) *NullableOAuth2ConsentRequest

func (NullableOAuth2ConsentRequest) Get

func (NullableOAuth2ConsentRequest) IsSet

func (NullableOAuth2ConsentRequest) MarshalJSON

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

func (*NullableOAuth2ConsentRequest) Set

func (*NullableOAuth2ConsentRequest) UnmarshalJSON

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

func (*NullableOAuth2ConsentRequest) Unset

func (v *NullableOAuth2ConsentRequest) Unset()

type NullableOAuth2ConsentRequestOpenIDConnectContext

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

func (NullableOAuth2ConsentRequestOpenIDConnectContext) Get

func (NullableOAuth2ConsentRequestOpenIDConnectContext) IsSet

func (NullableOAuth2ConsentRequestOpenIDConnectContext) MarshalJSON

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Set

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON

func (*NullableOAuth2ConsentRequestOpenIDConnectContext) Unset

type NullableOAuth2ConsentSession

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

func NewNullableOAuth2ConsentSession

func NewNullableOAuth2ConsentSession(val *OAuth2ConsentSession) *NullableOAuth2ConsentSession

func (NullableOAuth2ConsentSession) Get

func (NullableOAuth2ConsentSession) IsSet

func (NullableOAuth2ConsentSession) MarshalJSON

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

func (*NullableOAuth2ConsentSession) Set

func (*NullableOAuth2ConsentSession) UnmarshalJSON

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

func (*NullableOAuth2ConsentSession) Unset

func (v *NullableOAuth2ConsentSession) Unset()

type NullableOAuth2ConsentSessionExpiresAt

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

func (NullableOAuth2ConsentSessionExpiresAt) Get

func (NullableOAuth2ConsentSessionExpiresAt) IsSet

func (NullableOAuth2ConsentSessionExpiresAt) MarshalJSON

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

func (*NullableOAuth2ConsentSessionExpiresAt) Set

func (*NullableOAuth2ConsentSessionExpiresAt) UnmarshalJSON

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

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

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

func NewNullableOAuth2LogoutRequest

func NewNullableOAuth2LogoutRequest(val *OAuth2LogoutRequest) *NullableOAuth2LogoutRequest

func (NullableOAuth2LogoutRequest) Get

func (NullableOAuth2LogoutRequest) IsSet

func (NullableOAuth2LogoutRequest) MarshalJSON

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

func (*NullableOAuth2LogoutRequest) Set

func (*NullableOAuth2LogoutRequest) UnmarshalJSON

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

func (*NullableOAuth2LogoutRequest) Unset

func (v *NullableOAuth2LogoutRequest) Unset()

type NullableOAuth2RedirectTo

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

func NewNullableOAuth2RedirectTo

func NewNullableOAuth2RedirectTo(val *OAuth2RedirectTo) *NullableOAuth2RedirectTo

func (NullableOAuth2RedirectTo) Get

func (NullableOAuth2RedirectTo) IsSet

func (v NullableOAuth2RedirectTo) IsSet() bool

func (NullableOAuth2RedirectTo) MarshalJSON

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

func (*NullableOAuth2RedirectTo) Set

func (*NullableOAuth2RedirectTo) UnmarshalJSON

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

func (*NullableOAuth2RedirectTo) Unset

func (v *NullableOAuth2RedirectTo) Unset()

type NullableOAuth2TokenExchange

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

func NewNullableOAuth2TokenExchange

func NewNullableOAuth2TokenExchange(val *OAuth2TokenExchange) *NullableOAuth2TokenExchange

func (NullableOAuth2TokenExchange) Get

func (NullableOAuth2TokenExchange) IsSet

func (NullableOAuth2TokenExchange) MarshalJSON

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

func (*NullableOAuth2TokenExchange) Set

func (*NullableOAuth2TokenExchange) UnmarshalJSON

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

func (*NullableOAuth2TokenExchange) Unset

func (v *NullableOAuth2TokenExchange) Unset()

type NullableOidcConfiguration

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

func NewNullableOidcConfiguration

func NewNullableOidcConfiguration(val *OidcConfiguration) *NullableOidcConfiguration

func (NullableOidcConfiguration) Get

func (NullableOidcConfiguration) IsSet

func (v NullableOidcConfiguration) IsSet() bool

func (NullableOidcConfiguration) MarshalJSON

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

func (*NullableOidcConfiguration) Set

func (*NullableOidcConfiguration) UnmarshalJSON

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

func (*NullableOidcConfiguration) Unset

func (v *NullableOidcConfiguration) Unset()

type NullableOidcUserInfo

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

func NewNullableOidcUserInfo

func NewNullableOidcUserInfo(val *OidcUserInfo) *NullableOidcUserInfo

func (NullableOidcUserInfo) Get

func (NullableOidcUserInfo) IsSet

func (v NullableOidcUserInfo) IsSet() bool

func (NullableOidcUserInfo) MarshalJSON

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

func (*NullableOidcUserInfo) Set

func (v *NullableOidcUserInfo) Set(val *OidcUserInfo)

func (*NullableOidcUserInfo) UnmarshalJSON

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

func (*NullableOidcUserInfo) Unset

func (v *NullableOidcUserInfo) Unset()

type NullablePagination

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

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

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

func (*NullablePagination) Set

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON

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

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullablePaginationHeaders

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

func NewNullablePaginationHeaders

func NewNullablePaginationHeaders(val *PaginationHeaders) *NullablePaginationHeaders

func (NullablePaginationHeaders) Get

func (NullablePaginationHeaders) IsSet

func (v NullablePaginationHeaders) IsSet() bool

func (NullablePaginationHeaders) MarshalJSON

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

func (*NullablePaginationHeaders) Set

func (*NullablePaginationHeaders) UnmarshalJSON

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

func (*NullablePaginationHeaders) Unset

func (v *NullablePaginationHeaders) Unset()

type NullableRFC6749ErrorJson added in v2.2.0

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

func NewNullableRFC6749ErrorJson added in v2.2.0

func NewNullableRFC6749ErrorJson(val *RFC6749ErrorJson) *NullableRFC6749ErrorJson

func (NullableRFC6749ErrorJson) Get added in v2.2.0

func (NullableRFC6749ErrorJson) IsSet added in v2.2.0

func (v NullableRFC6749ErrorJson) IsSet() bool

func (NullableRFC6749ErrorJson) MarshalJSON added in v2.2.0

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

func (*NullableRFC6749ErrorJson) Set added in v2.2.0

func (*NullableRFC6749ErrorJson) UnmarshalJSON added in v2.2.0

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

func (*NullableRFC6749ErrorJson) Unset added in v2.2.0

func (v *NullableRFC6749ErrorJson) Unset()

type NullableRejectOAuth2Request

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

func NewNullableRejectOAuth2Request

func NewNullableRejectOAuth2Request(val *RejectOAuth2Request) *NullableRejectOAuth2Request

func (NullableRejectOAuth2Request) Get

func (NullableRejectOAuth2Request) IsSet

func (NullableRejectOAuth2Request) MarshalJSON

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

func (*NullableRejectOAuth2Request) Set

func (*NullableRejectOAuth2Request) UnmarshalJSON

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

func (*NullableRejectOAuth2Request) Unset

func (v *NullableRejectOAuth2Request) 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 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 NullableTokenPaginationRequestParameters

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

func (NullableTokenPaginationRequestParameters) Get

func (NullableTokenPaginationRequestParameters) IsSet

func (NullableTokenPaginationRequestParameters) MarshalJSON

func (*NullableTokenPaginationRequestParameters) Set

func (*NullableTokenPaginationRequestParameters) UnmarshalJSON

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

func (*NullableTokenPaginationRequestParameters) Unset

type NullableTokenPaginationResponseHeaders

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

func (NullableTokenPaginationResponseHeaders) Get

func (NullableTokenPaginationResponseHeaders) IsSet

func (NullableTokenPaginationResponseHeaders) MarshalJSON

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

func (*NullableTokenPaginationResponseHeaders) Set

func (*NullableTokenPaginationResponseHeaders) UnmarshalJSON

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

func (*NullableTokenPaginationResponseHeaders) Unset

type NullableTrustOAuth2JwtGrantIssuer

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

func (NullableTrustOAuth2JwtGrantIssuer) Get

func (NullableTrustOAuth2JwtGrantIssuer) IsSet

func (NullableTrustOAuth2JwtGrantIssuer) MarshalJSON

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

func (*NullableTrustOAuth2JwtGrantIssuer) Set

func (*NullableTrustOAuth2JwtGrantIssuer) UnmarshalJSON

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

func (*NullableTrustOAuth2JwtGrantIssuer) Unset

type NullableTrustedOAuth2JwtGrantIssuer

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

func (NullableTrustedOAuth2JwtGrantIssuer) Get

func (NullableTrustedOAuth2JwtGrantIssuer) IsSet

func (NullableTrustedOAuth2JwtGrantIssuer) MarshalJSON

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

func (*NullableTrustedOAuth2JwtGrantIssuer) Set

func (*NullableTrustedOAuth2JwtGrantIssuer) UnmarshalJSON

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

func (*NullableTrustedOAuth2JwtGrantIssuer) Unset

type NullableTrustedOAuth2JwtGrantJsonWebKey

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

func (NullableTrustedOAuth2JwtGrantJsonWebKey) Get

func (NullableTrustedOAuth2JwtGrantJsonWebKey) IsSet

func (NullableTrustedOAuth2JwtGrantJsonWebKey) MarshalJSON

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

func (*NullableTrustedOAuth2JwtGrantJsonWebKey) Set

func (*NullableTrustedOAuth2JwtGrantJsonWebKey) UnmarshalJSON

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

func (*NullableTrustedOAuth2JwtGrantJsonWebKey) Unset

type NullableVerifiableCredentialPrimingResponse added in v2.2.0

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

func NewNullableVerifiableCredentialPrimingResponse added in v2.2.0

func NewNullableVerifiableCredentialPrimingResponse(val *VerifiableCredentialPrimingResponse) *NullableVerifiableCredentialPrimingResponse

func (NullableVerifiableCredentialPrimingResponse) Get added in v2.2.0

func (NullableVerifiableCredentialPrimingResponse) IsSet added in v2.2.0

func (NullableVerifiableCredentialPrimingResponse) MarshalJSON added in v2.2.0

func (*NullableVerifiableCredentialPrimingResponse) Set added in v2.2.0

func (*NullableVerifiableCredentialPrimingResponse) UnmarshalJSON added in v2.2.0

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

func (*NullableVerifiableCredentialPrimingResponse) Unset added in v2.2.0

type NullableVerifiableCredentialProof added in v2.2.0

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

func NewNullableVerifiableCredentialProof added in v2.2.0

func NewNullableVerifiableCredentialProof(val *VerifiableCredentialProof) *NullableVerifiableCredentialProof

func (NullableVerifiableCredentialProof) Get added in v2.2.0

func (NullableVerifiableCredentialProof) IsSet added in v2.2.0

func (NullableVerifiableCredentialProof) MarshalJSON added in v2.2.0

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

func (*NullableVerifiableCredentialProof) Set added in v2.2.0

func (*NullableVerifiableCredentialProof) UnmarshalJSON added in v2.2.0

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

func (*NullableVerifiableCredentialProof) Unset added in v2.2.0

type NullableVerifiableCredentialResponse added in v2.2.0

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

func NewNullableVerifiableCredentialResponse added in v2.2.0

func NewNullableVerifiableCredentialResponse(val *VerifiableCredentialResponse) *NullableVerifiableCredentialResponse

func (NullableVerifiableCredentialResponse) Get added in v2.2.0

func (NullableVerifiableCredentialResponse) IsSet added in v2.2.0

func (NullableVerifiableCredentialResponse) MarshalJSON added in v2.2.0

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

func (*NullableVerifiableCredentialResponse) Set added in v2.2.0

func (*NullableVerifiableCredentialResponse) UnmarshalJSON added in v2.2.0

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

func (*NullableVerifiableCredentialResponse) Unset added in v2.2.0

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 OAuth2API added in v2.2.0

type OAuth2API interface {

	/*
		AcceptOAuth2ConsentRequest Accept OAuth 2.0 Consent Request

		When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
	to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if
	the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.

	The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent
	provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted
	or rejected the request.

	This endpoint tells Ory that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf.
	The consent provider includes additional information, such as session data for access and ID tokens, and if the
	consent request should be used as basis for future requests.

	The response contains a redirect URL which the consent provider should redirect the user-agent to.

	The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please
	head over to the OAuth 2.0 documentation.

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

	// AcceptOAuth2ConsentRequestExecute executes the request
	//  @return OAuth2RedirectTo
	AcceptOAuth2ConsentRequestExecute(r OAuth2APIAcceptOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error)

	/*
		AcceptOAuth2LoginRequest Accept OAuth 2.0 Login Request

		When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
	to authenticate the subject and then tell the Ory OAuth2 Service about it.

	The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login
	provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.

	This endpoint tells Ory that the subject has successfully authenticated and includes additional information such as
	the subject's ID and if Ory should remember the subject's subject agent for future authentication attempts by setting
	a cookie.

	The response contains a redirect URL which the login provider should redirect the user-agent to.

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

	// AcceptOAuth2LoginRequestExecute executes the request
	//  @return OAuth2RedirectTo
	AcceptOAuth2LoginRequestExecute(r OAuth2APIAcceptOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error)

	/*
		AcceptOAuth2LogoutRequest Accept OAuth 2.0 Session Logout Request

		When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request.

	The response contains a redirect URL which the consent provider should redirect the user-agent to.

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

	// AcceptOAuth2LogoutRequestExecute executes the request
	//  @return OAuth2RedirectTo
	AcceptOAuth2LogoutRequestExecute(r OAuth2APIAcceptOAuth2LogoutRequestRequest) (*OAuth2RedirectTo, *http.Response, error)

	/*
		CreateOAuth2Client Create OAuth 2.0 Client

		Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret
	is generated. The secret is echoed in the response. It is not possible to retrieve it later on.

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

	// CreateOAuth2ClientExecute executes the request
	//  @return OAuth2Client
	CreateOAuth2ClientExecute(r OAuth2APICreateOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)

	/*
		DeleteOAuth2Client Delete OAuth 2.0 Client

		Delete an existing OAuth 2.0 Client by its ID.

	OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
	generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

	Make sure that this endpoint is well protected and only callable by first-party components.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the OAuth 2.0 Client.
		@return OAuth2APIDeleteOAuth2ClientRequest
	*/
	DeleteOAuth2Client(ctx context.Context, id string) OAuth2APIDeleteOAuth2ClientRequest

	// DeleteOAuth2ClientExecute executes the request
	DeleteOAuth2ClientExecute(r OAuth2APIDeleteOAuth2ClientRequest) (*http.Response, error)

	/*
		DeleteOAuth2Token Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client

		This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.

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

	// DeleteOAuth2TokenExecute executes the request
	DeleteOAuth2TokenExecute(r OAuth2APIDeleteOAuth2TokenRequest) (*http.Response, error)

	/*
		DeleteTrustedOAuth2JwtGrantIssuer Delete Trusted OAuth2 JWT Bearer Grant Type Issuer

		Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you
	created the trust relationship.

	Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile
	for OAuth 2.0 Client Authentication and Authorization Grant.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the desired grant
		@return OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest
	*/
	DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest

	// DeleteTrustedOAuth2JwtGrantIssuerExecute executes the request
	DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest) (*http.Response, error)

	/*
		GetOAuth2Client Get an OAuth 2.0 Client

		Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret.

	OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
	generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the OAuth 2.0 Client.
		@return OAuth2APIGetOAuth2ClientRequest
	*/
	GetOAuth2Client(ctx context.Context, id string) OAuth2APIGetOAuth2ClientRequest

	// GetOAuth2ClientExecute executes the request
	//  @return OAuth2Client
	GetOAuth2ClientExecute(r OAuth2APIGetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)

	/*
		GetOAuth2ConsentRequest Get OAuth 2.0 Consent Request

		When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
	to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if
	the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.

	The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent
	provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted
	or rejected the request.

	The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please
	head over to the OAuth 2.0 documentation.

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

	// GetOAuth2ConsentRequestExecute executes the request
	//  @return OAuth2ConsentRequest
	GetOAuth2ConsentRequestExecute(r OAuth2APIGetOAuth2ConsentRequestRequest) (*OAuth2ConsentRequest, *http.Response, error)

	/*
		GetOAuth2LoginRequest Get OAuth 2.0 Login Request

		When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
	to authenticate the subject and then tell the Ory OAuth2 Service about it.

	Per default, the login provider is Ory itself. You may use a different login provider which needs to be a web-app
	you write and host, and it must be able to authenticate ("show the subject a login screen")
	a subject (in OAuth2 the proper name for subject is "resource owner").

	The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login
	provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.

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

	// GetOAuth2LoginRequestExecute executes the request
	//  @return OAuth2LoginRequest
	GetOAuth2LoginRequestExecute(r OAuth2APIGetOAuth2LoginRequestRequest) (*OAuth2LoginRequest, *http.Response, error)

	/*
		GetOAuth2LogoutRequest Get OAuth 2.0 Session Logout Request

		Use this endpoint to fetch an Ory OAuth 2.0 logout request.

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

	// GetOAuth2LogoutRequestExecute executes the request
	//  @return OAuth2LogoutRequest
	GetOAuth2LogoutRequestExecute(r OAuth2APIGetOAuth2LogoutRequestRequest) (*OAuth2LogoutRequest, *http.Response, error)

	/*
		GetTrustedOAuth2JwtGrantIssuer Get Trusted OAuth2 JWT Bearer Grant Type Issuer

		Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you
	created the trust relationship.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the desired grant
		@return OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest
	*/
	GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest

	// GetTrustedOAuth2JwtGrantIssuerExecute executes the request
	//  @return TrustedOAuth2JwtGrantIssuer
	GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error)

	/*
		IntrospectOAuth2Token Introspect OAuth2 Access and Refresh Tokens

		The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token
	is neither expired nor revoked. If a token is active, additional information on the token will be included. You can
	set additional data for a token by setting `session.access_token` during the consent flow.

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

	// IntrospectOAuth2TokenExecute executes the request
	//  @return IntrospectedOAuth2Token
	IntrospectOAuth2TokenExecute(r OAuth2APIIntrospectOAuth2TokenRequest) (*IntrospectedOAuth2Token, *http.Response, error)

	/*
		ListOAuth2Clients List OAuth 2.0 Clients

		This endpoint lists all clients in the database, and never returns client secrets.
	As a default it lists the first 100 clients.

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

	// ListOAuth2ClientsExecute executes the request
	//  @return []OAuth2Client
	ListOAuth2ClientsExecute(r OAuth2APIListOAuth2ClientsRequest) ([]OAuth2Client, *http.Response, error)

	/*
		ListOAuth2ConsentSessions List OAuth 2.0 Consent Sessions of a Subject

		This endpoint lists all subject's granted consent sessions, including client and granted scope.
	If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an
	empty JSON array with status code 200 OK.

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

	// ListOAuth2ConsentSessionsExecute executes the request
	//  @return []OAuth2ConsentSession
	ListOAuth2ConsentSessionsExecute(r OAuth2APIListOAuth2ConsentSessionsRequest) ([]OAuth2ConsentSession, *http.Response, error)

	/*
		ListTrustedOAuth2JwtGrantIssuers List Trusted OAuth2 JWT Bearer Grant Type Issuers

		Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.

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

	// ListTrustedOAuth2JwtGrantIssuersExecute executes the request
	//  @return []TrustedOAuth2JwtGrantIssuer
	ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error)

	/*
		OAuth2Authorize OAuth 2.0 Authorize Endpoint

		Use open source libraries to perform OAuth 2.0 and OpenID Connect
	available for any programming language. You can find a list of libraries at https://oauth.net/code/

	The Ory SDK is not yet able to this endpoint properly.

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

	// OAuth2AuthorizeExecute executes the request
	//  @return ErrorOAuth2
	OAuth2AuthorizeExecute(r OAuth2APIOAuth2AuthorizeRequest) (*ErrorOAuth2, *http.Response, error)

	/*
		Oauth2TokenExchange The OAuth 2.0 Token Endpoint

		Use open source libraries to perform OAuth 2.0 and OpenID Connect
	available for any programming language. You can find a list of libraries here https://oauth.net/code/

	The Ory SDK is not yet able to this endpoint properly.

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

	// Oauth2TokenExchangeExecute executes the request
	//  @return OAuth2TokenExchange
	Oauth2TokenExchangeExecute(r OAuth2APIOauth2TokenExchangeRequest) (*OAuth2TokenExchange, *http.Response, error)

	/*
		PatchOAuth2Client Patch OAuth 2.0 Client

		Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret`
	the secret will be updated and returned via the API. This is the
	only time you will be able to retrieve the client secret, so write it down and keep it safe.

	OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
	generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the OAuth 2.0 Client.
		@return OAuth2APIPatchOAuth2ClientRequest
	*/
	PatchOAuth2Client(ctx context.Context, id string) OAuth2APIPatchOAuth2ClientRequest

	// PatchOAuth2ClientExecute executes the request
	//  @return OAuth2Client
	PatchOAuth2ClientExecute(r OAuth2APIPatchOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)

	/*
		RejectOAuth2ConsentRequest Reject OAuth 2.0 Consent Request

		When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
	to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if
	the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.

	The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent
	provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted
	or rejected the request.

	This endpoint tells Ory that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf.
	The consent provider must include a reason why the consent was not granted.

	The response contains a redirect URL which the consent provider should redirect the user-agent to.

	The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please
	head over to the OAuth 2.0 documentation.

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

	// RejectOAuth2ConsentRequestExecute executes the request
	//  @return OAuth2RedirectTo
	RejectOAuth2ConsentRequestExecute(r OAuth2APIRejectOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error)

	/*
		RejectOAuth2LoginRequest Reject OAuth 2.0 Login Request

		When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
	to authenticate the subject and then tell the Ory OAuth2 Service about it.

	The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login
	provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.

	This endpoint tells Ory that the subject has not authenticated and includes a reason why the authentication
	was denied.

	The response contains a redirect URL which the login provider should redirect the user-agent to.

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

	// RejectOAuth2LoginRequestExecute executes the request
	//  @return OAuth2RedirectTo
	RejectOAuth2LoginRequestExecute(r OAuth2APIRejectOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error)

	/*
		RejectOAuth2LogoutRequest Reject OAuth 2.0 Session Logout Request

		When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request.
	No HTTP request body is required.

	The response is empty as the logout provider has to chose what action to perform next.

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

	// RejectOAuth2LogoutRequestExecute executes the request
	RejectOAuth2LogoutRequestExecute(r OAuth2APIRejectOAuth2LogoutRequestRequest) (*http.Response, error)

	/*
		RevokeOAuth2ConsentSessions Revoke OAuth 2.0 Consent Sessions of a Subject

		This endpoint revokes a subject's granted consent sessions and invalidates all
	associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.

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

	// RevokeOAuth2ConsentSessionsExecute executes the request
	RevokeOAuth2ConsentSessionsExecute(r OAuth2APIRevokeOAuth2ConsentSessionsRequest) (*http.Response, error)

	/*
		RevokeOAuth2LoginSessions Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID

		This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject
	has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens.

	If you send the subject in a query param, all authentication sessions that belong to that subject are revoked.
	No OpenID Connect Front- or Back-channel logout is performed in this case.

	Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected
	to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.

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

	// RevokeOAuth2LoginSessionsExecute executes the request
	RevokeOAuth2LoginSessionsExecute(r OAuth2APIRevokeOAuth2LoginSessionsRequest) (*http.Response, error)

	/*
		RevokeOAuth2Token Revoke OAuth 2.0 Access or Refresh Token

		Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no
	longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token.
	Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by
	the client the token was generated for.

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

	// RevokeOAuth2TokenExecute executes the request
	RevokeOAuth2TokenExecute(r OAuth2APIRevokeOAuth2TokenRequest) (*http.Response, error)

	/*
		SetOAuth2Client Set OAuth 2.0 Client

		Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used,
	otherwise the existing secret is used.

	If set, the secret is echoed in the response. It is not possible to retrieve it later on.

	OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
	generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id OAuth 2.0 Client ID
		@return OAuth2APISetOAuth2ClientRequest
	*/
	SetOAuth2Client(ctx context.Context, id string) OAuth2APISetOAuth2ClientRequest

	// SetOAuth2ClientExecute executes the request
	//  @return OAuth2Client
	SetOAuth2ClientExecute(r OAuth2APISetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)

	/*
		SetOAuth2ClientLifespans Set OAuth2 Client Token Lifespans

		Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id OAuth 2.0 Client ID
		@return OAuth2APISetOAuth2ClientLifespansRequest
	*/
	SetOAuth2ClientLifespans(ctx context.Context, id string) OAuth2APISetOAuth2ClientLifespansRequest

	// SetOAuth2ClientLifespansExecute executes the request
	//  @return OAuth2Client
	SetOAuth2ClientLifespansExecute(r OAuth2APISetOAuth2ClientLifespansRequest) (*OAuth2Client, *http.Response, error)

	/*
		TrustOAuth2JwtGrantIssuer Trust OAuth2 JWT Bearer Grant Type Issuer

		Use this endpoint to establish a trust relationship for a JWT issuer
	to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication
	and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).

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

	// TrustOAuth2JwtGrantIssuerExecute executes the request
	//  @return TrustedOAuth2JwtGrantIssuer
	TrustOAuth2JwtGrantIssuerExecute(r OAuth2APITrustOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error)
}

type OAuth2APIAcceptOAuth2ConsentRequestRequest added in v2.2.0

type OAuth2APIAcceptOAuth2ConsentRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIAcceptOAuth2ConsentRequestRequest) AcceptOAuth2ConsentRequest added in v2.2.0

func (OAuth2APIAcceptOAuth2ConsentRequestRequest) ConsentChallenge added in v2.2.0

OAuth 2.0 Consent Request Challenge

func (OAuth2APIAcceptOAuth2ConsentRequestRequest) Execute added in v2.2.0

type OAuth2APIAcceptOAuth2LoginRequestRequest added in v2.2.0

type OAuth2APIAcceptOAuth2LoginRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIAcceptOAuth2LoginRequestRequest) AcceptOAuth2LoginRequest added in v2.2.0

func (OAuth2APIAcceptOAuth2LoginRequestRequest) Execute added in v2.2.0

func (OAuth2APIAcceptOAuth2LoginRequestRequest) LoginChallenge added in v2.2.0

OAuth 2.0 Login Request Challenge

type OAuth2APIAcceptOAuth2LogoutRequestRequest added in v2.2.0

type OAuth2APIAcceptOAuth2LogoutRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIAcceptOAuth2LogoutRequestRequest) Execute added in v2.2.0

func (OAuth2APIAcceptOAuth2LogoutRequestRequest) LogoutChallenge added in v2.2.0

OAuth 2.0 Logout Request Challenge

type OAuth2APICreateOAuth2ClientRequest added in v2.2.0

type OAuth2APICreateOAuth2ClientRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APICreateOAuth2ClientRequest) Execute added in v2.2.0

func (OAuth2APICreateOAuth2ClientRequest) OAuth2Client added in v2.2.0

OAuth 2.0 Client Request Body

type OAuth2APIDeleteOAuth2ClientRequest added in v2.2.0

type OAuth2APIDeleteOAuth2ClientRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIDeleteOAuth2ClientRequest) Execute added in v2.2.0

type OAuth2APIDeleteOAuth2TokenRequest added in v2.2.0

type OAuth2APIDeleteOAuth2TokenRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIDeleteOAuth2TokenRequest) ClientId added in v2.2.0

OAuth 2.0 Client ID

func (OAuth2APIDeleteOAuth2TokenRequest) Execute added in v2.2.0

type OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest added in v2.2.0

type OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest) Execute added in v2.2.0

type OAuth2APIGetOAuth2ClientRequest added in v2.2.0

type OAuth2APIGetOAuth2ClientRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIGetOAuth2ClientRequest) Execute added in v2.2.0

type OAuth2APIGetOAuth2ConsentRequestRequest added in v2.2.0

type OAuth2APIGetOAuth2ConsentRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIGetOAuth2ConsentRequestRequest) ConsentChallenge added in v2.2.0

OAuth 2.0 Consent Request Challenge

func (OAuth2APIGetOAuth2ConsentRequestRequest) Execute added in v2.2.0

type OAuth2APIGetOAuth2LoginRequestRequest added in v2.2.0

type OAuth2APIGetOAuth2LoginRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIGetOAuth2LoginRequestRequest) Execute added in v2.2.0

func (OAuth2APIGetOAuth2LoginRequestRequest) LoginChallenge added in v2.2.0

OAuth 2.0 Login Request Challenge

type OAuth2APIGetOAuth2LogoutRequestRequest added in v2.2.0

type OAuth2APIGetOAuth2LogoutRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIGetOAuth2LogoutRequestRequest) Execute added in v2.2.0

func (OAuth2APIGetOAuth2LogoutRequestRequest) LogoutChallenge added in v2.2.0

type OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest added in v2.2.0

type OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest) Execute added in v2.2.0

type OAuth2APIIntrospectOAuth2TokenRequest added in v2.2.0

type OAuth2APIIntrospectOAuth2TokenRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIIntrospectOAuth2TokenRequest) Execute added in v2.2.0

func (OAuth2APIIntrospectOAuth2TokenRequest) Scope added in v2.2.0

An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false.

func (OAuth2APIIntrospectOAuth2TokenRequest) Token added in v2.2.0

The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned.

type OAuth2APIListOAuth2ClientsRequest added in v2.2.0

type OAuth2APIListOAuth2ClientsRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIListOAuth2ClientsRequest) ClientName added in v2.2.0

The name of the clients to filter by.

func (OAuth2APIListOAuth2ClientsRequest) Execute added in v2.2.0

func (OAuth2APIListOAuth2ClientsRequest) Owner added in v2.2.0

The owner of the clients to filter by.

func (OAuth2APIListOAuth2ClientsRequest) PageSize added in v2.2.0

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

func (OAuth2APIListOAuth2ClientsRequest) PageToken added in v2.2.0

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

type OAuth2APIListOAuth2ConsentSessionsRequest added in v2.2.0

type OAuth2APIListOAuth2ConsentSessionsRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIListOAuth2ConsentSessionsRequest) Execute added in v2.2.0

func (OAuth2APIListOAuth2ConsentSessionsRequest) LoginSessionId added in v2.2.0

The login session id to list the consent sessions for.

func (OAuth2APIListOAuth2ConsentSessionsRequest) PageSize added in v2.2.0

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

func (OAuth2APIListOAuth2ConsentSessionsRequest) PageToken added in v2.2.0

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

func (OAuth2APIListOAuth2ConsentSessionsRequest) Subject added in v2.2.0

The subject to list the consent sessions for.

type OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest added in v2.2.0

type OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) DefaultItems added in v2.2.0

func (OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) Execute added in v2.2.0

func (OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) Issuer added in v2.2.0

If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.

func (OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) MaxItems added in v2.2.0

type OAuth2APIOAuth2AuthorizeRequest added in v2.2.0

type OAuth2APIOAuth2AuthorizeRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIOAuth2AuthorizeRequest) Execute added in v2.2.0

type OAuth2APIOauth2TokenExchangeRequest added in v2.2.0

type OAuth2APIOauth2TokenExchangeRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIOauth2TokenExchangeRequest) ClientId added in v2.2.0

func (OAuth2APIOauth2TokenExchangeRequest) Code added in v2.2.0

func (OAuth2APIOauth2TokenExchangeRequest) Execute added in v2.2.0

func (OAuth2APIOauth2TokenExchangeRequest) GrantType added in v2.2.0

func (OAuth2APIOauth2TokenExchangeRequest) RedirectUri added in v2.2.0

func (OAuth2APIOauth2TokenExchangeRequest) RefreshToken added in v2.2.0

type OAuth2APIPatchOAuth2ClientRequest added in v2.2.0

type OAuth2APIPatchOAuth2ClientRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIPatchOAuth2ClientRequest) Execute added in v2.2.0

func (OAuth2APIPatchOAuth2ClientRequest) JsonPatch added in v2.2.0

OAuth 2.0 Client JSON Patch Body

type OAuth2APIRejectOAuth2ConsentRequestRequest added in v2.2.0

type OAuth2APIRejectOAuth2ConsentRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIRejectOAuth2ConsentRequestRequest) ConsentChallenge added in v2.2.0

OAuth 2.0 Consent Request Challenge

func (OAuth2APIRejectOAuth2ConsentRequestRequest) Execute added in v2.2.0

func (OAuth2APIRejectOAuth2ConsentRequestRequest) RejectOAuth2Request added in v2.2.0

type OAuth2APIRejectOAuth2LoginRequestRequest added in v2.2.0

type OAuth2APIRejectOAuth2LoginRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIRejectOAuth2LoginRequestRequest) Execute added in v2.2.0

func (OAuth2APIRejectOAuth2LoginRequestRequest) LoginChallenge added in v2.2.0

OAuth 2.0 Login Request Challenge

func (OAuth2APIRejectOAuth2LoginRequestRequest) RejectOAuth2Request added in v2.2.0

type OAuth2APIRejectOAuth2LogoutRequestRequest added in v2.2.0

type OAuth2APIRejectOAuth2LogoutRequestRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIRejectOAuth2LogoutRequestRequest) Execute added in v2.2.0

func (OAuth2APIRejectOAuth2LogoutRequestRequest) LogoutChallenge added in v2.2.0

type OAuth2APIRevokeOAuth2ConsentSessionsRequest added in v2.2.0

type OAuth2APIRevokeOAuth2ConsentSessionsRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIRevokeOAuth2ConsentSessionsRequest) All added in v2.2.0

Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.

func (OAuth2APIRevokeOAuth2ConsentSessionsRequest) Client added in v2.2.0

OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.

func (OAuth2APIRevokeOAuth2ConsentSessionsRequest) Execute added in v2.2.0

func (OAuth2APIRevokeOAuth2ConsentSessionsRequest) Subject added in v2.2.0

OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.

type OAuth2APIRevokeOAuth2LoginSessionsRequest added in v2.2.0

type OAuth2APIRevokeOAuth2LoginSessionsRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIRevokeOAuth2LoginSessionsRequest) Execute added in v2.2.0

func (OAuth2APIRevokeOAuth2LoginSessionsRequest) Sid added in v2.2.0

OAuth 2.0 Subject The subject to revoke authentication sessions for.

func (OAuth2APIRevokeOAuth2LoginSessionsRequest) Subject added in v2.2.0

OAuth 2.0 Subject The subject to revoke authentication sessions for.

type OAuth2APIRevokeOAuth2TokenRequest added in v2.2.0

type OAuth2APIRevokeOAuth2TokenRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APIRevokeOAuth2TokenRequest) ClientId added in v2.2.0

func (OAuth2APIRevokeOAuth2TokenRequest) ClientSecret added in v2.2.0

func (OAuth2APIRevokeOAuth2TokenRequest) Execute added in v2.2.0

func (OAuth2APIRevokeOAuth2TokenRequest) Token added in v2.2.0

type OAuth2APIService added in v2.2.0

type OAuth2APIService service

OAuth2APIService OAuth2API service

func (*OAuth2APIService) AcceptOAuth2ConsentRequest added in v2.2.0

AcceptOAuth2ConsentRequest Accept OAuth 2.0 Consent Request

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.

The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request.

This endpoint tells Ory that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests.

The response contains a redirect URL which the consent provider should redirect the user-agent to.

The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.

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

func (*OAuth2APIService) AcceptOAuth2ConsentRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2RedirectTo

func (*OAuth2APIService) AcceptOAuth2LoginRequest added in v2.2.0

AcceptOAuth2LoginRequest Accept OAuth 2.0 Login Request

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it.

The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.

This endpoint tells Ory that the subject has successfully authenticated and includes additional information such as the subject's ID and if Ory should remember the subject's subject agent for future authentication attempts by setting a cookie.

The response contains a redirect URL which the login provider should redirect the user-agent to.

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

func (*OAuth2APIService) AcceptOAuth2LoginRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2RedirectTo

func (*OAuth2APIService) AcceptOAuth2LogoutRequest added in v2.2.0

AcceptOAuth2LogoutRequest Accept OAuth 2.0 Session Logout Request

When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request.

The response contains a redirect URL which the consent provider should redirect the user-agent to.

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

func (*OAuth2APIService) AcceptOAuth2LogoutRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2RedirectTo

func (*OAuth2APIService) CreateOAuth2Client added in v2.2.0

CreateOAuth2Client Create OAuth 2.0 Client

Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on.

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

func (*OAuth2APIService) CreateOAuth2ClientExecute added in v2.2.0

Execute executes the request

@return OAuth2Client

func (*OAuth2APIService) DeleteOAuth2Client added in v2.2.0

DeleteOAuth2Client Delete OAuth 2.0 Client

Delete an existing OAuth 2.0 Client by its ID.

OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

Make sure that this endpoint is well protected and only callable by first-party components.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
@return OAuth2APIDeleteOAuth2ClientRequest

func (*OAuth2APIService) DeleteOAuth2ClientExecute added in v2.2.0

func (a *OAuth2APIService) DeleteOAuth2ClientExecute(r OAuth2APIDeleteOAuth2ClientRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) DeleteOAuth2Token added in v2.2.0

DeleteOAuth2Token Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client

This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.

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

func (*OAuth2APIService) DeleteOAuth2TokenExecute added in v2.2.0

func (a *OAuth2APIService) DeleteOAuth2TokenExecute(r OAuth2APIDeleteOAuth2TokenRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) DeleteTrustedOAuth2JwtGrantIssuer added in v2.2.0

func (a *OAuth2APIService) DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest

DeleteTrustedOAuth2JwtGrantIssuer Delete Trusted OAuth2 JWT Bearer Grant Type Issuer

Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.

Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grant.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the desired grant
@return OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest

func (*OAuth2APIService) DeleteTrustedOAuth2JwtGrantIssuerExecute added in v2.2.0

func (a *OAuth2APIService) DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) GetOAuth2Client added in v2.2.0

GetOAuth2Client Get an OAuth 2.0 Client

Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret.

OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
@return OAuth2APIGetOAuth2ClientRequest

func (*OAuth2APIService) GetOAuth2ClientExecute added in v2.2.0

Execute executes the request

@return OAuth2Client

func (*OAuth2APIService) GetOAuth2ConsentRequest added in v2.2.0

GetOAuth2ConsentRequest Get OAuth 2.0 Consent Request

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.

The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request.

The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.

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

func (*OAuth2APIService) GetOAuth2ConsentRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2ConsentRequest

func (*OAuth2APIService) GetOAuth2LoginRequest added in v2.2.0

GetOAuth2LoginRequest Get OAuth 2.0 Login Request

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it.

Per default, the login provider is Ory itself. You may use a different login provider which needs to be a web-app you write and host, and it must be able to authenticate ("show the subject a login screen") a subject (in OAuth2 the proper name for subject is "resource owner").

The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.

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

func (*OAuth2APIService) GetOAuth2LoginRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2LoginRequest

func (*OAuth2APIService) GetOAuth2LogoutRequest added in v2.2.0

GetOAuth2LogoutRequest Get OAuth 2.0 Session Logout Request

Use this endpoint to fetch an Ory OAuth 2.0 logout request.

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

func (*OAuth2APIService) GetOAuth2LogoutRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2LogoutRequest

func (*OAuth2APIService) GetTrustedOAuth2JwtGrantIssuer added in v2.2.0

func (a *OAuth2APIService) GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest

GetTrustedOAuth2JwtGrantIssuer Get Trusted OAuth2 JWT Bearer Grant Type Issuer

Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the desired grant
@return OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest

func (*OAuth2APIService) GetTrustedOAuth2JwtGrantIssuerExecute added in v2.2.0

Execute executes the request

@return TrustedOAuth2JwtGrantIssuer

func (*OAuth2APIService) IntrospectOAuth2Token added in v2.2.0

IntrospectOAuth2Token Introspect OAuth2 Access and Refresh Tokens

The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting `session.access_token` during the consent flow.

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

func (*OAuth2APIService) IntrospectOAuth2TokenExecute added in v2.2.0

Execute executes the request

@return IntrospectedOAuth2Token

func (*OAuth2APIService) ListOAuth2Clients added in v2.2.0

ListOAuth2Clients List OAuth 2.0 Clients

This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.

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

func (*OAuth2APIService) ListOAuth2ClientsExecute added in v2.2.0

func (a *OAuth2APIService) ListOAuth2ClientsExecute(r OAuth2APIListOAuth2ClientsRequest) ([]OAuth2Client, *http.Response, error)

Execute executes the request

@return []OAuth2Client

func (*OAuth2APIService) ListOAuth2ConsentSessions added in v2.2.0

ListOAuth2ConsentSessions List OAuth 2.0 Consent Sessions of a Subject

This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK.

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

func (*OAuth2APIService) ListOAuth2ConsentSessionsExecute added in v2.2.0

Execute executes the request

@return []OAuth2ConsentSession

func (*OAuth2APIService) ListTrustedOAuth2JwtGrantIssuers added in v2.2.0

func (a *OAuth2APIService) ListTrustedOAuth2JwtGrantIssuers(ctx context.Context) OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest

ListTrustedOAuth2JwtGrantIssuers List Trusted OAuth2 JWT Bearer Grant Type Issuers

Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.

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

func (*OAuth2APIService) ListTrustedOAuth2JwtGrantIssuersExecute added in v2.2.0

Execute executes the request

@return []TrustedOAuth2JwtGrantIssuer

func (*OAuth2APIService) OAuth2Authorize added in v2.2.0

OAuth2Authorize OAuth 2.0 Authorize Endpoint

Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/

The Ory SDK is not yet able to this endpoint properly.

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

func (*OAuth2APIService) OAuth2AuthorizeExecute added in v2.2.0

Execute executes the request

@return ErrorOAuth2

func (*OAuth2APIService) Oauth2TokenExchange added in v2.2.0

Oauth2TokenExchange The OAuth 2.0 Token Endpoint

Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/

The Ory SDK is not yet able to this endpoint properly.

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

func (*OAuth2APIService) Oauth2TokenExchangeExecute added in v2.2.0

Execute executes the request

@return OAuth2TokenExchange

func (*OAuth2APIService) PatchOAuth2Client added in v2.2.0

PatchOAuth2Client Patch OAuth 2.0 Client

Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret` the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe.

OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
@return OAuth2APIPatchOAuth2ClientRequest

func (*OAuth2APIService) PatchOAuth2ClientExecute added in v2.2.0

Execute executes the request

@return OAuth2Client

func (*OAuth2APIService) RejectOAuth2ConsentRequest added in v2.2.0

RejectOAuth2ConsentRequest Reject OAuth 2.0 Consent Request

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.

The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request.

This endpoint tells Ory that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider must include a reason why the consent was not granted.

The response contains a redirect URL which the consent provider should redirect the user-agent to.

The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.

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

func (*OAuth2APIService) RejectOAuth2ConsentRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2RedirectTo

func (*OAuth2APIService) RejectOAuth2LoginRequest added in v2.2.0

RejectOAuth2LoginRequest Reject OAuth 2.0 Login Request

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it.

The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.

This endpoint tells Ory that the subject has not authenticated and includes a reason why the authentication was denied.

The response contains a redirect URL which the login provider should redirect the user-agent to.

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

func (*OAuth2APIService) RejectOAuth2LoginRequestExecute added in v2.2.0

Execute executes the request

@return OAuth2RedirectTo

func (*OAuth2APIService) RejectOAuth2LogoutRequest added in v2.2.0

RejectOAuth2LogoutRequest Reject OAuth 2.0 Session Logout Request

When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request. No HTTP request body is required.

The response is empty as the logout provider has to chose what action to perform next.

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

func (*OAuth2APIService) RejectOAuth2LogoutRequestExecute added in v2.2.0

func (a *OAuth2APIService) RejectOAuth2LogoutRequestExecute(r OAuth2APIRejectOAuth2LogoutRequestRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) RevokeOAuth2ConsentSessions added in v2.2.0

RevokeOAuth2ConsentSessions Revoke OAuth 2.0 Consent Sessions of a Subject

This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.

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

func (*OAuth2APIService) RevokeOAuth2ConsentSessionsExecute added in v2.2.0

func (a *OAuth2APIService) RevokeOAuth2ConsentSessionsExecute(r OAuth2APIRevokeOAuth2ConsentSessionsRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) RevokeOAuth2LoginSessions added in v2.2.0

RevokeOAuth2LoginSessions Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID

This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens.

If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case.

Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.

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

func (*OAuth2APIService) RevokeOAuth2LoginSessionsExecute added in v2.2.0

func (a *OAuth2APIService) RevokeOAuth2LoginSessionsExecute(r OAuth2APIRevokeOAuth2LoginSessionsRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) RevokeOAuth2Token added in v2.2.0

RevokeOAuth2Token Revoke OAuth 2.0 Access or Refresh Token

Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for.

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

func (*OAuth2APIService) RevokeOAuth2TokenExecute added in v2.2.0

func (a *OAuth2APIService) RevokeOAuth2TokenExecute(r OAuth2APIRevokeOAuth2TokenRequest) (*http.Response, error)

Execute executes the request

func (*OAuth2APIService) SetOAuth2Client added in v2.2.0

SetOAuth2Client Set OAuth 2.0 Client

Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used, otherwise the existing secret is used.

If set, the secret is echoed in the response. It is not possible to retrieve it later on.

OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
@return OAuth2APISetOAuth2ClientRequest

func (*OAuth2APIService) SetOAuth2ClientExecute added in v2.2.0

Execute executes the request

@return OAuth2Client

func (*OAuth2APIService) SetOAuth2ClientLifespans added in v2.2.0

SetOAuth2ClientLifespans Set OAuth2 Client Token Lifespans

Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
@return OAuth2APISetOAuth2ClientLifespansRequest

func (*OAuth2APIService) SetOAuth2ClientLifespansExecute added in v2.2.0

func (a *OAuth2APIService) SetOAuth2ClientLifespansExecute(r OAuth2APISetOAuth2ClientLifespansRequest) (*OAuth2Client, *http.Response, error)

Execute executes the request

@return OAuth2Client

func (*OAuth2APIService) TrustOAuth2JwtGrantIssuer added in v2.2.0

TrustOAuth2JwtGrantIssuer Trust OAuth2 JWT Bearer Grant Type Issuer

Use this endpoint to establish a trust relationship for a JWT issuer to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).

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

func (*OAuth2APIService) TrustOAuth2JwtGrantIssuerExecute added in v2.2.0

Execute executes the request

@return TrustedOAuth2JwtGrantIssuer

type OAuth2APISetOAuth2ClientLifespansRequest added in v2.2.0

type OAuth2APISetOAuth2ClientLifespansRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APISetOAuth2ClientLifespansRequest) Execute added in v2.2.0

func (OAuth2APISetOAuth2ClientLifespansRequest) OAuth2ClientTokenLifespans added in v2.2.0

type OAuth2APISetOAuth2ClientRequest added in v2.2.0

type OAuth2APISetOAuth2ClientRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APISetOAuth2ClientRequest) Execute added in v2.2.0

func (OAuth2APISetOAuth2ClientRequest) OAuth2Client added in v2.2.0

OAuth 2.0 Client Request Body

type OAuth2APITrustOAuth2JwtGrantIssuerRequest added in v2.2.0

type OAuth2APITrustOAuth2JwtGrantIssuerRequest struct {
	ApiService OAuth2API
	// contains filtered or unexported fields
}

func (OAuth2APITrustOAuth2JwtGrantIssuerRequest) Execute added in v2.2.0

func (OAuth2APITrustOAuth2JwtGrantIssuerRequest) TrustOAuth2JwtGrantIssuer added in v2.2.0

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"`
	AdditionalProperties      map[string]interface{}
}

OAuth2Client OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

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 v2.1.0

func (o *OAuth2Client) GetAccessTokenStrategy() string

GetAccessTokenStrategy returns the AccessTokenStrategy field value if set, zero value otherwise.

func (*OAuth2Client) GetAccessTokenStrategyOk added in v2.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 v2.1.0

func (o *OAuth2Client) GetSkipConsent() bool

GetSkipConsent returns the SkipConsent field value if set, zero value otherwise.

func (*OAuth2Client) GetSkipConsentOk added in v2.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 v2.2.0

func (o *OAuth2Client) GetSkipLogoutConsent() bool

GetSkipLogoutConsent returns the SkipLogoutConsent field value if set, zero value otherwise.

func (*OAuth2Client) GetSkipLogoutConsentOk added in v2.2.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 v2.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 v2.1.0

func (o *OAuth2Client) HasSkipConsent() bool

HasSkipConsent returns a boolean if a field has been set.

func (*OAuth2Client) HasSkipLogoutConsent added in v2.2.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 v2.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 v2.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 v2.2.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.

func (OAuth2Client) ToMap added in v2.2.0

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

func (*OAuth2Client) UnmarshalJSON added in v2.2.0

func (o *OAuth2Client) UnmarshalJSON(data []byte) (err error)

type OAuth2ClientTokenLifespans

type OAuth2ClientTokenLifespans struct {
	// 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"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	ClientCredentialsGrantAccessTokenLifespan *string `json:"client_credentials_grant_access_token_lifespan,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"`
	// Specify a time duration in milliseconds, seconds, minutes, hours.
	JwtBearerGrantAccessTokenLifespan *string `json:"jwt_bearer_grant_access_token_lifespan,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"`
	AdditionalProperties                  map[string]interface{}
}

OAuth2ClientTokenLifespans Lifespans of different token types issued for this OAuth 2.0 Client.

func NewOAuth2ClientTokenLifespans

func NewOAuth2ClientTokenLifespans() *OAuth2ClientTokenLifespans

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

func NewOAuth2ClientTokenLifespansWithDefaults

func NewOAuth2ClientTokenLifespansWithDefaults() *OAuth2ClientTokenLifespans

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

func (*OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantAccessTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantAccessTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantIdTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantIdTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantRefreshTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetAuthorizationCodeGrantRefreshTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetClientCredentialsGrantAccessTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetClientCredentialsGrantAccessTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetImplicitGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetImplicitGrantAccessTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetImplicitGrantAccessTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetImplicitGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetImplicitGrantIdTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetImplicitGrantIdTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetJwtBearerGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetJwtBearerGrantAccessTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetJwtBearerGrantAccessTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetRefreshTokenGrantAccessTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetRefreshTokenGrantAccessTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetRefreshTokenGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetRefreshTokenGrantIdTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetRefreshTokenGrantIdTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) GetRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2ClientTokenLifespans) GetRefreshTokenGrantRefreshTokenLifespan() string

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

func (*OAuth2ClientTokenLifespans) GetRefreshTokenGrantRefreshTokenLifespanOk

func (o *OAuth2ClientTokenLifespans) 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 (*OAuth2ClientTokenLifespans) HasAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasAuthorizationCodeGrantAccessTokenLifespan() bool

HasAuthorizationCodeGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasAuthorizationCodeGrantIdTokenLifespan() bool

HasAuthorizationCodeGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasAuthorizationCodeGrantRefreshTokenLifespan() bool

HasAuthorizationCodeGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasClientCredentialsGrantAccessTokenLifespan() bool

HasClientCredentialsGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasImplicitGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasImplicitGrantAccessTokenLifespan() bool

HasImplicitGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasImplicitGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasImplicitGrantIdTokenLifespan() bool

HasImplicitGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasJwtBearerGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasJwtBearerGrantAccessTokenLifespan() bool

HasJwtBearerGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasRefreshTokenGrantAccessTokenLifespan() bool

HasRefreshTokenGrantAccessTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasRefreshTokenGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasRefreshTokenGrantIdTokenLifespan() bool

HasRefreshTokenGrantIdTokenLifespan returns a boolean if a field has been set.

func (*OAuth2ClientTokenLifespans) HasRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2ClientTokenLifespans) HasRefreshTokenGrantRefreshTokenLifespan() bool

HasRefreshTokenGrantRefreshTokenLifespan returns a boolean if a field has been set.

func (OAuth2ClientTokenLifespans) MarshalJSON

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

func (*OAuth2ClientTokenLifespans) SetAuthorizationCodeGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetAuthorizationCodeGrantAccessTokenLifespan(v string)

SetAuthorizationCodeGrantAccessTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantAccessTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetAuthorizationCodeGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetAuthorizationCodeGrantIdTokenLifespan(v string)

SetAuthorizationCodeGrantIdTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantIdTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetAuthorizationCodeGrantRefreshTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetAuthorizationCodeGrantRefreshTokenLifespan(v string)

SetAuthorizationCodeGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the AuthorizationCodeGrantRefreshTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetClientCredentialsGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetClientCredentialsGrantAccessTokenLifespan(v string)

SetClientCredentialsGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ClientCredentialsGrantAccessTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetImplicitGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetImplicitGrantAccessTokenLifespan(v string)

SetImplicitGrantAccessTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantAccessTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetImplicitGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetImplicitGrantIdTokenLifespan(v string)

SetImplicitGrantIdTokenLifespan gets a reference to the given string and assigns it to the ImplicitGrantIdTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetJwtBearerGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetJwtBearerGrantAccessTokenLifespan(v string)

SetJwtBearerGrantAccessTokenLifespan gets a reference to the given string and assigns it to the JwtBearerGrantAccessTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetRefreshTokenGrantAccessTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetRefreshTokenGrantAccessTokenLifespan(v string)

SetRefreshTokenGrantAccessTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantAccessTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetRefreshTokenGrantIdTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetRefreshTokenGrantIdTokenLifespan(v string)

SetRefreshTokenGrantIdTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantIdTokenLifespan field.

func (*OAuth2ClientTokenLifespans) SetRefreshTokenGrantRefreshTokenLifespan

func (o *OAuth2ClientTokenLifespans) SetRefreshTokenGrantRefreshTokenLifespan(v string)

SetRefreshTokenGrantRefreshTokenLifespan gets a reference to the given string and assigns it to the RefreshTokenGrantRefreshTokenLifespan field.

func (OAuth2ClientTokenLifespans) ToMap added in v2.2.0

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

func (*OAuth2ClientTokenLifespans) UnmarshalJSON added in v2.2.0

func (o *OAuth2ClientTokenLifespans) UnmarshalJSON(data []byte) (err error)

type OAuth2ConsentRequest

type OAuth2ConsentRequest struct {
	// ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
	Acr *string  `json:"acr,omitempty"`
	Amr []string `json:"amr,omitempty"`
	// ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session.
	Challenge string        `json:"challenge"`
	Client    *OAuth2Client `json:"client,omitempty"`
	Context   interface{}   `json:"context,omitempty"`
	// LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app.
	LoginChallenge *string `json:"login_challenge,omitempty"`
	// LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
	LoginSessionId *string                                   `json:"login_session_id,omitempty"`
	OidcContext    *OAuth2ConsentRequestOpenIDConnectContext `json:"oidc_context,omitempty"`
	// RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
	RequestUrl                   *string  `json:"request_url,omitempty"`
	RequestedAccessTokenAudience []string `json:"requested_access_token_audience,omitempty"`
	RequestedScope               []string `json:"requested_scope,omitempty"`
	// Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call.
	Skip *bool `json:"skip,omitempty"`
	// Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client.
	Subject              *string `json:"subject,omitempty"`
	AdditionalProperties map[string]interface{}
}

OAuth2ConsentRequest struct for OAuth2ConsentRequest

func NewOAuth2ConsentRequest

func NewOAuth2ConsentRequest(challenge string) *OAuth2ConsentRequest

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

func NewOAuth2ConsentRequestWithDefaults

func NewOAuth2ConsentRequestWithDefaults() *OAuth2ConsentRequest

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

func (*OAuth2ConsentRequest) GetAcr

func (o *OAuth2ConsentRequest) GetAcr() string

GetAcr returns the Acr field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetAcrOk

func (o *OAuth2ConsentRequest) GetAcrOk() (*string, bool)

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

func (*OAuth2ConsentRequest) GetAmr

func (o *OAuth2ConsentRequest) GetAmr() []string

GetAmr returns the Amr field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetAmrOk

func (o *OAuth2ConsentRequest) GetAmrOk() ([]string, bool)

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

func (*OAuth2ConsentRequest) GetChallenge

func (o *OAuth2ConsentRequest) GetChallenge() string

GetChallenge returns the Challenge field value

func (*OAuth2ConsentRequest) GetChallengeOk

func (o *OAuth2ConsentRequest) GetChallengeOk() (*string, bool)

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

func (*OAuth2ConsentRequest) GetClient

func (o *OAuth2ConsentRequest) GetClient() OAuth2Client

GetClient returns the Client field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetClientOk

func (o *OAuth2ConsentRequest) GetClientOk() (*OAuth2Client, bool)

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

func (*OAuth2ConsentRequest) GetContext

func (o *OAuth2ConsentRequest) GetContext() interface{}

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

func (*OAuth2ConsentRequest) GetContextOk

func (o *OAuth2ConsentRequest) GetContextOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*OAuth2ConsentRequest) GetLoginChallenge

func (o *OAuth2ConsentRequest) GetLoginChallenge() string

GetLoginChallenge returns the LoginChallenge field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetLoginChallengeOk

func (o *OAuth2ConsentRequest) GetLoginChallengeOk() (*string, bool)

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

func (*OAuth2ConsentRequest) GetLoginSessionId

func (o *OAuth2ConsentRequest) GetLoginSessionId() string

GetLoginSessionId returns the LoginSessionId field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetLoginSessionIdOk

func (o *OAuth2ConsentRequest) GetLoginSessionIdOk() (*string, bool)

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

func (*OAuth2ConsentRequest) GetOidcContext

GetOidcContext returns the OidcContext field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetOidcContextOk

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

func (*OAuth2ConsentRequest) GetRequestUrl

func (o *OAuth2ConsentRequest) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetRequestUrlOk

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

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

func (*OAuth2ConsentRequest) GetRequestedAccessTokenAudience

func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudience() []string

GetRequestedAccessTokenAudience returns the RequestedAccessTokenAudience field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk

func (o *OAuth2ConsentRequest) GetRequestedAccessTokenAudienceOk() ([]string, bool)

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

func (*OAuth2ConsentRequest) GetRequestedScope

func (o *OAuth2ConsentRequest) GetRequestedScope() []string

GetRequestedScope returns the RequestedScope field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetRequestedScopeOk

func (o *OAuth2ConsentRequest) GetRequestedScopeOk() ([]string, bool)

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

func (*OAuth2ConsentRequest) GetSkip

func (o *OAuth2ConsentRequest) GetSkip() bool

GetSkip returns the Skip field value if set, zero value otherwise.

func (*OAuth2ConsentRequest) GetSkipOk

func (o *OAuth2ConsentRequest) GetSkipOk() (*bool, bool)

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

func (*OAuth2ConsentRequest) GetSubject

func (o *OAuth2ConsentRequest) GetSubject() string

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

func (*OAuth2ConsentRequest) GetSubjectOk

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

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

func (*OAuth2ConsentRequest) HasAcr

func (o *OAuth2ConsentRequest) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasAmr

func (o *OAuth2ConsentRequest) HasAmr() bool

HasAmr returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasClient

func (o *OAuth2ConsentRequest) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasContext

func (o *OAuth2ConsentRequest) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasLoginChallenge

func (o *OAuth2ConsentRequest) HasLoginChallenge() bool

HasLoginChallenge returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasLoginSessionId

func (o *OAuth2ConsentRequest) HasLoginSessionId() bool

HasLoginSessionId returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasOidcContext

func (o *OAuth2ConsentRequest) HasOidcContext() bool

HasOidcContext returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasRequestUrl

func (o *OAuth2ConsentRequest) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasRequestedAccessTokenAudience

func (o *OAuth2ConsentRequest) HasRequestedAccessTokenAudience() bool

HasRequestedAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasRequestedScope

func (o *OAuth2ConsentRequest) HasRequestedScope() bool

HasRequestedScope returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasSkip

func (o *OAuth2ConsentRequest) HasSkip() bool

HasSkip returns a boolean if a field has been set.

func (*OAuth2ConsentRequest) HasSubject

func (o *OAuth2ConsentRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (OAuth2ConsentRequest) MarshalJSON

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

func (*OAuth2ConsentRequest) SetAcr

func (o *OAuth2ConsentRequest) SetAcr(v string)

SetAcr gets a reference to the given string and assigns it to the Acr field.

func (*OAuth2ConsentRequest) SetAmr

func (o *OAuth2ConsentRequest) SetAmr(v []string)

SetAmr gets a reference to the given []string and assigns it to the Amr field.

func (*OAuth2ConsentRequest) SetChallenge

func (o *OAuth2ConsentRequest) SetChallenge(v string)

SetChallenge sets field value

func (*OAuth2ConsentRequest) SetClient

func (o *OAuth2ConsentRequest) SetClient(v OAuth2Client)

SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.

func (*OAuth2ConsentRequest) SetContext

func (o *OAuth2ConsentRequest) SetContext(v interface{})

SetContext gets a reference to the given interface{} and assigns it to the Context field.

func (*OAuth2ConsentRequest) SetLoginChallenge

func (o *OAuth2ConsentRequest) SetLoginChallenge(v string)

SetLoginChallenge gets a reference to the given string and assigns it to the LoginChallenge field.

func (*OAuth2ConsentRequest) SetLoginSessionId

func (o *OAuth2ConsentRequest) SetLoginSessionId(v string)

SetLoginSessionId gets a reference to the given string and assigns it to the LoginSessionId field.

func (*OAuth2ConsentRequest) SetOidcContext

SetOidcContext gets a reference to the given OAuth2ConsentRequestOpenIDConnectContext and assigns it to the OidcContext field.

func (*OAuth2ConsentRequest) SetRequestUrl

func (o *OAuth2ConsentRequest) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*OAuth2ConsentRequest) SetRequestedAccessTokenAudience

func (o *OAuth2ConsentRequest) SetRequestedAccessTokenAudience(v []string)

SetRequestedAccessTokenAudience gets a reference to the given []string and assigns it to the RequestedAccessTokenAudience field.

func (*OAuth2ConsentRequest) SetRequestedScope

func (o *OAuth2ConsentRequest) SetRequestedScope(v []string)

SetRequestedScope gets a reference to the given []string and assigns it to the RequestedScope field.

func (*OAuth2ConsentRequest) SetSkip

func (o *OAuth2ConsentRequest) SetSkip(v bool)

SetSkip gets a reference to the given bool and assigns it to the Skip field.

func (*OAuth2ConsentRequest) SetSubject

func (o *OAuth2ConsentRequest) SetSubject(v string)

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

func (OAuth2ConsentRequest) ToMap added in v2.2.0

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

func (*OAuth2ConsentRequest) UnmarshalJSON added in v2.2.0

func (o *OAuth2ConsentRequest) UnmarshalJSON(data []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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.

func (OAuth2ConsentRequestOpenIDConnectContext) ToMap added in v2.2.0

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

func (*OAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON added in v2.2.0

func (o *OAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON(data []byte) (err error)

type OAuth2ConsentSession

type OAuth2ConsentSession struct {
	ConsentRequest           *OAuth2ConsentRequest          `json:"consent_request,omitempty"`
	Context                  interface{}                    `json:"context,omitempty"`
	ExpiresAt                *OAuth2ConsentSessionExpiresAt `json:"expires_at,omitempty"`
	GrantAccessTokenAudience []string                       `json:"grant_access_token_audience,omitempty"`
	GrantScope               []string                       `json:"grant_scope,omitempty"`
	HandledAt                *time.Time                     `json:"handled_at,omitempty"`
	// Remember Consent  Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope.
	Remember *bool `json:"remember,omitempty"`
	// Remember Consent For  RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely.
	RememberFor          *int64                             `json:"remember_for,omitempty"`
	Session              *AcceptOAuth2ConsentRequestSession `json:"session,omitempty"`
	AdditionalProperties map[string]interface{}
}

OAuth2ConsentSession A completed OAuth 2.0 Consent Session.

func NewOAuth2ConsentSession

func NewOAuth2ConsentSession() *OAuth2ConsentSession

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

func NewOAuth2ConsentSessionWithDefaults

func NewOAuth2ConsentSessionWithDefaults() *OAuth2ConsentSession

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

func (*OAuth2ConsentSession) GetConsentRequest

func (o *OAuth2ConsentSession) GetConsentRequest() OAuth2ConsentRequest

GetConsentRequest returns the ConsentRequest field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetConsentRequestOk

func (o *OAuth2ConsentSession) GetConsentRequestOk() (*OAuth2ConsentRequest, bool)

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

func (*OAuth2ConsentSession) GetContext added in v2.2.0

func (o *OAuth2ConsentSession) GetContext() interface{}

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

func (*OAuth2ConsentSession) GetContextOk added in v2.2.0

func (o *OAuth2ConsentSession) GetContextOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*OAuth2ConsentSession) GetExpiresAt

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetExpiresAtOk

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

func (*OAuth2ConsentSession) GetGrantAccessTokenAudience

func (o *OAuth2ConsentSession) GetGrantAccessTokenAudience() []string

GetGrantAccessTokenAudience returns the GrantAccessTokenAudience field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetGrantAccessTokenAudienceOk

func (o *OAuth2ConsentSession) GetGrantAccessTokenAudienceOk() ([]string, bool)

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

func (*OAuth2ConsentSession) GetGrantScope

func (o *OAuth2ConsentSession) GetGrantScope() []string

GetGrantScope returns the GrantScope field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetGrantScopeOk

func (o *OAuth2ConsentSession) GetGrantScopeOk() ([]string, bool)

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

func (*OAuth2ConsentSession) GetHandledAt

func (o *OAuth2ConsentSession) GetHandledAt() time.Time

GetHandledAt returns the HandledAt field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetHandledAtOk

func (o *OAuth2ConsentSession) GetHandledAtOk() (*time.Time, bool)

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

func (*OAuth2ConsentSession) GetRemember

func (o *OAuth2ConsentSession) GetRemember() bool

GetRemember returns the Remember field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetRememberFor

func (o *OAuth2ConsentSession) GetRememberFor() int64

GetRememberFor returns the RememberFor field value if set, zero value otherwise.

func (*OAuth2ConsentSession) GetRememberForOk

func (o *OAuth2ConsentSession) GetRememberForOk() (*int64, bool)

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

func (*OAuth2ConsentSession) GetRememberOk

func (o *OAuth2ConsentSession) GetRememberOk() (*bool, bool)

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

func (*OAuth2ConsentSession) GetSession

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

func (*OAuth2ConsentSession) GetSessionOk

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 (*OAuth2ConsentSession) HasConsentRequest

func (o *OAuth2ConsentSession) HasConsentRequest() bool

HasConsentRequest returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasContext added in v2.2.0

func (o *OAuth2ConsentSession) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasExpiresAt

func (o *OAuth2ConsentSession) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasGrantAccessTokenAudience

func (o *OAuth2ConsentSession) HasGrantAccessTokenAudience() bool

HasGrantAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasGrantScope

func (o *OAuth2ConsentSession) HasGrantScope() bool

HasGrantScope returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasHandledAt

func (o *OAuth2ConsentSession) HasHandledAt() bool

HasHandledAt returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasRemember

func (o *OAuth2ConsentSession) HasRemember() bool

HasRemember returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasRememberFor

func (o *OAuth2ConsentSession) HasRememberFor() bool

HasRememberFor returns a boolean if a field has been set.

func (*OAuth2ConsentSession) HasSession

func (o *OAuth2ConsentSession) HasSession() bool

HasSession returns a boolean if a field has been set.

func (OAuth2ConsentSession) MarshalJSON

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

func (*OAuth2ConsentSession) SetConsentRequest

func (o *OAuth2ConsentSession) SetConsentRequest(v OAuth2ConsentRequest)

SetConsentRequest gets a reference to the given OAuth2ConsentRequest and assigns it to the ConsentRequest field.

func (*OAuth2ConsentSession) SetContext added in v2.2.0

func (o *OAuth2ConsentSession) SetContext(v interface{})

SetContext gets a reference to the given interface{} and assigns it to the Context field.

func (*OAuth2ConsentSession) SetExpiresAt

SetExpiresAt gets a reference to the given OAuth2ConsentSessionExpiresAt and assigns it to the ExpiresAt field.

func (*OAuth2ConsentSession) SetGrantAccessTokenAudience

func (o *OAuth2ConsentSession) SetGrantAccessTokenAudience(v []string)

SetGrantAccessTokenAudience gets a reference to the given []string and assigns it to the GrantAccessTokenAudience field.

func (*OAuth2ConsentSession) SetGrantScope

func (o *OAuth2ConsentSession) SetGrantScope(v []string)

SetGrantScope gets a reference to the given []string and assigns it to the GrantScope field.

func (*OAuth2ConsentSession) SetHandledAt

func (o *OAuth2ConsentSession) SetHandledAt(v time.Time)

SetHandledAt gets a reference to the given time.Time and assigns it to the HandledAt field.

func (*OAuth2ConsentSession) SetRemember

func (o *OAuth2ConsentSession) SetRemember(v bool)

SetRemember gets a reference to the given bool and assigns it to the Remember field.

func (*OAuth2ConsentSession) SetRememberFor

func (o *OAuth2ConsentSession) SetRememberFor(v int64)

SetRememberFor gets a reference to the given int64 and assigns it to the RememberFor field.

func (*OAuth2ConsentSession) SetSession

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

func (OAuth2ConsentSession) ToMap added in v2.2.0

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

func (*OAuth2ConsentSession) UnmarshalJSON added in v2.2.0

func (o *OAuth2ConsentSession) UnmarshalJSON(data []byte) (err error)

type OAuth2ConsentSessionExpiresAt

type OAuth2ConsentSessionExpiresAt struct {
	AccessToken          *time.Time `json:"access_token,omitempty"`
	AuthorizeCode        *time.Time `json:"authorize_code,omitempty"`
	IdToken              *time.Time `json:"id_token,omitempty"`
	ParContext           *time.Time `json:"par_context,omitempty"`
	RefreshToken         *time.Time `json:"refresh_token,omitempty"`
	AdditionalProperties map[string]interface{}
}

OAuth2ConsentSessionExpiresAt struct for OAuth2ConsentSessionExpiresAt

func NewOAuth2ConsentSessionExpiresAt

func NewOAuth2ConsentSessionExpiresAt() *OAuth2ConsentSessionExpiresAt

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

func NewOAuth2ConsentSessionExpiresAtWithDefaults

func NewOAuth2ConsentSessionExpiresAtWithDefaults() *OAuth2ConsentSessionExpiresAt

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

func (*OAuth2ConsentSessionExpiresAt) GetAccessToken

func (o *OAuth2ConsentSessionExpiresAt) GetAccessToken() time.Time

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*OAuth2ConsentSessionExpiresAt) GetAccessTokenOk

func (o *OAuth2ConsentSessionExpiresAt) GetAccessTokenOk() (*time.Time, bool)

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

func (*OAuth2ConsentSessionExpiresAt) GetAuthorizeCode

func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCode() time.Time

GetAuthorizeCode returns the AuthorizeCode field value if set, zero value otherwise.

func (*OAuth2ConsentSessionExpiresAt) GetAuthorizeCodeOk

func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCodeOk() (*time.Time, bool)

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

func (*OAuth2ConsentSessionExpiresAt) GetIdToken

func (o *OAuth2ConsentSessionExpiresAt) GetIdToken() time.Time

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*OAuth2ConsentSessionExpiresAt) GetIdTokenOk

func (o *OAuth2ConsentSessionExpiresAt) GetIdTokenOk() (*time.Time, 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 (*OAuth2ConsentSessionExpiresAt) GetParContext

func (o *OAuth2ConsentSessionExpiresAt) GetParContext() time.Time

GetParContext returns the ParContext field value if set, zero value otherwise.

func (*OAuth2ConsentSessionExpiresAt) GetParContextOk

func (o *OAuth2ConsentSessionExpiresAt) GetParContextOk() (*time.Time, bool)

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

func (*OAuth2ConsentSessionExpiresAt) GetRefreshToken

func (o *OAuth2ConsentSessionExpiresAt) GetRefreshToken() time.Time

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*OAuth2ConsentSessionExpiresAt) GetRefreshTokenOk

func (o *OAuth2ConsentSessionExpiresAt) GetRefreshTokenOk() (*time.Time, bool)

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

func (*OAuth2ConsentSessionExpiresAt) HasAccessToken

func (o *OAuth2ConsentSessionExpiresAt) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*OAuth2ConsentSessionExpiresAt) HasAuthorizeCode

func (o *OAuth2ConsentSessionExpiresAt) HasAuthorizeCode() bool

HasAuthorizeCode returns a boolean if a field has been set.

func (*OAuth2ConsentSessionExpiresAt) HasIdToken

func (o *OAuth2ConsentSessionExpiresAt) HasIdToken() bool

HasIdToken returns a boolean if a field has been set.

func (*OAuth2ConsentSessionExpiresAt) HasParContext

func (o *OAuth2ConsentSessionExpiresAt) HasParContext() bool

HasParContext returns a boolean if a field has been set.

func (*OAuth2ConsentSessionExpiresAt) HasRefreshToken

func (o *OAuth2ConsentSessionExpiresAt) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (OAuth2ConsentSessionExpiresAt) MarshalJSON

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

func (*OAuth2ConsentSessionExpiresAt) SetAccessToken

func (o *OAuth2ConsentSessionExpiresAt) SetAccessToken(v time.Time)

SetAccessToken gets a reference to the given time.Time and assigns it to the AccessToken field.

func (*OAuth2ConsentSessionExpiresAt) SetAuthorizeCode

func (o *OAuth2ConsentSessionExpiresAt) SetAuthorizeCode(v time.Time)

SetAuthorizeCode gets a reference to the given time.Time and assigns it to the AuthorizeCode field.

func (*OAuth2ConsentSessionExpiresAt) SetIdToken

func (o *OAuth2ConsentSessionExpiresAt) SetIdToken(v time.Time)

SetIdToken gets a reference to the given time.Time and assigns it to the IdToken field.

func (*OAuth2ConsentSessionExpiresAt) SetParContext

func (o *OAuth2ConsentSessionExpiresAt) SetParContext(v time.Time)

SetParContext gets a reference to the given time.Time and assigns it to the ParContext field.

func (*OAuth2ConsentSessionExpiresAt) SetRefreshToken

func (o *OAuth2ConsentSessionExpiresAt) SetRefreshToken(v time.Time)

SetRefreshToken gets a reference to the given time.Time and assigns it to the RefreshToken field.

func (OAuth2ConsentSessionExpiresAt) ToMap added in v2.2.0

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

func (*OAuth2ConsentSessionExpiresAt) UnmarshalJSON added in v2.2.0

func (o *OAuth2ConsentSessionExpiresAt) UnmarshalJSON(data []byte) (err error)

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"`
	Client      OAuth2Client                              `json:"client"`
	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"`
	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"`
	// 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"`
	AdditionalProperties map[string]interface{}
}

OAuth2LoginRequest struct for OAuth2LoginRequest

func NewOAuth2LoginRequest

func NewOAuth2LoginRequest(challenge string, client OAuth2Client, requestUrl string, skip bool, subject string) *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

func (*OAuth2LoginRequest) GetChallengeOk

func (o *OAuth2LoginRequest) GetChallengeOk() (*string, bool)

GetChallengeOk returns a tuple with the Challenge field value 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

func (*OAuth2LoginRequest) GetClientOk

func (o *OAuth2LoginRequest) GetClientOk() (*OAuth2Client, bool)

GetClientOk returns a tuple with the Client field value 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

func (*OAuth2LoginRequest) GetRequestUrlOk

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

GetRequestUrlOk returns a tuple with the RequestUrl field value 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

func (*OAuth2LoginRequest) GetSkipOk

func (o *OAuth2LoginRequest) GetSkipOk() (*bool, bool)

GetSkipOk returns a tuple with the Skip field value 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

func (*OAuth2LoginRequest) GetSubjectOk

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

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

func (*OAuth2LoginRequest) HasOidcContext

func (o *OAuth2LoginRequest) HasOidcContext() bool

HasOidcContext returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedAccessTokenAudience added in v2.2.0

func (o *OAuth2LoginRequest) HasRequestedAccessTokenAudience() bool

HasRequestedAccessTokenAudience returns a boolean if a field has been set.

func (*OAuth2LoginRequest) HasRequestedScope added in v2.2.0

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

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

func (*OAuth2LoginRequest) SetChallenge

func (o *OAuth2LoginRequest) SetChallenge(v string)

SetChallenge sets field value

func (*OAuth2LoginRequest) SetClient

func (o *OAuth2LoginRequest) SetClient(v OAuth2Client)

SetClient sets field value

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 sets field value

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 sets field value

func (*OAuth2LoginRequest) SetSubject

func (o *OAuth2LoginRequest) SetSubject(v string)

SetSubject sets field value

func (OAuth2LoginRequest) ToMap added in v2.2.0

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

func (*OAuth2LoginRequest) UnmarshalJSON added in v2.2.0

func (o *OAuth2LoginRequest) UnmarshalJSON(data []byte) (err error)

type OAuth2LogoutRequest

type OAuth2LogoutRequest struct {
	// Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to identify the session.
	Challenge *string       `json:"challenge,omitempty"`
	Client    *OAuth2Client `json:"client,omitempty"`
	// RequestURL is the original Logout URL requested.
	RequestUrl *string `json:"request_url,omitempty"`
	// RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.
	RpInitiated *bool `json:"rp_initiated,omitempty"`
	// SessionID is the login session ID that was requested to log out.
	Sid *string `json:"sid,omitempty"`
	// Subject is the user for whom the logout was request.
	Subject              *string `json:"subject,omitempty"`
	AdditionalProperties map[string]interface{}
}

OAuth2LogoutRequest struct for OAuth2LogoutRequest

func NewOAuth2LogoutRequest

func NewOAuth2LogoutRequest() *OAuth2LogoutRequest

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

func NewOAuth2LogoutRequestWithDefaults

func NewOAuth2LogoutRequestWithDefaults() *OAuth2LogoutRequest

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

func (*OAuth2LogoutRequest) GetChallenge

func (o *OAuth2LogoutRequest) GetChallenge() string

GetChallenge returns the Challenge field value if set, zero value otherwise.

func (*OAuth2LogoutRequest) GetChallengeOk

func (o *OAuth2LogoutRequest) 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 (*OAuth2LogoutRequest) GetClient

func (o *OAuth2LogoutRequest) GetClient() OAuth2Client

GetClient returns the Client field value if set, zero value otherwise.

func (*OAuth2LogoutRequest) GetClientOk

func (o *OAuth2LogoutRequest) 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 (*OAuth2LogoutRequest) GetRequestUrl

func (o *OAuth2LogoutRequest) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*OAuth2LogoutRequest) GetRequestUrlOk

func (o *OAuth2LogoutRequest) 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 (*OAuth2LogoutRequest) GetRpInitiated

func (o *OAuth2LogoutRequest) GetRpInitiated() bool

GetRpInitiated returns the RpInitiated field value if set, zero value otherwise.

func (*OAuth2LogoutRequest) GetRpInitiatedOk

func (o *OAuth2LogoutRequest) GetRpInitiatedOk() (*bool, bool)

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

func (*OAuth2LogoutRequest) GetSid

func (o *OAuth2LogoutRequest) GetSid() string

GetSid returns the Sid field value if set, zero value otherwise.

func (*OAuth2LogoutRequest) GetSidOk

func (o *OAuth2LogoutRequest) GetSidOk() (*string, bool)

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

func (*OAuth2LogoutRequest) GetSubject

func (o *OAuth2LogoutRequest) GetSubject() string

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

func (*OAuth2LogoutRequest) GetSubjectOk

func (o *OAuth2LogoutRequest) 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 (*OAuth2LogoutRequest) HasChallenge

func (o *OAuth2LogoutRequest) HasChallenge() bool

HasChallenge returns a boolean if a field has been set.

func (*OAuth2LogoutRequest) HasClient

func (o *OAuth2LogoutRequest) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*OAuth2LogoutRequest) HasRequestUrl

func (o *OAuth2LogoutRequest) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*OAuth2LogoutRequest) HasRpInitiated

func (o *OAuth2LogoutRequest) HasRpInitiated() bool

HasRpInitiated returns a boolean if a field has been set.

func (*OAuth2LogoutRequest) HasSid

func (o *OAuth2LogoutRequest) HasSid() bool

HasSid returns a boolean if a field has been set.

func (*OAuth2LogoutRequest) HasSubject

func (o *OAuth2LogoutRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (OAuth2LogoutRequest) MarshalJSON

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

func (*OAuth2LogoutRequest) SetChallenge

func (o *OAuth2LogoutRequest) SetChallenge(v string)

SetChallenge gets a reference to the given string and assigns it to the Challenge field.

func (*OAuth2LogoutRequest) SetClient

func (o *OAuth2LogoutRequest) SetClient(v OAuth2Client)

SetClient gets a reference to the given OAuth2Client and assigns it to the Client field.

func (*OAuth2LogoutRequest) SetRequestUrl

func (o *OAuth2LogoutRequest) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*OAuth2LogoutRequest) SetRpInitiated

func (o *OAuth2LogoutRequest) SetRpInitiated(v bool)

SetRpInitiated gets a reference to the given bool and assigns it to the RpInitiated field.

func (*OAuth2LogoutRequest) SetSid

func (o *OAuth2LogoutRequest) SetSid(v string)

SetSid gets a reference to the given string and assigns it to the Sid field.

func (*OAuth2LogoutRequest) SetSubject

func (o *OAuth2LogoutRequest) SetSubject(v string)

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

func (OAuth2LogoutRequest) ToMap added in v2.2.0

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

func (*OAuth2LogoutRequest) UnmarshalJSON added in v2.2.0

func (o *OAuth2LogoutRequest) UnmarshalJSON(data []byte) (err error)

type OAuth2RedirectTo

type OAuth2RedirectTo struct {
	// RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed.
	RedirectTo           string `json:"redirect_to"`
	AdditionalProperties map[string]interface{}
}

OAuth2RedirectTo Contains a redirect URL used to complete a login, consent, or logout request.

func NewOAuth2RedirectTo

func NewOAuth2RedirectTo(redirectTo string) *OAuth2RedirectTo

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

func NewOAuth2RedirectToWithDefaults

func NewOAuth2RedirectToWithDefaults() *OAuth2RedirectTo

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

func (*OAuth2RedirectTo) GetRedirectTo

func (o *OAuth2RedirectTo) GetRedirectTo() string

GetRedirectTo returns the RedirectTo field value

func (*OAuth2RedirectTo) GetRedirectToOk

func (o *OAuth2RedirectTo) GetRedirectToOk() (*string, bool)

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

func (OAuth2RedirectTo) MarshalJSON

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

func (*OAuth2RedirectTo) SetRedirectTo

func (o *OAuth2RedirectTo) SetRedirectTo(v string)

SetRedirectTo sets field value

func (OAuth2RedirectTo) ToMap added in v2.2.0

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

func (*OAuth2RedirectTo) UnmarshalJSON added in v2.2.0

func (o *OAuth2RedirectTo) UnmarshalJSON(data []byte) (err error)

type OAuth2TokenExchange

type OAuth2TokenExchange struct {
	// The access token issued by the authorization server.
	AccessToken *string `json:"access_token,omitempty"`
	// The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated.
	ExpiresIn *int64 `json:"expires_in,omitempty"`
	// To retrieve a refresh token request the id_token scope.
	IdToken *string `json:"id_token,omitempty"`
	// The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request.
	RefreshToken *string `json:"refresh_token,omitempty"`
	// The scope of the access token
	Scope *string `json:"scope,omitempty"`
	// The type of the token issued
	TokenType            *string `json:"token_type,omitempty"`
	AdditionalProperties map[string]interface{}
}

OAuth2TokenExchange OAuth2 Token Exchange Result

func NewOAuth2TokenExchange

func NewOAuth2TokenExchange() *OAuth2TokenExchange

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

func NewOAuth2TokenExchangeWithDefaults

func NewOAuth2TokenExchangeWithDefaults() *OAuth2TokenExchange

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

func (*OAuth2TokenExchange) GetAccessToken

func (o *OAuth2TokenExchange) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*OAuth2TokenExchange) GetAccessTokenOk

func (o *OAuth2TokenExchange) GetAccessTokenOk() (*string, bool)

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

func (*OAuth2TokenExchange) GetExpiresIn

func (o *OAuth2TokenExchange) GetExpiresIn() int64

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

func (*OAuth2TokenExchange) GetExpiresInOk

func (o *OAuth2TokenExchange) GetExpiresInOk() (*int64, 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 (*OAuth2TokenExchange) GetIdToken

func (o *OAuth2TokenExchange) GetIdToken() string

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*OAuth2TokenExchange) GetIdTokenOk

func (o *OAuth2TokenExchange) 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 (*OAuth2TokenExchange) GetRefreshToken

func (o *OAuth2TokenExchange) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*OAuth2TokenExchange) GetRefreshTokenOk

func (o *OAuth2TokenExchange) GetRefreshTokenOk() (*string, bool)

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

func (*OAuth2TokenExchange) GetScope

func (o *OAuth2TokenExchange) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*OAuth2TokenExchange) GetScopeOk

func (o *OAuth2TokenExchange) 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 (*OAuth2TokenExchange) GetTokenType

func (o *OAuth2TokenExchange) GetTokenType() string

GetTokenType returns the TokenType field value if set, zero value otherwise.

func (*OAuth2TokenExchange) GetTokenTypeOk

func (o *OAuth2TokenExchange) GetTokenTypeOk() (*string, bool)

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

func (*OAuth2TokenExchange) HasAccessToken

func (o *OAuth2TokenExchange) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*OAuth2TokenExchange) HasExpiresIn

func (o *OAuth2TokenExchange) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*OAuth2TokenExchange) HasIdToken

func (o *OAuth2TokenExchange) HasIdToken() bool

HasIdToken returns a boolean if a field has been set.

func (*OAuth2TokenExchange) HasRefreshToken

func (o *OAuth2TokenExchange) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*OAuth2TokenExchange) HasScope

func (o *OAuth2TokenExchange) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*OAuth2TokenExchange) HasTokenType

func (o *OAuth2TokenExchange) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

func (OAuth2TokenExchange) MarshalJSON

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

func (*OAuth2TokenExchange) SetAccessToken

func (o *OAuth2TokenExchange) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*OAuth2TokenExchange) SetExpiresIn

func (o *OAuth2TokenExchange) SetExpiresIn(v int64)

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

func (*OAuth2TokenExchange) SetIdToken

func (o *OAuth2TokenExchange) SetIdToken(v string)

SetIdToken gets a reference to the given string and assigns it to the IdToken field.

func (*OAuth2TokenExchange) SetRefreshToken

func (o *OAuth2TokenExchange) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*OAuth2TokenExchange) SetScope

func (o *OAuth2TokenExchange) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OAuth2TokenExchange) SetTokenType

func (o *OAuth2TokenExchange) SetTokenType(v string)

SetTokenType gets a reference to the given string and assigns it to the TokenType field.

func (OAuth2TokenExchange) ToMap added in v2.2.0

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

func (*OAuth2TokenExchange) UnmarshalJSON added in v2.2.0

func (o *OAuth2TokenExchange) UnmarshalJSON(data []byte) (err error)

type OidcAPI added in v2.2.0

type OidcAPI interface {

	/*
		CreateOidcDynamicClient Register OAuth2 Client using OpenID Dynamic Client Registration

		This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the
	public internet directly and can be used in self-service. It implements the OpenID Connect
	Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint
	is disabled by default. It can be enabled by an administrator.

	Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those
	values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or
	`client_secret_post`.

	The `client_secret` will be returned in the response and you will not be able to retrieve it later on.
	Write the secret down and keep it somewhere safe.

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

	// CreateOidcDynamicClientExecute executes the request
	//  @return OAuth2Client
	CreateOidcDynamicClientExecute(r OidcAPICreateOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)

	/*
		CreateVerifiableCredential Issues a Verifiable Credential

		This endpoint creates a verifiable credential that attests that the user
	authenticated with the provided access token owns a certain public/private key
	pair.

	More information can be found at
	https://openid.net/specs/openid-connect-userinfo-vc-1_0.html.

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

	// CreateVerifiableCredentialExecute executes the request
	//  @return VerifiableCredentialResponse
	CreateVerifiableCredentialExecute(r OidcAPICreateVerifiableCredentialRequest) (*VerifiableCredentialResponse, *http.Response, error)

	/*
		DeleteOidcDynamicClient Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol

		This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the
	public internet directly and can be used in self-service. It implements the OpenID Connect
	Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint
	is disabled by default. It can be enabled by an administrator.

	To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client
	uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.
	If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.

	OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
	generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the OAuth 2.0 Client.
		@return OidcAPIDeleteOidcDynamicClientRequest
	*/
	DeleteOidcDynamicClient(ctx context.Context, id string) OidcAPIDeleteOidcDynamicClientRequest

	// DeleteOidcDynamicClientExecute executes the request
	DeleteOidcDynamicClientExecute(r OidcAPIDeleteOidcDynamicClientRequest) (*http.Response, error)

	/*
		DiscoverOidcConfiguration OpenID Connect Discovery

		A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations.

	Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others.
	For a full list of clients go here: https://openid.net/developers/certified/

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

	// DiscoverOidcConfigurationExecute executes the request
	//  @return OidcConfiguration
	DiscoverOidcConfigurationExecute(r OidcAPIDiscoverOidcConfigurationRequest) (*OidcConfiguration, *http.Response, error)

	/*
		GetOidcDynamicClient Get OAuth2 Client using OpenID Dynamic Client Registration

		This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the
	public internet directly and can be used in self-service. It implements the OpenID Connect
	Dynamic Client Registration Protocol.

	To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client
	uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.
	If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id The id of the OAuth 2.0 Client.
		@return OidcAPIGetOidcDynamicClientRequest
	*/
	GetOidcDynamicClient(ctx context.Context, id string) OidcAPIGetOidcDynamicClientRequest

	// GetOidcDynamicClientExecute executes the request
	//  @return OAuth2Client
	GetOidcDynamicClientExecute(r OidcAPIGetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)

	/*
		GetOidcUserInfo OpenID Connect Userinfo

		This endpoint returns the payload of the ID Token, including `session.id_token` values, of
	the provided OAuth 2.0 Access Token's consent request.

	In the case of authentication error, a WWW-Authenticate header might be set in the response
	with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3)
	for more details about header format.

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

	// GetOidcUserInfoExecute executes the request
	//  @return OidcUserInfo
	GetOidcUserInfoExecute(r OidcAPIGetOidcUserInfoRequest) (*OidcUserInfo, *http.Response, error)

	/*
		RevokeOidcSession OpenID Connect Front- and Back-channel Enabled Logout

		This endpoint initiates and completes user logout at the Ory OAuth2 & OpenID provider and initiates OpenID Connect Front- / Back-channel logout:

	https://openid.net/specs/openid-connect-frontchannel-1_0.html
	https://openid.net/specs/openid-connect-backchannel-1_0.html

	Back-channel logout is performed asynchronously and does not affect logout flow.

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

	// RevokeOidcSessionExecute executes the request
	RevokeOidcSessionExecute(r OidcAPIRevokeOidcSessionRequest) (*http.Response, error)

	/*
		SetOidcDynamicClient Set OAuth2 Client using OpenID Dynamic Client Registration

		This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the
	public internet directly to be used by third parties. It implements the OpenID Connect
	Dynamic Client Registration Protocol.

	This feature is disabled per default. It can be enabled by a system administrator.

	If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response.
	It is not possible to retrieve it later on.

	To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client
	uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.
	If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.

	OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
	generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id OAuth 2.0 Client ID
		@return OidcAPISetOidcDynamicClientRequest
	*/
	SetOidcDynamicClient(ctx context.Context, id string) OidcAPISetOidcDynamicClientRequest

	// SetOidcDynamicClientExecute executes the request
	//  @return OAuth2Client
	SetOidcDynamicClientExecute(r OidcAPISetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
}

type OidcAPICreateOidcDynamicClientRequest added in v2.2.0

type OidcAPICreateOidcDynamicClientRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPICreateOidcDynamicClientRequest) Execute added in v2.2.0

func (OidcAPICreateOidcDynamicClientRequest) OAuth2Client added in v2.2.0

Dynamic Client Registration Request Body

type OidcAPICreateVerifiableCredentialRequest added in v2.2.0

type OidcAPICreateVerifiableCredentialRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPICreateVerifiableCredentialRequest) CreateVerifiableCredentialRequestBody added in v2.2.0

func (r OidcAPICreateVerifiableCredentialRequest) CreateVerifiableCredentialRequestBody(createVerifiableCredentialRequestBody CreateVerifiableCredentialRequestBody) OidcAPICreateVerifiableCredentialRequest

func (OidcAPICreateVerifiableCredentialRequest) Execute added in v2.2.0

type OidcAPIDeleteOidcDynamicClientRequest added in v2.2.0

type OidcAPIDeleteOidcDynamicClientRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPIDeleteOidcDynamicClientRequest) Execute added in v2.2.0

type OidcAPIDiscoverOidcConfigurationRequest added in v2.2.0

type OidcAPIDiscoverOidcConfigurationRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPIDiscoverOidcConfigurationRequest) Execute added in v2.2.0

type OidcAPIGetOidcDynamicClientRequest added in v2.2.0

type OidcAPIGetOidcDynamicClientRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPIGetOidcDynamicClientRequest) Execute added in v2.2.0

type OidcAPIGetOidcUserInfoRequest added in v2.2.0

type OidcAPIGetOidcUserInfoRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPIGetOidcUserInfoRequest) Execute added in v2.2.0

type OidcAPIRevokeOidcSessionRequest added in v2.2.0

type OidcAPIRevokeOidcSessionRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPIRevokeOidcSessionRequest) Execute added in v2.2.0

type OidcAPIService added in v2.2.0

type OidcAPIService service

OidcAPIService OidcAPI service

func (*OidcAPIService) CreateOidcDynamicClient added in v2.2.0

func (a *OidcAPIService) CreateOidcDynamicClient(ctx context.Context) OidcAPICreateOidcDynamicClientRequest

CreateOidcDynamicClient Register OAuth2 Client using OpenID Dynamic Client Registration

This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator.

Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or `client_secret_post`.

The `client_secret` will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe.

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

func (*OidcAPIService) CreateOidcDynamicClientExecute added in v2.2.0

func (a *OidcAPIService) CreateOidcDynamicClientExecute(r OidcAPICreateOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)

Execute executes the request

@return OAuth2Client

func (*OidcAPIService) CreateVerifiableCredential added in v2.2.0

func (a *OidcAPIService) CreateVerifiableCredential(ctx context.Context) OidcAPICreateVerifiableCredentialRequest

CreateVerifiableCredential Issues a Verifiable Credential

This endpoint creates a verifiable credential that attests that the user authenticated with the provided access token owns a certain public/private key pair.

More information can be found at https://openid.net/specs/openid-connect-userinfo-vc-1_0.html.

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

func (*OidcAPIService) CreateVerifiableCredentialExecute added in v2.2.0

Execute executes the request

@return VerifiableCredentialResponse

func (*OidcAPIService) DeleteOidcDynamicClient added in v2.2.0

func (a *OidcAPIService) DeleteOidcDynamicClient(ctx context.Context, id string) OidcAPIDeleteOidcDynamicClientRequest

DeleteOidcDynamicClient Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol

This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator.

To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.

OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
@return OidcAPIDeleteOidcDynamicClientRequest

func (*OidcAPIService) DeleteOidcDynamicClientExecute added in v2.2.0

func (a *OidcAPIService) DeleteOidcDynamicClientExecute(r OidcAPIDeleteOidcDynamicClientRequest) (*http.Response, error)

Execute executes the request

func (*OidcAPIService) DiscoverOidcConfiguration added in v2.2.0

func (a *OidcAPIService) DiscoverOidcConfiguration(ctx context.Context) OidcAPIDiscoverOidcConfigurationRequest

DiscoverOidcConfiguration OpenID Connect Discovery

A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations.

Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/

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

func (*OidcAPIService) DiscoverOidcConfigurationExecute added in v2.2.0

func (a *OidcAPIService) DiscoverOidcConfigurationExecute(r OidcAPIDiscoverOidcConfigurationRequest) (*OidcConfiguration, *http.Response, error)

Execute executes the request

@return OidcConfiguration

func (*OidcAPIService) GetOidcDynamicClient added in v2.2.0

func (a *OidcAPIService) GetOidcDynamicClient(ctx context.Context, id string) OidcAPIGetOidcDynamicClientRequest

GetOidcDynamicClient Get OAuth2 Client using OpenID Dynamic Client Registration

This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol.

To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
@return OidcAPIGetOidcDynamicClientRequest

func (*OidcAPIService) GetOidcDynamicClientExecute added in v2.2.0

func (a *OidcAPIService) GetOidcDynamicClientExecute(r OidcAPIGetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)

Execute executes the request

@return OAuth2Client

func (*OidcAPIService) GetOidcUserInfo added in v2.2.0

GetOidcUserInfo OpenID Connect Userinfo

This endpoint returns the payload of the ID Token, including `session.id_token` values, of the provided OAuth 2.0 Access Token's consent request.

In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format.

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

func (*OidcAPIService) GetOidcUserInfoExecute added in v2.2.0

func (a *OidcAPIService) GetOidcUserInfoExecute(r OidcAPIGetOidcUserInfoRequest) (*OidcUserInfo, *http.Response, error)

Execute executes the request

@return OidcUserInfo

func (*OidcAPIService) RevokeOidcSession added in v2.2.0

RevokeOidcSession OpenID Connect Front- and Back-channel Enabled Logout

This endpoint initiates and completes user logout at the Ory OAuth2 & OpenID provider and initiates OpenID Connect Front- / Back-channel logout:

https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html

Back-channel logout is performed asynchronously and does not affect logout flow.

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

func (*OidcAPIService) RevokeOidcSessionExecute added in v2.2.0

func (a *OidcAPIService) RevokeOidcSessionExecute(r OidcAPIRevokeOidcSessionRequest) (*http.Response, error)

Execute executes the request

func (*OidcAPIService) SetOidcDynamicClient added in v2.2.0

func (a *OidcAPIService) SetOidcDynamicClient(ctx context.Context, id string) OidcAPISetOidcDynamicClientRequest

SetOidcDynamicClient Set OAuth2 Client using OpenID Dynamic Client Registration

This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the public internet directly to be used by third parties. It implements the OpenID Connect Dynamic Client Registration Protocol.

This feature is disabled per default. It can be enabled by a system administrator.

If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. It is not possible to retrieve it later on.

To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.

OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
@return OidcAPISetOidcDynamicClientRequest

func (*OidcAPIService) SetOidcDynamicClientExecute added in v2.2.0

func (a *OidcAPIService) SetOidcDynamicClientExecute(r OidcAPISetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)

Execute executes the request

@return OAuth2Client

type OidcAPISetOidcDynamicClientRequest added in v2.2.0

type OidcAPISetOidcDynamicClientRequest struct {
	ApiService OidcAPI
	// contains filtered or unexported fields
}

func (OidcAPISetOidcDynamicClientRequest) Execute added in v2.2.0

func (OidcAPISetOidcDynamicClientRequest) OAuth2Client added in v2.2.0

OAuth 2.0 Client Request Body

type OidcConfiguration

type OidcConfiguration struct {
	// OAuth 2.0 Authorization Endpoint URL
	AuthorizationEndpoint string `json:"authorization_endpoint"`
	// OpenID Connect Back-Channel Logout Session Required  Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP
	BackchannelLogoutSessionSupported *bool `json:"backchannel_logout_session_supported,omitempty"`
	// OpenID Connect Back-Channel Logout Supported  Boolean value specifying whether the OP supports back-channel logout, with true indicating support.
	BackchannelLogoutSupported *bool `json:"backchannel_logout_supported,omitempty"`
	// OpenID Connect Claims Parameter Parameter Supported  Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support.
	ClaimsParameterSupported *bool `json:"claims_parameter_supported,omitempty"`
	// OpenID Connect Supported Claims  JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
	ClaimsSupported []string `json:"claims_supported,omitempty"`
	// OAuth 2.0 PKCE Supported Code Challenge Methods  JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.
	CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported,omitempty"`
	// OpenID Connect Verifiable Credentials Endpoint  Contains the URL of the Verifiable Credentials Endpoint.
	CredentialsEndpointDraft00 *string `json:"credentials_endpoint_draft_00,omitempty"`
	// OpenID Connect Verifiable Credentials Supported  JSON array containing a list of the Verifiable Credentials supported by this authorization server.
	CredentialsSupportedDraft00 []CredentialSupportedDraft00 `json:"credentials_supported_draft_00,omitempty"`
	// OpenID Connect End-Session Endpoint  URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.
	EndSessionEndpoint *string `json:"end_session_endpoint,omitempty"`
	// OpenID Connect Front-Channel Logout Session Required  Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP.
	FrontchannelLogoutSessionSupported *bool `json:"frontchannel_logout_session_supported,omitempty"`
	// OpenID Connect Front-Channel Logout Supported  Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support.
	FrontchannelLogoutSupported *bool `json:"frontchannel_logout_supported,omitempty"`
	// OAuth 2.0 Supported Grant Types  JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.
	GrantTypesSupported []string `json:"grant_types_supported,omitempty"`
	// OpenID Connect Default ID Token Signing Algorithms  Algorithm used to sign OpenID Connect ID Tokens.
	IdTokenSignedResponseAlg []string `json:"id_token_signed_response_alg"`
	// OpenID Connect Supported ID Token Signing Algorithms  JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT.
	IdTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported"`
	// OpenID Connect Issuer URL  An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.
	Issuer string `json:"issuer"`
	// OpenID Connect Well-Known JSON Web Keys URL  URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. 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"`
	// OpenID Connect Dynamic Client Registration Endpoint URL
	RegistrationEndpoint *string `json:"registration_endpoint,omitempty"`
	// OpenID Connect Supported Request Object Signing Algorithms  JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter).
	RequestObjectSigningAlgValuesSupported []string `json:"request_object_signing_alg_values_supported,omitempty"`
	// OpenID Connect Request Parameter Supported  Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
	RequestParameterSupported *bool `json:"request_parameter_supported,omitempty"`
	// OpenID Connect Request URI Parameter Supported  Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.
	RequestUriParameterSupported *bool `json:"request_uri_parameter_supported,omitempty"`
	// OpenID Connect Requires Request URI Registration  Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.
	RequireRequestUriRegistration *bool `json:"require_request_uri_registration,omitempty"`
	// OAuth 2.0 Supported Response Modes  JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.
	ResponseModesSupported []string `json:"response_modes_supported,omitempty"`
	// OAuth 2.0 Supported Response Types  JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values.
	ResponseTypesSupported []string `json:"response_types_supported"`
	// OAuth 2.0 Token Revocation URL  URL of the authorization server's OAuth 2.0 revocation endpoint.
	RevocationEndpoint *string `json:"revocation_endpoint,omitempty"`
	// OAuth 2.0 Supported Scope Values  JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used
	ScopesSupported []string `json:"scopes_supported,omitempty"`
	// OpenID Connect Supported Subject Types  JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public.
	SubjectTypesSupported []string `json:"subject_types_supported"`
	// OAuth 2.0 Token Endpoint URL
	TokenEndpoint string `json:"token_endpoint"`
	// OAuth 2.0 Supported Client Authentication Methods  JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0
	TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported,omitempty"`
	// OpenID Connect Userinfo URL  URL of the OP's UserInfo Endpoint.
	UserinfoEndpoint *string `json:"userinfo_endpoint,omitempty"`
	// OpenID Connect User Userinfo Signing Algorithm  Algorithm used to sign OpenID Connect Userinfo Responses.
	UserinfoSignedResponseAlg []string `json:"userinfo_signed_response_alg"`
	// OpenID Connect Supported Userinfo Signing Algorithm  JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
	UserinfoSigningAlgValuesSupported []string `json:"userinfo_signing_alg_values_supported,omitempty"`
	AdditionalProperties              map[string]interface{}
}

OidcConfiguration Includes links to several endpoints (for example `/oauth2/token`) and exposes information on supported signature algorithms among others.

func NewOidcConfiguration

func NewOidcConfiguration(authorizationEndpoint string, idTokenSignedResponseAlg []string, idTokenSigningAlgValuesSupported []string, issuer string, jwksUri string, responseTypesSupported []string, subjectTypesSupported []string, tokenEndpoint string, userinfoSignedResponseAlg []string) *OidcConfiguration

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

func NewOidcConfigurationWithDefaults

func NewOidcConfigurationWithDefaults() *OidcConfiguration

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

func (*OidcConfiguration) GetAuthorizationEndpoint

func (o *OidcConfiguration) GetAuthorizationEndpoint() string

GetAuthorizationEndpoint returns the AuthorizationEndpoint field value

func (*OidcConfiguration) GetAuthorizationEndpointOk

func (o *OidcConfiguration) GetAuthorizationEndpointOk() (*string, bool)

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

func (*OidcConfiguration) GetBackchannelLogoutSessionSupported

func (o *OidcConfiguration) GetBackchannelLogoutSessionSupported() bool

GetBackchannelLogoutSessionSupported returns the BackchannelLogoutSessionSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetBackchannelLogoutSessionSupportedOk

func (o *OidcConfiguration) GetBackchannelLogoutSessionSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetBackchannelLogoutSupported

func (o *OidcConfiguration) GetBackchannelLogoutSupported() bool

GetBackchannelLogoutSupported returns the BackchannelLogoutSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetBackchannelLogoutSupportedOk

func (o *OidcConfiguration) GetBackchannelLogoutSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetClaimsParameterSupported

func (o *OidcConfiguration) GetClaimsParameterSupported() bool

GetClaimsParameterSupported returns the ClaimsParameterSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetClaimsParameterSupportedOk

func (o *OidcConfiguration) GetClaimsParameterSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetClaimsSupported

func (o *OidcConfiguration) GetClaimsSupported() []string

GetClaimsSupported returns the ClaimsSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetClaimsSupportedOk

func (o *OidcConfiguration) GetClaimsSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetCodeChallengeMethodsSupported

func (o *OidcConfiguration) GetCodeChallengeMethodsSupported() []string

GetCodeChallengeMethodsSupported returns the CodeChallengeMethodsSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetCodeChallengeMethodsSupportedOk

func (o *OidcConfiguration) GetCodeChallengeMethodsSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetCredentialsEndpointDraft00 added in v2.2.0

func (o *OidcConfiguration) GetCredentialsEndpointDraft00() string

GetCredentialsEndpointDraft00 returns the CredentialsEndpointDraft00 field value if set, zero value otherwise.

func (*OidcConfiguration) GetCredentialsEndpointDraft00Ok added in v2.2.0

func (o *OidcConfiguration) GetCredentialsEndpointDraft00Ok() (*string, bool)

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

func (*OidcConfiguration) GetCredentialsSupportedDraft00 added in v2.2.0

func (o *OidcConfiguration) GetCredentialsSupportedDraft00() []CredentialSupportedDraft00

GetCredentialsSupportedDraft00 returns the CredentialsSupportedDraft00 field value if set, zero value otherwise.

func (*OidcConfiguration) GetCredentialsSupportedDraft00Ok added in v2.2.0

func (o *OidcConfiguration) GetCredentialsSupportedDraft00Ok() ([]CredentialSupportedDraft00, bool)

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

func (*OidcConfiguration) GetEndSessionEndpoint

func (o *OidcConfiguration) GetEndSessionEndpoint() string

GetEndSessionEndpoint returns the EndSessionEndpoint field value if set, zero value otherwise.

func (*OidcConfiguration) GetEndSessionEndpointOk

func (o *OidcConfiguration) GetEndSessionEndpointOk() (*string, bool)

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

func (*OidcConfiguration) GetFrontchannelLogoutSessionSupported

func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupported() bool

GetFrontchannelLogoutSessionSupported returns the FrontchannelLogoutSessionSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetFrontchannelLogoutSessionSupportedOk

func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetFrontchannelLogoutSupported

func (o *OidcConfiguration) GetFrontchannelLogoutSupported() bool

GetFrontchannelLogoutSupported returns the FrontchannelLogoutSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetFrontchannelLogoutSupportedOk

func (o *OidcConfiguration) GetFrontchannelLogoutSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetGrantTypesSupported

func (o *OidcConfiguration) GetGrantTypesSupported() []string

GetGrantTypesSupported returns the GrantTypesSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetGrantTypesSupportedOk

func (o *OidcConfiguration) GetGrantTypesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetIdTokenSignedResponseAlg

func (o *OidcConfiguration) GetIdTokenSignedResponseAlg() []string

GetIdTokenSignedResponseAlg returns the IdTokenSignedResponseAlg field value

func (*OidcConfiguration) GetIdTokenSignedResponseAlgOk

func (o *OidcConfiguration) GetIdTokenSignedResponseAlgOk() ([]string, bool)

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

func (*OidcConfiguration) GetIdTokenSigningAlgValuesSupported

func (o *OidcConfiguration) GetIdTokenSigningAlgValuesSupported() []string

GetIdTokenSigningAlgValuesSupported returns the IdTokenSigningAlgValuesSupported field value

func (*OidcConfiguration) GetIdTokenSigningAlgValuesSupportedOk

func (o *OidcConfiguration) GetIdTokenSigningAlgValuesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetIssuer

func (o *OidcConfiguration) GetIssuer() string

GetIssuer returns the Issuer field value

func (*OidcConfiguration) GetIssuerOk

func (o *OidcConfiguration) GetIssuerOk() (*string, bool)

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

func (*OidcConfiguration) GetJwksUri

func (o *OidcConfiguration) GetJwksUri() string

GetJwksUri returns the JwksUri field value

func (*OidcConfiguration) GetJwksUriOk

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

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

func (*OidcConfiguration) GetRegistrationEndpoint

func (o *OidcConfiguration) GetRegistrationEndpoint() string

GetRegistrationEndpoint returns the RegistrationEndpoint field value if set, zero value otherwise.

func (*OidcConfiguration) GetRegistrationEndpointOk

func (o *OidcConfiguration) GetRegistrationEndpointOk() (*string, bool)

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

func (*OidcConfiguration) GetRequestObjectSigningAlgValuesSupported

func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupported() []string

GetRequestObjectSigningAlgValuesSupported returns the RequestObjectSigningAlgValuesSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetRequestObjectSigningAlgValuesSupportedOk

func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetRequestParameterSupported

func (o *OidcConfiguration) GetRequestParameterSupported() bool

GetRequestParameterSupported returns the RequestParameterSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetRequestParameterSupportedOk

func (o *OidcConfiguration) GetRequestParameterSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetRequestUriParameterSupported

func (o *OidcConfiguration) GetRequestUriParameterSupported() bool

GetRequestUriParameterSupported returns the RequestUriParameterSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetRequestUriParameterSupportedOk

func (o *OidcConfiguration) GetRequestUriParameterSupportedOk() (*bool, bool)

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

func (*OidcConfiguration) GetRequireRequestUriRegistration

func (o *OidcConfiguration) GetRequireRequestUriRegistration() bool

GetRequireRequestUriRegistration returns the RequireRequestUriRegistration field value if set, zero value otherwise.

func (*OidcConfiguration) GetRequireRequestUriRegistrationOk

func (o *OidcConfiguration) GetRequireRequestUriRegistrationOk() (*bool, bool)

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

func (*OidcConfiguration) GetResponseModesSupported

func (o *OidcConfiguration) GetResponseModesSupported() []string

GetResponseModesSupported returns the ResponseModesSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetResponseModesSupportedOk

func (o *OidcConfiguration) GetResponseModesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetResponseTypesSupported

func (o *OidcConfiguration) GetResponseTypesSupported() []string

GetResponseTypesSupported returns the ResponseTypesSupported field value

func (*OidcConfiguration) GetResponseTypesSupportedOk

func (o *OidcConfiguration) GetResponseTypesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetRevocationEndpoint

func (o *OidcConfiguration) GetRevocationEndpoint() string

GetRevocationEndpoint returns the RevocationEndpoint field value if set, zero value otherwise.

func (*OidcConfiguration) GetRevocationEndpointOk

func (o *OidcConfiguration) GetRevocationEndpointOk() (*string, bool)

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

func (*OidcConfiguration) GetScopesSupported

func (o *OidcConfiguration) GetScopesSupported() []string

GetScopesSupported returns the ScopesSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetScopesSupportedOk

func (o *OidcConfiguration) GetScopesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetSubjectTypesSupported

func (o *OidcConfiguration) GetSubjectTypesSupported() []string

GetSubjectTypesSupported returns the SubjectTypesSupported field value

func (*OidcConfiguration) GetSubjectTypesSupportedOk

func (o *OidcConfiguration) GetSubjectTypesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetTokenEndpoint

func (o *OidcConfiguration) GetTokenEndpoint() string

GetTokenEndpoint returns the TokenEndpoint field value

func (*OidcConfiguration) GetTokenEndpointAuthMethodsSupported

func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupported() []string

GetTokenEndpointAuthMethodsSupported returns the TokenEndpointAuthMethodsSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetTokenEndpointAuthMethodsSupportedOk

func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) GetTokenEndpointOk

func (o *OidcConfiguration) GetTokenEndpointOk() (*string, bool)

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

func (*OidcConfiguration) GetUserinfoEndpoint

func (o *OidcConfiguration) GetUserinfoEndpoint() string

GetUserinfoEndpoint returns the UserinfoEndpoint field value if set, zero value otherwise.

func (*OidcConfiguration) GetUserinfoEndpointOk

func (o *OidcConfiguration) GetUserinfoEndpointOk() (*string, bool)

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

func (*OidcConfiguration) GetUserinfoSignedResponseAlg

func (o *OidcConfiguration) GetUserinfoSignedResponseAlg() []string

GetUserinfoSignedResponseAlg returns the UserinfoSignedResponseAlg field value

func (*OidcConfiguration) GetUserinfoSignedResponseAlgOk

func (o *OidcConfiguration) GetUserinfoSignedResponseAlgOk() ([]string, bool)

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

func (*OidcConfiguration) GetUserinfoSigningAlgValuesSupported

func (o *OidcConfiguration) GetUserinfoSigningAlgValuesSupported() []string

GetUserinfoSigningAlgValuesSupported returns the UserinfoSigningAlgValuesSupported field value if set, zero value otherwise.

func (*OidcConfiguration) GetUserinfoSigningAlgValuesSupportedOk

func (o *OidcConfiguration) GetUserinfoSigningAlgValuesSupportedOk() ([]string, bool)

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

func (*OidcConfiguration) HasBackchannelLogoutSessionSupported

func (o *OidcConfiguration) HasBackchannelLogoutSessionSupported() bool

HasBackchannelLogoutSessionSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasBackchannelLogoutSupported

func (o *OidcConfiguration) HasBackchannelLogoutSupported() bool

HasBackchannelLogoutSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasClaimsParameterSupported

func (o *OidcConfiguration) HasClaimsParameterSupported() bool

HasClaimsParameterSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasClaimsSupported

func (o *OidcConfiguration) HasClaimsSupported() bool

HasClaimsSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasCodeChallengeMethodsSupported

func (o *OidcConfiguration) HasCodeChallengeMethodsSupported() bool

HasCodeChallengeMethodsSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasCredentialsEndpointDraft00 added in v2.2.0

func (o *OidcConfiguration) HasCredentialsEndpointDraft00() bool

HasCredentialsEndpointDraft00 returns a boolean if a field has been set.

func (*OidcConfiguration) HasCredentialsSupportedDraft00 added in v2.2.0

func (o *OidcConfiguration) HasCredentialsSupportedDraft00() bool

HasCredentialsSupportedDraft00 returns a boolean if a field has been set.

func (*OidcConfiguration) HasEndSessionEndpoint

func (o *OidcConfiguration) HasEndSessionEndpoint() bool

HasEndSessionEndpoint returns a boolean if a field has been set.

func (*OidcConfiguration) HasFrontchannelLogoutSessionSupported

func (o *OidcConfiguration) HasFrontchannelLogoutSessionSupported() bool

HasFrontchannelLogoutSessionSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasFrontchannelLogoutSupported

func (o *OidcConfiguration) HasFrontchannelLogoutSupported() bool

HasFrontchannelLogoutSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasGrantTypesSupported

func (o *OidcConfiguration) HasGrantTypesSupported() bool

HasGrantTypesSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasRegistrationEndpoint

func (o *OidcConfiguration) HasRegistrationEndpoint() bool

HasRegistrationEndpoint returns a boolean if a field has been set.

func (*OidcConfiguration) HasRequestObjectSigningAlgValuesSupported

func (o *OidcConfiguration) HasRequestObjectSigningAlgValuesSupported() bool

HasRequestObjectSigningAlgValuesSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasRequestParameterSupported

func (o *OidcConfiguration) HasRequestParameterSupported() bool

HasRequestParameterSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasRequestUriParameterSupported

func (o *OidcConfiguration) HasRequestUriParameterSupported() bool

HasRequestUriParameterSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasRequireRequestUriRegistration

func (o *OidcConfiguration) HasRequireRequestUriRegistration() bool

HasRequireRequestUriRegistration returns a boolean if a field has been set.

func (*OidcConfiguration) HasResponseModesSupported

func (o *OidcConfiguration) HasResponseModesSupported() bool

HasResponseModesSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasRevocationEndpoint

func (o *OidcConfiguration) HasRevocationEndpoint() bool

HasRevocationEndpoint returns a boolean if a field has been set.

func (*OidcConfiguration) HasScopesSupported

func (o *OidcConfiguration) HasScopesSupported() bool

HasScopesSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasTokenEndpointAuthMethodsSupported

func (o *OidcConfiguration) HasTokenEndpointAuthMethodsSupported() bool

HasTokenEndpointAuthMethodsSupported returns a boolean if a field has been set.

func (*OidcConfiguration) HasUserinfoEndpoint

func (o *OidcConfiguration) HasUserinfoEndpoint() bool

HasUserinfoEndpoint returns a boolean if a field has been set.

func (*OidcConfiguration) HasUserinfoSigningAlgValuesSupported

func (o *OidcConfiguration) HasUserinfoSigningAlgValuesSupported() bool

HasUserinfoSigningAlgValuesSupported returns a boolean if a field has been set.

func (OidcConfiguration) MarshalJSON

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

func (*OidcConfiguration) SetAuthorizationEndpoint

func (o *OidcConfiguration) SetAuthorizationEndpoint(v string)

SetAuthorizationEndpoint sets field value

func (*OidcConfiguration) SetBackchannelLogoutSessionSupported

func (o *OidcConfiguration) SetBackchannelLogoutSessionSupported(v bool)

SetBackchannelLogoutSessionSupported gets a reference to the given bool and assigns it to the BackchannelLogoutSessionSupported field.

func (*OidcConfiguration) SetBackchannelLogoutSupported

func (o *OidcConfiguration) SetBackchannelLogoutSupported(v bool)

SetBackchannelLogoutSupported gets a reference to the given bool and assigns it to the BackchannelLogoutSupported field.

func (*OidcConfiguration) SetClaimsParameterSupported

func (o *OidcConfiguration) SetClaimsParameterSupported(v bool)

SetClaimsParameterSupported gets a reference to the given bool and assigns it to the ClaimsParameterSupported field.

func (*OidcConfiguration) SetClaimsSupported

func (o *OidcConfiguration) SetClaimsSupported(v []string)

SetClaimsSupported gets a reference to the given []string and assigns it to the ClaimsSupported field.

func (*OidcConfiguration) SetCodeChallengeMethodsSupported

func (o *OidcConfiguration) SetCodeChallengeMethodsSupported(v []string)

SetCodeChallengeMethodsSupported gets a reference to the given []string and assigns it to the CodeChallengeMethodsSupported field.

func (*OidcConfiguration) SetCredentialsEndpointDraft00 added in v2.2.0

func (o *OidcConfiguration) SetCredentialsEndpointDraft00(v string)

SetCredentialsEndpointDraft00 gets a reference to the given string and assigns it to the CredentialsEndpointDraft00 field.

func (*OidcConfiguration) SetCredentialsSupportedDraft00 added in v2.2.0

func (o *OidcConfiguration) SetCredentialsSupportedDraft00(v []CredentialSupportedDraft00)

SetCredentialsSupportedDraft00 gets a reference to the given []CredentialSupportedDraft00 and assigns it to the CredentialsSupportedDraft00 field.

func (*OidcConfiguration) SetEndSessionEndpoint

func (o *OidcConfiguration) SetEndSessionEndpoint(v string)

SetEndSessionEndpoint gets a reference to the given string and assigns it to the EndSessionEndpoint field.

func (*OidcConfiguration) SetFrontchannelLogoutSessionSupported

func (o *OidcConfiguration) SetFrontchannelLogoutSessionSupported(v bool)

SetFrontchannelLogoutSessionSupported gets a reference to the given bool and assigns it to the FrontchannelLogoutSessionSupported field.

func (*OidcConfiguration) SetFrontchannelLogoutSupported

func (o *OidcConfiguration) SetFrontchannelLogoutSupported(v bool)

SetFrontchannelLogoutSupported gets a reference to the given bool and assigns it to the FrontchannelLogoutSupported field.

func (*OidcConfiguration) SetGrantTypesSupported

func (o *OidcConfiguration) SetGrantTypesSupported(v []string)

SetGrantTypesSupported gets a reference to the given []string and assigns it to the GrantTypesSupported field.

func (*OidcConfiguration) SetIdTokenSignedResponseAlg

func (o *OidcConfiguration) SetIdTokenSignedResponseAlg(v []string)

SetIdTokenSignedResponseAlg sets field value

func (*OidcConfiguration) SetIdTokenSigningAlgValuesSupported

func (o *OidcConfiguration) SetIdTokenSigningAlgValuesSupported(v []string)

SetIdTokenSigningAlgValuesSupported sets field value

func (*OidcConfiguration) SetIssuer

func (o *OidcConfiguration) SetIssuer(v string)

SetIssuer sets field value

func (*OidcConfiguration) SetJwksUri

func (o *OidcConfiguration) SetJwksUri(v string)

SetJwksUri sets field value

func (*OidcConfiguration) SetRegistrationEndpoint

func (o *OidcConfiguration) SetRegistrationEndpoint(v string)

SetRegistrationEndpoint gets a reference to the given string and assigns it to the RegistrationEndpoint field.

func (*OidcConfiguration) SetRequestObjectSigningAlgValuesSupported

func (o *OidcConfiguration) SetRequestObjectSigningAlgValuesSupported(v []string)

SetRequestObjectSigningAlgValuesSupported gets a reference to the given []string and assigns it to the RequestObjectSigningAlgValuesSupported field.

func (*OidcConfiguration) SetRequestParameterSupported

func (o *OidcConfiguration) SetRequestParameterSupported(v bool)

SetRequestParameterSupported gets a reference to the given bool and assigns it to the RequestParameterSupported field.

func (*OidcConfiguration) SetRequestUriParameterSupported

func (o *OidcConfiguration) SetRequestUriParameterSupported(v bool)

SetRequestUriParameterSupported gets a reference to the given bool and assigns it to the RequestUriParameterSupported field.

func (*OidcConfiguration) SetRequireRequestUriRegistration

func (o *OidcConfiguration) SetRequireRequestUriRegistration(v bool)

SetRequireRequestUriRegistration gets a reference to the given bool and assigns it to the RequireRequestUriRegistration field.

func (*OidcConfiguration) SetResponseModesSupported

func (o *OidcConfiguration) SetResponseModesSupported(v []string)

SetResponseModesSupported gets a reference to the given []string and assigns it to the ResponseModesSupported field.

func (*OidcConfiguration) SetResponseTypesSupported

func (o *OidcConfiguration) SetResponseTypesSupported(v []string)

SetResponseTypesSupported sets field value

func (*OidcConfiguration) SetRevocationEndpoint

func (o *OidcConfiguration) SetRevocationEndpoint(v string)

SetRevocationEndpoint gets a reference to the given string and assigns it to the RevocationEndpoint field.

func (*OidcConfiguration) SetScopesSupported

func (o *OidcConfiguration) SetScopesSupported(v []string)

SetScopesSupported gets a reference to the given []string and assigns it to the ScopesSupported field.

func (*OidcConfiguration) SetSubjectTypesSupported

func (o *OidcConfiguration) SetSubjectTypesSupported(v []string)

SetSubjectTypesSupported sets field value

func (*OidcConfiguration) SetTokenEndpoint

func (o *OidcConfiguration) SetTokenEndpoint(v string)

SetTokenEndpoint sets field value

func (*OidcConfiguration) SetTokenEndpointAuthMethodsSupported

func (o *OidcConfiguration) SetTokenEndpointAuthMethodsSupported(v []string)

SetTokenEndpointAuthMethodsSupported gets a reference to the given []string and assigns it to the TokenEndpointAuthMethodsSupported field.

func (*OidcConfiguration) SetUserinfoEndpoint

func (o *OidcConfiguration) SetUserinfoEndpoint(v string)

SetUserinfoEndpoint gets a reference to the given string and assigns it to the UserinfoEndpoint field.

func (*OidcConfiguration) SetUserinfoSignedResponseAlg

func (o *OidcConfiguration) SetUserinfoSignedResponseAlg(v []string)

SetUserinfoSignedResponseAlg sets field value

func (*OidcConfiguration) SetUserinfoSigningAlgValuesSupported

func (o *OidcConfiguration) SetUserinfoSigningAlgValuesSupported(v []string)

SetUserinfoSigningAlgValuesSupported gets a reference to the given []string and assigns it to the UserinfoSigningAlgValuesSupported field.

func (OidcConfiguration) ToMap added in v2.2.0

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

func (*OidcConfiguration) UnmarshalJSON added in v2.2.0

func (o *OidcConfiguration) UnmarshalJSON(data []byte) (err error)

type OidcUserInfo

type OidcUserInfo struct {
	// End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.
	Birthdate *string `json:"birthdate,omitempty"`
	// End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.
	Email *string `json:"email,omitempty"`
	// True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating.
	EmailVerified *bool `json:"email_verified,omitempty"`
	// Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.
	FamilyName *string `json:"family_name,omitempty"`
	// End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable.
	Gender *string `json:"gender,omitempty"`
	// Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.
	GivenName *string `json:"given_name,omitempty"`
	// End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.
	Locale *string `json:"locale,omitempty"`
	// Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used.
	MiddleName *string `json:"middle_name,omitempty"`
	// End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.
	Name *string `json:"name,omitempty"`
	// Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael.
	Nickname *string `json:"nickname,omitempty"`
	// End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678.
	PhoneNumber *string `json:"phone_number,omitempty"`
	// True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format.
	PhoneNumberVerified *bool `json:"phone_number_verified,omitempty"`
	// URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User.
	Picture *string `json:"picture,omitempty"`
	// Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace.
	PreferredUsername *string `json:"preferred_username,omitempty"`
	// URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.
	Profile *string `json:"profile,omitempty"`
	// Subject - Identifier for the End-User at the IssuerURL.
	Sub *string `json:"sub,omitempty"`
	// Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.
	UpdatedAt *int64 `json:"updated_at,omitempty"`
	// URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with.
	Website *string `json:"website,omitempty"`
	// String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.
	Zoneinfo             *string `json:"zoneinfo,omitempty"`
	AdditionalProperties map[string]interface{}
}

OidcUserInfo OpenID Connect Userinfo

func NewOidcUserInfo

func NewOidcUserInfo() *OidcUserInfo

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

func NewOidcUserInfoWithDefaults

func NewOidcUserInfoWithDefaults() *OidcUserInfo

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

func (*OidcUserInfo) GetBirthdate

func (o *OidcUserInfo) GetBirthdate() string

GetBirthdate returns the Birthdate field value if set, zero value otherwise.

func (*OidcUserInfo) GetBirthdateOk

func (o *OidcUserInfo) GetBirthdateOk() (*string, bool)

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

func (*OidcUserInfo) GetEmail

func (o *OidcUserInfo) GetEmail() string

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

func (*OidcUserInfo) GetEmailOk

func (o *OidcUserInfo) 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 (*OidcUserInfo) GetEmailVerified

func (o *OidcUserInfo) GetEmailVerified() bool

GetEmailVerified returns the EmailVerified field value if set, zero value otherwise.

func (*OidcUserInfo) GetEmailVerifiedOk

func (o *OidcUserInfo) GetEmailVerifiedOk() (*bool, bool)

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

func (*OidcUserInfo) GetFamilyName

func (o *OidcUserInfo) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*OidcUserInfo) GetFamilyNameOk

func (o *OidcUserInfo) GetFamilyNameOk() (*string, bool)

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

func (*OidcUserInfo) GetGender

func (o *OidcUserInfo) GetGender() string

GetGender returns the Gender field value if set, zero value otherwise.

func (*OidcUserInfo) GetGenderOk

func (o *OidcUserInfo) GetGenderOk() (*string, bool)

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

func (*OidcUserInfo) GetGivenName

func (o *OidcUserInfo) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*OidcUserInfo) GetGivenNameOk

func (o *OidcUserInfo) GetGivenNameOk() (*string, bool)

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

func (*OidcUserInfo) GetLocale

func (o *OidcUserInfo) GetLocale() string

GetLocale returns the Locale field value if set, zero value otherwise.

func (*OidcUserInfo) GetLocaleOk

func (o *OidcUserInfo) GetLocaleOk() (*string, bool)

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

func (*OidcUserInfo) GetMiddleName

func (o *OidcUserInfo) GetMiddleName() string

GetMiddleName returns the MiddleName field value if set, zero value otherwise.

func (*OidcUserInfo) GetMiddleNameOk

func (o *OidcUserInfo) GetMiddleNameOk() (*string, bool)

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

func (*OidcUserInfo) GetName

func (o *OidcUserInfo) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OidcUserInfo) GetNameOk

func (o *OidcUserInfo) GetNameOk() (*string, bool)

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

func (*OidcUserInfo) GetNickname

func (o *OidcUserInfo) GetNickname() string

GetNickname returns the Nickname field value if set, zero value otherwise.

func (*OidcUserInfo) GetNicknameOk

func (o *OidcUserInfo) GetNicknameOk() (*string, bool)

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

func (*OidcUserInfo) GetPhoneNumber

func (o *OidcUserInfo) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*OidcUserInfo) GetPhoneNumberOk

func (o *OidcUserInfo) GetPhoneNumberOk() (*string, bool)

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

func (*OidcUserInfo) GetPhoneNumberVerified

func (o *OidcUserInfo) GetPhoneNumberVerified() bool

GetPhoneNumberVerified returns the PhoneNumberVerified field value if set, zero value otherwise.

func (*OidcUserInfo) GetPhoneNumberVerifiedOk

func (o *OidcUserInfo) GetPhoneNumberVerifiedOk() (*bool, bool)

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

func (*OidcUserInfo) GetPicture

func (o *OidcUserInfo) GetPicture() string

GetPicture returns the Picture field value if set, zero value otherwise.

func (*OidcUserInfo) GetPictureOk

func (o *OidcUserInfo) GetPictureOk() (*string, bool)

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

func (*OidcUserInfo) GetPreferredUsername

func (o *OidcUserInfo) GetPreferredUsername() string

GetPreferredUsername returns the PreferredUsername field value if set, zero value otherwise.

func (*OidcUserInfo) GetPreferredUsernameOk

func (o *OidcUserInfo) GetPreferredUsernameOk() (*string, bool)

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

func (*OidcUserInfo) GetProfile

func (o *OidcUserInfo) GetProfile() string

GetProfile returns the Profile field value if set, zero value otherwise.

func (*OidcUserInfo) GetProfileOk

func (o *OidcUserInfo) GetProfileOk() (*string, bool)

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

func (*OidcUserInfo) GetSub

func (o *OidcUserInfo) GetSub() string

GetSub returns the Sub field value if set, zero value otherwise.

func (*OidcUserInfo) GetSubOk

func (o *OidcUserInfo) GetSubOk() (*string, bool)

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

func (*OidcUserInfo) GetUpdatedAt

func (o *OidcUserInfo) GetUpdatedAt() int64

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

func (*OidcUserInfo) GetUpdatedAtOk

func (o *OidcUserInfo) GetUpdatedAtOk() (*int64, 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 (*OidcUserInfo) GetWebsite

func (o *OidcUserInfo) GetWebsite() string

GetWebsite returns the Website field value if set, zero value otherwise.

func (*OidcUserInfo) GetWebsiteOk

func (o *OidcUserInfo) GetWebsiteOk() (*string, bool)

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

func (*OidcUserInfo) GetZoneinfo

func (o *OidcUserInfo) GetZoneinfo() string

GetZoneinfo returns the Zoneinfo field value if set, zero value otherwise.

func (*OidcUserInfo) GetZoneinfoOk

func (o *OidcUserInfo) GetZoneinfoOk() (*string, bool)

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

func (*OidcUserInfo) HasBirthdate

func (o *OidcUserInfo) HasBirthdate() bool

HasBirthdate returns a boolean if a field has been set.

func (*OidcUserInfo) HasEmail

func (o *OidcUserInfo) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*OidcUserInfo) HasEmailVerified

func (o *OidcUserInfo) HasEmailVerified() bool

HasEmailVerified returns a boolean if a field has been set.

func (*OidcUserInfo) HasFamilyName

func (o *OidcUserInfo) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*OidcUserInfo) HasGender

func (o *OidcUserInfo) HasGender() bool

HasGender returns a boolean if a field has been set.

func (*OidcUserInfo) HasGivenName

func (o *OidcUserInfo) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*OidcUserInfo) HasLocale

func (o *OidcUserInfo) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*OidcUserInfo) HasMiddleName

func (o *OidcUserInfo) HasMiddleName() bool

HasMiddleName returns a boolean if a field has been set.

func (*OidcUserInfo) HasName

func (o *OidcUserInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*OidcUserInfo) HasNickname

func (o *OidcUserInfo) HasNickname() bool

HasNickname returns a boolean if a field has been set.

func (*OidcUserInfo) HasPhoneNumber

func (o *OidcUserInfo) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*OidcUserInfo) HasPhoneNumberVerified

func (o *OidcUserInfo) HasPhoneNumberVerified() bool

HasPhoneNumberVerified returns a boolean if a field has been set.

func (*OidcUserInfo) HasPicture

func (o *OidcUserInfo) HasPicture() bool

HasPicture returns a boolean if a field has been set.

func (*OidcUserInfo) HasPreferredUsername

func (o *OidcUserInfo) HasPreferredUsername() bool

HasPreferredUsername returns a boolean if a field has been set.

func (*OidcUserInfo) HasProfile

func (o *OidcUserInfo) HasProfile() bool

HasProfile returns a boolean if a field has been set.

func (*OidcUserInfo) HasSub

func (o *OidcUserInfo) HasSub() bool

HasSub returns a boolean if a field has been set.

func (*OidcUserInfo) HasUpdatedAt

func (o *OidcUserInfo) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*OidcUserInfo) HasWebsite

func (o *OidcUserInfo) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (*OidcUserInfo) HasZoneinfo

func (o *OidcUserInfo) HasZoneinfo() bool

HasZoneinfo returns a boolean if a field has been set.

func (OidcUserInfo) MarshalJSON

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

func (*OidcUserInfo) SetBirthdate

func (o *OidcUserInfo) SetBirthdate(v string)

SetBirthdate gets a reference to the given string and assigns it to the Birthdate field.

func (*OidcUserInfo) SetEmail

func (o *OidcUserInfo) SetEmail(v string)

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

func (*OidcUserInfo) SetEmailVerified

func (o *OidcUserInfo) SetEmailVerified(v bool)

SetEmailVerified gets a reference to the given bool and assigns it to the EmailVerified field.

func (*OidcUserInfo) SetFamilyName

func (o *OidcUserInfo) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*OidcUserInfo) SetGender

func (o *OidcUserInfo) SetGender(v string)

SetGender gets a reference to the given string and assigns it to the Gender field.

func (*OidcUserInfo) SetGivenName

func (o *OidcUserInfo) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*OidcUserInfo) SetLocale

func (o *OidcUserInfo) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*OidcUserInfo) SetMiddleName

func (o *OidcUserInfo) SetMiddleName(v string)

SetMiddleName gets a reference to the given string and assigns it to the MiddleName field.

func (*OidcUserInfo) SetName

func (o *OidcUserInfo) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OidcUserInfo) SetNickname

func (o *OidcUserInfo) SetNickname(v string)

SetNickname gets a reference to the given string and assigns it to the Nickname field.

func (*OidcUserInfo) SetPhoneNumber

func (o *OidcUserInfo) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*OidcUserInfo) SetPhoneNumberVerified

func (o *OidcUserInfo) SetPhoneNumberVerified(v bool)

SetPhoneNumberVerified gets a reference to the given bool and assigns it to the PhoneNumberVerified field.

func (*OidcUserInfo) SetPicture

func (o *OidcUserInfo) SetPicture(v string)

SetPicture gets a reference to the given string and assigns it to the Picture field.

func (*OidcUserInfo) SetPreferredUsername

func (o *OidcUserInfo) SetPreferredUsername(v string)

SetPreferredUsername gets a reference to the given string and assigns it to the PreferredUsername field.

func (*OidcUserInfo) SetProfile

func (o *OidcUserInfo) SetProfile(v string)

SetProfile gets a reference to the given string and assigns it to the Profile field.

func (*OidcUserInfo) SetSub

func (o *OidcUserInfo) SetSub(v string)

SetSub gets a reference to the given string and assigns it to the Sub field.

func (*OidcUserInfo) SetUpdatedAt

func (o *OidcUserInfo) SetUpdatedAt(v int64)

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

func (*OidcUserInfo) SetWebsite

func (o *OidcUserInfo) SetWebsite(v string)

SetWebsite gets a reference to the given string and assigns it to the Website field.

func (*OidcUserInfo) SetZoneinfo

func (o *OidcUserInfo) SetZoneinfo(v string)

SetZoneinfo gets a reference to the given string and assigns it to the Zoneinfo field.

func (OidcUserInfo) ToMap added in v2.2.0

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

func (*OidcUserInfo) UnmarshalJSON added in v2.2.0

func (o *OidcUserInfo) UnmarshalJSON(data []byte) (err error)

type Pagination

type Pagination struct {
	// Items per page  This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
	PageSize *int64 `json:"page_size,omitempty"`
	// Next Page Token  The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
	PageToken            *string `json:"page_token,omitempty"`
	AdditionalProperties map[string]interface{}
}

Pagination struct for Pagination

func NewPagination

func NewPagination() *Pagination

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

func NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

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

func (*Pagination) GetPageSize

func (o *Pagination) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*Pagination) GetPageSizeOk

func (o *Pagination) 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 (*Pagination) GetPageToken

func (o *Pagination) GetPageToken() string

GetPageToken returns the PageToken field value if set, zero value otherwise.

func (*Pagination) GetPageTokenOk

func (o *Pagination) 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 (*Pagination) HasPageSize

func (o *Pagination) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*Pagination) HasPageToken

func (o *Pagination) HasPageToken() bool

HasPageToken returns a boolean if a field has been set.

func (Pagination) MarshalJSON

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

func (*Pagination) SetPageSize

func (o *Pagination) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*Pagination) SetPageToken

func (o *Pagination) SetPageToken(v string)

SetPageToken gets a reference to the given string and assigns it to the PageToken field.

func (Pagination) ToMap added in v2.2.0

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

func (*Pagination) UnmarshalJSON added in v2.2.0

func (o *Pagination) UnmarshalJSON(data []byte) (err error)

type PaginationHeaders

type PaginationHeaders struct {
	// The link header contains pagination links.  For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).  in: header
	Link *string `json:"link,omitempty"`
	// The total number of clients.  in: header
	XTotalCount          *string `json:"x-total-count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginationHeaders struct for PaginationHeaders

func NewPaginationHeaders

func NewPaginationHeaders() *PaginationHeaders

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

func NewPaginationHeadersWithDefaults

func NewPaginationHeadersWithDefaults() *PaginationHeaders

NewPaginationHeadersWithDefaults instantiates a new PaginationHeaders object This constructor 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 *PaginationHeaders) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*PaginationHeaders) GetLinkOk

func (o *PaginationHeaders) 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 (*PaginationHeaders) GetXTotalCount

func (o *PaginationHeaders) GetXTotalCount() string

GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.

func (*PaginationHeaders) GetXTotalCountOk

func (o *PaginationHeaders) 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 *PaginationHeaders) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*PaginationHeaders) HasXTotalCount

func (o *PaginationHeaders) HasXTotalCount() bool

HasXTotalCount returns a boolean if a field has been set.

func (PaginationHeaders) MarshalJSON

func (o PaginationHeaders) MarshalJSON() ([]byte, error)
func (o *PaginationHeaders) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*PaginationHeaders) SetXTotalCount

func (o *PaginationHeaders) SetXTotalCount(v string)

SetXTotalCount gets a reference to the given string and assigns it to the XTotalCount field.

func (PaginationHeaders) ToMap added in v2.2.0

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

func (*PaginationHeaders) UnmarshalJSON added in v2.2.0

func (o *PaginationHeaders) UnmarshalJSON(data []byte) (err error)

type RFC6749ErrorJson added in v2.2.0

type RFC6749ErrorJson struct {
	Error                *string `json:"error,omitempty"`
	ErrorDebug           *string `json:"error_debug,omitempty"`
	ErrorDescription     *string `json:"error_description,omitempty"`
	ErrorHint            *string `json:"error_hint,omitempty"`
	StatusCode           *int64  `json:"status_code,omitempty"`
	AdditionalProperties map[string]interface{}
}

RFC6749ErrorJson struct for RFC6749ErrorJson

func NewRFC6749ErrorJson added in v2.2.0

func NewRFC6749ErrorJson() *RFC6749ErrorJson

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

func NewRFC6749ErrorJsonWithDefaults added in v2.2.0

func NewRFC6749ErrorJsonWithDefaults() *RFC6749ErrorJson

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

func (*RFC6749ErrorJson) GetError added in v2.2.0

func (o *RFC6749ErrorJson) GetError() string

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

func (*RFC6749ErrorJson) GetErrorDebug added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorDebug() string

GetErrorDebug returns the ErrorDebug field value if set, zero value otherwise.

func (*RFC6749ErrorJson) GetErrorDebugOk added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorDebugOk() (*string, bool)

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

func (*RFC6749ErrorJson) GetErrorDescription added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorDescription() string

GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.

func (*RFC6749ErrorJson) GetErrorDescriptionOk added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorDescriptionOk() (*string, bool)

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

func (*RFC6749ErrorJson) GetErrorHint added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorHint() string

GetErrorHint returns the ErrorHint field value if set, zero value otherwise.

func (*RFC6749ErrorJson) GetErrorHintOk added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorHintOk() (*string, bool)

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

func (*RFC6749ErrorJson) GetErrorOk added in v2.2.0

func (o *RFC6749ErrorJson) GetErrorOk() (*string, 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 (*RFC6749ErrorJson) GetStatusCode added in v2.2.0

func (o *RFC6749ErrorJson) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*RFC6749ErrorJson) GetStatusCodeOk added in v2.2.0

func (o *RFC6749ErrorJson) GetStatusCodeOk() (*int64, bool)

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

func (*RFC6749ErrorJson) HasError added in v2.2.0

func (o *RFC6749ErrorJson) HasError() bool

HasError returns a boolean if a field has been set.

func (*RFC6749ErrorJson) HasErrorDebug added in v2.2.0

func (o *RFC6749ErrorJson) HasErrorDebug() bool

HasErrorDebug returns a boolean if a field has been set.

func (*RFC6749ErrorJson) HasErrorDescription added in v2.2.0

func (o *RFC6749ErrorJson) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*RFC6749ErrorJson) HasErrorHint added in v2.2.0

func (o *RFC6749ErrorJson) HasErrorHint() bool

HasErrorHint returns a boolean if a field has been set.

func (*RFC6749ErrorJson) HasStatusCode added in v2.2.0

func (o *RFC6749ErrorJson) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (RFC6749ErrorJson) MarshalJSON added in v2.2.0

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

func (*RFC6749ErrorJson) SetError added in v2.2.0

func (o *RFC6749ErrorJson) SetError(v string)

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

func (*RFC6749ErrorJson) SetErrorDebug added in v2.2.0

func (o *RFC6749ErrorJson) SetErrorDebug(v string)

SetErrorDebug gets a reference to the given string and assigns it to the ErrorDebug field.

func (*RFC6749ErrorJson) SetErrorDescription added in v2.2.0

func (o *RFC6749ErrorJson) SetErrorDescription(v string)

SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.

func (*RFC6749ErrorJson) SetErrorHint added in v2.2.0

func (o *RFC6749ErrorJson) SetErrorHint(v string)

SetErrorHint gets a reference to the given string and assigns it to the ErrorHint field.

func (*RFC6749ErrorJson) SetStatusCode added in v2.2.0

func (o *RFC6749ErrorJson) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (RFC6749ErrorJson) ToMap added in v2.2.0

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

func (*RFC6749ErrorJson) UnmarshalJSON added in v2.2.0

func (o *RFC6749ErrorJson) UnmarshalJSON(data []byte) (err error)

type RejectOAuth2Request

type RejectOAuth2Request struct {
	// The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`).  Defaults to `request_denied`.
	Error *string `json:"error,omitempty"`
	// Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs.
	ErrorDebug *string `json:"error_debug,omitempty"`
	// Description of the error in a human readable format.
	ErrorDescription *string `json:"error_description,omitempty"`
	// Hint to help resolve the error.
	ErrorHint *string `json:"error_hint,omitempty"`
	// Represents the HTTP status code of the error (e.g. 401 or 403)  Defaults to 400
	StatusCode           *int64 `json:"status_code,omitempty"`
	AdditionalProperties map[string]interface{}
}

RejectOAuth2Request struct for RejectOAuth2Request

func NewRejectOAuth2Request

func NewRejectOAuth2Request() *RejectOAuth2Request

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

func NewRejectOAuth2RequestWithDefaults

func NewRejectOAuth2RequestWithDefaults() *RejectOAuth2Request

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

func (*RejectOAuth2Request) GetError

func (o *RejectOAuth2Request) GetError() string

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

func (*RejectOAuth2Request) GetErrorDebug

func (o *RejectOAuth2Request) GetErrorDebug() string

GetErrorDebug returns the ErrorDebug field value if set, zero value otherwise.

func (*RejectOAuth2Request) GetErrorDebugOk

func (o *RejectOAuth2Request) GetErrorDebugOk() (*string, bool)

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

func (*RejectOAuth2Request) GetErrorDescription

func (o *RejectOAuth2Request) GetErrorDescription() string

GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.

func (*RejectOAuth2Request) GetErrorDescriptionOk

func (o *RejectOAuth2Request) GetErrorDescriptionOk() (*string, bool)

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

func (*RejectOAuth2Request) GetErrorHint

func (o *RejectOAuth2Request) GetErrorHint() string

GetErrorHint returns the ErrorHint field value if set, zero value otherwise.

func (*RejectOAuth2Request) GetErrorHintOk

func (o *RejectOAuth2Request) GetErrorHintOk() (*string, bool)

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

func (*RejectOAuth2Request) GetErrorOk

func (o *RejectOAuth2Request) GetErrorOk() (*string, 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 (*RejectOAuth2Request) GetStatusCode

func (o *RejectOAuth2Request) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*RejectOAuth2Request) GetStatusCodeOk

func (o *RejectOAuth2Request) GetStatusCodeOk() (*int64, bool)

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

func (*RejectOAuth2Request) HasError

func (o *RejectOAuth2Request) HasError() bool

HasError returns a boolean if a field has been set.

func (*RejectOAuth2Request) HasErrorDebug

func (o *RejectOAuth2Request) HasErrorDebug() bool

HasErrorDebug returns a boolean if a field has been set.

func (*RejectOAuth2Request) HasErrorDescription

func (o *RejectOAuth2Request) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*RejectOAuth2Request) HasErrorHint

func (o *RejectOAuth2Request) HasErrorHint() bool

HasErrorHint returns a boolean if a field has been set.

func (*RejectOAuth2Request) HasStatusCode

func (o *RejectOAuth2Request) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (RejectOAuth2Request) MarshalJSON

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

func (*RejectOAuth2Request) SetError

func (o *RejectOAuth2Request) SetError(v string)

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

func (*RejectOAuth2Request) SetErrorDebug

func (o *RejectOAuth2Request) SetErrorDebug(v string)

SetErrorDebug gets a reference to the given string and assigns it to the ErrorDebug field.

func (*RejectOAuth2Request) SetErrorDescription

func (o *RejectOAuth2Request) SetErrorDescription(v string)

SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.

func (*RejectOAuth2Request) SetErrorHint

func (o *RejectOAuth2Request) SetErrorHint(v string)

SetErrorHint gets a reference to the given string and assigns it to the ErrorHint field.

func (*RejectOAuth2Request) SetStatusCode

func (o *RejectOAuth2Request) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (RejectOAuth2Request) ToMap added in v2.2.0

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

func (*RejectOAuth2Request) UnmarshalJSON added in v2.2.0

func (o *RejectOAuth2Request) UnmarshalJSON(data []byte) (err error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type 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"`
	AdditionalProperties map[string]interface{}
}

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.

func (TokenPagination) ToMap added in v2.2.0

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

func (*TokenPagination) UnmarshalJSON added in v2.2.0

func (o *TokenPagination) UnmarshalJSON(data []byte) (err error)

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"`
	AdditionalProperties map[string]interface{}
}

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.

func (TokenPaginationHeaders) ToMap added in v2.2.0

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

func (*TokenPaginationHeaders) UnmarshalJSON added in v2.2.0

func (o *TokenPaginationHeaders) UnmarshalJSON(data []byte) (err error)

type TokenPaginationRequestParameters

type TokenPaginationRequestParameters struct {
	// Items per Page  This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
	PageSize *int64 `json:"page_size,omitempty"`
	// Next Page Token  The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
	PageToken            *string `json:"page_token,omitempty"`
	AdditionalProperties map[string]interface{}
}

TokenPaginationRequestParameters The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `<https://{project-slug}.projects.oryapis.com/admin/clients?page_size={limit}&page_token={offset}>; rel=\"{page}\"` For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func NewTokenPaginationRequestParameters

func NewTokenPaginationRequestParameters() *TokenPaginationRequestParameters

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

func NewTokenPaginationRequestParametersWithDefaults

func NewTokenPaginationRequestParametersWithDefaults() *TokenPaginationRequestParameters

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

func (*TokenPaginationRequestParameters) GetPageSize

func (o *TokenPaginationRequestParameters) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*TokenPaginationRequestParameters) GetPageSizeOk

func (o *TokenPaginationRequestParameters) 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 (*TokenPaginationRequestParameters) GetPageToken

func (o *TokenPaginationRequestParameters) GetPageToken() string

GetPageToken returns the PageToken field value if set, zero value otherwise.

func (*TokenPaginationRequestParameters) GetPageTokenOk

func (o *TokenPaginationRequestParameters) 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 (*TokenPaginationRequestParameters) HasPageSize

func (o *TokenPaginationRequestParameters) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*TokenPaginationRequestParameters) HasPageToken

func (o *TokenPaginationRequestParameters) HasPageToken() bool

HasPageToken returns a boolean if a field has been set.

func (TokenPaginationRequestParameters) MarshalJSON

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

func (*TokenPaginationRequestParameters) SetPageSize

func (o *TokenPaginationRequestParameters) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*TokenPaginationRequestParameters) SetPageToken

func (o *TokenPaginationRequestParameters) SetPageToken(v string)

SetPageToken gets a reference to the given string and assigns it to the PageToken field.

func (TokenPaginationRequestParameters) ToMap added in v2.2.0

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

func (*TokenPaginationRequestParameters) UnmarshalJSON added in v2.2.0

func (o *TokenPaginationRequestParameters) UnmarshalJSON(data []byte) (err error)

type TokenPaginationResponseHeaders

type TokenPaginationResponseHeaders struct {
	// The Link HTTP Header  The `Link` header contains a comma-delimited list of links to the following pages:  first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results.  Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples:  </clients?page_size=5&page_token=0>; rel=\"first\",</clients?page_size=5&page_token=15>; rel=\"next\",</clients?page_size=5&page_token=5>; rel=\"prev\",</clients?page_size=5&page_token=20>; rel=\"last\"
	Link *string `json:"link,omitempty"`
	// The X-Total-Count HTTP Header  The `X-Total-Count` header contains the total number of items in the collection.
	XTotalCount          *int64 `json:"x-total-count,omitempty"`
	AdditionalProperties map[string]interface{}
}

TokenPaginationResponseHeaders The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `<https://{project-slug}.projects.oryapis.com/admin/clients?page_size={limit}&page_token={offset}>; rel=\"{page}\"` For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).

func NewTokenPaginationResponseHeaders

func NewTokenPaginationResponseHeaders() *TokenPaginationResponseHeaders

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

func NewTokenPaginationResponseHeadersWithDefaults

func NewTokenPaginationResponseHeadersWithDefaults() *TokenPaginationResponseHeaders

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

GetLink returns the Link field value if set, zero value otherwise.

func (*TokenPaginationResponseHeaders) GetLinkOk

func (o *TokenPaginationResponseHeaders) 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 (*TokenPaginationResponseHeaders) GetXTotalCount

func (o *TokenPaginationResponseHeaders) GetXTotalCount() int64

GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.

func (*TokenPaginationResponseHeaders) GetXTotalCountOk

func (o *TokenPaginationResponseHeaders) GetXTotalCountOk() (*int64, 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 *TokenPaginationResponseHeaders) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*TokenPaginationResponseHeaders) HasXTotalCount

func (o *TokenPaginationResponseHeaders) HasXTotalCount() bool

HasXTotalCount returns a boolean if a field has been set.

func (TokenPaginationResponseHeaders) MarshalJSON

func (o TokenPaginationResponseHeaders) MarshalJSON() ([]byte, error)
func (o *TokenPaginationResponseHeaders) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*TokenPaginationResponseHeaders) SetXTotalCount

func (o *TokenPaginationResponseHeaders) SetXTotalCount(v int64)

SetXTotalCount gets a reference to the given int64 and assigns it to the XTotalCount field.

func (TokenPaginationResponseHeaders) ToMap added in v2.2.0

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

func (*TokenPaginationResponseHeaders) UnmarshalJSON added in v2.2.0

func (o *TokenPaginationResponseHeaders) UnmarshalJSON(data []byte) (err error)

type TrustOAuth2JwtGrantIssuer

type TrustOAuth2JwtGrantIssuer struct {
	// The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.
	AllowAnySubject *bool `json:"allow_any_subject,omitempty"`
	// The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\".
	ExpiresAt time.Time `json:"expires_at"`
	// The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT).
	Issuer string     `json:"issuer"`
	Jwk    JsonWebKey `json:"jwk"`
	// The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])
	Scope []string `json:"scope"`
	// The \"subject\" identifies the principal that is the subject of the JWT.
	Subject              *string `json:"subject,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrustOAuth2JwtGrantIssuer Trust OAuth2 JWT Bearer Grant Type Issuer Request Body

func NewTrustOAuth2JwtGrantIssuer

func NewTrustOAuth2JwtGrantIssuer(expiresAt time.Time, issuer string, jwk JsonWebKey, scope []string) *TrustOAuth2JwtGrantIssuer

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

func NewTrustOAuth2JwtGrantIssuerWithDefaults

func NewTrustOAuth2JwtGrantIssuerWithDefaults() *TrustOAuth2JwtGrantIssuer

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

func (*TrustOAuth2JwtGrantIssuer) GetAllowAnySubject

func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubject() bool

GetAllowAnySubject returns the AllowAnySubject field value if set, zero value otherwise.

func (*TrustOAuth2JwtGrantIssuer) GetAllowAnySubjectOk

func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool)

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

func (*TrustOAuth2JwtGrantIssuer) GetExpiresAt

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

GetExpiresAt returns the ExpiresAt field value

func (*TrustOAuth2JwtGrantIssuer) GetExpiresAtOk

func (o *TrustOAuth2JwtGrantIssuer) 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 (*TrustOAuth2JwtGrantIssuer) GetIssuer

func (o *TrustOAuth2JwtGrantIssuer) GetIssuer() string

GetIssuer returns the Issuer field value

func (*TrustOAuth2JwtGrantIssuer) GetIssuerOk

func (o *TrustOAuth2JwtGrantIssuer) GetIssuerOk() (*string, bool)

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

func (*TrustOAuth2JwtGrantIssuer) GetJwk

GetJwk returns the Jwk field value

func (*TrustOAuth2JwtGrantIssuer) GetJwkOk

func (o *TrustOAuth2JwtGrantIssuer) GetJwkOk() (*JsonWebKey, bool)

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

func (*TrustOAuth2JwtGrantIssuer) GetScope

func (o *TrustOAuth2JwtGrantIssuer) GetScope() []string

GetScope returns the Scope field value

func (*TrustOAuth2JwtGrantIssuer) GetScopeOk

func (o *TrustOAuth2JwtGrantIssuer) GetScopeOk() ([]string, bool)

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

func (*TrustOAuth2JwtGrantIssuer) GetSubject

func (o *TrustOAuth2JwtGrantIssuer) GetSubject() string

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

func (*TrustOAuth2JwtGrantIssuer) GetSubjectOk

func (o *TrustOAuth2JwtGrantIssuer) 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 (*TrustOAuth2JwtGrantIssuer) HasAllowAnySubject

func (o *TrustOAuth2JwtGrantIssuer) HasAllowAnySubject() bool

HasAllowAnySubject returns a boolean if a field has been set.

func (*TrustOAuth2JwtGrantIssuer) HasSubject

func (o *TrustOAuth2JwtGrantIssuer) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (TrustOAuth2JwtGrantIssuer) MarshalJSON

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

func (*TrustOAuth2JwtGrantIssuer) SetAllowAnySubject

func (o *TrustOAuth2JwtGrantIssuer) SetAllowAnySubject(v bool)

SetAllowAnySubject gets a reference to the given bool and assigns it to the AllowAnySubject field.

func (*TrustOAuth2JwtGrantIssuer) SetExpiresAt

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

SetExpiresAt sets field value

func (*TrustOAuth2JwtGrantIssuer) SetIssuer

func (o *TrustOAuth2JwtGrantIssuer) SetIssuer(v string)

SetIssuer sets field value

func (*TrustOAuth2JwtGrantIssuer) SetJwk

SetJwk sets field value

func (*TrustOAuth2JwtGrantIssuer) SetScope

func (o *TrustOAuth2JwtGrantIssuer) SetScope(v []string)

SetScope sets field value

func (*TrustOAuth2JwtGrantIssuer) SetSubject

func (o *TrustOAuth2JwtGrantIssuer) SetSubject(v string)

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

func (TrustOAuth2JwtGrantIssuer) ToMap added in v2.2.0

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

func (*TrustOAuth2JwtGrantIssuer) UnmarshalJSON added in v2.2.0

func (o *TrustOAuth2JwtGrantIssuer) UnmarshalJSON(data []byte) (err error)

type TrustedOAuth2JwtGrantIssuer

type TrustedOAuth2JwtGrantIssuer struct {
	// The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.
	AllowAnySubject *bool `json:"allow_any_subject,omitempty"`
	// The \"created_at\" indicates, when grant was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\".
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	Id        *string    `json:"id,omitempty"`
	// The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT).
	Issuer    *string                          `json:"issuer,omitempty"`
	PublicKey *TrustedOAuth2JwtGrantJsonWebKey `json:"public_key,omitempty"`
	// The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])
	Scope []string `json:"scope,omitempty"`
	// The \"subject\" identifies the principal that is the subject of the JWT.
	Subject              *string `json:"subject,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrustedOAuth2JwtGrantIssuer OAuth2 JWT Bearer Grant Type Issuer Trust Relationship

func NewTrustedOAuth2JwtGrantIssuer

func NewTrustedOAuth2JwtGrantIssuer() *TrustedOAuth2JwtGrantIssuer

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

func NewTrustedOAuth2JwtGrantIssuerWithDefaults

func NewTrustedOAuth2JwtGrantIssuerWithDefaults() *TrustedOAuth2JwtGrantIssuer

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

func (*TrustedOAuth2JwtGrantIssuer) GetAllowAnySubject

func (o *TrustedOAuth2JwtGrantIssuer) GetAllowAnySubject() bool

GetAllowAnySubject returns the AllowAnySubject field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantIssuer) GetAllowAnySubjectOk

func (o *TrustedOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool)

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

func (*TrustedOAuth2JwtGrantIssuer) GetCreatedAt

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

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

func (*TrustedOAuth2JwtGrantIssuer) GetCreatedAtOk

func (o *TrustedOAuth2JwtGrantIssuer) 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 (*TrustedOAuth2JwtGrantIssuer) GetExpiresAt

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantIssuer) GetExpiresAtOk

func (o *TrustedOAuth2JwtGrantIssuer) 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 (*TrustedOAuth2JwtGrantIssuer) GetId

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

func (*TrustedOAuth2JwtGrantIssuer) GetIdOk

func (o *TrustedOAuth2JwtGrantIssuer) 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 (*TrustedOAuth2JwtGrantIssuer) GetIssuer

func (o *TrustedOAuth2JwtGrantIssuer) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantIssuer) GetIssuerOk

func (o *TrustedOAuth2JwtGrantIssuer) GetIssuerOk() (*string, bool)

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

func (*TrustedOAuth2JwtGrantIssuer) GetPublicKey

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantIssuer) GetPublicKeyOk

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

func (*TrustedOAuth2JwtGrantIssuer) GetScope

func (o *TrustedOAuth2JwtGrantIssuer) GetScope() []string

GetScope returns the Scope field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantIssuer) GetScopeOk

func (o *TrustedOAuth2JwtGrantIssuer) 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 (*TrustedOAuth2JwtGrantIssuer) GetSubject

func (o *TrustedOAuth2JwtGrantIssuer) GetSubject() string

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

func (*TrustedOAuth2JwtGrantIssuer) GetSubjectOk

func (o *TrustedOAuth2JwtGrantIssuer) 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 (*TrustedOAuth2JwtGrantIssuer) HasAllowAnySubject

func (o *TrustedOAuth2JwtGrantIssuer) HasAllowAnySubject() bool

HasAllowAnySubject returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasCreatedAt

func (o *TrustedOAuth2JwtGrantIssuer) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasExpiresAt

func (o *TrustedOAuth2JwtGrantIssuer) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasId

func (o *TrustedOAuth2JwtGrantIssuer) HasId() bool

HasId returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasIssuer

func (o *TrustedOAuth2JwtGrantIssuer) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasPublicKey

func (o *TrustedOAuth2JwtGrantIssuer) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasScope

func (o *TrustedOAuth2JwtGrantIssuer) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantIssuer) HasSubject

func (o *TrustedOAuth2JwtGrantIssuer) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (TrustedOAuth2JwtGrantIssuer) MarshalJSON

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

func (*TrustedOAuth2JwtGrantIssuer) SetAllowAnySubject

func (o *TrustedOAuth2JwtGrantIssuer) SetAllowAnySubject(v bool)

SetAllowAnySubject gets a reference to the given bool and assigns it to the AllowAnySubject field.

func (*TrustedOAuth2JwtGrantIssuer) SetCreatedAt

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

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

func (*TrustedOAuth2JwtGrantIssuer) SetExpiresAt

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

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*TrustedOAuth2JwtGrantIssuer) SetId

func (o *TrustedOAuth2JwtGrantIssuer) SetId(v string)

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

func (*TrustedOAuth2JwtGrantIssuer) SetIssuer

func (o *TrustedOAuth2JwtGrantIssuer) SetIssuer(v string)

SetIssuer gets a reference to the given string and assigns it to the Issuer field.

func (*TrustedOAuth2JwtGrantIssuer) SetPublicKey

SetPublicKey gets a reference to the given TrustedOAuth2JwtGrantJsonWebKey and assigns it to the PublicKey field.

func (*TrustedOAuth2JwtGrantIssuer) SetScope

func (o *TrustedOAuth2JwtGrantIssuer) SetScope(v []string)

SetScope gets a reference to the given []string and assigns it to the Scope field.

func (*TrustedOAuth2JwtGrantIssuer) SetSubject

func (o *TrustedOAuth2JwtGrantIssuer) SetSubject(v string)

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

func (TrustedOAuth2JwtGrantIssuer) ToMap added in v2.2.0

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

func (*TrustedOAuth2JwtGrantIssuer) UnmarshalJSON added in v2.2.0

func (o *TrustedOAuth2JwtGrantIssuer) UnmarshalJSON(data []byte) (err error)

type TrustedOAuth2JwtGrantJsonWebKey

type TrustedOAuth2JwtGrantJsonWebKey struct {
	// The \"key_id\" is key unique identifier (same as kid header in jws/jwt).
	Kid *string `json:"kid,omitempty"`
	// The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant.
	Set                  *string `json:"set,omitempty"`
	AdditionalProperties map[string]interface{}
}

TrustedOAuth2JwtGrantJsonWebKey OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key

func NewTrustedOAuth2JwtGrantJsonWebKey

func NewTrustedOAuth2JwtGrantJsonWebKey() *TrustedOAuth2JwtGrantJsonWebKey

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

func NewTrustedOAuth2JwtGrantJsonWebKeyWithDefaults

func NewTrustedOAuth2JwtGrantJsonWebKeyWithDefaults() *TrustedOAuth2JwtGrantJsonWebKey

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

func (*TrustedOAuth2JwtGrantJsonWebKey) GetKid

GetKid returns the Kid field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantJsonWebKey) GetKidOk

func (o *TrustedOAuth2JwtGrantJsonWebKey) GetKidOk() (*string, bool)

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

func (*TrustedOAuth2JwtGrantJsonWebKey) GetSet

GetSet returns the Set field value if set, zero value otherwise.

func (*TrustedOAuth2JwtGrantJsonWebKey) GetSetOk

func (o *TrustedOAuth2JwtGrantJsonWebKey) GetSetOk() (*string, bool)

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

func (*TrustedOAuth2JwtGrantJsonWebKey) HasKid

HasKid returns a boolean if a field has been set.

func (*TrustedOAuth2JwtGrantJsonWebKey) HasSet

HasSet returns a boolean if a field has been set.

func (TrustedOAuth2JwtGrantJsonWebKey) MarshalJSON

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

func (*TrustedOAuth2JwtGrantJsonWebKey) SetKid

SetKid gets a reference to the given string and assigns it to the Kid field.

func (*TrustedOAuth2JwtGrantJsonWebKey) SetSet

SetSet gets a reference to the given string and assigns it to the Set field.

func (TrustedOAuth2JwtGrantJsonWebKey) ToMap added in v2.2.0

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

func (*TrustedOAuth2JwtGrantJsonWebKey) UnmarshalJSON added in v2.2.0

func (o *TrustedOAuth2JwtGrantJsonWebKey) UnmarshalJSON(data []byte) (err error)

type VerifiableCredentialPrimingResponse added in v2.2.0

type VerifiableCredentialPrimingResponse struct {
	CNonce               *string `json:"c_nonce,omitempty"`
	CNonceExpiresIn      *int64  `json:"c_nonce_expires_in,omitempty"`
	Error                *string `json:"error,omitempty"`
	ErrorDebug           *string `json:"error_debug,omitempty"`
	ErrorDescription     *string `json:"error_description,omitempty"`
	ErrorHint            *string `json:"error_hint,omitempty"`
	Format               *string `json:"format,omitempty"`
	StatusCode           *int64  `json:"status_code,omitempty"`
	AdditionalProperties map[string]interface{}
}

VerifiableCredentialPrimingResponse struct for VerifiableCredentialPrimingResponse

func NewVerifiableCredentialPrimingResponse added in v2.2.0

func NewVerifiableCredentialPrimingResponse() *VerifiableCredentialPrimingResponse

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

func NewVerifiableCredentialPrimingResponseWithDefaults added in v2.2.0

func NewVerifiableCredentialPrimingResponseWithDefaults() *VerifiableCredentialPrimingResponse

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

func (*VerifiableCredentialPrimingResponse) GetCNonce added in v2.2.0

GetCNonce returns the CNonce field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetCNonceExpiresIn added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetCNonceExpiresIn() int64

GetCNonceExpiresIn returns the CNonceExpiresIn field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetCNonceExpiresInOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetCNonceExpiresInOk() (*int64, bool)

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

func (*VerifiableCredentialPrimingResponse) GetCNonceOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetCNonceOk() (*string, bool)

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

func (*VerifiableCredentialPrimingResponse) GetError added in v2.2.0

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

func (*VerifiableCredentialPrimingResponse) GetErrorDebug added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorDebug() string

GetErrorDebug returns the ErrorDebug field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetErrorDebugOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorDebugOk() (*string, bool)

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

func (*VerifiableCredentialPrimingResponse) GetErrorDescription added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorDescription() string

GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetErrorDescriptionOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorDescriptionOk() (*string, bool)

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

func (*VerifiableCredentialPrimingResponse) GetErrorHint added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorHint() string

GetErrorHint returns the ErrorHint field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetErrorHintOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorHintOk() (*string, bool)

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

func (*VerifiableCredentialPrimingResponse) GetErrorOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetErrorOk() (*string, 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 (*VerifiableCredentialPrimingResponse) GetFormat added in v2.2.0

GetFormat returns the Format field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetFormatOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetFormatOk() (*string, bool)

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

func (*VerifiableCredentialPrimingResponse) GetStatusCode added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*VerifiableCredentialPrimingResponse) GetStatusCodeOk added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) GetStatusCodeOk() (*int64, bool)

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

func (*VerifiableCredentialPrimingResponse) HasCNonce added in v2.2.0

HasCNonce returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasCNonceExpiresIn added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) HasCNonceExpiresIn() bool

HasCNonceExpiresIn returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasError added in v2.2.0

HasError returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasErrorDebug added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) HasErrorDebug() bool

HasErrorDebug returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasErrorDescription added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasErrorHint added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) HasErrorHint() bool

HasErrorHint returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasFormat added in v2.2.0

HasFormat returns a boolean if a field has been set.

func (*VerifiableCredentialPrimingResponse) HasStatusCode added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (VerifiableCredentialPrimingResponse) MarshalJSON added in v2.2.0

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

func (*VerifiableCredentialPrimingResponse) SetCNonce added in v2.2.0

SetCNonce gets a reference to the given string and assigns it to the CNonce field.

func (*VerifiableCredentialPrimingResponse) SetCNonceExpiresIn added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) SetCNonceExpiresIn(v int64)

SetCNonceExpiresIn gets a reference to the given int64 and assigns it to the CNonceExpiresIn field.

func (*VerifiableCredentialPrimingResponse) SetError added in v2.2.0

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

func (*VerifiableCredentialPrimingResponse) SetErrorDebug added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) SetErrorDebug(v string)

SetErrorDebug gets a reference to the given string and assigns it to the ErrorDebug field.

func (*VerifiableCredentialPrimingResponse) SetErrorDescription added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) SetErrorDescription(v string)

SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.

func (*VerifiableCredentialPrimingResponse) SetErrorHint added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) SetErrorHint(v string)

SetErrorHint gets a reference to the given string and assigns it to the ErrorHint field.

func (*VerifiableCredentialPrimingResponse) SetFormat added in v2.2.0

SetFormat gets a reference to the given string and assigns it to the Format field.

func (*VerifiableCredentialPrimingResponse) SetStatusCode added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (VerifiableCredentialPrimingResponse) ToMap added in v2.2.0

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

func (*VerifiableCredentialPrimingResponse) UnmarshalJSON added in v2.2.0

func (o *VerifiableCredentialPrimingResponse) UnmarshalJSON(data []byte) (err error)

type VerifiableCredentialProof added in v2.2.0

type VerifiableCredentialProof struct {
	Jwt                  *string `json:"jwt,omitempty"`
	ProofType            *string `json:"proof_type,omitempty"`
	AdditionalProperties map[string]interface{}
}

VerifiableCredentialProof struct for VerifiableCredentialProof

func NewVerifiableCredentialProof added in v2.2.0

func NewVerifiableCredentialProof() *VerifiableCredentialProof

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

func NewVerifiableCredentialProofWithDefaults added in v2.2.0

func NewVerifiableCredentialProofWithDefaults() *VerifiableCredentialProof

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

func (*VerifiableCredentialProof) GetJwt added in v2.2.0

func (o *VerifiableCredentialProof) GetJwt() string

GetJwt returns the Jwt field value if set, zero value otherwise.

func (*VerifiableCredentialProof) GetJwtOk added in v2.2.0

func (o *VerifiableCredentialProof) GetJwtOk() (*string, bool)

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

func (*VerifiableCredentialProof) GetProofType added in v2.2.0

func (o *VerifiableCredentialProof) GetProofType() string

GetProofType returns the ProofType field value if set, zero value otherwise.

func (*VerifiableCredentialProof) GetProofTypeOk added in v2.2.0

func (o *VerifiableCredentialProof) GetProofTypeOk() (*string, bool)

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

func (*VerifiableCredentialProof) HasJwt added in v2.2.0

func (o *VerifiableCredentialProof) HasJwt() bool

HasJwt returns a boolean if a field has been set.

func (*VerifiableCredentialProof) HasProofType added in v2.2.0

func (o *VerifiableCredentialProof) HasProofType() bool

HasProofType returns a boolean if a field has been set.

func (VerifiableCredentialProof) MarshalJSON added in v2.2.0

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

func (*VerifiableCredentialProof) SetJwt added in v2.2.0

func (o *VerifiableCredentialProof) SetJwt(v string)

SetJwt gets a reference to the given string and assigns it to the Jwt field.

func (*VerifiableCredentialProof) SetProofType added in v2.2.0

func (o *VerifiableCredentialProof) SetProofType(v string)

SetProofType gets a reference to the given string and assigns it to the ProofType field.

func (VerifiableCredentialProof) ToMap added in v2.2.0

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

func (*VerifiableCredentialProof) UnmarshalJSON added in v2.2.0

func (o *VerifiableCredentialProof) UnmarshalJSON(data []byte) (err error)

type VerifiableCredentialResponse added in v2.2.0

type VerifiableCredentialResponse struct {
	CredentialDraft00    *string `json:"credential_draft_00,omitempty"`
	Format               *string `json:"format,omitempty"`
	AdditionalProperties map[string]interface{}
}

VerifiableCredentialResponse struct for VerifiableCredentialResponse

func NewVerifiableCredentialResponse added in v2.2.0

func NewVerifiableCredentialResponse() *VerifiableCredentialResponse

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

func NewVerifiableCredentialResponseWithDefaults added in v2.2.0

func NewVerifiableCredentialResponseWithDefaults() *VerifiableCredentialResponse

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

func (*VerifiableCredentialResponse) GetCredentialDraft00 added in v2.2.0

func (o *VerifiableCredentialResponse) GetCredentialDraft00() string

GetCredentialDraft00 returns the CredentialDraft00 field value if set, zero value otherwise.

func (*VerifiableCredentialResponse) GetCredentialDraft00Ok added in v2.2.0

func (o *VerifiableCredentialResponse) GetCredentialDraft00Ok() (*string, bool)

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

func (*VerifiableCredentialResponse) GetFormat added in v2.2.0

func (o *VerifiableCredentialResponse) GetFormat() string

GetFormat returns the Format field value if set, zero value otherwise.

func (*VerifiableCredentialResponse) GetFormatOk added in v2.2.0

func (o *VerifiableCredentialResponse) GetFormatOk() (*string, bool)

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

func (*VerifiableCredentialResponse) HasCredentialDraft00 added in v2.2.0

func (o *VerifiableCredentialResponse) HasCredentialDraft00() bool

HasCredentialDraft00 returns a boolean if a field has been set.

func (*VerifiableCredentialResponse) HasFormat added in v2.2.0

func (o *VerifiableCredentialResponse) HasFormat() bool

HasFormat returns a boolean if a field has been set.

func (VerifiableCredentialResponse) MarshalJSON added in v2.2.0

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

func (*VerifiableCredentialResponse) SetCredentialDraft00 added in v2.2.0

func (o *VerifiableCredentialResponse) SetCredentialDraft00(v string)

SetCredentialDraft00 gets a reference to the given string and assigns it to the CredentialDraft00 field.

func (*VerifiableCredentialResponse) SetFormat added in v2.2.0

func (o *VerifiableCredentialResponse) SetFormat(v string)

SetFormat gets a reference to the given string and assigns it to the Format field.

func (VerifiableCredentialResponse) ToMap added in v2.2.0

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

func (*VerifiableCredentialResponse) UnmarshalJSON added in v2.2.0

func (o *VerifiableCredentialResponse) UnmarshalJSON(data []byte) (err error)

type Version

type Version struct {
	// Version is the service's version.
	Version              *string `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}
}

Version struct for Version

func NewVersion

func NewVersion() *Version

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

func NewVersionWithDefaults

func NewVersionWithDefaults() *Version

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

func (*Version) GetVersion

func (o *Version) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Version) GetVersionOk

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

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

func (*Version) HasVersion

func (o *Version) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Version) MarshalJSON

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

func (*Version) SetVersion

func (o *Version) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (Version) ToMap added in v2.2.0

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

func (*Version) UnmarshalJSON added in v2.2.0

func (o *Version) UnmarshalJSON(data []byte) (err error)

type WellknownAPI added in v2.2.0

type WellknownAPI interface {

	/*
		DiscoverJsonWebKeys Discover Well-Known JSON Web Keys

		This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and,
	if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like
	[node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.

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

	// DiscoverJsonWebKeysExecute executes the request
	//  @return JsonWebKeySet
	DiscoverJsonWebKeysExecute(r WellknownAPIDiscoverJsonWebKeysRequest) (*JsonWebKeySet, *http.Response, error)
}

type WellknownAPIDiscoverJsonWebKeysRequest added in v2.2.0

type WellknownAPIDiscoverJsonWebKeysRequest struct {
	ApiService WellknownAPI
	// contains filtered or unexported fields
}

func (WellknownAPIDiscoverJsonWebKeysRequest) Execute added in v2.2.0

type WellknownAPIService added in v2.2.0

type WellknownAPIService service

WellknownAPIService WellknownAPI service

func (*WellknownAPIService) DiscoverJsonWebKeys added in v2.2.0

DiscoverJsonWebKeys Discover Well-Known JSON Web Keys

This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.

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

func (*WellknownAPIService) DiscoverJsonWebKeysExecute added in v2.2.0

Execute executes the request

@return JsonWebKeySet

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL