authlete

package module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

README

Go API client for authlete

Authlete API Document.

Overview

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

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

Installation

Install the following dependencies:

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

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

import authlete "github.com/authlete/openapi-for-go"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.authlete.com

Class Method HTTP request Description
AuthorizationEndpointApi AuthAuthorizationApi Post /api/auth/authorization /api/auth/authorization API
AuthorizationEndpointApi AuthAuthorizationFailApi Post /api/auth/authorization/fail /api/auth/authorization/fail API
AuthorizationEndpointApi AuthAuthorizationIssueApi Post /api/auth/authorization/issue /api/auth/authorization/issue API
CIBAApi BackchannelAuthenticationApi Post /api/backchannel/authentication /api/backchannel/authentication API
CIBAApi BackchannelAuthenticationCompleteApi Post /api/backchannel/authentication/complete /api/backchannel/authentication/complete API
CIBAApi BackchannelAuthenticationFailApi Post /api/backchannel/authentication/fail /api/backchannel/authentication/fail API
CIBAApi BackchannelAuthenticationIssueApi Post /api/backchannel/authentication/issue /api/backchannel/authentication/issue API
ClientManagementApi ClientAuthorizationDeleteApi Delete /api/client/authorization/delete/{clientId}/{subject} /api/client/authorization/delete/{clientId}/{subject} API
ClientManagementApi ClientAuthorizationGetListApi Get /api/client/authorization/get/list/{subject} /api/client/authorization/get/list/{subject} API
ClientManagementApi ClientAuthorizationUpdateApi Post /api/client/authorization/update/{clientId} /api/client/authorization/update/{clientId} API
ClientManagementApi ClientCreateApi Post /api/client/create /api/client/create API
ClientManagementApi ClientDeleteApi Delete /api/client/delete/{clientId} /api/client/delete/{clientId} API
ClientManagementApi ClientFlagUpdateApi Post /api/client/lock_flag/update/{clientIdentifier} /api/client/lock_flag/update/{clientIdentifier} API
ClientManagementApi ClientGetApi Get /api/client/get/{clientId} /api/client/get/{clientId} API
ClientManagementApi ClientGetListApi Get /api/client/get/list /api/client/get/list API
ClientManagementApi ClientGrantedScopesDeleteApi Delete /api/client/granted_scopes/delete/{clientId}/{subject} /api/client/granted_scopes/delete/{clientId}/{subject} API
ClientManagementApi ClientGrantedScopesGetApi Get /api/client/granted_scopes/get/{clientId}/{subject} /api/client/granted_scopes/get/{clientId}/{subject} API
ClientManagementApi ClientSecretRefreshApi Get /api/client/secret/refresh/{clientIdentifier} /api/client/secret/refresh API
ClientManagementApi ClientSecretUpdateApi Post /api/client/secret/update/{clientIdentifier} /api/client/secret/update API
ClientManagementApi ClientUpdateApi Post /api/client/update/{clientId} /api/client/update/{clientId} API
ConfigurationEndpointApi ServiceConfigurationApi Get /api/service/configuration /api/service/configuration API
DeviceFlowApi DeviceAuthorizationApi Post /api/device/authorization /api/device/authorization API
DeviceFlowApi DeviceCompleteApi Post /api/device/complete /api/device/complete API
DeviceFlowApi DeviceVerificationApi Post /api/device/verification /api/device/verification API
DynamicClientRegistrationApi ClientRegistrationApi Post /api/client/registration /api/client/registration API
DynamicClientRegistrationApi ClientRegistrationDeleteApi Post /api/client/registration/delete /api/client/registration/delete API
DynamicClientRegistrationApi ClientRegistrationGetApi Post /api/client/registration/get /api/client/registration/get API
DynamicClientRegistrationApi ClientRegistrationUpdateApi Post /api/client/registration/update /api/client/registration/update API
FederationEndpointApi FederationConfigurationApi Post /api/federation/configuration /api/federation/configuration API
GrantManagementEndpointApi GrantMApi Post /api/gm /api/gm API
IntrospectionEndpointApi AuthIntrospectionApi Post /api/auth/introspection /api/auth/introspection API
IntrospectionEndpointApi AuthIntrospectionStandardApi Post /api/auth/introspection/standard /api/auth/intraspection/standard API
JWKSetEndpointApi ServiceJwksGetApi Get /api/service/jwks/get /api/service/jwks/get API
JoseObjectApi JoseVerifyApi Post /api/jose/verify /api/jose/verify API
PushedAuthorizationEndpointApi PushedAuthReqApi Post /api/pushed_auth_req /api/pushed_auth_req API
RevocationEndpointApi AuthRevocationApi Post /api/auth/revocation /api/auth/revocation API
ServerMetadataApi InfoApi Get /api/info /api/info API
ServiceManagementApi ServiceCreateApi Post /api/service/create /api/service/create API
ServiceManagementApi ServiceDeleteApi Delete /api/service/delete/{serviceApiKey} /api/service/delete/{serviceApiKey} API
ServiceManagementApi ServiceGetApi Get /api/service/get/{serviceApiKey} /api/service/get/{serviceApiKey} API
ServiceManagementApi ServiceGetListApi Get /api/service/get/list /api/service/get/list API
ServiceManagementApi ServiceUpdateApi Post /api/service/update/{serviceApiKey} /api/service/update/{serviceApiKey} API
TokenEndpointApi AuthTokenApi Post /api/auth/token /api/auth/token API
TokenEndpointApi AuthTokenFailApi Post /api/auth/token/fail /api/auth/token/fail API
TokenEndpointApi AuthTokenIssueApi Post /api/auth/token/issue /api/auth/token/issue API
TokenOperationsApi AuthTokenCreateApi Post /api/auth/token/create /api/auth/token/create API
TokenOperationsApi AuthTokenDeleteApi Delete /api/auth/token/delete/{accessTokenIdentifier} /api/auth/token/delete API
TokenOperationsApi AuthTokenGetListApi Get /api/auth/token/get/list /api/auth/token/get/list API
TokenOperationsApi AuthTokenRevokeApi Post /api/auth/token/revoke /api/auth/token/revoke API
TokenOperationsApi AuthTokenUpdateApi Post /api/auth/token/update /api/auth/token/update API
UserInfoEndpointApi AuthUserinfoApi Post /api/auth/userinfo /api/auth/userinfo API
UserInfoEndpointApi AuthUserinfoIssueApi Post /api/auth/userinfo/issue /api/auth/userinfo/issue API

Documentation For Models

Documentation For Authorization

ServiceCredentials
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
ServiceOwnerCredentials
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedApplicationTypeEnumValues = []ApplicationType{
	"WEB",
	"NATIVE",
	"null",
}

All allowed values of ApplicationType enum

View Source
var AllowedAttachmentTypeEnumValues = []AttachmentType{
	"EMBEDDED",
	"EXTERNAL",
}

All allowed values of AttachmentType enum

View Source
var AllowedClaimTypeEnumValues = []ClaimType{
	"NORMAL",
	"AGGREGATED",
	"DISTRIBUTED",
}

All allowed values of ClaimType enum

View Source
var AllowedClientAuthenticationMethodEnumValues = []ClientAuthenticationMethod{
	"NONE",
	"CLIENT_SECRET_BASIC",
	"CLIENT_SECRET_POST",
	"CLIENT_SECRET_JWT",
	"PRIVATE_KEY_JWT",
	"TLS_CLIENT_AUTH",
	"SELF_SIGNED_TLS_CLIENT_AUTH",
}

All allowed values of ClientAuthenticationMethod enum

View Source
var AllowedClientRegistrationTypeEnumValues = []ClientRegistrationType{
	"AUTOMATIC",
	"EXPLICIT",
}

All allowed values of ClientRegistrationType enum

View Source
var AllowedClientTypeEnumValues = []ClientType{
	"PUBLIC",
	"CONFIDENTIAL",
}

All allowed values of ClientType enum

View Source
var AllowedDeliveryModeEnumValues = []DeliveryMode{
	"PING",
	"POLL",
	"PUSH",
}

All allowed values of DeliveryMode enum

View Source
var AllowedDisplayEnumValues = []Display{
	"PAGE",
	"POPUP",
	"TOUCH",
	"WAP",
}

All allowed values of Display enum

View Source
var AllowedGrantManagementActionEnumValues = []GrantManagementAction{
	"CREATE",
	"QUERY",
	"REPLACE",
	"REVOKE",
	"MERGE",
}

All allowed values of GrantManagementAction enum

View Source
var AllowedGrantTypeEnumValues = []GrantType{
	"AUTHORIZATION_CODE",
	"IMPLICIT",
	"PASSWORD",
	"CLIENT_CREDENTIALS",
	"REFRESH_TOKEN",
	"CIBA",
	"DEVICE_CODE",
	"TOKEN_EXCHANGE",
	"JWT_BEARER",
}

All allowed values of GrantType enum

View Source
var AllowedJweAlgEnumValues = []JweAlg{
	"RSA1_5",
	"RSA_OAEP",
	"RSA_OAEP_256",
	"A128KW",
	"A192KW",
	"A256KW",
	"DIR",
	"ECDH_ES",
	"ECDH_ES_A128KW",
	"ECDH_ES_A192KW",
	"ECDH_ES_A256KW",
	"A128GCMKW",
	"A192GCMKW",
	"A256GCMKW",
	"PBES2_HS256_A128KW",
	"PBES2_HS384_A192KW",
	"PBES2_HS512_A256KW",
}

All allowed values of JweAlg enum

View Source
var AllowedJweEncEnumValues = []JweEnc{
	"A128CBC_HS256",
	"A192CBC_HS384",
	"A256CBC_HS512",
	"A128GCM",
	"A192GCM",
	"A256GCM",
}

All allowed values of JweEnc enum

View Source
var AllowedJwsAlgEnumValues = []JwsAlg{
	"NONE",
	"HS256",
	"HS384",
	"HS512",
	"RS256",
	"RS384",
	"RS512",
	"ES256",
	"ES384",
	"ES512",
	"PS256",
	"PS384",
	"PS512",
	"ES256K",
	"EdDSA",
}

All allowed values of JwsAlg enum

View Source
var AllowedPromptEnumValues = []Prompt{
	"NONE",
	"LOGIN",
	"CONSENT",
	"SELECT_ACCOUNT",
}

All allowed values of Prompt enum

View Source
var AllowedResponseTypeEnumValues = []ResponseType{
	"NONE",
	"CODE",
	"TOKEN",
	"ID_TOKEN",
	"CODE_TOKEN",
	"CODE_ID_TOKEN",
	"ID_TOKEN_TOKEN",
	"CODE_ID_TOKEN_TOKEN",
}

All allowed values of ResponseType enum

View Source
var AllowedServiceProfileEnumValues = []ServiceProfile{
	"FAPI",
	"OPEN_BANKING",
}

All allowed values of ServiceProfile enum

View Source
var AllowedSnsEnumValues = []Sns{
	"FACEBOOK",
}

All allowed values of Sns enum

View Source
var AllowedSubjectTypeEnumValues = []SubjectType{
	"PUBLIC",
	"PAIRWISE",
}

All allowed values of SubjectType enum

View Source
var AllowedTokenTypeEnumValues = []TokenType{
	"urn:ietf:params:oauth:token-type:jwt",
	"urn:ietf:params:oauth:token-type:access_token",
	"urn:ietf:params:oauth:token-type:refresh_token",
	"urn:ietf:params:oauth:token-type:id_token",
	"urn:ietf:params:oauth:token-type:saml1",
	"urn:ietf:params:oauth:token-type:saml2",
	"DEVICE_CODE",
	"TOKEN_EXCHANGE",
	"JWT_BEARER",
}

All allowed values of TokenType enum

View Source
var AllowedUserCodeCharsetEnumValues = []UserCodeCharset{
	"BASE20",
	"NUMERIC",
}

All allowed values of UserCodeCharset enum

View Source
var AllowedVerifiedClaimsValidationSchemaEnumValues = []VerifiedClaimsValidationSchema{
	"standard",
	"standard+id_document",
	"null",
}

All allowed values of VerifiedClaimsValidationSchema enum

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	AuthorizationEndpointApi AuthorizationEndpointApi

	CIBAApi CIBAApi

	ClientManagementApi ClientManagementApi

	ConfigurationEndpointApi ConfigurationEndpointApi

	DeviceFlowApi DeviceFlowApi

	DynamicClientRegistrationApi DynamicClientRegistrationApi

	FederationEndpointApi FederationEndpointApi

	GrantManagementEndpointApi GrantManagementEndpointApi

	IntrospectionEndpointApi IntrospectionEndpointApi

	JWKSetEndpointApi JWKSetEndpointApi

	JoseObjectApi JoseObjectApi

	PushedAuthorizationEndpointApi PushedAuthorizationEndpointApi

	RevocationEndpointApi RevocationEndpointApi

	ServerMetadataApi ServerMetadataApi

	ServiceManagementApi ServiceManagementApi

	TokenEndpointApi TokenEndpointApi

	TokenOperationsApi TokenOperationsApi

	UserInfoEndpointApi UserInfoEndpointApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Authlete API API v2.3.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AccessToken

type AccessToken struct {
	// The hash of the access token.
	AccessTokenHash *string `json:"accessTokenHash,omitempty"`
	// The timestamp at which the access token will expire.
	AccessTokenExpiresAt *int64 `json:"accessTokenExpiresAt,omitempty"`
	// The hash of the refresh token.
	RefreshTokenHash *string `json:"refreshTokenHash,omitempty"`
	// The timestamp at which the refresh token will expire.
	RefreshTokenExpiresAt *int64 `json:"refreshTokenExpiresAt,omitempty"`
	// The timestamp at which the access token was first created.
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// The timestamp at which the access token was last refreshed using the refresh token.
	LastRefreshedAt *int64 `json:"lastRefreshedAt,omitempty"`
	// The ID of the client associated with the access token.
	ClientId *int64 `json:"clientId,omitempty"`
	// The subject (= unique user ID) associated with the access token.
	Subject   *string    `json:"subject,omitempty"`
	GrantType *GrantType `json:"grantType,omitempty"`
	// The scopes associated with the access token.
	Scopes []string `json:"scopes,omitempty"`
	// The properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
}

AccessToken struct for AccessToken

func NewAccessToken

func NewAccessToken() *AccessToken

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

func NewAccessTokenWithDefaults

func NewAccessTokenWithDefaults() *AccessToken

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

func (*AccessToken) GetAccessTokenExpiresAt

func (o *AccessToken) GetAccessTokenExpiresAt() int64

GetAccessTokenExpiresAt returns the AccessTokenExpiresAt field value if set, zero value otherwise.

func (*AccessToken) GetAccessTokenExpiresAtOk

func (o *AccessToken) GetAccessTokenExpiresAtOk() (*int64, bool)

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

func (*AccessToken) GetAccessTokenHash

func (o *AccessToken) GetAccessTokenHash() string

GetAccessTokenHash returns the AccessTokenHash field value if set, zero value otherwise.

func (*AccessToken) GetAccessTokenHashOk

func (o *AccessToken) GetAccessTokenHashOk() (*string, bool)

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

func (*AccessToken) GetClientId

func (o *AccessToken) GetClientId() int64

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

func (*AccessToken) GetClientIdOk

func (o *AccessToken) GetClientIdOk() (*int64, 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 (*AccessToken) GetCreatedAt

func (o *AccessToken) GetCreatedAt() int64

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

func (*AccessToken) GetCreatedAtOk

func (o *AccessToken) GetCreatedAtOk() (*int64, 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 (*AccessToken) GetGrantType

func (o *AccessToken) GetGrantType() GrantType

GetGrantType returns the GrantType field value if set, zero value otherwise.

func (*AccessToken) GetGrantTypeOk

func (o *AccessToken) GetGrantTypeOk() (*GrantType, bool)

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

func (*AccessToken) GetLastRefreshedAt

func (o *AccessToken) GetLastRefreshedAt() int64

GetLastRefreshedAt returns the LastRefreshedAt field value if set, zero value otherwise.

func (*AccessToken) GetLastRefreshedAtOk

func (o *AccessToken) GetLastRefreshedAtOk() (*int64, bool)

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

func (*AccessToken) GetProperties

func (o *AccessToken) GetProperties() []Property

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

func (*AccessToken) GetPropertiesOk

func (o *AccessToken) GetPropertiesOk() ([]Property, bool)

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

func (*AccessToken) GetRefreshTokenExpiresAt

func (o *AccessToken) GetRefreshTokenExpiresAt() int64

GetRefreshTokenExpiresAt returns the RefreshTokenExpiresAt field value if set, zero value otherwise.

func (*AccessToken) GetRefreshTokenExpiresAtOk

func (o *AccessToken) GetRefreshTokenExpiresAtOk() (*int64, bool)

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

func (*AccessToken) GetRefreshTokenHash

func (o *AccessToken) GetRefreshTokenHash() string

GetRefreshTokenHash returns the RefreshTokenHash field value if set, zero value otherwise.

func (*AccessToken) GetRefreshTokenHashOk

func (o *AccessToken) GetRefreshTokenHashOk() (*string, bool)

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

func (*AccessToken) GetScopes

func (o *AccessToken) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*AccessToken) GetScopesOk

func (o *AccessToken) GetScopesOk() ([]string, bool)

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

func (*AccessToken) GetSubject

func (o *AccessToken) GetSubject() string

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

func (*AccessToken) GetSubjectOk

func (o *AccessToken) 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 (*AccessToken) HasAccessTokenExpiresAt

func (o *AccessToken) HasAccessTokenExpiresAt() bool

HasAccessTokenExpiresAt returns a boolean if a field has been set.

func (*AccessToken) HasAccessTokenHash

func (o *AccessToken) HasAccessTokenHash() bool

HasAccessTokenHash returns a boolean if a field has been set.

func (*AccessToken) HasClientId

func (o *AccessToken) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*AccessToken) HasCreatedAt

func (o *AccessToken) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AccessToken) HasGrantType

func (o *AccessToken) HasGrantType() bool

HasGrantType returns a boolean if a field has been set.

func (*AccessToken) HasLastRefreshedAt

func (o *AccessToken) HasLastRefreshedAt() bool

HasLastRefreshedAt returns a boolean if a field has been set.

func (*AccessToken) HasProperties

func (o *AccessToken) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*AccessToken) HasRefreshTokenExpiresAt

func (o *AccessToken) HasRefreshTokenExpiresAt() bool

HasRefreshTokenExpiresAt returns a boolean if a field has been set.

func (*AccessToken) HasRefreshTokenHash

func (o *AccessToken) HasRefreshTokenHash() bool

HasRefreshTokenHash returns a boolean if a field has been set.

func (*AccessToken) HasScopes

func (o *AccessToken) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*AccessToken) HasSubject

func (o *AccessToken) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (AccessToken) MarshalJSON

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

func (*AccessToken) SetAccessTokenExpiresAt

func (o *AccessToken) SetAccessTokenExpiresAt(v int64)

SetAccessTokenExpiresAt gets a reference to the given int64 and assigns it to the AccessTokenExpiresAt field.

func (*AccessToken) SetAccessTokenHash

func (o *AccessToken) SetAccessTokenHash(v string)

SetAccessTokenHash gets a reference to the given string and assigns it to the AccessTokenHash field.

func (*AccessToken) SetClientId

func (o *AccessToken) SetClientId(v int64)

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

func (*AccessToken) SetCreatedAt

func (o *AccessToken) SetCreatedAt(v int64)

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

func (*AccessToken) SetGrantType

func (o *AccessToken) SetGrantType(v GrantType)

SetGrantType gets a reference to the given GrantType and assigns it to the GrantType field.

func (*AccessToken) SetLastRefreshedAt

func (o *AccessToken) SetLastRefreshedAt(v int64)

SetLastRefreshedAt gets a reference to the given int64 and assigns it to the LastRefreshedAt field.

func (*AccessToken) SetProperties

func (o *AccessToken) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*AccessToken) SetRefreshTokenExpiresAt

func (o *AccessToken) SetRefreshTokenExpiresAt(v int64)

SetRefreshTokenExpiresAt gets a reference to the given int64 and assigns it to the RefreshTokenExpiresAt field.

func (*AccessToken) SetRefreshTokenHash

func (o *AccessToken) SetRefreshTokenHash(v string)

SetRefreshTokenHash gets a reference to the given string and assigns it to the RefreshTokenHash field.

func (*AccessToken) SetScopes

func (o *AccessToken) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*AccessToken) SetSubject

func (o *AccessToken) SetSubject(v string)

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

func (AccessToken) ToMap added in v1.1.1

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

type ApiAuthAuthorizationApiRequest

type ApiAuthAuthorizationApiRequest struct {
	ApiService AuthorizationEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthAuthorizationApiRequest) AuthorizationRequest

func (r ApiAuthAuthorizationApiRequest) AuthorizationRequest(authorizationRequest AuthorizationRequest) ApiAuthAuthorizationApiRequest

func (ApiAuthAuthorizationApiRequest) Execute

type ApiAuthAuthorizationFailApiRequest

type ApiAuthAuthorizationFailApiRequest struct {
	ApiService AuthorizationEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthAuthorizationFailApiRequest) AuthorizationFailRequest

func (r ApiAuthAuthorizationFailApiRequest) AuthorizationFailRequest(authorizationFailRequest AuthorizationFailRequest) ApiAuthAuthorizationFailApiRequest

func (ApiAuthAuthorizationFailApiRequest) Execute

type ApiAuthAuthorizationIssueApiRequest

type ApiAuthAuthorizationIssueApiRequest struct {
	ApiService AuthorizationEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthAuthorizationIssueApiRequest) AuthorizationIssueRequest

func (r ApiAuthAuthorizationIssueApiRequest) AuthorizationIssueRequest(authorizationIssueRequest AuthorizationIssueRequest) ApiAuthAuthorizationIssueApiRequest

func (ApiAuthAuthorizationIssueApiRequest) Execute

type ApiAuthIntrospectionApiRequest

type ApiAuthIntrospectionApiRequest struct {
	ApiService IntrospectionEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthIntrospectionApiRequest) Execute

func (ApiAuthIntrospectionApiRequest) IntrospectionRequest

func (r ApiAuthIntrospectionApiRequest) IntrospectionRequest(introspectionRequest IntrospectionRequest) ApiAuthIntrospectionApiRequest

type ApiAuthIntrospectionStandardApiRequest

type ApiAuthIntrospectionStandardApiRequest struct {
	ApiService IntrospectionEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthIntrospectionStandardApiRequest) Execute

func (ApiAuthIntrospectionStandardApiRequest) StandardIntrospectionRequest

func (r ApiAuthIntrospectionStandardApiRequest) StandardIntrospectionRequest(standardIntrospectionRequest StandardIntrospectionRequest) ApiAuthIntrospectionStandardApiRequest

type ApiAuthRevocationApiRequest

type ApiAuthRevocationApiRequest struct {
	ApiService RevocationEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthRevocationApiRequest) Execute

func (ApiAuthRevocationApiRequest) RevocationRequest

func (r ApiAuthRevocationApiRequest) RevocationRequest(revocationRequest RevocationRequest) ApiAuthRevocationApiRequest

type ApiAuthTokenApiRequest

type ApiAuthTokenApiRequest struct {
	ApiService TokenEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenApiRequest) Execute

func (ApiAuthTokenApiRequest) TokenRequest

func (r ApiAuthTokenApiRequest) TokenRequest(tokenRequest TokenRequest) ApiAuthTokenApiRequest

type ApiAuthTokenCreateApiRequest

type ApiAuthTokenCreateApiRequest struct {
	ApiService TokenOperationsApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenCreateApiRequest) Execute

func (ApiAuthTokenCreateApiRequest) TokenCreateRequest

func (r ApiAuthTokenCreateApiRequest) TokenCreateRequest(tokenCreateRequest TokenCreateRequest) ApiAuthTokenCreateApiRequest

type ApiAuthTokenDeleteApiRequest

type ApiAuthTokenDeleteApiRequest struct {
	ApiService TokenOperationsApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenDeleteApiRequest) Execute

type ApiAuthTokenFailApiRequest

type ApiAuthTokenFailApiRequest struct {
	ApiService TokenEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenFailApiRequest) Execute

func (ApiAuthTokenFailApiRequest) TokenFailRequest

func (r ApiAuthTokenFailApiRequest) TokenFailRequest(tokenFailRequest TokenFailRequest) ApiAuthTokenFailApiRequest

type ApiAuthTokenGetListApiRequest

type ApiAuthTokenGetListApiRequest struct {
	ApiService TokenOperationsApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenGetListApiRequest) ClientIdentifier

func (r ApiAuthTokenGetListApiRequest) ClientIdentifier(clientIdentifier string) ApiAuthTokenGetListApiRequest

Client Identifier (client ID or client ID alias).

func (ApiAuthTokenGetListApiRequest) End

End index of search results (exclusive). The default value is 5.

func (ApiAuthTokenGetListApiRequest) Execute

func (ApiAuthTokenGetListApiRequest) Start

Start index of search results (inclusive). The default value is 0.

func (ApiAuthTokenGetListApiRequest) Subject

Unique user ID.

type ApiAuthTokenIssueApiRequest

type ApiAuthTokenIssueApiRequest struct {
	ApiService TokenEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenIssueApiRequest) Execute

func (ApiAuthTokenIssueApiRequest) TokenIssueRequest

func (r ApiAuthTokenIssueApiRequest) TokenIssueRequest(tokenIssueRequest TokenIssueRequest) ApiAuthTokenIssueApiRequest

type ApiAuthTokenRevokeApiRequest added in v1.1.1

type ApiAuthTokenRevokeApiRequest struct {
	ApiService TokenOperationsApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenRevokeApiRequest) Execute added in v1.1.1

func (ApiAuthTokenRevokeApiRequest) TokenRevokeRequest added in v1.1.1

func (r ApiAuthTokenRevokeApiRequest) TokenRevokeRequest(tokenRevokeRequest TokenRevokeRequest) ApiAuthTokenRevokeApiRequest

type ApiAuthTokenUpdateApiRequest

type ApiAuthTokenUpdateApiRequest struct {
	ApiService TokenOperationsApi
	// contains filtered or unexported fields
}

func (ApiAuthTokenUpdateApiRequest) Execute

func (ApiAuthTokenUpdateApiRequest) TokenUpdateRequest

func (r ApiAuthTokenUpdateApiRequest) TokenUpdateRequest(tokenUpdateRequest TokenUpdateRequest) ApiAuthTokenUpdateApiRequest

type ApiAuthUserinfoApiRequest

type ApiAuthUserinfoApiRequest struct {
	ApiService UserInfoEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthUserinfoApiRequest) Execute

func (ApiAuthUserinfoApiRequest) UserinfoRequest

func (r ApiAuthUserinfoApiRequest) UserinfoRequest(userinfoRequest UserinfoRequest) ApiAuthUserinfoApiRequest

type ApiAuthUserinfoIssueApiRequest

type ApiAuthUserinfoIssueApiRequest struct {
	ApiService UserInfoEndpointApi
	// contains filtered or unexported fields
}

func (ApiAuthUserinfoIssueApiRequest) Execute

func (ApiAuthUserinfoIssueApiRequest) UserinfoIssueRequest

func (r ApiAuthUserinfoIssueApiRequest) UserinfoIssueRequest(userinfoIssueRequest UserinfoIssueRequest) ApiAuthUserinfoIssueApiRequest

type ApiBackchannelAuthenticationApiRequest

type ApiBackchannelAuthenticationApiRequest struct {
	ApiService CIBAApi
	// contains filtered or unexported fields
}

func (ApiBackchannelAuthenticationApiRequest) BackchannelAuthenticationRequest

func (r ApiBackchannelAuthenticationApiRequest) BackchannelAuthenticationRequest(backchannelAuthenticationRequest BackchannelAuthenticationRequest) ApiBackchannelAuthenticationApiRequest

func (ApiBackchannelAuthenticationApiRequest) Execute

type ApiBackchannelAuthenticationCompleteApiRequest

type ApiBackchannelAuthenticationCompleteApiRequest struct {
	ApiService CIBAApi
	// contains filtered or unexported fields
}

func (ApiBackchannelAuthenticationCompleteApiRequest) BackchannelAuthenticationCompleteRequest

func (r ApiBackchannelAuthenticationCompleteApiRequest) BackchannelAuthenticationCompleteRequest(backchannelAuthenticationCompleteRequest BackchannelAuthenticationCompleteRequest) ApiBackchannelAuthenticationCompleteApiRequest

func (ApiBackchannelAuthenticationCompleteApiRequest) Execute

type ApiBackchannelAuthenticationFailApiRequest

type ApiBackchannelAuthenticationFailApiRequest struct {
	ApiService CIBAApi
	// contains filtered or unexported fields
}

func (ApiBackchannelAuthenticationFailApiRequest) BackchannelAuthenticationFailRequest

func (r ApiBackchannelAuthenticationFailApiRequest) BackchannelAuthenticationFailRequest(backchannelAuthenticationFailRequest BackchannelAuthenticationFailRequest) ApiBackchannelAuthenticationFailApiRequest

func (ApiBackchannelAuthenticationFailApiRequest) Execute

type ApiBackchannelAuthenticationIssueApiRequest

type ApiBackchannelAuthenticationIssueApiRequest struct {
	ApiService CIBAApi
	// contains filtered or unexported fields
}

func (ApiBackchannelAuthenticationIssueApiRequest) BackchannelAuthenticationIssueRequest

func (r ApiBackchannelAuthenticationIssueApiRequest) BackchannelAuthenticationIssueRequest(backchannelAuthenticationIssueRequest BackchannelAuthenticationIssueRequest) ApiBackchannelAuthenticationIssueApiRequest

func (ApiBackchannelAuthenticationIssueApiRequest) Execute

type ApiClientAuthorizationDeleteApiRequest

type ApiClientAuthorizationDeleteApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientAuthorizationDeleteApiRequest) Execute

type ApiClientAuthorizationGetListApiRequest

type ApiClientAuthorizationGetListApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientAuthorizationGetListApiRequest) Developer

Unique ID of a client developer.

func (ApiClientAuthorizationGetListApiRequest) End

End index of search results (exclusive). The default value is 5.

func (ApiClientAuthorizationGetListApiRequest) Execute

func (ApiClientAuthorizationGetListApiRequest) Start

Start index of search results (inclusive). The default value is 0.

type ApiClientAuthorizationUpdateApiRequest

type ApiClientAuthorizationUpdateApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientAuthorizationUpdateApiRequest) ClientAuthorizationUpdateRequest

func (r ApiClientAuthorizationUpdateApiRequest) ClientAuthorizationUpdateRequest(clientAuthorizationUpdateRequest ClientAuthorizationUpdateRequest) ApiClientAuthorizationUpdateApiRequest

func (ApiClientAuthorizationUpdateApiRequest) Execute

type ApiClientCreateApiRequest

type ApiClientCreateApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientCreateApiRequest) Client

func (ApiClientCreateApiRequest) Execute

type ApiClientDeleteApiRequest

type ApiClientDeleteApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientDeleteApiRequest) Execute

func (r ApiClientDeleteApiRequest) Execute() (*http.Response, error)

type ApiClientFlagUpdateApiRequest added in v1.2.0

type ApiClientFlagUpdateApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientFlagUpdateApiRequest) ClientFlagUpdateRequest added in v1.2.0

func (r ApiClientFlagUpdateApiRequest) ClientFlagUpdateRequest(clientFlagUpdateRequest ClientFlagUpdateRequest) ApiClientFlagUpdateApiRequest

func (ApiClientFlagUpdateApiRequest) Execute added in v1.2.0

type ApiClientGetApiRequest

type ApiClientGetApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientGetApiRequest) Execute

func (r ApiClientGetApiRequest) Execute() (*Client, *http.Response, error)

type ApiClientGetListApiRequest

type ApiClientGetListApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientGetListApiRequest) Developer

The developer of client applications. The default value is null. If this parameter is not set to `null`, client application of the specified developer are returned. Otherwise, all client applications that belong to the service are returned.

func (ApiClientGetListApiRequest) End

End index (exclusive) of the result set. The default value is 5. Must not be a negative number.

func (ApiClientGetListApiRequest) Execute

func (ApiClientGetListApiRequest) Start

Start index (inclusive) of the result set. The default value is 0. Must not be a negative number.

type ApiClientGrantedScopesDeleteApiRequest

type ApiClientGrantedScopesDeleteApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientGrantedScopesDeleteApiRequest) Execute

type ApiClientGrantedScopesGetApiRequest

type ApiClientGrantedScopesGetApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientGrantedScopesGetApiRequest) Execute

type ApiClientRegistrationApiRequest

type ApiClientRegistrationApiRequest struct {
	ApiService DynamicClientRegistrationApi
	// contains filtered or unexported fields
}

func (ApiClientRegistrationApiRequest) ClientRegistrationRequest

func (r ApiClientRegistrationApiRequest) ClientRegistrationRequest(clientRegistrationRequest ClientRegistrationRequest) ApiClientRegistrationApiRequest

func (ApiClientRegistrationApiRequest) Execute

type ApiClientRegistrationDeleteApiRequest

type ApiClientRegistrationDeleteApiRequest struct {
	ApiService DynamicClientRegistrationApi
	// contains filtered or unexported fields
}

func (ApiClientRegistrationDeleteApiRequest) ClientRegistrationDeleteRequest

func (r ApiClientRegistrationDeleteApiRequest) ClientRegistrationDeleteRequest(clientRegistrationDeleteRequest ClientRegistrationDeleteRequest) ApiClientRegistrationDeleteApiRequest

func (ApiClientRegistrationDeleteApiRequest) Execute

type ApiClientRegistrationGetApiRequest

type ApiClientRegistrationGetApiRequest struct {
	ApiService DynamicClientRegistrationApi
	// contains filtered or unexported fields
}

func (ApiClientRegistrationGetApiRequest) ClientRegistrationGetRequest

func (r ApiClientRegistrationGetApiRequest) ClientRegistrationGetRequest(clientRegistrationGetRequest ClientRegistrationGetRequest) ApiClientRegistrationGetApiRequest

func (ApiClientRegistrationGetApiRequest) Execute

type ApiClientRegistrationUpdateApiRequest

type ApiClientRegistrationUpdateApiRequest struct {
	ApiService DynamicClientRegistrationApi
	// contains filtered or unexported fields
}

func (ApiClientRegistrationUpdateApiRequest) ClientRegistrationUpdateRequest

func (r ApiClientRegistrationUpdateApiRequest) ClientRegistrationUpdateRequest(clientRegistrationUpdateRequest ClientRegistrationUpdateRequest) ApiClientRegistrationUpdateApiRequest

func (ApiClientRegistrationUpdateApiRequest) Execute

type ApiClientSecretRefreshApiRequest

type ApiClientSecretRefreshApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientSecretRefreshApiRequest) Execute

type ApiClientSecretUpdateApiRequest

type ApiClientSecretUpdateApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientSecretUpdateApiRequest) ClientSecretUpdateRequest

func (r ApiClientSecretUpdateApiRequest) ClientSecretUpdateRequest(clientSecretUpdateRequest ClientSecretUpdateRequest) ApiClientSecretUpdateApiRequest

func (ApiClientSecretUpdateApiRequest) Execute

type ApiClientUpdateApiRequest

type ApiClientUpdateApiRequest struct {
	ApiService ClientManagementApi
	// contains filtered or unexported fields
}

func (ApiClientUpdateApiRequest) Client

func (ApiClientUpdateApiRequest) Execute

type ApiDeviceAuthorizationApiRequest

type ApiDeviceAuthorizationApiRequest struct {
	ApiService DeviceFlowApi
	// contains filtered or unexported fields
}

func (ApiDeviceAuthorizationApiRequest) DeviceAuthorizationRequest

func (r ApiDeviceAuthorizationApiRequest) DeviceAuthorizationRequest(deviceAuthorizationRequest DeviceAuthorizationRequest) ApiDeviceAuthorizationApiRequest

func (ApiDeviceAuthorizationApiRequest) Execute

type ApiDeviceCompleteApiRequest

type ApiDeviceCompleteApiRequest struct {
	ApiService DeviceFlowApi
	// contains filtered or unexported fields
}

func (ApiDeviceCompleteApiRequest) DeviceCompleteRequest

func (r ApiDeviceCompleteApiRequest) DeviceCompleteRequest(deviceCompleteRequest DeviceCompleteRequest) ApiDeviceCompleteApiRequest

func (ApiDeviceCompleteApiRequest) Execute

type ApiDeviceVerificationApiRequest

type ApiDeviceVerificationApiRequest struct {
	ApiService DeviceFlowApi
	// contains filtered or unexported fields
}

func (ApiDeviceVerificationApiRequest) DeviceVerificationRequest

func (r ApiDeviceVerificationApiRequest) DeviceVerificationRequest(deviceVerificationRequest DeviceVerificationRequest) ApiDeviceVerificationApiRequest

func (ApiDeviceVerificationApiRequest) Execute

type ApiFederationConfigurationApiRequest added in v1.1.1

type ApiFederationConfigurationApiRequest struct {
	ApiService FederationEndpointApi
	// contains filtered or unexported fields
}

func (ApiFederationConfigurationApiRequest) Body added in v1.1.1

func (ApiFederationConfigurationApiRequest) Execute added in v1.1.1

type ApiGrantMApiRequest added in v1.1.1

type ApiGrantMApiRequest struct {
	ApiService GrantManagementEndpointApi
	// contains filtered or unexported fields
}

func (ApiGrantMApiRequest) Execute added in v1.1.1

func (r ApiGrantMApiRequest) Execute() (*GMResponse, *http.Response, error)

func (ApiGrantMApiRequest) GMRequest added in v1.1.1

func (r ApiGrantMApiRequest) GMRequest(gMRequest GMRequest) ApiGrantMApiRequest

type ApiInfoApiRequest added in v1.2.0

type ApiInfoApiRequest struct {
	ApiService ServerMetadataApi
	// contains filtered or unexported fields
}

func (ApiInfoApiRequest) Execute added in v1.2.0

func (r ApiInfoApiRequest) Execute() (*InfoResponse, *http.Response, error)

type ApiJoseVerifyApiRequest

type ApiJoseVerifyApiRequest struct {
	ApiService JoseObjectApi
	// contains filtered or unexported fields
}

func (ApiJoseVerifyApiRequest) Execute

func (ApiJoseVerifyApiRequest) JoseVerifyRequest

func (r ApiJoseVerifyApiRequest) JoseVerifyRequest(joseVerifyRequest JoseVerifyRequest) ApiJoseVerifyApiRequest

type ApiPushedAuthReqApiRequest added in v1.2.0

type ApiPushedAuthReqApiRequest struct {
	ApiService PushedAuthorizationEndpointApi
	// contains filtered or unexported fields
}

func (ApiPushedAuthReqApiRequest) Execute added in v1.2.0

func (ApiPushedAuthReqApiRequest) PushedAuthorizationRequest added in v1.2.0

func (r ApiPushedAuthReqApiRequest) PushedAuthorizationRequest(pushedAuthorizationRequest PushedAuthorizationRequest) ApiPushedAuthReqApiRequest

type ApiServiceConfigurationApiRequest

type ApiServiceConfigurationApiRequest struct {
	ApiService ConfigurationEndpointApi
	// contains filtered or unexported fields
}

func (ApiServiceConfigurationApiRequest) Execute

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

func (ApiServiceConfigurationApiRequest) Pretty

This boolean value indicates whether the JSON in the response should be formatted or not. If `true`, the JSON in the response is pretty-formatted. The default value is `false`.

type ApiServiceCreateApiRequest

type ApiServiceCreateApiRequest struct {
	ApiService ServiceManagementApi
	// contains filtered or unexported fields
}

func (ApiServiceCreateApiRequest) Execute

func (ApiServiceCreateApiRequest) Service

type ApiServiceDeleteApiRequest

type ApiServiceDeleteApiRequest struct {
	ApiService ServiceManagementApi
	// contains filtered or unexported fields
}

func (ApiServiceDeleteApiRequest) Execute

type ApiServiceGetApiRequest

type ApiServiceGetApiRequest struct {
	ApiService ServiceManagementApi
	// contains filtered or unexported fields
}

func (ApiServiceGetApiRequest) Execute

type ApiServiceGetListApiRequest

type ApiServiceGetListApiRequest struct {
	ApiService ServiceManagementApi
	// contains filtered or unexported fields
}

func (ApiServiceGetListApiRequest) End

End index (exclusive) of the result set. The default value is 5. Must not be a negative number.

func (ApiServiceGetListApiRequest) Execute

func (ApiServiceGetListApiRequest) Start

Start index (inclusive) of the result set. The default value is 0. Must not be a negative number.

type ApiServiceJwksGetApiRequest

type ApiServiceJwksGetApiRequest struct {
	ApiService JWKSetEndpointApi
	// contains filtered or unexported fields
}

func (ApiServiceJwksGetApiRequest) Execute

func (ApiServiceJwksGetApiRequest) IncludePrivateKeys

func (r ApiServiceJwksGetApiRequest) IncludePrivateKeys(includePrivateKeys bool) ApiServiceJwksGetApiRequest

The boolean value that indicates whether the response should include the private keys associated with the service or not. If `true`, the private keys are included in the response. The default value is `false`.

func (ApiServiceJwksGetApiRequest) Pretty

This boolean value indicates whether the JSON in the response should be formatted or not. If `true`, the JSON in the response is pretty-formatted. The default value is `false`.

type ApiServiceUpdateApiRequest

type ApiServiceUpdateApiRequest struct {
	ApiService ServiceManagementApi
	// contains filtered or unexported fields
}

func (ApiServiceUpdateApiRequest) Execute

func (ApiServiceUpdateApiRequest) Service

type ApplicationType

type ApplicationType string

ApplicationType The application type. The value of this property affects the validation steps for a redirect URI. See the description about `redirectUris` property for more details.

const (
	APPLICATIONTYPE_WEB    ApplicationType = "WEB"
	APPLICATIONTYPE_NATIVE ApplicationType = "NATIVE"
	APPLICATIONTYPE_NULL   ApplicationType = "null"
)

List of application_type

func NewApplicationTypeFromValue

func NewApplicationTypeFromValue(v string) (*ApplicationType, error)

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

func (ApplicationType) IsValid

func (v ApplicationType) IsValid() bool

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

func (ApplicationType) Ptr

Ptr returns reference to application_type value

func (*ApplicationType) UnmarshalJSON

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

type AttachmentType added in v1.1.1

type AttachmentType string

AttachmentType Supported attachment types. This property corresponds to the `attachments_supported` server metadata which was added by the third implementer's draft of OpenID Connect for Identity Assurance 1.0.

const (
	ATTACHMENTTYPE_EMBEDDED AttachmentType = "EMBEDDED"
	ATTACHMENTTYPE_EXTERNAL AttachmentType = "EXTERNAL"
)

List of attachment_type

func NewAttachmentTypeFromValue added in v1.1.1

func NewAttachmentTypeFromValue(v string) (*AttachmentType, error)

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

func (AttachmentType) IsValid added in v1.1.1

func (v AttachmentType) IsValid() bool

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

func (AttachmentType) Ptr added in v1.1.1

func (v AttachmentType) Ptr() *AttachmentType

Ptr returns reference to attachment_type value

func (*AttachmentType) UnmarshalJSON added in v1.1.1

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

type AuthorizationDetails

type AuthorizationDetails struct {
	// Elements of this authorization details.
	Elements []AuthorizationDetailsElement `json:"elements,omitempty"`
}

AuthorizationDetails The authorization details. This represents the value of the `authorization_details` request parameter in the preceding device authorization request which is defined in \"OAuth 2.0 Rich Authorization Requests\".

func NewAuthorizationDetails

func NewAuthorizationDetails() *AuthorizationDetails

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

func NewAuthorizationDetailsWithDefaults

func NewAuthorizationDetailsWithDefaults() *AuthorizationDetails

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

func (*AuthorizationDetails) GetElements

GetElements returns the Elements field value if set, zero value otherwise.

func (*AuthorizationDetails) GetElementsOk

func (o *AuthorizationDetails) GetElementsOk() ([]AuthorizationDetailsElement, bool)

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

func (*AuthorizationDetails) HasElements

func (o *AuthorizationDetails) HasElements() bool

HasElements returns a boolean if a field has been set.

func (AuthorizationDetails) MarshalJSON

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

func (*AuthorizationDetails) SetElements

SetElements gets a reference to the given []AuthorizationDetailsElement and assigns it to the Elements field.

func (AuthorizationDetails) ToMap added in v1.1.1

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

type AuthorizationDetailsElement

type AuthorizationDetailsElement struct {
	// The type of this element.  From _\"OAuth 2.0 Rich Authorization Requests\"_: _\"The type of authorization data as a string. This field MAY define which other elements are allowed in the request. This element is REQUIRED.\"_  This property is always NOT `null`.
	Type string `json:"type"`
	// The resources and/or resource servers. This property may be `null`.  From _\"OAuth 2.0 Rich Authorization Requests\"_: _\"An array of strings representing the location of the resource or resource server. This is typically composed of URIs.\"_  This property may be `null`.
	Locations []string `json:"locations,omitempty"`
	// The actions.  From _\"OAuth 2.0 Rich Authorization Requests\"_: _\"An array of strings representing the kinds of actions to be taken at the resource. The values of the strings are determined by the API being protected.\"_  This property may be `null`.
	Actions []string `json:"actions,omitempty"`
	// From _\"OAuth 2.0 Rich Authorization Requests\"_: _\"An array of strings representing the kinds of data being requested from the resource.\"_  This property may be `null`.
	DataTypes []string `json:"dataTypes,omitempty"`
	// The identifier of a specific resource. From _\"OAuth 2.0 Rich Authorization Requests\"_: _\"A string identifier indicating a specific resource available at the API.\"_  This property may be `null`.
	Identifier *string `json:"identifier,omitempty"`
	// The types or levels of privilege. From \"OAuth 2.0 Rich Authorization Requests\": _\"An array of strings representing the types or levels of privilege being requested at the resource.\"_  This property may be `null`.
	Privileges []string `json:"privileges,omitempty"`
	// The RAR request in the JSON format excluding the pre-defined attributes such as `type` and `locations`. The content and semantics are specific to the deployment and the use case implemented.
	OtherFields *string `json:"otherFields,omitempty"`
}

AuthorizationDetailsElement struct for AuthorizationDetailsElement

func NewAuthorizationDetailsElement

func NewAuthorizationDetailsElement(type_ string) *AuthorizationDetailsElement

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

func NewAuthorizationDetailsElementWithDefaults

func NewAuthorizationDetailsElementWithDefaults() *AuthorizationDetailsElement

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

func (*AuthorizationDetailsElement) GetActions

func (o *AuthorizationDetailsElement) GetActions() []string

GetActions returns the Actions field value if set, zero value otherwise.

func (*AuthorizationDetailsElement) GetActionsOk

func (o *AuthorizationDetailsElement) GetActionsOk() ([]string, bool)

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

func (*AuthorizationDetailsElement) GetDataTypes

func (o *AuthorizationDetailsElement) GetDataTypes() []string

GetDataTypes returns the DataTypes field value if set, zero value otherwise.

func (*AuthorizationDetailsElement) GetDataTypesOk

func (o *AuthorizationDetailsElement) GetDataTypesOk() ([]string, bool)

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

func (*AuthorizationDetailsElement) GetIdentifier

func (o *AuthorizationDetailsElement) GetIdentifier() string

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

func (*AuthorizationDetailsElement) GetIdentifierOk

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

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

func (*AuthorizationDetailsElement) GetLocations

func (o *AuthorizationDetailsElement) GetLocations() []string

GetLocations returns the Locations field value if set, zero value otherwise.

func (*AuthorizationDetailsElement) GetLocationsOk

func (o *AuthorizationDetailsElement) GetLocationsOk() ([]string, bool)

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

func (*AuthorizationDetailsElement) GetOtherFields added in v1.0.0

func (o *AuthorizationDetailsElement) GetOtherFields() string

GetOtherFields returns the OtherFields field value if set, zero value otherwise.

func (*AuthorizationDetailsElement) GetOtherFieldsOk added in v1.0.0

func (o *AuthorizationDetailsElement) GetOtherFieldsOk() (*string, bool)

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

func (*AuthorizationDetailsElement) GetPrivileges

func (o *AuthorizationDetailsElement) GetPrivileges() []string

GetPrivileges returns the Privileges field value if set, zero value otherwise.

func (*AuthorizationDetailsElement) GetPrivilegesOk

func (o *AuthorizationDetailsElement) GetPrivilegesOk() ([]string, bool)

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

func (*AuthorizationDetailsElement) GetType

func (o *AuthorizationDetailsElement) GetType() string

GetType returns the Type field value

func (*AuthorizationDetailsElement) GetTypeOk

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

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

func (*AuthorizationDetailsElement) HasActions

func (o *AuthorizationDetailsElement) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*AuthorizationDetailsElement) HasDataTypes

func (o *AuthorizationDetailsElement) HasDataTypes() bool

HasDataTypes returns a boolean if a field has been set.

func (*AuthorizationDetailsElement) HasIdentifier

func (o *AuthorizationDetailsElement) HasIdentifier() bool

HasIdentifier returns a boolean if a field has been set.

func (*AuthorizationDetailsElement) HasLocations

func (o *AuthorizationDetailsElement) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (*AuthorizationDetailsElement) HasOtherFields added in v1.0.0

func (o *AuthorizationDetailsElement) HasOtherFields() bool

HasOtherFields returns a boolean if a field has been set.

func (*AuthorizationDetailsElement) HasPrivileges

func (o *AuthorizationDetailsElement) HasPrivileges() bool

HasPrivileges returns a boolean if a field has been set.

func (AuthorizationDetailsElement) MarshalJSON

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

func (*AuthorizationDetailsElement) SetActions

func (o *AuthorizationDetailsElement) SetActions(v []string)

SetActions gets a reference to the given []string and assigns it to the Actions field.

func (*AuthorizationDetailsElement) SetDataTypes

func (o *AuthorizationDetailsElement) SetDataTypes(v []string)

SetDataTypes gets a reference to the given []string and assigns it to the DataTypes field.

func (*AuthorizationDetailsElement) SetIdentifier

func (o *AuthorizationDetailsElement) SetIdentifier(v string)

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

func (*AuthorizationDetailsElement) SetLocations

func (o *AuthorizationDetailsElement) SetLocations(v []string)

SetLocations gets a reference to the given []string and assigns it to the Locations field.

func (*AuthorizationDetailsElement) SetOtherFields added in v1.0.0

func (o *AuthorizationDetailsElement) SetOtherFields(v string)

SetOtherFields gets a reference to the given string and assigns it to the OtherFields field.

func (*AuthorizationDetailsElement) SetPrivileges

func (o *AuthorizationDetailsElement) SetPrivileges(v []string)

SetPrivileges gets a reference to the given []string and assigns it to the Privileges field.

func (*AuthorizationDetailsElement) SetType

func (o *AuthorizationDetailsElement) SetType(v string)

SetType sets field value

func (AuthorizationDetailsElement) ToMap added in v1.1.1

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

type AuthorizationEndpointApi

type AuthorizationEndpointApi interface {

	/*
		AuthAuthorizationApi /api/auth/authorization API

		This API parses request parameters of an authorization request and returns necessary data for the authorization server
	implementation to process the authorization request further.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the authorization endpoint of
	the service. The endpoint implementation must extract the request parameters from the authorization
	request from the client application and pass them as the value of parameters request parameter for
	Authlete's `/auth/authorization` API.

	The value of `parameters` is either (1) the entire query string when the HTTP method of the request
	from the client application is `GET` or (2) the entire entity body (which is formatted in
	`application/x-www-form-urlencoded`) when the HTTP method of the request from the client application
	is `POST`.

	The following code snippet is an example in JAX-RS showing how to extract request parameters from
	the authorization request.

	“`java
	@GET
	public Response get(@Context UriInfo uriInfo)
	{
	    // The query parameters of the authorization request.
	    String parameters = uriInfo.getRequestUri().getQuery();
	    ......
	}

	@POST
	@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
	public Response post(String parameters)
	{
	    // 'parameters' is the entity body of the authorization request.
	    ......
	}
	“`

	The endpoint implementation does not have to parse the request parameters from the client application
	because Authlete's `/auth/authorization` API does it.

	The response from `/auth/authorization` API has various parameters. Among them, it is `action`
	parameter that the authorization server implementation should check first because it denotes the
	next action that the authorization server implementation should take. According to the value of
	`action`, the service implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content
	type although OAuth 2.0 specification does not mention the format of the error response when the
	redirect URI is not usable.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application
	since "500 Internal Server Error" is not required by OAuth 2.0.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	is invalid.

	A response with HTTP status of "400 Bad Request" should be returned to the client application and
	Authlete recommends `application/json` as the content type although OAuth 2.0 specification does
	not mention the format of the error response when the redirect URI is not usable.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application since
	"400 Bad Request" is not required by OAuth 2.0.

	**LOCATION**

	When the value of `action` is `LOCATION`, it means that the request from the client application
	is invalid but the redirect URI
	to which the error should be reported has been determined.

	A response with HTTP status of "302 Found" must be returned to the client application with `Location`
	header which has a redirect URI with error parameter.

	The value of `responseContent` is a redirect URI with `error` parameter, so it can be used as the
	value of `Location` header.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 302 Found
	Location: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**FORM**

	When the value of `action` is `FORM`, it means that the request from the client application is
	invalid but the redirect URI to which the error should be reported has been determined, and that
	the authorization request contains `response_mode=form_post` as is defined in [OAuth 2.0 Form Post
	Response Mode](https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html).

	The HTTP status of the response returned to the client application should be "200 OK" and the
	content type should be `text/html;charset=UTF-8`.

	The value of `responseContent` is an HTML which can be used as the entity body of the response.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: text/html;charset=UTF-8
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**NO_INTERACTION**

	When the value of `action` is `NO_INTERACTION`, it means that the request from the client application
	has no problem and requires the service to process the request without displaying any user interface
	pages for authentication or consent. This case happens when the authorization request contains
	`prompt=none`.

	The service must follow the steps described below.

	[1] END-USER AUTHENTICATION

	Check whether an end-user has already logged in. If an end-user has logged in, go to the next step ([MAX_AGE]).
	Otherwise, call Authlete's `/auth/authorization/fail` API with `reason=NOT_LOGGED_IN` and use the response from
	the API to generate a response to the client application.

	[2] MAX AGE

	Get the value of `maxAge` parameter from the `/auth/authorization` API response. The value represents
	the maximum authentication age which has come from `max_age` request parameter or `defaultMaxAge`
	configuration parameter of the client application. If the value is `0`, go to the next step ([SUBJECT]).
	Otherwise, follow the sub steps described below.

	(i) Get the time at which the end-user was authenticated. that this value is not managed by Authlete,
	meaning that it is expected that the service implementation manages the value. If the service implementation
	does not manage authentication time of end-users, call Authlete's `/auth/authorization/fail` API
	with `reason=MAX_AGE_NOT_SUPPORTED` and use the API response to generate a response to the client
	application.

	(ii) Add the value of the maximum authentication age (which is represented in seconds) to the authentication
	time. The calculated value is the expiration time.

	(iii) Check whether the calculated value is equal to or greater than the current time. If this condition
	is satisfied, go to the next step ([SUBJECT]). Otherwise, call Authlete's `/auth/authorization/fail`
	API with `reason=EXCEEDS_MAX_AGE` and use the API response to generate a response to the client
	application.

	[3] SUBJECT

	Get the value of `subject` from the `/auth/authorization` API response. The value represents an
	end-user who the client application expects to grant authorization. If the value is `null`, go to
	the next step ([ACRs]). Otherwise, follow the sub steps described below.

	(i) Compare the value of the requested subject to the current end-user.

	(ii) If they are equal, go to the next step ([ACRs]). If they are not equal, call Authlete's
	`/auth/authorization/fail` API with `reason=DIFFERENT_SUBJECT` and use the response from the API
	to generate a response to the client application.

	[4] ACRs

	Get the value of `acrs` from the `/auth/authorization` API response. The value represents a list
	of ACRs (Authentication Context Class References) and comes from (1) acr claim in `claims` request
	parameter, (2) `acr_values` request parameter, or (3) `default_acr_values` configuration parameter
	of the client application.

	It is ensured that all the ACRs in acrs are supported by the authorization server implementation.
	In other words, it is ensured that all the ACRs are listed in `acr_values_supported` configuration
	parameter of the authorization server.

	If the value of ACRs is `null`, go to the next step ([ISSUE]). Otherwise, follow the sub steps
	described below.

	(i) Get the ACR performed for the authentication of the current end-user. Note that this value is
	managed not by Authlete but by the authorization server implementation. (If the authorization server
	implementation cannot handle ACRs, it should not have listed ACRs as `acr_values_supported`.)

	(ii) Compare the ACR value obtained in the above step to each element in the ACR array (`acrs`)
	in the listed order.

	(iii) If the ACR value was found in the array, (= the ACR performed for the authentication of the
	current end-user did not match any one of the ACRs requested by the client application), check
	whether one of the requested ACRs must be satisfied or not using `acrEssential` parameter in the
	`/auth/authorization` API response. If the value of `acrEssential` parameter is `true`, call Authlete's
	`/auth/authorization/fail` API with `reason=ACR_NOT_SATISFIED` and use the response from the API
	to generate a response to the client application. Otherwise, go to the next step ([SCOPES]).

	[5] SCOPES

	Get the value of `scopes` from the `/auth/authorization` API response. If the array contains a
	scope which has not been granted to the client application by the end-user in the past, call
	Authlete's `/auth/authorization/fail` API with `reason=CONSENT_REQUIRED` and use the response from
	the API to generate a response to the client application. Otherwise, go to the next step ([RESOURCES]).

	Note that Authlete provides APIs to manage records of granted scopes (`/api/client/granted_scopes/*`
	APIs), which is only available in a dedicated/onpremise Authlete server (contact sales@authlete.com
	for details).

	[6] DYNAMIC SCOPES

	Get the value of `dynamicScopes` from the `/auth/authorization` API response. If the array contains
	a scope which has not been granted to the client application by the end-user in the past, call
	Authlete's `/auth/authorization/fail` API with `reason=CONSENT_REQUIRED` and use the response from
	the API to generate a response to the client application. Otherwise, go to the next step ([RESOURCES]).

	Note that Authlete provides APIs to manage records of granted scopes (`/api/client/granted_scopes/*`
	APIs) but dynamic scopes are not remembered as granted scopes.

	[7] RESOURCES

	Get the value of `resources` from the `/auth/authorization` API response. The array represents
	the values of the `resource` request parameters. If you want to reject the request, call Authlete's
	`/auth/authorization/fail` API with `reason=INVALID_TARGET` and use the response from the API to
	generate a response to the client application. Otherwise, go to the next step ([ISSUE]).

	See "Resource Indicators for OAuth 2.0" for details.

	[8] ISSUE

	If all the above steps succeeded, the last step is to issue an authorization code, an ID token
	and/or an access token. (There is a special case, though. In the case of `response_type=none`,
	nothing is issued.) It can be performed by calling Authlete's `/auth/authorization/issue` API.
	The API requires the following parameters. Prepare these parameters and call `/auth/authorization/issue`
	API and use the response to generate a response to the client application.

	- <u>`ticket` (required)</u><br>
	  This parameter represents a ticket which is exchanged with tokens at `/auth/authorization/issue`.
	  Use the value of `ticket` contained in the `/auth/authorization` API response.

	- <u>`subject` (required)</u><br>
	  This parameter represents the unique identifier of the current end-user. It is often called "user ID"
	  and it may or may not be visible to the user. In any case, it is a number or a string assigned
	  to an end-user by the authorization server implementation. Authlete does not care about the format
	  of the value of subject, but it must consist of only ASCII letters and its length must not exceed 100.

	  When the value of `subject` parameter in the /auth/authorization API response is not `null`,
	  it is necessarily identical to the value of `subject` parameter in the `/auth/authorization/issue`
	  API request.

	  The value of this parameter will be embedded in an ID token as the value of `sub` claim. When
	  the value of `subject_type` configuration parameter of the client application is `PAIRWISE`,
	  the value of sub claim is different from the value specified by this parameter, See [8. Subject
	  Identifier Types](https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes) of OpenID
	  Connect Core 1.0 for details about subject types.

	  You can use the `sub` request parameter to adjust the value of the `sub` claim in an ID token.
	  See the description of the `sub` request parameter for details.

	- <u>`authTime` (optional)</u><br>
	  This parameter represents the time when the end-user authentication occurred. Its value is the
	  number of seconds from `1970-01-01`. The value of this parameter will be embedded in an ID token
	  as the value of `auth_time` claim.

	- <u>`acr` (optional)</u><br>
	  This parameter represents the ACR (Authentication Context Class Reference) which the authentication
	  of the end-user satisfies. When `acrs` in the `/auth/authorization` API response is a non-empty
	  array and the value of `acrEssential` is `true`, the value of this parameter must be one of the
	  array elements. Otherwise, even `null` is allowed. The value of this parameter will be embedded
	  in an ID token as the value of `acr` claim.

	- <u>`claims` (optional)</u><br>
	  This parameter represents claims of the end-user. "Claims" here are pieces of information about
	  the end-user such as `"name"`, `"email"` and `"birthdate"`. The authorization server implementation
	  is required to gather claims of the end-user, format the claim values into JSON and set the JSON
	  string as the value of this parameter.

	  The claims which the authorization server implementation is required to gather are listed in
	  `claims` parameter in the `/auth/authorization` API response.

	  For example, if claims parameter lists `"name"`, `"email"` and `"birthdate"`, the value of this
	  parameter should look like the following.

	  “`json
	  {
	    "name": "John Smith",
	    "email": "john@example.com",
	    "birthdate": "1974-05-06"
	  }
	  “`

	  `claimsLocales` parameter in the `/auth/authorization` API response lists the end-user's preferred
	  languages and scripts, ordered by preference. When `claimsLocales` parameter is a non-empty array,
	  its elements should be taken into account when the authorization server implementation gathers
	  claim values. Especially, note the excerpt below from [5.2. Claims Languages and Scripts](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts)
	  of OpenID Connect Core 1.0.

	  > When the OP determines, either through the `claims_locales` parameter, or by other means, that
	  the End-User and Client are requesting Claims in only one set of languages and scripts, it is
	  RECOMMENDED that OPs return Claims without language tags when they employ this language and script.
	  It is also RECOMMENDED that Clients be written in a manner that they can handle and utilize Claims
	  using language tags.

	  If `claims` parameter in the `/auth/authorization` API response is `null` or an empty array,
	  the value of this parameter should be `null`.

	  See [5.1. Standard Claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims)
	  of OpenID Connect core 1.0 for claim names and their value formats. Note (1) that the authorization
	  server implementation support its special claims ([5.1.2. Additional Claims](https://openid.net/specs/openid-connect-core-1_0.html#AdditionalClaims))
	  and (2) that claim names may be followed by a language tag ([5.2. Claims Languages and Scripts](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts)).
	  Read the specification of [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html)
	  for details.

	  The claim values in this parameter will be embedded in an ID token.

	  Note that `idTokenClaims` parameter is available in the `/auth/authorization` API response.
	  The parameter has the value of the `"id_token"` property in the `claims` request parameter or
	  in the `"claims"` property in a request object. The value of this parameter should be considered
	  when you prepare claim values.

	- <u>`properties` (optional)</u><br>
	  Extra properties to associate with an access token and/or an authorization code that may be issued
	  by this request. Note that `properties` parameter is accepted only when `Content-Type` of the
	  request is `application/json`, so don't use `application/x-www-form-urlencoded` for details.

	- <u>`scopes` (optional)</u><br>
	  Scopes to associate with an access token and/or an authorization code. If this parameter is `null`,
	  the scopes specified in the original authorization request from the client application are used.
	  In other cases, including the case of an empty array, the specified scopes will replace the original
	  scopes contained in the original authorization request.

	  Even scopes that are not included in the original authorization request can be specified. However,
	  as an exception, `openid` scope is ignored on the server side if it is not included in the original
	  request. It is because the existence of `openid` scope considerably changes the validation steps
	  and because adding `openid` triggers generation of an ID token (although the client application
	  has not requested it) and the behavior is a major violation against the specification.

	  If you add `offline_access` scope although it is not included in the original request, keep in
	  mind that the specification requires explicit consent from the user for the scope ([OpenID Connect
	  Core 1.0, 11. Offline Access](https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess)).
	  When `offline_access` is included in the original request, the current implementation of Authlete's
	  `/auth/authorization` API checks whether the request has come along with `prompt` request parameter
	  and the value includes consent. However, note that the implementation of Authlete's `/auth/authorization/issue`
	  API does not perform such checking if `offline_access` scope is added via this `scopes` parameter.

	- <u>`sub` (optional)</u><br>
	  The value of the `sub` claim in an ID token. If the value of this request parameter is not empty,
	  it is used as the value of the `sub` claim. Otherwise, the value of the `subject` request parameter
	  is used as the value of the `sub` claim. The main purpose of this parameter is to hide the actual
	  value of the subject from client applications.

	  Note that even if this `sub` parameter is not empty, the value of the subject request parameter
	  is used as the value of the subject which is associated with the access token.

	**INTERACTION**

	When the value of `action` is `INTERACTION`, it means that the request from the client application
	has no problem and requires the service to process the request with user interaction by an HTML form.
	The purpose of the UI displayed to the end-user is to ask the end-user to grant authorization to
	the client application. The items described below are some points which the service implementation
	should take into account when it builds the UI.

	[1] DISPLAY MODE

	The response from `/auth/authorization` API has `display` parameter. It is one of `PAGE` (default),
	`POPUP`, `TOUCH` and `WAP` The meanings of the values are described in [3.1.2.1. Authentication
	Request of OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest).
	Basically, the authorization server implementation should display the UI which is suitable for the
	display mode, but it is okay for the authorization server implementation to "attempt to detect the
	capabilities of the User Agent and present an appropriate display".

	It is ensured that the value of `display` is one of the supported display modes which are specified
	by `supportedDisplays` configuration parameter of the service.

	[2] UI LOCALE

	The response from `/auth/authorization` API has `uiLocales` parameter. It it is not `null`, it lists
	language tag values (such as `fr-CA`, `ja-JP` and `en`) ordered by preference. The service implementation
	should display the UI in one of the language listed in the parameter when possible. It is ensured
	that language tags listed in `uiLocales` are contained in the list of supported UI locales which
	are specified by `supportedUiLocales` configuration parameter of the service.

	[3] CLIENT INFORMATION

	The authorization server implementation should show information about the client application to
	the end-user. The information is embedded in `client` parameter in the response from `/auth/authorization`
	API.

	[4] SCOPES

	A client application requires authorization for specific permissions. In OAuth 2.0 specification,
	"scope" is a technical term which represents a permission. `scopes` parameter in the response
	from `/auth/authorization` API is a list of scopes requested by the client application. The service
	implementation should show the end-user the scopes.

	The authorization server implementation may choose not to show scopes to which the end-user has
	given consent in the past. To put it the other way around, the authorization server implementation
	may show only the scopes to which the end-user has not given consent yet. However, if the value
	of `prompts` response parameter contains `CONSENT`, the authorization server implementation has
	to obtain explicit consent from the end-user even if the end-user has given consent to all the
	requested scopes in the past.

	Note that Authlete provides APIs to manage records of granted scopes (`/api/client/granted_scopes/*`
	APIs), but the APIs work only in the case the Authlete server you use is a dedicated Authlete server
	(contact sales@authlete.com for details). In other words, the APIs of the shared Authlete server
	are disabled intentionally (in order to prevent garbage data from being accumulated) and they
	return 403 Forbidden.

	It is ensured that the values in `scopes` parameter are contained in the list of supported scopes
	which are specified by `supportedScopes` configuration parameter of the service.

	[5] DYNAMIC SCOPES

	The authorization request may include dynamic scopes. The list of recognized dynamic scopes are
	accessible by getDynamicScopes() method. See the description of the [DynamicScope](https://authlete.github.io/authlete-java-common/com/authlete/common/dto/DynamicScope.html)
	class for details about dynamic scopes.

	[6] AUTHORIZATION DETAILS

	The authorization server implementation should show the end-user "authorization details" if the
	request includes it. The value of `authorization_details` parameter in the response is the content
	of the `authorization_details` request parameter.

	See "OAuth 2.0 Rich Authorization Requests" for details.

	[7] PURPOSE

	The authorization server implementation must show the value of the `purpose` request parameter if
	it supports [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html).
	See [8. Transaction-specific Purpose](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.8)
	in the specification for details.

	Note that the value of `purpose` response parameter is the value of the purpose request parameter.

	[7] END-USER AUTHENTICATION

	Necessarily, the end-user must be authenticated (= must login the service) before granting authorization
	to the client application. Simply put, a login form is expected to be displayed for end-user authentication.
	The service implementation must follow the steps described below to comply with OpenID Connect.
	(Or just always show a login form if it's too much of a bother.)

	(i) Get the value of `prompts` response parameter. It corresponds to the value of the `prompt`
	request parameter. Details of the request parameter are described in [3.1.2.1. Authentication
	Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest) of OpenID Connect Core 1.0.

	(ii) If the value of `prompts` parameter is `SELECT_ACCOUNT` display a form to let the end-user
	select on of his/her accounts for login. If `subject` response parameter is not `null`, it is the
	end-user ID that the client application expects, so the value should be used to determine the value
	of the login ID. Note that a subject and a login ID are not necessarily equal. If the value of
	`subject` response parameter is `null`, the value of `loginHint` response parameter should be referred
	to as a hint to determine the value of the login ID. The value of `loginHint` response parameter
	is simply the value of the `login_hint` request parameter.

	(iii) If the value of `prompts` response parameter contains `LOGIN`, display a form to urge the
	end-user to login even if the end-user has already logged in. If the value of `subject` response
	parameter is not `null`, it is the end-user ID that the client application expects, so the value
	should be used to determine the value of the login ID. Note that a subject and a login ID are not
	necessarily equal. If the value of `subject` response parameter is `null`, the value of `loginHint`
	response parameter should be referred to as a hint to determine the value of the login ID. The value
	of `loginHint` response parameter is simply the value of the `login_hint` request parameter.

	(iv) If the value of `prompts` response parameter does not contain `LOGIN`, the authorization server
	implementation does not have to authenticate the end-user if all the conditions described below
	are satisfied. If any one of the conditions is not satisfied, show a login form to authenticate
	the end-user.

	- An end-user has already logged in the service.

	- The login ID of the current end-user matches the value of `subject` response parameter.
	This check is required only when the value of `subject` response parameter is a non-null value.

	- The max age, which is the number of seconds contained in `maxAge` response parameter,
	has not passed since the current end-user logged in your service. This check is required only when
	the value of `maxAge` response parameter is a non-zero value.

	- If the authorization server implementation does not manage authentication time of end-users
	(= if the authorization server implementation cannot know when end-users logged in) and if the
	value of `maxAge` response parameter is a non-zero value, a login form should be displayed.

	- The ACR (Authentication Context Class Reference) of the authentication performed for
	the current end-user satisfies one of the ACRs listed in `acrs` response parameter. This check is
	required only when the value of `acrs` response parameter is a non-empty array.

	In every case, the end-user authentication must satisfy one of the ACRs listed in `acrs` response
	parameter when the value of `acrs` response parameter is a non-empty array and `acrEssential`
	response parameter is `true`.

	[9] GRANT/DENY BUTTONS

	The end-user is supposed to choose either (1) to grant authorization to the client application or
	(2) to deny the authorization request. The UI must have UI components to accept the judgment by
	the user. Usually, a button to grant authorization and a button to deny the request are provided.

	When the value of `subject` response parameter is not `null`, the end-user authentication must be
	performed for the subject, meaning that the authorization server implementation should repeatedly
	show a login form until the subject is successfully authenticated.

	The end-user will choose either (1) to grant authorization to the client application or (2) to
	deny the authorization request. When the end-user chose to deny the authorization request, call
	Authlete's `/auth/authorization/fail` API with `reason=DENIED` and use the response from the API
	to generate a response to the client application.

	When the end-user chose to grant authorization to the client application, the authorization server
	implementation has to issue an authorization code, an ID token, and/or an access token to the client
	application. (There is a special case. When `response_type=none`, nothing is issued.) Issuing the
	tokens can be performed by calling Authlete's `/auth/authorization/issue` API. Read [ISSUE] written
	above in the description for the case of `action=NO_INTERACTION`.
	</details>


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

	// AuthAuthorizationApiExecute executes the request
	//  @return AuthorizationResponse
	AuthAuthorizationApiExecute(r ApiAuthAuthorizationApiRequest) (*AuthorizationResponse, *http.Response, error)

	/*
		AuthAuthorizationFailApi /api/auth/authorization/fail API

		This API generates a content of an error authorization response that the authorization server implementation
	returns to the client application.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the authorization endpoint of the service
	in order to generate an error response to the client application.

	The description of the `/auth/authorization` API describes the timing when this API should be called.

	The response from `/auth/authorization/fail` API has some parameters.
	Among them, it is `action` parameter that the authorization server implementation should check first because
	it denotes the next action that the authorization server implementation should take.
	According to the value of `action`, the authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content type.

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application since
	"500 Internal Server Error" is not required by OAuth 2.0.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the ticket is no longer valid (deleted
	or expired) and that the reason of the invalidity was probably due to the end-user's too-delayed
	response to the authorization UI.

	A response with HTTP status of "400 Bad Request" should be returned to the client application and
	Authlete recommends `application/json` as the content type.

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application since
	"400 Bad Request" is not required by OAuth 2.0.

	**LOCATION**

	When the value of `action` is `LOCATION`, it means that the response to the client application must
	be "302 Found" with Location header.

	The parameter responseContent contains a redirect URI with (1) an authorization code, an ID token
	and/or an access token (on success) or (2) an error code (on failure), so it can be used as the
	value of `Location` header.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 302 Found
	Location: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**FORM**

	When the value of `action` is `FORM`, it means that the response to the client application must be 200 OK
	with an HTML which triggers redirection by JavaScript.
	This happens when the authorization request from the client application contained `response_mode=form_post`.

	The value of `responseContent` is an HTML which can be used as the entity body of the response.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: text/html;charset=UTF-8
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


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

	// AuthAuthorizationFailApiExecute executes the request
	//  @return AuthorizationFailResponse
	AuthAuthorizationFailApiExecute(r ApiAuthAuthorizationFailApiRequest) (*AuthorizationFailResponse, *http.Response, error)

	/*
		AuthAuthorizationIssueApi /api/auth/authorization/issue API

		This API parses request parameters of an authorization request and returns necessary data for the
	authorization server implementation to process the authorization request further.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the authorization endpoint of
	the service in order to generate a successful response to the client application.

	The description of the `/auth/authorization` API describes the timing when this API should be called
	and the meaning of request parameters. See [ISSUE] in `NO_INTERACTION`.

	The response from `/auth/authorization/issue` API has some parameters.
	Among them, it is `action` parameter that the authorization server implementation should check first
	because it denotes the next action that the authorization server implementation should take.
	According to the value of `action`, the authorization server implementation must take the steps
	described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error".

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application since
	"500 Internal Server Error" is not required by OAuth 2.0.

	**BAD_REQUEST**

	When the value of "action" is `BAD_REQUEST`, it means that the ticket is no longer valid (deleted
	or expired) and that the reason of the invalidity was probably due to the end-user's too-delayed
	response to the authorization UI.

	The HTTP status of the response returned to the client application should be "400 Bad Request"
	and the content type should be `application/json` although OAuth 2.0 specification does not mention
	the format of the error response.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application since
	"400 Bad Request" is not required by OAuth 2.0.

	**LOCATION**

	When the value of `action` is `LOCATION`, it means that the response to the client application
	should be "302 Found" with `Location` header.

	The value of `responseContent` is a redirect URI which contains (1) an authorization code, an ID
	token and/or an access token (on success) or (2) an error code (on failure), so it can be used as
	the value of `Location` header.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 302 Found
	Location: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**FORM**

	When the value of `action` is `FORM`, it means that the response to the client application should
	be "200 OK" with an HTML which triggers redirection by JavaScript. This happens when the authorization
	request from the client contains `response_mode=form_post` request parameter.

	The value of `responseContent` is an HTML which satisfies the requirements of `response_mode=form_post`,
	so it can be used as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: text/html;charset=UTF-8
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


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

	// AuthAuthorizationIssueApiExecute executes the request
	//  @return AuthorizationIssueResponse
	AuthAuthorizationIssueApiExecute(r ApiAuthAuthorizationIssueApiRequest) (*AuthorizationIssueResponse, *http.Response, error)
}

type AuthorizationEndpointApiService

type AuthorizationEndpointApiService service

AuthorizationEndpointApiService AuthorizationEndpointApi service

func (*AuthorizationEndpointApiService) AuthAuthorizationApi

AuthAuthorizationApi /api/auth/authorization API

This API parses request parameters of an authorization request and returns necessary data for the authorization server implementation to process the authorization request further.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the authorization endpoint of the service. The endpoint implementation must extract the request parameters from the authorization request from the client application and pass them as the value of parameters request parameter for Authlete's `/auth/authorization` API.

The value of `parameters` is either (1) the entire query string when the HTTP method of the request from the client application is `GET` or (2) the entire entity body (which is formatted in `application/x-www-form-urlencoded`) when the HTTP method of the request from the client application is `POST`.

The following code snippet is an example in JAX-RS showing how to extract request parameters from the authorization request.

```java @GET public Response get(@Context UriInfo uriInfo)

{
    // The query parameters of the authorization request.
    String parameters = uriInfo.getRequestUri().getQuery();
    ......
}

@POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public Response post(String parameters)

{
    // 'parameters' is the entity body of the authorization request.
    ......
}

```

The endpoint implementation does not have to parse the request parameters from the client application because Authlete's `/auth/authorization` API does it.

The response from `/auth/authorization` API has various parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the service implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content type although OAuth 2.0 specification does not mention the format of the error response when the redirect URI is not usable.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "500 Internal Server Error" is not required by OAuth 2.0.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application is invalid.

A response with HTTP status of "400 Bad Request" should be returned to the client application and Authlete recommends `application/json` as the content type although OAuth 2.0 specification does not mention the format of the error response when the redirect URI is not usable.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "400 Bad Request" is not required by OAuth 2.0.

**LOCATION**

When the value of `action` is `LOCATION`, it means that the request from the client application is invalid but the redirect URI to which the error should be reported has been determined.

A response with HTTP status of "302 Found" must be returned to the client application with `Location` header which has a redirect URI with error parameter.

The value of `responseContent` is a redirect URI with `error` parameter, so it can be used as the value of `Location` header.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 302 Found Location: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**FORM**

When the value of `action` is `FORM`, it means that the request from the client application is invalid but the redirect URI to which the error should be reported has been determined, and that the authorization request contains `response_mode=form_post` as is defined in [OAuth 2.0 Form Post Response Mode](https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html).

The HTTP status of the response returned to the client application should be "200 OK" and the content type should be `text/html;charset=UTF-8`.

The value of `responseContent` is an HTML which can be used as the entity body of the response.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: text/html;charset=UTF-8 Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**NO_INTERACTION**

When the value of `action` is `NO_INTERACTION`, it means that the request from the client application has no problem and requires the service to process the request without displaying any user interface pages for authentication or consent. This case happens when the authorization request contains `prompt=none`.

The service must follow the steps described below.

[1] END-USER AUTHENTICATION

Check whether an end-user has already logged in. If an end-user has logged in, go to the next step ([MAX_AGE]). Otherwise, call Authlete's `/auth/authorization/fail` API with `reason=NOT_LOGGED_IN` and use the response from the API to generate a response to the client application.

[2] MAX AGE

Get the value of `maxAge` parameter from the `/auth/authorization` API response. The value represents the maximum authentication age which has come from `max_age` request parameter or `defaultMaxAge` configuration parameter of the client application. If the value is `0`, go to the next step ([SUBJECT]). Otherwise, follow the sub steps described below.

(i) Get the time at which the end-user was authenticated. that this value is not managed by Authlete, meaning that it is expected that the service implementation manages the value. If the service implementation does not manage authentication time of end-users, call Authlete's `/auth/authorization/fail` API with `reason=MAX_AGE_NOT_SUPPORTED` and use the API response to generate a response to the client application.

(ii) Add the value of the maximum authentication age (which is represented in seconds) to the authentication time. The calculated value is the expiration time.

(iii) Check whether the calculated value is equal to or greater than the current time. If this condition is satisfied, go to the next step ([SUBJECT]). Otherwise, call Authlete's `/auth/authorization/fail` API with `reason=EXCEEDS_MAX_AGE` and use the API response to generate a response to the client application.

[3] SUBJECT

Get the value of `subject` from the `/auth/authorization` API response. The value represents an end-user who the client application expects to grant authorization. If the value is `null`, go to the next step ([ACRs]). Otherwise, follow the sub steps described below.

(i) Compare the value of the requested subject to the current end-user.

(ii) If they are equal, go to the next step ([ACRs]). If they are not equal, call Authlete's `/auth/authorization/fail` API with `reason=DIFFERENT_SUBJECT` and use the response from the API to generate a response to the client application.

[4] ACRs

Get the value of `acrs` from the `/auth/authorization` API response. The value represents a list of ACRs (Authentication Context Class References) and comes from (1) acr claim in `claims` request parameter, (2) `acr_values` request parameter, or (3) `default_acr_values` configuration parameter of the client application.

It is ensured that all the ACRs in acrs are supported by the authorization server implementation. In other words, it is ensured that all the ACRs are listed in `acr_values_supported` configuration parameter of the authorization server.

If the value of ACRs is `null`, go to the next step ([ISSUE]). Otherwise, follow the sub steps described below.

(i) Get the ACR performed for the authentication of the current end-user. Note that this value is managed not by Authlete but by the authorization server implementation. (If the authorization server implementation cannot handle ACRs, it should not have listed ACRs as `acr_values_supported`.)

(ii) Compare the ACR value obtained in the above step to each element in the ACR array (`acrs`) in the listed order.

(iii) If the ACR value was found in the array, (= the ACR performed for the authentication of the current end-user did not match any one of the ACRs requested by the client application), check whether one of the requested ACRs must be satisfied or not using `acrEssential` parameter in the `/auth/authorization` API response. If the value of `acrEssential` parameter is `true`, call Authlete's `/auth/authorization/fail` API with `reason=ACR_NOT_SATISFIED` and use the response from the API to generate a response to the client application. Otherwise, go to the next step ([SCOPES]).

[5] SCOPES

Get the value of `scopes` from the `/auth/authorization` API response. If the array contains a scope which has not been granted to the client application by the end-user in the past, call Authlete's `/auth/authorization/fail` API with `reason=CONSENT_REQUIRED` and use the response from the API to generate a response to the client application. Otherwise, go to the next step ([RESOURCES]).

Note that Authlete provides APIs to manage records of granted scopes (`/api/client/granted_scopes/*` APIs), which is only available in a dedicated/onpremise Authlete server (contact sales@authlete.com for details).

[6] DYNAMIC SCOPES

Get the value of `dynamicScopes` from the `/auth/authorization` API response. If the array contains a scope which has not been granted to the client application by the end-user in the past, call Authlete's `/auth/authorization/fail` API with `reason=CONSENT_REQUIRED` and use the response from the API to generate a response to the client application. Otherwise, go to the next step ([RESOURCES]).

Note that Authlete provides APIs to manage records of granted scopes (`/api/client/granted_scopes/*` APIs) but dynamic scopes are not remembered as granted scopes.

[7] RESOURCES

Get the value of `resources` from the `/auth/authorization` API response. The array represents the values of the `resource` request parameters. If you want to reject the request, call Authlete's `/auth/authorization/fail` API with `reason=INVALID_TARGET` and use the response from the API to generate a response to the client application. Otherwise, go to the next step ([ISSUE]).

See "Resource Indicators for OAuth 2.0" for details.

[8] ISSUE

If all the above steps succeeded, the last step is to issue an authorization code, an ID token and/or an access token. (There is a special case, though. In the case of `response_type=none`, nothing is issued.) It can be performed by calling Authlete's `/auth/authorization/issue` API. The API requires the following parameters. Prepare these parameters and call `/auth/authorization/issue` API and use the response to generate a response to the client application.

  • <u>`ticket` (required)</u><br> This parameter represents a ticket which is exchanged with tokens at `/auth/authorization/issue`. Use the value of `ticket` contained in the `/auth/authorization` API response.
  • <u>`subject` (required)</u><br> This parameter represents the unique identifier of the current end-user. It is often called "user ID" and it may or may not be visible to the user. In any case, it is a number or a string assigned to an end-user by the authorization server implementation. Authlete does not care about the format of the value of subject, but it must consist of only ASCII letters and its length must not exceed 100.

    When the value of `subject` parameter in the /auth/authorization API response is not `null`, it is necessarily identical to the value of `subject` parameter in the `/auth/authorization/issue` API request.

    The value of this parameter will be embedded in an ID token as the value of `sub` claim. When the value of `subject_type` configuration parameter of the client application is `PAIRWISE`, the value of sub claim is different from the value specified by this parameter, See [8. Subject Identifier Types](https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes) of OpenID Connect Core 1.0 for details about subject types.

    You can use the `sub` request parameter to adjust the value of the `sub` claim in an ID token. See the description of the `sub` request parameter for details.

  • <u>`authTime` (optional)</u><br> This parameter represents the time when the end-user authentication occurred. Its value is the number of seconds from `1970-01-01`. The value of this parameter will be embedded in an ID token as the value of `auth_time` claim.
  • <u>`acr` (optional)</u><br> This parameter represents the ACR (Authentication Context Class Reference) which the authentication of the end-user satisfies. When `acrs` in the `/auth/authorization` API response is a non-empty array and the value of `acrEssential` is `true`, the value of this parameter must be one of the array elements. Otherwise, even `null` is allowed. The value of this parameter will be embedded in an ID token as the value of `acr` claim.
  • <u>`claims` (optional)</u><br> This parameter represents claims of the end-user. "Claims" here are pieces of information about the end-user such as `"name"`, `"email"` and `"birthdate"`. The authorization server implementation is required to gather claims of the end-user, format the claim values into JSON and set the JSON string as the value of this parameter.

    The claims which the authorization server implementation is required to gather are listed in `claims` parameter in the `/auth/authorization` API response.

    For example, if claims parameter lists `"name"`, `"email"` and `"birthdate"`, the value of this parameter should look like the following.

    ```json { "name": "John Smith", "email": "john@example.com", "birthdate": "1974-05-06" } ```

    `claimsLocales` parameter in the `/auth/authorization` API response lists the end-user's preferred languages and scripts, ordered by preference. When `claimsLocales` parameter is a non-empty array, its elements should be taken into account when the authorization server implementation gathers claim values. Especially, note the excerpt below from [5.2. Claims Languages and Scripts](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts) of OpenID Connect Core 1.0.

    > When the OP determines, either through the `claims_locales` parameter, or by other means, that the End-User and Client are requesting Claims in only one set of languages and scripts, it is RECOMMENDED that OPs return Claims without language tags when they employ this language and script. It is also RECOMMENDED that Clients be written in a manner that they can handle and utilize Claims using language tags.

    If `claims` parameter in the `/auth/authorization` API response is `null` or an empty array, the value of this parameter should be `null`.

    See [5.1. Standard Claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) of OpenID Connect core 1.0 for claim names and their value formats. Note (1) that the authorization server implementation support its special claims ([5.1.2. Additional Claims](https://openid.net/specs/openid-connect-core-1_0.html#AdditionalClaims)) and (2) that claim names may be followed by a language tag ([5.2. Claims Languages and Scripts](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts)). Read the specification of [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html) for details.

    The claim values in this parameter will be embedded in an ID token.

    Note that `idTokenClaims` parameter is available in the `/auth/authorization` API response. The parameter has the value of the `"id_token"` property in the `claims` request parameter or in the `"claims"` property in a request object. The value of this parameter should be considered when you prepare claim values.

  • <u>`properties` (optional)</u><br> Extra properties to associate with an access token and/or an authorization code that may be issued by this request. Note that `properties` parameter is accepted only when `Content-Type` of the request is `application/json`, so don't use `application/x-www-form-urlencoded` for details.
  • <u>`scopes` (optional)</u><br> Scopes to associate with an access token and/or an authorization code. If this parameter is `null`, the scopes specified in the original authorization request from the client application are used. In other cases, including the case of an empty array, the specified scopes will replace the original scopes contained in the original authorization request.

    Even scopes that are not included in the original authorization request can be specified. However, as an exception, `openid` scope is ignored on the server side if it is not included in the original request. It is because the existence of `openid` scope considerably changes the validation steps and because adding `openid` triggers generation of an ID token (although the client application has not requested it) and the behavior is a major violation against the specification.

    If you add `offline_access` scope although it is not included in the original request, keep in mind that the specification requires explicit consent from the user for the scope ([OpenID Connect Core 1.0, 11. Offline Access](https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess)). When `offline_access` is included in the original request, the current implementation of Authlete's `/auth/authorization` API checks whether the request has come along with `prompt` request parameter and the value includes consent. However, note that the implementation of Authlete's `/auth/authorization/issue` API does not perform such checking if `offline_access` scope is added via this `scopes` parameter.

  • <u>`sub` (optional)</u><br> The value of the `sub` claim in an ID token. If the value of this request parameter is not empty, it is used as the value of the `sub` claim. Otherwise, the value of the `subject` request parameter is used as the value of the `sub` claim. The main purpose of this parameter is to hide the actual value of the subject from client applications.

    Note that even if this `sub` parameter is not empty, the value of the subject request parameter is used as the value of the subject which is associated with the access token.

**INTERACTION**

When the value of `action` is `INTERACTION`, it means that the request from the client application has no problem and requires the service to process the request with user interaction by an HTML form. The purpose of the UI displayed to the end-user is to ask the end-user to grant authorization to the client application. The items described below are some points which the service implementation should take into account when it builds the UI.

[1] DISPLAY MODE

The response from `/auth/authorization` API has `display` parameter. It is one of `PAGE` (default), `POPUP`, `TOUCH` and `WAP` The meanings of the values are described in [3.1.2.1. Authentication Request of OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest). Basically, the authorization server implementation should display the UI which is suitable for the display mode, but it is okay for the authorization server implementation to "attempt to detect the capabilities of the User Agent and present an appropriate display".

It is ensured that the value of `display` is one of the supported display modes which are specified by `supportedDisplays` configuration parameter of the service.

[2] UI LOCALE

The response from `/auth/authorization` API has `uiLocales` parameter. It it is not `null`, it lists language tag values (such as `fr-CA`, `ja-JP` and `en`) ordered by preference. The service implementation should display the UI in one of the language listed in the parameter when possible. It is ensured that language tags listed in `uiLocales` are contained in the list of supported UI locales which are specified by `supportedUiLocales` configuration parameter of the service.

[3] CLIENT INFORMATION

The authorization server implementation should show information about the client application to the end-user. The information is embedded in `client` parameter in the response from `/auth/authorization` API.

[4] SCOPES

A client application requires authorization for specific permissions. In OAuth 2.0 specification, "scope" is a technical term which represents a permission. `scopes` parameter in the response from `/auth/authorization` API is a list of scopes requested by the client application. The service implementation should show the end-user the scopes.

The authorization server implementation may choose not to show scopes to which the end-user has given consent in the past. To put it the other way around, the authorization server implementation may show only the scopes to which the end-user has not given consent yet. However, if the value of `prompts` response parameter contains `CONSENT`, the authorization server implementation has to obtain explicit consent from the end-user even if the end-user has given consent to all the requested scopes in the past.

Note that Authlete provides APIs to manage records of granted scopes (`/api/client/granted_scopes/*` APIs), but the APIs work only in the case the Authlete server you use is a dedicated Authlete server (contact sales@authlete.com for details). In other words, the APIs of the shared Authlete server are disabled intentionally (in order to prevent garbage data from being accumulated) and they return 403 Forbidden.

It is ensured that the values in `scopes` parameter are contained in the list of supported scopes which are specified by `supportedScopes` configuration parameter of the service.

[5] DYNAMIC SCOPES

The authorization request may include dynamic scopes. The list of recognized dynamic scopes are accessible by getDynamicScopes() method. See the description of the DynamicScope(https://authlete.github.io/authlete-java-common/com/authlete/common/dto/DynamicScope.html) class for details about dynamic scopes.

[6] AUTHORIZATION DETAILS

The authorization server implementation should show the end-user "authorization details" if the request includes it. The value of `authorization_details` parameter in the response is the content of the `authorization_details` request parameter.

See "OAuth 2.0 Rich Authorization Requests" for details.

[7] PURPOSE

The authorization server implementation must show the value of the `purpose` request parameter if it supports [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html). See [8. Transaction-specific Purpose](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.8) in the specification for details.

Note that the value of `purpose` response parameter is the value of the purpose request parameter.

[7] END-USER AUTHENTICATION

Necessarily, the end-user must be authenticated (= must login the service) before granting authorization to the client application. Simply put, a login form is expected to be displayed for end-user authentication. The service implementation must follow the steps described below to comply with OpenID Connect. (Or just always show a login form if it's too much of a bother.)

(i) Get the value of `prompts` response parameter. It corresponds to the value of the `prompt` request parameter. Details of the request parameter are described in [3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest) of OpenID Connect Core 1.0.

(ii) If the value of `prompts` parameter is `SELECT_ACCOUNT` display a form to let the end-user select on of his/her accounts for login. If `subject` response parameter is not `null`, it is the end-user ID that the client application expects, so the value should be used to determine the value of the login ID. Note that a subject and a login ID are not necessarily equal. If the value of `subject` response parameter is `null`, the value of `loginHint` response parameter should be referred to as a hint to determine the value of the login ID. The value of `loginHint` response parameter is simply the value of the `login_hint` request parameter.

(iii) If the value of `prompts` response parameter contains `LOGIN`, display a form to urge the end-user to login even if the end-user has already logged in. If the value of `subject` response parameter is not `null`, it is the end-user ID that the client application expects, so the value should be used to determine the value of the login ID. Note that a subject and a login ID are not necessarily equal. If the value of `subject` response parameter is `null`, the value of `loginHint` response parameter should be referred to as a hint to determine the value of the login ID. The value of `loginHint` response parameter is simply the value of the `login_hint` request parameter.

(iv) If the value of `prompts` response parameter does not contain `LOGIN`, the authorization server implementation does not have to authenticate the end-user if all the conditions described below are satisfied. If any one of the conditions is not satisfied, show a login form to authenticate the end-user.

- An end-user has already logged in the service.

- The login ID of the current end-user matches the value of `subject` response parameter. This check is required only when the value of `subject` response parameter is a non-null value.

- The max age, which is the number of seconds contained in `maxAge` response parameter, has not passed since the current end-user logged in your service. This check is required only when the value of `maxAge` response parameter is a non-zero value.

- If the authorization server implementation does not manage authentication time of end-users (= if the authorization server implementation cannot know when end-users logged in) and if the value of `maxAge` response parameter is a non-zero value, a login form should be displayed.

- The ACR (Authentication Context Class Reference) of the authentication performed for the current end-user satisfies one of the ACRs listed in `acrs` response parameter. This check is required only when the value of `acrs` response parameter is a non-empty array.

In every case, the end-user authentication must satisfy one of the ACRs listed in `acrs` response parameter when the value of `acrs` response parameter is a non-empty array and `acrEssential` response parameter is `true`.

[9] GRANT/DENY BUTTONS

The end-user is supposed to choose either (1) to grant authorization to the client application or (2) to deny the authorization request. The UI must have UI components to accept the judgment by the user. Usually, a button to grant authorization and a button to deny the request are provided.

When the value of `subject` response parameter is not `null`, the end-user authentication must be performed for the subject, meaning that the authorization server implementation should repeatedly show a login form until the subject is successfully authenticated.

The end-user will choose either (1) to grant authorization to the client application or (2) to deny the authorization request. When the end-user chose to deny the authorization request, call Authlete's `/auth/authorization/fail` API with `reason=DENIED` and use the response from the API to generate a response to the client application.

When the end-user chose to grant authorization to the client application, the authorization server implementation has to issue an authorization code, an ID token, and/or an access token to the client application. (There is a special case. When `response_type=none`, nothing is issued.) Issuing the tokens can be performed by calling Authlete's `/auth/authorization/issue` API. Read [ISSUE] written above in the description for the case of `action=NO_INTERACTION`. </details>

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

func (*AuthorizationEndpointApiService) AuthAuthorizationApiExecute

Execute executes the request

@return AuthorizationResponse

func (*AuthorizationEndpointApiService) AuthAuthorizationFailApi

AuthAuthorizationFailApi /api/auth/authorization/fail API

This API generates a content of an error authorization response that the authorization server implementation returns to the client application.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the authorization endpoint of the service in order to generate an error response to the client application.

The description of the `/auth/authorization` API describes the timing when this API should be called.

The response from `/auth/authorization/fail` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content type.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "500 Internal Server Error" is not required by OAuth 2.0.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the ticket is no longer valid (deleted or expired) and that the reason of the invalidity was probably due to the end-user's too-delayed response to the authorization UI.

A response with HTTP status of "400 Bad Request" should be returned to the client application and Authlete recommends `application/json` as the content type.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "400 Bad Request" is not required by OAuth 2.0.

**LOCATION**

When the value of `action` is `LOCATION`, it means that the response to the client application must be "302 Found" with Location header.

The parameter responseContent contains a redirect URI with (1) an authorization code, an ID token and/or an access token (on success) or (2) an error code (on failure), so it can be used as the value of `Location` header.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 302 Found Location: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**FORM**

When the value of `action` is `FORM`, it means that the response to the client application must be 200 OK with an HTML which triggers redirection by JavaScript. This happens when the authorization request from the client application contained `response_mode=form_post`.

The value of `responseContent` is an HTML which can be used as the entity body of the response.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: text/html;charset=UTF-8 Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

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

func (*AuthorizationEndpointApiService) AuthAuthorizationFailApiExecute

Execute executes the request

@return AuthorizationFailResponse

func (*AuthorizationEndpointApiService) AuthAuthorizationIssueApi

AuthAuthorizationIssueApi /api/auth/authorization/issue API

This API parses request parameters of an authorization request and returns necessary data for the authorization server implementation to process the authorization request further.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the authorization endpoint of the service in order to generate a successful response to the client application.

The description of the `/auth/authorization` API describes the timing when this API should be called and the meaning of request parameters. See [ISSUE] in `NO_INTERACTION`.

The response from `/auth/authorization/issue` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "500 Internal Server Error" is not required by OAuth 2.0.

**BAD_REQUEST**

When the value of "action" is `BAD_REQUEST`, it means that the ticket is no longer valid (deleted or expired) and that the reason of the invalidity was probably due to the end-user's too-delayed response to the authorization UI.

The HTTP status of the response returned to the client application should be "400 Bad Request" and the content type should be `application/json` although OAuth 2.0 specification does not mention the format of the error response.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "400 Bad Request" is not required by OAuth 2.0.

**LOCATION**

When the value of `action` is `LOCATION`, it means that the response to the client application should be "302 Found" with `Location` header.

The value of `responseContent` is a redirect URI which contains (1) an authorization code, an ID token and/or an access token (on success) or (2) an error code (on failure), so it can be used as the value of `Location` header.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 302 Found Location: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**FORM**

When the value of `action` is `FORM`, it means that the response to the client application should be "200 OK" with an HTML which triggers redirection by JavaScript. This happens when the authorization request from the client contains `response_mode=form_post` request parameter.

The value of `responseContent` is an HTML which satisfies the requirements of `response_mode=form_post`, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: text/html;charset=UTF-8 Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

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

func (*AuthorizationEndpointApiService) AuthAuthorizationIssueApiExecute

Execute executes the request

@return AuthorizationIssueResponse

type AuthorizationFailRequest

type AuthorizationFailRequest struct {
	// The ticket issued from Authlete `/auth/authorization` API.
	Ticket string `json:"ticket"`
	// The reason of the failure of the authorization request. For more details, see [NO_INTERACTION] in the description of `/auth/authorization` API.
	Reason string `json:"reason"`
	// The custom description about the authorization failure.
	Description *string `json:"description,omitempty"`
}

AuthorizationFailRequest struct for AuthorizationFailRequest

func NewAuthorizationFailRequest

func NewAuthorizationFailRequest(ticket string, reason string) *AuthorizationFailRequest

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

func NewAuthorizationFailRequestWithDefaults

func NewAuthorizationFailRequestWithDefaults() *AuthorizationFailRequest

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

func (*AuthorizationFailRequest) GetDescription

func (o *AuthorizationFailRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AuthorizationFailRequest) GetDescriptionOk

func (o *AuthorizationFailRequest) GetDescriptionOk() (*string, bool)

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

func (*AuthorizationFailRequest) GetReason

func (o *AuthorizationFailRequest) GetReason() string

GetReason returns the Reason field value

func (*AuthorizationFailRequest) GetReasonOk

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

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

func (*AuthorizationFailRequest) GetTicket

func (o *AuthorizationFailRequest) GetTicket() string

GetTicket returns the Ticket field value

func (*AuthorizationFailRequest) GetTicketOk

func (o *AuthorizationFailRequest) GetTicketOk() (*string, bool)

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

func (*AuthorizationFailRequest) HasDescription

func (o *AuthorizationFailRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (AuthorizationFailRequest) MarshalJSON

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

func (*AuthorizationFailRequest) SetDescription

func (o *AuthorizationFailRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AuthorizationFailRequest) SetReason

func (o *AuthorizationFailRequest) SetReason(v string)

SetReason sets field value

func (*AuthorizationFailRequest) SetTicket

func (o *AuthorizationFailRequest) SetTicket(v string)

SetTicket sets field value

func (AuthorizationFailRequest) ToMap added in v1.1.1

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

type AuthorizationFailResponse

type AuthorizationFailResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
}

AuthorizationFailResponse struct for AuthorizationFailResponse

func NewAuthorizationFailResponse

func NewAuthorizationFailResponse() *AuthorizationFailResponse

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

func NewAuthorizationFailResponseWithDefaults

func NewAuthorizationFailResponseWithDefaults() *AuthorizationFailResponse

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

func (*AuthorizationFailResponse) GetAction

func (o *AuthorizationFailResponse) GetAction() string

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

func (*AuthorizationFailResponse) GetActionOk

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

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

func (*AuthorizationFailResponse) GetResponseContent

func (o *AuthorizationFailResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*AuthorizationFailResponse) GetResponseContentOk

func (o *AuthorizationFailResponse) GetResponseContentOk() (*string, bool)

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

func (*AuthorizationFailResponse) GetResultCode

func (o *AuthorizationFailResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*AuthorizationFailResponse) GetResultCodeOk

func (o *AuthorizationFailResponse) GetResultCodeOk() (*string, bool)

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

func (*AuthorizationFailResponse) GetResultMessage

func (o *AuthorizationFailResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*AuthorizationFailResponse) GetResultMessageOk

func (o *AuthorizationFailResponse) GetResultMessageOk() (*string, bool)

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

func (*AuthorizationFailResponse) HasAction

func (o *AuthorizationFailResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AuthorizationFailResponse) HasResponseContent

func (o *AuthorizationFailResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*AuthorizationFailResponse) HasResultCode

func (o *AuthorizationFailResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*AuthorizationFailResponse) HasResultMessage

func (o *AuthorizationFailResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (AuthorizationFailResponse) MarshalJSON

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

func (*AuthorizationFailResponse) SetAction

func (o *AuthorizationFailResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AuthorizationFailResponse) SetResponseContent

func (o *AuthorizationFailResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*AuthorizationFailResponse) SetResultCode

func (o *AuthorizationFailResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*AuthorizationFailResponse) SetResultMessage

func (o *AuthorizationFailResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (AuthorizationFailResponse) ToMap added in v1.1.1

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

type AuthorizationIssueRequest

type AuthorizationIssueRequest struct {
	// The ticket issued from Authlete `/auth/authorization` API.
	Ticket string `json:"ticket"`
	// The subject (= a user account managed by the service) who has granted authorization to the client application.
	Subject string `json:"subject"`
	// The time when the authentication of the end-user occurred. Its value is the number of seconds from `1970-01-01`.
	AuthTime *string `json:"authTime,omitempty"`
	// The Authentication Context Class Reference performed for the end-user authentication.
	Acr *string `json:"acr,omitempty"`
	// The claims of the end-user (= pieces of information about the end-user) in JSON format. See [OpenID Connect Core 1.0, 5.1. Standard Claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) for details about the format.
	Claims *string `json:"claims,omitempty"`
	// Extra properties to associate with an access token and/or an authorization code.
	Properties []Property `json:"properties,omitempty"`
	// Scopes to associate with an access token and/or an authorization code. If a non-empty string array is given, it replaces the scopes specified by the original authorization request.
	Scopes []string `json:"scopes,omitempty"`
	// The value of the `sub` claim to embed in an ID token. If this request parameter is `null` or empty, the value of the `subject` request parameter is used as the value of the `sub` claim.
	Sub *string `json:"sub,omitempty"`
	// JSON that represents additional JWS header parameters for ID tokens that may be issued based on the authorization request.
	IdtHeaderParams *string `json:"idtHeaderParams,omitempty"`
	// Claim key-value pairs that are used to compute transformed claims.
	ClaimsForTx *string `json:"claimsForTx,omitempty"`
	// the claims that the user has consented for the client application to know.
	ConsentedClaims      []string              `json:"consentedClaims,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// Additional claims that are added to the payload part of the JWT access token.
	JwtAtClaims *string `json:"jwtAtClaims,omitempty"`
	// The representation of an access token that may be issued as a result of the Authlete API call.
	AccessToken *string `json:"accessToken,omitempty"`
}

AuthorizationIssueRequest struct for AuthorizationIssueRequest

func NewAuthorizationIssueRequest

func NewAuthorizationIssueRequest(ticket string, subject string) *AuthorizationIssueRequest

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

func NewAuthorizationIssueRequestWithDefaults

func NewAuthorizationIssueRequestWithDefaults() *AuthorizationIssueRequest

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

func (*AuthorizationIssueRequest) GetAccessToken added in v1.1.1

func (o *AuthorizationIssueRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetAccessTokenOk added in v1.1.1

func (o *AuthorizationIssueRequest) 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 (*AuthorizationIssueRequest) GetAcr

func (o *AuthorizationIssueRequest) GetAcr() string

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

func (*AuthorizationIssueRequest) GetAcrOk

func (o *AuthorizationIssueRequest) 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 (*AuthorizationIssueRequest) GetAuthTime

func (o *AuthorizationIssueRequest) GetAuthTime() string

GetAuthTime returns the AuthTime field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetAuthTimeOk

func (o *AuthorizationIssueRequest) GetAuthTimeOk() (*string, bool)

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

func (*AuthorizationIssueRequest) GetAuthorizationDetails added in v1.1.1

func (o *AuthorizationIssueRequest) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetAuthorizationDetailsOk added in v1.1.1

func (o *AuthorizationIssueRequest) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

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

func (*AuthorizationIssueRequest) GetClaims

func (o *AuthorizationIssueRequest) GetClaims() string

GetClaims returns the Claims field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetClaimsForTx added in v1.1.1

func (o *AuthorizationIssueRequest) GetClaimsForTx() string

GetClaimsForTx returns the ClaimsForTx field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetClaimsForTxOk added in v1.1.1

func (o *AuthorizationIssueRequest) GetClaimsForTxOk() (*string, bool)

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

func (*AuthorizationIssueRequest) GetClaimsOk

func (o *AuthorizationIssueRequest) GetClaimsOk() (*string, bool)

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

func (*AuthorizationIssueRequest) GetConsentedClaims added in v1.1.1

func (o *AuthorizationIssueRequest) GetConsentedClaims() []string

GetConsentedClaims returns the ConsentedClaims field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetConsentedClaimsOk added in v1.1.1

func (o *AuthorizationIssueRequest) GetConsentedClaimsOk() ([]string, bool)

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

func (*AuthorizationIssueRequest) GetIdtHeaderParams added in v1.0.0

func (o *AuthorizationIssueRequest) GetIdtHeaderParams() string

GetIdtHeaderParams returns the IdtHeaderParams field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetIdtHeaderParamsOk added in v1.0.0

func (o *AuthorizationIssueRequest) GetIdtHeaderParamsOk() (*string, bool)

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

func (*AuthorizationIssueRequest) GetJwtAtClaims added in v1.1.1

func (o *AuthorizationIssueRequest) GetJwtAtClaims() string

GetJwtAtClaims returns the JwtAtClaims field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetJwtAtClaimsOk added in v1.1.1

func (o *AuthorizationIssueRequest) GetJwtAtClaimsOk() (*string, bool)

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

func (*AuthorizationIssueRequest) GetProperties

func (o *AuthorizationIssueRequest) GetProperties() []Property

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

func (*AuthorizationIssueRequest) GetPropertiesOk

func (o *AuthorizationIssueRequest) GetPropertiesOk() ([]Property, bool)

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

func (*AuthorizationIssueRequest) GetScopes

func (o *AuthorizationIssueRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*AuthorizationIssueRequest) GetScopesOk

func (o *AuthorizationIssueRequest) GetScopesOk() ([]string, bool)

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

func (*AuthorizationIssueRequest) GetSub

func (o *AuthorizationIssueRequest) GetSub() string

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

func (*AuthorizationIssueRequest) GetSubOk

func (o *AuthorizationIssueRequest) 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 (*AuthorizationIssueRequest) GetSubject

func (o *AuthorizationIssueRequest) GetSubject() string

GetSubject returns the Subject field value

func (*AuthorizationIssueRequest) GetSubjectOk

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

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

func (*AuthorizationIssueRequest) GetTicket

func (o *AuthorizationIssueRequest) GetTicket() string

GetTicket returns the Ticket field value

func (*AuthorizationIssueRequest) GetTicketOk

func (o *AuthorizationIssueRequest) GetTicketOk() (*string, bool)

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

func (*AuthorizationIssueRequest) HasAccessToken added in v1.1.1

func (o *AuthorizationIssueRequest) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasAcr

func (o *AuthorizationIssueRequest) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasAuthTime

func (o *AuthorizationIssueRequest) HasAuthTime() bool

HasAuthTime returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasAuthorizationDetails added in v1.1.1

func (o *AuthorizationIssueRequest) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasClaims

func (o *AuthorizationIssueRequest) HasClaims() bool

HasClaims returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasClaimsForTx added in v1.1.1

func (o *AuthorizationIssueRequest) HasClaimsForTx() bool

HasClaimsForTx returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasConsentedClaims added in v1.1.1

func (o *AuthorizationIssueRequest) HasConsentedClaims() bool

HasConsentedClaims returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasIdtHeaderParams added in v1.0.0

func (o *AuthorizationIssueRequest) HasIdtHeaderParams() bool

HasIdtHeaderParams returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasJwtAtClaims added in v1.1.1

func (o *AuthorizationIssueRequest) HasJwtAtClaims() bool

HasJwtAtClaims returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasProperties

func (o *AuthorizationIssueRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasScopes

func (o *AuthorizationIssueRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*AuthorizationIssueRequest) HasSub

func (o *AuthorizationIssueRequest) HasSub() bool

HasSub returns a boolean if a field has been set.

func (AuthorizationIssueRequest) MarshalJSON

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

func (*AuthorizationIssueRequest) SetAccessToken added in v1.1.1

func (o *AuthorizationIssueRequest) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*AuthorizationIssueRequest) SetAcr

func (o *AuthorizationIssueRequest) SetAcr(v string)

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

func (*AuthorizationIssueRequest) SetAuthTime

func (o *AuthorizationIssueRequest) SetAuthTime(v string)

SetAuthTime gets a reference to the given string and assigns it to the AuthTime field.

func (*AuthorizationIssueRequest) SetAuthorizationDetails added in v1.1.1

func (o *AuthorizationIssueRequest) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*AuthorizationIssueRequest) SetClaims

func (o *AuthorizationIssueRequest) SetClaims(v string)

SetClaims gets a reference to the given string and assigns it to the Claims field.

func (*AuthorizationIssueRequest) SetClaimsForTx added in v1.1.1

func (o *AuthorizationIssueRequest) SetClaimsForTx(v string)

SetClaimsForTx gets a reference to the given string and assigns it to the ClaimsForTx field.

func (*AuthorizationIssueRequest) SetConsentedClaims added in v1.1.1

func (o *AuthorizationIssueRequest) SetConsentedClaims(v []string)

SetConsentedClaims gets a reference to the given []string and assigns it to the ConsentedClaims field.

func (*AuthorizationIssueRequest) SetIdtHeaderParams added in v1.0.0

func (o *AuthorizationIssueRequest) SetIdtHeaderParams(v string)

SetIdtHeaderParams gets a reference to the given string and assigns it to the IdtHeaderParams field.

func (*AuthorizationIssueRequest) SetJwtAtClaims added in v1.1.1

func (o *AuthorizationIssueRequest) SetJwtAtClaims(v string)

SetJwtAtClaims gets a reference to the given string and assigns it to the JwtAtClaims field.

func (*AuthorizationIssueRequest) SetProperties

func (o *AuthorizationIssueRequest) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*AuthorizationIssueRequest) SetScopes

func (o *AuthorizationIssueRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*AuthorizationIssueRequest) SetSub

func (o *AuthorizationIssueRequest) SetSub(v string)

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

func (*AuthorizationIssueRequest) SetSubject

func (o *AuthorizationIssueRequest) SetSubject(v string)

SetSubject sets field value

func (*AuthorizationIssueRequest) SetTicket

func (o *AuthorizationIssueRequest) SetTicket(v string)

SetTicket sets field value

func (AuthorizationIssueRequest) ToMap added in v1.1.1

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

type AuthorizationIssueResponse

type AuthorizationIssueResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The newly issued access token. Note that an access token is issued from an authorization endpoint only when `response_type` contains token.
	AccessToken *string `json:"accessToken,omitempty"`
	// The datetime at which the newly issued access token will expire. The value is represented in milliseconds since the Unix epoch (1970-01-01).
	AccessTokenExpiresAt *int64 `json:"accessTokenExpiresAt,omitempty"`
	// The duration of the newly issued access token in seconds.
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The newly issued ID token. Note that an ID token is issued from an authorization endpoint only when `response_type` contains `id_token`.
	IdToken *string `json:"idToken,omitempty"`
	// The newly issued authorization code. Note that an authorization code is issued only when `response_type` contains code.
	AuthorizationCode *string `json:"authorizationCode,omitempty"`
	// The newly issued access token in JWT format. If the service is not configured to issue JWT-based access tokens, this property is always set to `null`.
	JwtAccessToken *string `json:"jwtAccessToken,omitempty"`
}

AuthorizationIssueResponse struct for AuthorizationIssueResponse

func NewAuthorizationIssueResponse

func NewAuthorizationIssueResponse() *AuthorizationIssueResponse

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

func NewAuthorizationIssueResponseWithDefaults

func NewAuthorizationIssueResponseWithDefaults() *AuthorizationIssueResponse

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

func (*AuthorizationIssueResponse) GetAccessToken

func (o *AuthorizationIssueResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetAccessTokenDuration

func (o *AuthorizationIssueResponse) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetAccessTokenDurationOk

func (o *AuthorizationIssueResponse) GetAccessTokenDurationOk() (*int64, bool)

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

func (*AuthorizationIssueResponse) GetAccessTokenExpiresAt

func (o *AuthorizationIssueResponse) GetAccessTokenExpiresAt() int64

GetAccessTokenExpiresAt returns the AccessTokenExpiresAt field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetAccessTokenExpiresAtOk

func (o *AuthorizationIssueResponse) GetAccessTokenExpiresAtOk() (*int64, bool)

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

func (*AuthorizationIssueResponse) GetAccessTokenOk

func (o *AuthorizationIssueResponse) 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 (*AuthorizationIssueResponse) GetAction

func (o *AuthorizationIssueResponse) GetAction() string

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

func (*AuthorizationIssueResponse) GetActionOk

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

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

func (*AuthorizationIssueResponse) GetAuthorizationCode

func (o *AuthorizationIssueResponse) GetAuthorizationCode() string

GetAuthorizationCode returns the AuthorizationCode field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetAuthorizationCodeOk

func (o *AuthorizationIssueResponse) GetAuthorizationCodeOk() (*string, bool)

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

func (*AuthorizationIssueResponse) GetIdToken

func (o *AuthorizationIssueResponse) GetIdToken() string

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetIdTokenOk

func (o *AuthorizationIssueResponse) 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 (*AuthorizationIssueResponse) GetJwtAccessToken

func (o *AuthorizationIssueResponse) GetJwtAccessToken() string

GetJwtAccessToken returns the JwtAccessToken field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetJwtAccessTokenOk

func (o *AuthorizationIssueResponse) GetJwtAccessTokenOk() (*string, bool)

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

func (*AuthorizationIssueResponse) GetResponseContent

func (o *AuthorizationIssueResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetResponseContentOk

func (o *AuthorizationIssueResponse) GetResponseContentOk() (*string, bool)

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

func (*AuthorizationIssueResponse) GetResultCode

func (o *AuthorizationIssueResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetResultCodeOk

func (o *AuthorizationIssueResponse) GetResultCodeOk() (*string, bool)

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

func (*AuthorizationIssueResponse) GetResultMessage

func (o *AuthorizationIssueResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*AuthorizationIssueResponse) GetResultMessageOk

func (o *AuthorizationIssueResponse) GetResultMessageOk() (*string, bool)

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

func (*AuthorizationIssueResponse) HasAccessToken

func (o *AuthorizationIssueResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasAccessTokenDuration

func (o *AuthorizationIssueResponse) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasAccessTokenExpiresAt

func (o *AuthorizationIssueResponse) HasAccessTokenExpiresAt() bool

HasAccessTokenExpiresAt returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasAction

func (o *AuthorizationIssueResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasAuthorizationCode

func (o *AuthorizationIssueResponse) HasAuthorizationCode() bool

HasAuthorizationCode returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasIdToken

func (o *AuthorizationIssueResponse) HasIdToken() bool

HasIdToken returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasJwtAccessToken

func (o *AuthorizationIssueResponse) HasJwtAccessToken() bool

HasJwtAccessToken returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasResponseContent

func (o *AuthorizationIssueResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasResultCode

func (o *AuthorizationIssueResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*AuthorizationIssueResponse) HasResultMessage

func (o *AuthorizationIssueResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (AuthorizationIssueResponse) MarshalJSON

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

func (*AuthorizationIssueResponse) SetAccessToken

func (o *AuthorizationIssueResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*AuthorizationIssueResponse) SetAccessTokenDuration

func (o *AuthorizationIssueResponse) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*AuthorizationIssueResponse) SetAccessTokenExpiresAt

func (o *AuthorizationIssueResponse) SetAccessTokenExpiresAt(v int64)

SetAccessTokenExpiresAt gets a reference to the given int64 and assigns it to the AccessTokenExpiresAt field.

func (*AuthorizationIssueResponse) SetAction

func (o *AuthorizationIssueResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AuthorizationIssueResponse) SetAuthorizationCode

func (o *AuthorizationIssueResponse) SetAuthorizationCode(v string)

SetAuthorizationCode gets a reference to the given string and assigns it to the AuthorizationCode field.

func (*AuthorizationIssueResponse) SetIdToken

func (o *AuthorizationIssueResponse) SetIdToken(v string)

SetIdToken gets a reference to the given string and assigns it to the IdToken field.

func (*AuthorizationIssueResponse) SetJwtAccessToken

func (o *AuthorizationIssueResponse) SetJwtAccessToken(v string)

SetJwtAccessToken gets a reference to the given string and assigns it to the JwtAccessToken field.

func (*AuthorizationIssueResponse) SetResponseContent

func (o *AuthorizationIssueResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*AuthorizationIssueResponse) SetResultCode

func (o *AuthorizationIssueResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*AuthorizationIssueResponse) SetResultMessage

func (o *AuthorizationIssueResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (AuthorizationIssueResponse) ToMap added in v1.1.1

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

type AuthorizationRequest

type AuthorizationRequest struct {
	// OAuth 2.0 authorization request parameters which are the request parameters that the OAuth 2.0 authorization endpoint of the authorization server implementation received from the client application.  The value of parameters is either (1) the entire query string when the HTTP method of the request from the client application is `GET` or (2) the entire entity body (which is formatted in `application/x-www-form-urlencoded`) when the HTTP method of the request from the client application is `POST`.
	Parameters string `json:"parameters"`
}

AuthorizationRequest struct for AuthorizationRequest

func NewAuthorizationRequest

func NewAuthorizationRequest(parameters string) *AuthorizationRequest

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

func NewAuthorizationRequestWithDefaults

func NewAuthorizationRequestWithDefaults() *AuthorizationRequest

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

func (*AuthorizationRequest) GetParameters

func (o *AuthorizationRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*AuthorizationRequest) GetParametersOk

func (o *AuthorizationRequest) GetParametersOk() (*string, bool)

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

func (AuthorizationRequest) MarshalJSON

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

func (*AuthorizationRequest) SetParameters

func (o *AuthorizationRequest) SetParameters(v string)

SetParameters sets field value

func (AuthorizationRequest) ToMap added in v1.1.1

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

type AuthorizationResponse

type AuthorizationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action  *string  `json:"action,omitempty"`
	Client  *Client  `json:"client,omitempty"`
	Display *Display `json:"display,omitempty"`
	// The maximum authentication age. This value comes from `max_age` request parameter, or `defaultMaxAge` configuration parameter of the client application when the authorization request does not contain `max_age` request parameter.  See \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), max_age\" for `max_age` request parameter, and see \"[OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata), default_max_age\" for `defaultMaxAge` configuration parameter.
	MaxAge  *int32   `json:"maxAge,omitempty"`
	Service *Service `json:"service,omitempty"`
	// The scopes that the client application requests. This value comes from `scope` request parameter. If the request does not contain `scope` parameter, this parameter is a list of scopes which are registered as default. If the authorization request does not have `scope` request parameter and the service has not registered any default scope, the value of this parameter is `null`.  It is ensured that scopes listed by this parameters are contained in the list of supported scopes which are specified by `supportedScopes` configuration parameter of the service. Unsupported scopes in the authorization request do not cause an error and are just ignored.  OpenID Connect defines some scope names which need to be treated specially. The table below lists the special scope names.  | Name | Description | | --- | --- | | `openid` | This scope must be contained in `scope` request parameter to promote an OAuth 2.0 authorization request to an OpenID Connect request. It is described in \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), scope\". | | `profile` | This scope is used to request some claims to be embedded in the ID token. The claims are `name`, `family_name`, `given_name`, `middle_name`, `nickname`, `preferred_username`, `profile`, `picture`, `website`, `gender`, `birthdate`, `zoneinfo`, `locale`, and `updated_at`. It is described in [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims). | | `email` | This scope is used to request some claims to be embedded in the ID token. The claims are `email` and `email_verified`. It is described in [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims). | | `address` |  This scope is used to request `address` claim to be embedded in the ID token. It is described in [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims).<br><br> The format of `address` claim is not a simple string. It is described in [OpenID Connect Core 1.0, 5.1.1. Address Claim](https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim).  | | `phone` | This scope is used to request some claims to be embedded in the ID token. The claims are `phone_number` and `phone_number_verified`. It is described in [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims).  | | `offline_access` | The following is an excerpt about this scope from [OpenID Connect Core 1.0, 11. Offline Access](https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess). <blockquote>This scope value requests that an OAuth 2.0 Refresh Token be issued that can be used to obtain an Access Token that grants access to the end-user's userinfo endpoint even when the end-user is not present (not logged in).</blockquote>  |  Note that, if `response_type` request parameter does not contain code, `offline_acccess` scope is removed from this list even when scope request parameter contains `offline_access`. This behavior is a requirement written in [OpenID Connect Core 1.0, 11. Offline Access](https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess).
	Scopes []Scope `json:"scopes,omitempty"`
	// The locales that the client application presented as candidates to be used for UI. This value comes from `ui_locales` request parameter. The format of `ui_locales` is a space-separated list of language tag values defined in [RFC5646](https://datatracker.ietf.org/doc/html/rfc5646). See \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), ui_locales\" for details.  It is ensured that locales listed by this parameters are contained in the list of supported UI locales which are specified by `supportedUiLocales` configuration parameter of the service. Unsupported UI locales in the authorization request do not cause an error and are just ignored.
	UiLocales []string `json:"uiLocales,omitempty"`
	// End-user's preferred languages and scripts for claims. This value comes from `claims_locales` request parameter. The format of `claims_locales` is a space-separated list of language tag values defined in [RFC5646](https://datatracker.ietf.org/doc/html/rfc5646). See \"[OpenID Connect Core 1.0, 5.2. Claims Languages and Scripts](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts)\" for details.  It is ensured that locales listed by this parameters are contained in the list of supported claim locales which are specified by `supportedClaimsLocales` configuration parameter of the service. Unsupported claim locales in the authorization request do not cause an error and are just ignored.
	ClaimsLocales []string `json:"claimsLocales,omitempty"`
	// The list of claims that the client application requests to be embedded in the ID token. The value comes from (1) `id_token` in `claims` request parameter [1] and/or (2) special scopes (`profile`, `email`, `address` and `phone`) which are expanded to claims.  See [OpenID Connect Core 1.0, 5.5. Requesting Claims using the \"claims\" Request Parameter](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter) for `claims` request parameter, and see [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) for the special scopes.
	Claims []string `json:"claims,omitempty"`
	// This boolean value indicates whether the authentication of the end-user must be one of the ACRs (Authentication Context Class References) listed in `acrs` parameter. This parameter becomes `true` only when (1) the authorization request contains `claims` request parameter and (2) `acr` claim is in it, and (3) `essential` property of the `acr` claim is `true`. See [OpenID Connect Core 1.0, 5.5.1.1. Requesting the \"acr\" Claim](https://openid.net/specs/openid-connect-core-1_0.html#acrSemantics) for details.
	AcrEssential *bool `json:"acrEssential,omitempty"`
	// `true` if the value of the `client_id` request parameter included in the authorization request is the client ID alias. `false` if the value is the original numeric client ID.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The list of ACRs (Authentication Context Class References) one of which the client application requests to be satisfied for the authentication of the end-user. This value comes from `acr_values` request parameter or `defaultAcrs` configuration parameter of the client application.  See \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), acr_values\" for `acr_values` request parameter, and see \"[OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata), default_acr_values\" for `defaultAcrs` configuration parameter.
	Acrs []string `json:"acrs,omitempty"`
	// The subject (= unique user ID managed by the authorization server implementation) that the client application expects to grant authorization. The value comes from `sub` claim in `claims` request parameter.
	Subject *string `json:"subject,omitempty"`
	// A hint about the login identifier of the end-user. The value comes from `login_hint` request parameter.
	LoginHint *string `json:"loginHint,omitempty"`
	// The list of values of prompt request parameter. See \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), prompt\" for prompt request parameter.
	Prompts      []Prompt `json:"prompts,omitempty"`
	LowestPrompt *Prompt  `json:"lowestPrompt,omitempty"`
	// The payload part of the request object. The value of this proprty is `null` if the authorization request does not include a request object.
	RequestObjectPayload *string `json:"requestObjectPayload,omitempty"`
	// The value of the `id_token` property in the claims request parameter or in the claims property in a request object.  A client application may request certain claims be embedded in an ID token or in a response from the userInfo endpoint. There are several ways. Including the `claims` request parameter and including the `claims` property in a request object are such examples. In both the cases, the value of the `claims` parameter/property is JSON. Its format is described in [5.5. Requesting Claims using the \"claims\" Request Parameter](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter).  The following is an excerpt from the specification. You can find `userinfo` and `id_token` are top-level properties.  “`json {   \"userinfo\":   {     \"given_name\": { \"essential\": true },     \"nickname\": null,     \"email\": { \"essential\": true },     \"email_verified\": { \"essential\": true },     \"picture\": null,     \"http://example.info/claims/groups\": null   },   \"id_token\":   {     \"auth_time\": { \"essential\": true },     \"acr\": { \"values\": [ \"urn:mace:incommon:iap:silver\" ] }   } } “`  This value of this property is the value of the `id_token` property in JSON format. For example, if the JSON above is included in an authorization request, this property holds JSON equivalent to the following.  “`json {   \"auth_time\": { \"essential\": true },   \"acr\": { \"values\": [ \"urn:mace:incommon:iap:silver\" ] } } “`  Note that if a request object is given and it contains the `claims` property and if the `claims` request parameter is also given, this property holds the former value.
	IdTokenClaims *string `json:"idTokenClaims,omitempty"`
	// The value of the `userinfo` property in the `claims` request parameter or in the `claims` property in a request object.  A client application may request certain claims be embedded in an ID token or in a response from the userInfo endpoint. There are several ways. Including the `claims` request parameter and including the `claims` property in a request object are such examples. In both the cases, the value of the `claims` parameter/property is JSON. Its format is described in [5.5. Requesting Claims using the \"claims\" Request Parameter](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter).  The following is an excerpt from the specification. You can find `userinfo` and `id_token` are top-level properties.  “`json {   \"userinfo\":   {     \"given_name\": { \"essential\": true },     \"nickname\": null,     \"email\": { \"essential\": true },     \"email_verified\": { \"essential\": true },     \"picture\": null,     \"http://example.info/claims/groups\": null   },   \"id_token\":   {     \"auth_time\": { \"essential\": true },     \"acr\": { \"values\": [ \"urn:mace:incommon:iap:silver\" ] }   } } ““  The value of this property is the value of the `userinfo` property in JSON format. For example, if the JSON above is included in an authorization request, this property holds JSON equivalent to the following.  “`json {   \"given_name\": { \"essential\": true },   \"nickname\": null,   \"email\": { \"essential\": true },   \"email_verified\": { \"essential\": true },   \"picture\": null,   \"http://example.info/claims/groups\": null } “`  Note that if a request object is given and it contains the `claims` property and if the `claims` request parameter is also given, the value of this property holds the former value.
	UserInfoClaims *string `json:"userInfoClaims,omitempty"`
	// The resources specified by the `resource` request parameters or by the `resource` property in the request object. If both are given, the values in the request object should be set. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources            *string               `json:"resources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The `purpose` request parameter is defined in [9. Transaction-specific Purpose](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#name-transaction-specific-purpos) of [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html) as follows:  > purpose: OPTIONAL. String describing the purpose for obtaining certain user data from the OP. The purpose MUST NOT be shorter than 3 characters and MUST NOT be longer than 300 characters. If these rules are violated, the authentication request MUST fail and the OP returns an error invalid_request to the RP.
	Purpose *string `json:"purpose,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// A ticket issued by Authlete to the service implementation. This is needed when the service implementation calls either `/auth/authorization/fail` API or `/auth/authorization/issue` API.
	Ticket *string `json:"ticket,omitempty"`
	// The dynamic scopes which the client application requested by the scope request parameter.
	DynamicScopes []DynamicScope         `json:"dynamicScopes,omitempty"`
	GmAction      *GrantManagementAction `json:"gmAction,omitempty"`
	// the value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	Grant   *Grant  `json:"grant,omitempty"`
	// The subject identifying the user who has given the grant identified by the `grant_id` request parameter of the device authorization request.  Authlete 2.3 and newer versions support <a href= \"https://openid.net/specs/fapi-grant-management.html\">Grant Management for OAuth 2.0</a>. An authorization request may contain a {@code grant_id} request parameter which is defined in the specification. If the value of the request parameter is valid, {@link #getGrantSubject()} will return the subject of the user who has given the grant to the client application. Authorization server implementations may use the value returned from {@link #getGrantSubject()} in order to determine the user to authenticate.  The user your system will authenticate during the authorization process (or has already authenticated) may be different from the user of the grant. The first implementer's draft of \"Grant Management for OAuth 2.0\" does not mention anything about the case, so the behavior in the case is left to implementations. Authlete will not perform the grant management action when the {@code subject} passed to Authlete does not match the user of the grant.
	GrantSubject *string `json:"grantSubject,omitempty"`
	// Get names of claims that are requested indirectly by <i>\"transformed claims\"</i>.  <p> A client application can request <i>\"transformed claims\"</i> by adding names of transformed claims in the `claims` request parameter. The following is an example of the `claims` request parameter that requests a predefined transformed claim named `18_or_over` and a transformed claim named `nationality_usa` to be embedded in the response from the userinfo endpoint. </p>  “`json {   \"transformed_claims\": {     \"nationality_usa\": {       \"claim\": \"nationalities\",       \"fn\": [         [ \"eq\", \"USA\" ],         \"any\"       ]     }   },   \"userinfo\": {     \"::18_or_over\": null,     \":nationality_usa\": null   } } “`  The example above assumes that a transformed claim named `18_or_over` is predefined by the authorization server like below.  “`json {   \"18_or_over\": {     \"claim\": \"birthdate\",     \"fn\": [       \"years_ago\",       [ \"gte\", 18 ]     ]   } } “`  In the example, the {@code nationalities} claim is requested indirectly by the `nationality_usa` transformed claim. Likewise, the {@code birthdate} claim is requested indirectly by the `18_or_over` transformed claim.  When the `claims` request parameter of an authorization request is like the example above, this `requestedClaimsForTx` property will hold the following value.  “`json [ \"birthdate\", \"nationalities\" ] “`  It is expected that the authorization server implementation prepares values of the listed claims and passes them as the value of the `claimsForTx` request parameter when it calls the `/api/auth/userinfo/issue` API. The following is an example of the value of the `claimsForTx` request parameter.  “`json {   \"birthdate\": \"1970-01-23\",   \"nationalities\": [ \"DEU\", \"USA\" ] } “`
	RequestedClaimsForTx []string `json:"requestedClaimsForTx,omitempty"`
	// Names of verified claims that will be referenced when transformed claims are computed.
	RequestedVerifiedClaimsForTx [][]string `json:"requestedVerifiedClaimsForTx,omitempty"`
	// the value of the `transformed_claims` property in the `claims` request parameter of an authorization request or in the `claims` property in a request object.
	TransformedClaims *string `json:"transformedClaims,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

AuthorizationResponse struct for AuthorizationResponse

func NewAuthorizationResponse

func NewAuthorizationResponse() *AuthorizationResponse

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

func NewAuthorizationResponseWithDefaults

func NewAuthorizationResponseWithDefaults() *AuthorizationResponse

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

func (*AuthorizationResponse) GetAcrEssential

func (o *AuthorizationResponse) GetAcrEssential() bool

GetAcrEssential returns the AcrEssential field value if set, zero value otherwise.

func (*AuthorizationResponse) GetAcrEssentialOk

func (o *AuthorizationResponse) GetAcrEssentialOk() (*bool, bool)

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

func (*AuthorizationResponse) GetAcrs

func (o *AuthorizationResponse) GetAcrs() []string

GetAcrs returns the Acrs field value if set, zero value otherwise.

func (*AuthorizationResponse) GetAcrsOk

func (o *AuthorizationResponse) GetAcrsOk() ([]string, bool)

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

func (*AuthorizationResponse) GetAction

func (o *AuthorizationResponse) GetAction() string

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

func (*AuthorizationResponse) GetActionOk

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

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

func (*AuthorizationResponse) GetAuthorizationDetails

func (o *AuthorizationResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*AuthorizationResponse) GetAuthorizationDetailsOk

func (o *AuthorizationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

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

func (*AuthorizationResponse) GetClaims

func (o *AuthorizationResponse) GetClaims() []string

GetClaims returns the Claims field value if set, zero value otherwise.

func (*AuthorizationResponse) GetClaimsLocales

func (o *AuthorizationResponse) GetClaimsLocales() []string

GetClaimsLocales returns the ClaimsLocales field value if set, zero value otherwise.

func (*AuthorizationResponse) GetClaimsLocalesOk

func (o *AuthorizationResponse) GetClaimsLocalesOk() ([]string, bool)

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

func (*AuthorizationResponse) GetClaimsOk

func (o *AuthorizationResponse) GetClaimsOk() ([]string, bool)

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

func (*AuthorizationResponse) GetClient

func (o *AuthorizationResponse) GetClient() Client

GetClient returns the Client field value if set, zero value otherwise.

func (*AuthorizationResponse) GetClientEntityIdUsed added in v1.2.0

func (o *AuthorizationResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*AuthorizationResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *AuthorizationResponse) GetClientEntityIdUsedOk() (*bool, bool)

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

func (*AuthorizationResponse) GetClientIdAliasUsed

func (o *AuthorizationResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*AuthorizationResponse) GetClientIdAliasUsedOk

func (o *AuthorizationResponse) GetClientIdAliasUsedOk() (*bool, bool)

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

func (*AuthorizationResponse) GetClientOk

func (o *AuthorizationResponse) GetClientOk() (*Client, 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 (*AuthorizationResponse) GetDisplay

func (o *AuthorizationResponse) GetDisplay() Display

GetDisplay returns the Display field value if set, zero value otherwise.

func (*AuthorizationResponse) GetDisplayOk

func (o *AuthorizationResponse) GetDisplayOk() (*Display, bool)

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 (*AuthorizationResponse) GetDynamicScopes

func (o *AuthorizationResponse) GetDynamicScopes() []DynamicScope

GetDynamicScopes returns the DynamicScopes field value if set, zero value otherwise.

func (*AuthorizationResponse) GetDynamicScopesOk

func (o *AuthorizationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)

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

func (*AuthorizationResponse) GetGmAction added in v1.1.1

GetGmAction returns the GmAction field value if set, zero value otherwise.

func (*AuthorizationResponse) GetGmActionOk added in v1.1.1

func (o *AuthorizationResponse) GetGmActionOk() (*GrantManagementAction, bool)

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

func (*AuthorizationResponse) GetGrant added in v1.1.1

func (o *AuthorizationResponse) GetGrant() Grant

GetGrant returns the Grant field value if set, zero value otherwise.

func (*AuthorizationResponse) GetGrantId added in v1.1.1

func (o *AuthorizationResponse) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*AuthorizationResponse) GetGrantIdOk added in v1.1.1

func (o *AuthorizationResponse) GetGrantIdOk() (*string, bool)

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

func (*AuthorizationResponse) GetGrantOk added in v1.1.1

func (o *AuthorizationResponse) GetGrantOk() (*Grant, bool)

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

func (*AuthorizationResponse) GetGrantSubject added in v1.1.1

func (o *AuthorizationResponse) GetGrantSubject() string

GetGrantSubject returns the GrantSubject field value if set, zero value otherwise.

func (*AuthorizationResponse) GetGrantSubjectOk added in v1.1.1

func (o *AuthorizationResponse) GetGrantSubjectOk() (*string, bool)

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

func (*AuthorizationResponse) GetIdTokenClaims

func (o *AuthorizationResponse) GetIdTokenClaims() string

GetIdTokenClaims returns the IdTokenClaims field value if set, zero value otherwise.

func (*AuthorizationResponse) GetIdTokenClaimsOk

func (o *AuthorizationResponse) GetIdTokenClaimsOk() (*string, bool)

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

func (*AuthorizationResponse) GetLoginHint

func (o *AuthorizationResponse) GetLoginHint() string

GetLoginHint returns the LoginHint field value if set, zero value otherwise.

func (*AuthorizationResponse) GetLoginHintOk

func (o *AuthorizationResponse) 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 (*AuthorizationResponse) GetLowestPrompt

func (o *AuthorizationResponse) GetLowestPrompt() Prompt

GetLowestPrompt returns the LowestPrompt field value if set, zero value otherwise.

func (*AuthorizationResponse) GetLowestPromptOk

func (o *AuthorizationResponse) GetLowestPromptOk() (*Prompt, bool)

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

func (*AuthorizationResponse) GetMaxAge

func (o *AuthorizationResponse) GetMaxAge() int32

GetMaxAge returns the MaxAge field value if set, zero value otherwise.

func (*AuthorizationResponse) GetMaxAgeOk

func (o *AuthorizationResponse) GetMaxAgeOk() (*int32, bool)

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

func (*AuthorizationResponse) GetPrompts

func (o *AuthorizationResponse) GetPrompts() []Prompt

GetPrompts returns the Prompts field value if set, zero value otherwise.

func (*AuthorizationResponse) GetPromptsOk

func (o *AuthorizationResponse) GetPromptsOk() ([]Prompt, bool)

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

func (*AuthorizationResponse) GetPurpose

func (o *AuthorizationResponse) GetPurpose() string

GetPurpose returns the Purpose field value if set, zero value otherwise.

func (*AuthorizationResponse) GetPurposeOk

func (o *AuthorizationResponse) GetPurposeOk() (*string, bool)

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

func (*AuthorizationResponse) GetRequestObjectPayload

func (o *AuthorizationResponse) GetRequestObjectPayload() string

GetRequestObjectPayload returns the RequestObjectPayload field value if set, zero value otherwise.

func (*AuthorizationResponse) GetRequestObjectPayloadOk

func (o *AuthorizationResponse) GetRequestObjectPayloadOk() (*string, bool)

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

func (*AuthorizationResponse) GetRequestedClaimsForTx added in v1.1.1

func (o *AuthorizationResponse) GetRequestedClaimsForTx() []string

GetRequestedClaimsForTx returns the RequestedClaimsForTx field value if set, zero value otherwise.

func (*AuthorizationResponse) GetRequestedClaimsForTxOk added in v1.1.1

func (o *AuthorizationResponse) GetRequestedClaimsForTxOk() ([]string, bool)

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

func (*AuthorizationResponse) GetRequestedVerifiedClaimsForTx added in v1.1.1

func (o *AuthorizationResponse) GetRequestedVerifiedClaimsForTx() [][]string

GetRequestedVerifiedClaimsForTx returns the RequestedVerifiedClaimsForTx field value if set, zero value otherwise.

func (*AuthorizationResponse) GetRequestedVerifiedClaimsForTxOk added in v1.1.1

func (o *AuthorizationResponse) GetRequestedVerifiedClaimsForTxOk() ([][]string, bool)

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

func (*AuthorizationResponse) GetResources

func (o *AuthorizationResponse) GetResources() string

GetResources returns the Resources field value if set, zero value otherwise.

func (*AuthorizationResponse) GetResourcesOk

func (o *AuthorizationResponse) GetResourcesOk() (*string, bool)

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

func (*AuthorizationResponse) GetResponseContent

func (o *AuthorizationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*AuthorizationResponse) GetResponseContentOk

func (o *AuthorizationResponse) GetResponseContentOk() (*string, bool)

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

func (*AuthorizationResponse) GetResultCode

func (o *AuthorizationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*AuthorizationResponse) GetResultCodeOk

func (o *AuthorizationResponse) GetResultCodeOk() (*string, bool)

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

func (*AuthorizationResponse) GetResultMessage

func (o *AuthorizationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*AuthorizationResponse) GetResultMessageOk

func (o *AuthorizationResponse) GetResultMessageOk() (*string, bool)

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

func (*AuthorizationResponse) GetScopes

func (o *AuthorizationResponse) GetScopes() []Scope

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*AuthorizationResponse) GetScopesOk

func (o *AuthorizationResponse) GetScopesOk() ([]Scope, bool)

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

func (*AuthorizationResponse) GetService

func (o *AuthorizationResponse) GetService() Service

GetService returns the Service field value if set, zero value otherwise.

func (*AuthorizationResponse) GetServiceOk

func (o *AuthorizationResponse) GetServiceOk() (*Service, bool)

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

func (*AuthorizationResponse) GetSubject

func (o *AuthorizationResponse) GetSubject() string

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

func (*AuthorizationResponse) GetSubjectOk

func (o *AuthorizationResponse) 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 (*AuthorizationResponse) GetTicket

func (o *AuthorizationResponse) GetTicket() string

GetTicket returns the Ticket field value if set, zero value otherwise.

func (*AuthorizationResponse) GetTicketOk

func (o *AuthorizationResponse) GetTicketOk() (*string, bool)

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

func (*AuthorizationResponse) GetTransformedClaims added in v1.1.1

func (o *AuthorizationResponse) GetTransformedClaims() string

GetTransformedClaims returns the TransformedClaims field value if set, zero value otherwise.

func (*AuthorizationResponse) GetTransformedClaimsOk added in v1.1.1

func (o *AuthorizationResponse) GetTransformedClaimsOk() (*string, bool)

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

func (*AuthorizationResponse) GetUiLocales

func (o *AuthorizationResponse) GetUiLocales() []string

GetUiLocales returns the UiLocales field value if set, zero value otherwise.

func (*AuthorizationResponse) GetUiLocalesOk

func (o *AuthorizationResponse) 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 (*AuthorizationResponse) GetUserInfoClaims

func (o *AuthorizationResponse) GetUserInfoClaims() string

GetUserInfoClaims returns the UserInfoClaims field value if set, zero value otherwise.

func (*AuthorizationResponse) GetUserInfoClaimsOk

func (o *AuthorizationResponse) GetUserInfoClaimsOk() (*string, bool)

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

func (*AuthorizationResponse) HasAcrEssential

func (o *AuthorizationResponse) HasAcrEssential() bool

HasAcrEssential returns a boolean if a field has been set.

func (*AuthorizationResponse) HasAcrs

func (o *AuthorizationResponse) HasAcrs() bool

HasAcrs returns a boolean if a field has been set.

func (*AuthorizationResponse) HasAction

func (o *AuthorizationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AuthorizationResponse) HasAuthorizationDetails

func (o *AuthorizationResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*AuthorizationResponse) HasClaims

func (o *AuthorizationResponse) HasClaims() bool

HasClaims returns a boolean if a field has been set.

func (*AuthorizationResponse) HasClaimsLocales

func (o *AuthorizationResponse) HasClaimsLocales() bool

HasClaimsLocales returns a boolean if a field has been set.

func (*AuthorizationResponse) HasClient

func (o *AuthorizationResponse) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*AuthorizationResponse) HasClientEntityIdUsed added in v1.2.0

func (o *AuthorizationResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*AuthorizationResponse) HasClientIdAliasUsed

func (o *AuthorizationResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*AuthorizationResponse) HasDisplay

func (o *AuthorizationResponse) HasDisplay() bool

HasDisplay returns a boolean if a field has been set.

func (*AuthorizationResponse) HasDynamicScopes

func (o *AuthorizationResponse) HasDynamicScopes() bool

HasDynamicScopes returns a boolean if a field has been set.

func (*AuthorizationResponse) HasGmAction added in v1.1.1

func (o *AuthorizationResponse) HasGmAction() bool

HasGmAction returns a boolean if a field has been set.

func (*AuthorizationResponse) HasGrant added in v1.1.1

func (o *AuthorizationResponse) HasGrant() bool

HasGrant returns a boolean if a field has been set.

func (*AuthorizationResponse) HasGrantId added in v1.1.1

func (o *AuthorizationResponse) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*AuthorizationResponse) HasGrantSubject added in v1.1.1

func (o *AuthorizationResponse) HasGrantSubject() bool

HasGrantSubject returns a boolean if a field has been set.

func (*AuthorizationResponse) HasIdTokenClaims

func (o *AuthorizationResponse) HasIdTokenClaims() bool

HasIdTokenClaims returns a boolean if a field has been set.

func (*AuthorizationResponse) HasLoginHint

func (o *AuthorizationResponse) HasLoginHint() bool

HasLoginHint returns a boolean if a field has been set.

func (*AuthorizationResponse) HasLowestPrompt

func (o *AuthorizationResponse) HasLowestPrompt() bool

HasLowestPrompt returns a boolean if a field has been set.

func (*AuthorizationResponse) HasMaxAge

func (o *AuthorizationResponse) HasMaxAge() bool

HasMaxAge returns a boolean if a field has been set.

func (*AuthorizationResponse) HasPrompts

func (o *AuthorizationResponse) HasPrompts() bool

HasPrompts returns a boolean if a field has been set.

func (*AuthorizationResponse) HasPurpose

func (o *AuthorizationResponse) HasPurpose() bool

HasPurpose returns a boolean if a field has been set.

func (*AuthorizationResponse) HasRequestObjectPayload

func (o *AuthorizationResponse) HasRequestObjectPayload() bool

HasRequestObjectPayload returns a boolean if a field has been set.

func (*AuthorizationResponse) HasRequestedClaimsForTx added in v1.1.1

func (o *AuthorizationResponse) HasRequestedClaimsForTx() bool

HasRequestedClaimsForTx returns a boolean if a field has been set.

func (*AuthorizationResponse) HasRequestedVerifiedClaimsForTx added in v1.1.1

func (o *AuthorizationResponse) HasRequestedVerifiedClaimsForTx() bool

HasRequestedVerifiedClaimsForTx returns a boolean if a field has been set.

func (*AuthorizationResponse) HasResources

func (o *AuthorizationResponse) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*AuthorizationResponse) HasResponseContent

func (o *AuthorizationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*AuthorizationResponse) HasResultCode

func (o *AuthorizationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*AuthorizationResponse) HasResultMessage

func (o *AuthorizationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*AuthorizationResponse) HasScopes

func (o *AuthorizationResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*AuthorizationResponse) HasService

func (o *AuthorizationResponse) HasService() bool

HasService returns a boolean if a field has been set.

func (*AuthorizationResponse) HasSubject

func (o *AuthorizationResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuthorizationResponse) HasTicket

func (o *AuthorizationResponse) HasTicket() bool

HasTicket returns a boolean if a field has been set.

func (*AuthorizationResponse) HasTransformedClaims added in v1.1.1

func (o *AuthorizationResponse) HasTransformedClaims() bool

HasTransformedClaims returns a boolean if a field has been set.

func (*AuthorizationResponse) HasUiLocales

func (o *AuthorizationResponse) HasUiLocales() bool

HasUiLocales returns a boolean if a field has been set.

func (*AuthorizationResponse) HasUserInfoClaims

func (o *AuthorizationResponse) HasUserInfoClaims() bool

HasUserInfoClaims returns a boolean if a field has been set.

func (AuthorizationResponse) MarshalJSON

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

func (*AuthorizationResponse) SetAcrEssential

func (o *AuthorizationResponse) SetAcrEssential(v bool)

SetAcrEssential gets a reference to the given bool and assigns it to the AcrEssential field.

func (*AuthorizationResponse) SetAcrs

func (o *AuthorizationResponse) SetAcrs(v []string)

SetAcrs gets a reference to the given []string and assigns it to the Acrs field.

func (*AuthorizationResponse) SetAction

func (o *AuthorizationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AuthorizationResponse) SetAuthorizationDetails

func (o *AuthorizationResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*AuthorizationResponse) SetClaims

func (o *AuthorizationResponse) SetClaims(v []string)

SetClaims gets a reference to the given []string and assigns it to the Claims field.

func (*AuthorizationResponse) SetClaimsLocales

func (o *AuthorizationResponse) SetClaimsLocales(v []string)

SetClaimsLocales gets a reference to the given []string and assigns it to the ClaimsLocales field.

func (*AuthorizationResponse) SetClient

func (o *AuthorizationResponse) SetClient(v Client)

SetClient gets a reference to the given Client and assigns it to the Client field.

func (*AuthorizationResponse) SetClientEntityIdUsed added in v1.2.0

func (o *AuthorizationResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*AuthorizationResponse) SetClientIdAliasUsed

func (o *AuthorizationResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*AuthorizationResponse) SetDisplay

func (o *AuthorizationResponse) SetDisplay(v Display)

SetDisplay gets a reference to the given Display and assigns it to the Display field.

func (*AuthorizationResponse) SetDynamicScopes

func (o *AuthorizationResponse) SetDynamicScopes(v []DynamicScope)

SetDynamicScopes gets a reference to the given []DynamicScope and assigns it to the DynamicScopes field.

func (*AuthorizationResponse) SetGmAction added in v1.1.1

func (o *AuthorizationResponse) SetGmAction(v GrantManagementAction)

SetGmAction gets a reference to the given GrantManagementAction and assigns it to the GmAction field.

func (*AuthorizationResponse) SetGrant added in v1.1.1

func (o *AuthorizationResponse) SetGrant(v Grant)

SetGrant gets a reference to the given Grant and assigns it to the Grant field.

func (*AuthorizationResponse) SetGrantId added in v1.1.1

func (o *AuthorizationResponse) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*AuthorizationResponse) SetGrantSubject added in v1.1.1

func (o *AuthorizationResponse) SetGrantSubject(v string)

SetGrantSubject gets a reference to the given string and assigns it to the GrantSubject field.

func (*AuthorizationResponse) SetIdTokenClaims

func (o *AuthorizationResponse) SetIdTokenClaims(v string)

SetIdTokenClaims gets a reference to the given string and assigns it to the IdTokenClaims field.

func (*AuthorizationResponse) SetLoginHint

func (o *AuthorizationResponse) SetLoginHint(v string)

SetLoginHint gets a reference to the given string and assigns it to the LoginHint field.

func (*AuthorizationResponse) SetLowestPrompt

func (o *AuthorizationResponse) SetLowestPrompt(v Prompt)

SetLowestPrompt gets a reference to the given Prompt and assigns it to the LowestPrompt field.

func (*AuthorizationResponse) SetMaxAge

func (o *AuthorizationResponse) SetMaxAge(v int32)

SetMaxAge gets a reference to the given int32 and assigns it to the MaxAge field.

func (*AuthorizationResponse) SetPrompts

func (o *AuthorizationResponse) SetPrompts(v []Prompt)

SetPrompts gets a reference to the given []Prompt and assigns it to the Prompts field.

func (*AuthorizationResponse) SetPurpose

func (o *AuthorizationResponse) SetPurpose(v string)

SetPurpose gets a reference to the given string and assigns it to the Purpose field.

func (*AuthorizationResponse) SetRequestObjectPayload

func (o *AuthorizationResponse) SetRequestObjectPayload(v string)

SetRequestObjectPayload gets a reference to the given string and assigns it to the RequestObjectPayload field.

func (*AuthorizationResponse) SetRequestedClaimsForTx added in v1.1.1

func (o *AuthorizationResponse) SetRequestedClaimsForTx(v []string)

SetRequestedClaimsForTx gets a reference to the given []string and assigns it to the RequestedClaimsForTx field.

func (*AuthorizationResponse) SetRequestedVerifiedClaimsForTx added in v1.1.1

func (o *AuthorizationResponse) SetRequestedVerifiedClaimsForTx(v [][]string)

SetRequestedVerifiedClaimsForTx gets a reference to the given [][]string and assigns it to the RequestedVerifiedClaimsForTx field.

func (*AuthorizationResponse) SetResources

func (o *AuthorizationResponse) SetResources(v string)

SetResources gets a reference to the given string and assigns it to the Resources field.

func (*AuthorizationResponse) SetResponseContent

func (o *AuthorizationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*AuthorizationResponse) SetResultCode

func (o *AuthorizationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*AuthorizationResponse) SetResultMessage

func (o *AuthorizationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*AuthorizationResponse) SetScopes

func (o *AuthorizationResponse) SetScopes(v []Scope)

SetScopes gets a reference to the given []Scope and assigns it to the Scopes field.

func (*AuthorizationResponse) SetService

func (o *AuthorizationResponse) SetService(v Service)

SetService gets a reference to the given Service and assigns it to the Service field.

func (*AuthorizationResponse) SetSubject

func (o *AuthorizationResponse) SetSubject(v string)

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

func (*AuthorizationResponse) SetTicket

func (o *AuthorizationResponse) SetTicket(v string)

SetTicket gets a reference to the given string and assigns it to the Ticket field.

func (*AuthorizationResponse) SetTransformedClaims added in v1.1.1

func (o *AuthorizationResponse) SetTransformedClaims(v string)

SetTransformedClaims gets a reference to the given string and assigns it to the TransformedClaims field.

func (*AuthorizationResponse) SetUiLocales

func (o *AuthorizationResponse) SetUiLocales(v []string)

SetUiLocales gets a reference to the given []string and assigns it to the UiLocales field.

func (*AuthorizationResponse) SetUserInfoClaims

func (o *AuthorizationResponse) SetUserInfoClaims(v string)

SetUserInfoClaims gets a reference to the given string and assigns it to the UserInfoClaims field.

func (AuthorizationResponse) ToMap added in v1.1.1

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

type BackchannelAuthenticationCompleteRequest

type BackchannelAuthenticationCompleteRequest struct {
	// The ticket issued by Authlete's `/backchannel/authentication` API.
	Ticket string `json:"ticket"`
	// The result of the end-user authentication and authorization. One of the following. Details are described in the description.
	Result string `json:"result"`
	// The subject (= unique identifier) of the end-user.
	Subject string `json:"subject"`
	// The value of the sub claim that should be used in the ID token.
	Sub *string `json:"sub,omitempty"`
	// The time at which the end-user was authenticated. Its value is the number of seconds from `1970-01-01`.
	AuthTime *string `json:"authTime,omitempty"`
	// The reference of the authentication context class which the end-user authentication satisfied.
	Acr *string `json:"acr,omitempty"`
	// Additional claims which will be embedded in the ID token.
	Claims *string `json:"claims,omitempty"`
	// The extra properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
	// Scopes to replace the scopes specified in the original backchannel authentication request with. When nothing is specified for this parameter, replacement is not performed.
	Scopes []string `json:"scopes,omitempty"`
	// JSON that represents additional JWS header parameters for ID tokens.
	IdtHeaderParams *string `json:"idtHeaderParams,omitempty"`
	// The description of the error. If this optional request parameter is given, its value is used as the value of the `error_description` property, but it is used only when the result is not `AUTHORIZED`. To comply with the specification strictly, the description must not include characters outside the set `%x20-21 / %x23-5B / %x5D-7E`.
	ErrorDescription *string `json:"errorDescription,omitempty"`
	// The URI of a document which describes the error in detail. This corresponds to the `error_uri` property in the response to the client.
	ErrorUri *string `json:"errorUri,omitempty"`
	// the claims that the user has consented for the client application to know.
	ConsentedClaims []string `json:"consentedClaims,omitempty"`
	// Additional claims that are added to the payload part of the JWT access token.
	JwtAtClaims *string `json:"jwtAtClaims,omitempty"`
	// The representation of an access token that may be issued as a result of the Authlete API call.
	AccessToken *string `json:"accessToken,omitempty"`
}

BackchannelAuthenticationCompleteRequest struct for BackchannelAuthenticationCompleteRequest

func NewBackchannelAuthenticationCompleteRequest

func NewBackchannelAuthenticationCompleteRequest(ticket string, result string, subject string) *BackchannelAuthenticationCompleteRequest

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

func NewBackchannelAuthenticationCompleteRequestWithDefaults

func NewBackchannelAuthenticationCompleteRequestWithDefaults() *BackchannelAuthenticationCompleteRequest

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

func (*BackchannelAuthenticationCompleteRequest) GetAccessToken added in v1.1.1

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetAccessTokenOk added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) 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 (*BackchannelAuthenticationCompleteRequest) GetAcr

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

func (*BackchannelAuthenticationCompleteRequest) GetAcrOk

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 (*BackchannelAuthenticationCompleteRequest) GetAuthTime

GetAuthTime returns the AuthTime field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetAuthTimeOk

func (o *BackchannelAuthenticationCompleteRequest) GetAuthTimeOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteRequest) GetClaims

GetClaims returns the Claims field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetClaimsOk

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

func (*BackchannelAuthenticationCompleteRequest) GetConsentedClaims added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) GetConsentedClaims() []string

GetConsentedClaims returns the ConsentedClaims field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetConsentedClaimsOk added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) GetConsentedClaimsOk() ([]string, bool)

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

func (*BackchannelAuthenticationCompleteRequest) GetErrorDescription

func (o *BackchannelAuthenticationCompleteRequest) GetErrorDescription() string

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

func (*BackchannelAuthenticationCompleteRequest) GetErrorDescriptionOk

func (o *BackchannelAuthenticationCompleteRequest) 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 (*BackchannelAuthenticationCompleteRequest) GetErrorUri

GetErrorUri returns the ErrorUri field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetErrorUriOk

func (o *BackchannelAuthenticationCompleteRequest) GetErrorUriOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteRequest) GetIdtHeaderParams added in v1.0.0

func (o *BackchannelAuthenticationCompleteRequest) GetIdtHeaderParams() string

GetIdtHeaderParams returns the IdtHeaderParams field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetIdtHeaderParamsOk added in v1.0.0

func (o *BackchannelAuthenticationCompleteRequest) GetIdtHeaderParamsOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteRequest) GetJwtAtClaims added in v1.1.1

GetJwtAtClaims returns the JwtAtClaims field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetJwtAtClaimsOk added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) GetJwtAtClaimsOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteRequest) GetProperties

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

func (*BackchannelAuthenticationCompleteRequest) GetPropertiesOk

func (o *BackchannelAuthenticationCompleteRequest) GetPropertiesOk() ([]Property, bool)

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

func (*BackchannelAuthenticationCompleteRequest) GetResult

GetResult returns the Result field value

func (*BackchannelAuthenticationCompleteRequest) GetResultOk

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

func (*BackchannelAuthenticationCompleteRequest) GetScopes

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteRequest) GetScopesOk

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

func (*BackchannelAuthenticationCompleteRequest) GetSub

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

func (*BackchannelAuthenticationCompleteRequest) GetSubOk

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 (*BackchannelAuthenticationCompleteRequest) GetSubject

GetSubject returns the Subject field value

func (*BackchannelAuthenticationCompleteRequest) GetSubjectOk

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

func (*BackchannelAuthenticationCompleteRequest) GetTicket

GetTicket returns the Ticket field value

func (*BackchannelAuthenticationCompleteRequest) GetTicketOk

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

func (*BackchannelAuthenticationCompleteRequest) HasAccessToken added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasAcr

HasAcr returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasAuthTime

HasAuthTime returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasClaims

HasClaims returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasConsentedClaims added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) HasConsentedClaims() bool

HasConsentedClaims returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasErrorDescription

func (o *BackchannelAuthenticationCompleteRequest) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasErrorUri

HasErrorUri returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasIdtHeaderParams added in v1.0.0

func (o *BackchannelAuthenticationCompleteRequest) HasIdtHeaderParams() bool

HasIdtHeaderParams returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasJwtAtClaims added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) HasJwtAtClaims() bool

HasJwtAtClaims returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasProperties

HasProperties returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasScopes

HasScopes returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteRequest) HasSub

HasSub returns a boolean if a field has been set.

func (BackchannelAuthenticationCompleteRequest) MarshalJSON

func (*BackchannelAuthenticationCompleteRequest) SetAccessToken added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*BackchannelAuthenticationCompleteRequest) SetAcr

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

func (*BackchannelAuthenticationCompleteRequest) SetAuthTime

SetAuthTime gets a reference to the given string and assigns it to the AuthTime field.

func (*BackchannelAuthenticationCompleteRequest) SetClaims

SetClaims gets a reference to the given string and assigns it to the Claims field.

func (*BackchannelAuthenticationCompleteRequest) SetConsentedClaims added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) SetConsentedClaims(v []string)

SetConsentedClaims gets a reference to the given []string and assigns it to the ConsentedClaims field.

func (*BackchannelAuthenticationCompleteRequest) SetErrorDescription

func (o *BackchannelAuthenticationCompleteRequest) SetErrorDescription(v string)

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

func (*BackchannelAuthenticationCompleteRequest) SetErrorUri

SetErrorUri gets a reference to the given string and assigns it to the ErrorUri field.

func (*BackchannelAuthenticationCompleteRequest) SetIdtHeaderParams added in v1.0.0

func (o *BackchannelAuthenticationCompleteRequest) SetIdtHeaderParams(v string)

SetIdtHeaderParams gets a reference to the given string and assigns it to the IdtHeaderParams field.

func (*BackchannelAuthenticationCompleteRequest) SetJwtAtClaims added in v1.1.1

func (o *BackchannelAuthenticationCompleteRequest) SetJwtAtClaims(v string)

SetJwtAtClaims gets a reference to the given string and assigns it to the JwtAtClaims field.

func (*BackchannelAuthenticationCompleteRequest) SetProperties

func (o *BackchannelAuthenticationCompleteRequest) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*BackchannelAuthenticationCompleteRequest) SetResult

SetResult sets field value

func (*BackchannelAuthenticationCompleteRequest) SetScopes

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*BackchannelAuthenticationCompleteRequest) SetSub

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

func (*BackchannelAuthenticationCompleteRequest) SetSubject

SetSubject sets field value

func (*BackchannelAuthenticationCompleteRequest) SetTicket

SetTicket sets field value

func (BackchannelAuthenticationCompleteRequest) ToMap added in v1.1.1

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

type BackchannelAuthenticationCompleteResponse

type BackchannelAuthenticationCompleteResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The client ID of the client application that has made the backchannel authentication request.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias of the client application that has made the backchannel authentication request.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// `true` if the value of the client_id request parameter included in the backchannel authentication request is the client ID alias. `false` if the value is the original numeric client ID.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The name of the client application which has made the backchannel authentication request.
	ClientName   *string       `json:"clientName,omitempty"`
	DeliveryMode *DeliveryMode `json:"deliveryMode,omitempty"`
	// The client notification endpoint to which a notification needs to be sent. This corresponds to the `client_notification_endpoint` metadata of the client application.
	ClientNotificationEndpoint *string `json:"clientNotificationEndpoint,omitempty"`
	// The client notification token which needs to be embedded as a Bearer token in the Authorization header in the notification. This is the value of the `client_notification_token` request parameter included in the backchannel authentication request.
	ClientNotificationToken *string `json:"clientNotificationToken,omitempty"`
	// The newly issued authentication request ID.
	AuthReqId *string `json:"authReqId,omitempty"`
	// The issued access token.
	AccessToken *string `json:"accessToken,omitempty"`
	// The issued refresh token.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// The issued ID token.
	IdToken *string `json:"idToken,omitempty"`
	// The duration of the access token in seconds.
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The duration of the refresh token in seconds.
	RefreshTokenDuration *int64 `json:"refreshTokenDuration,omitempty"`
	// The duration of the ID token in seconds.
	IdTokenDuration *int64 `json:"idTokenDuration,omitempty"`
	// The issued access token in JWT format.
	JwtAccessToken *string `json:"jwtAccessToken,omitempty"`
	// The resources specified by the `resource` request parameters or by the `resource` property in the request object. If both are given, the values in the request object should be set. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources            []string              `json:"resources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// the value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

BackchannelAuthenticationCompleteResponse struct for BackchannelAuthenticationCompleteResponse

func NewBackchannelAuthenticationCompleteResponse

func NewBackchannelAuthenticationCompleteResponse() *BackchannelAuthenticationCompleteResponse

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

func NewBackchannelAuthenticationCompleteResponseWithDefaults

func NewBackchannelAuthenticationCompleteResponseWithDefaults() *BackchannelAuthenticationCompleteResponse

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

func (*BackchannelAuthenticationCompleteResponse) GetAccessToken

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetAccessTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetAccessTokenDurationOk

func (o *BackchannelAuthenticationCompleteResponse) GetAccessTokenDurationOk() (*int64, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetAccessTokenOk

func (o *BackchannelAuthenticationCompleteResponse) 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 (*BackchannelAuthenticationCompleteResponse) GetAction

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

func (*BackchannelAuthenticationCompleteResponse) GetActionOk

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

func (*BackchannelAuthenticationCompleteResponse) GetAuthReqId

GetAuthReqId returns the AuthReqId field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetAuthReqIdOk

func (o *BackchannelAuthenticationCompleteResponse) GetAuthReqIdOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetAuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetAuthorizationDetailsOk

func (o *BackchannelAuthenticationCompleteResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientAttributes

func (o *BackchannelAuthenticationCompleteResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientAttributesOk

func (o *BackchannelAuthenticationCompleteResponse) GetClientAttributesOk() ([]Pair, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientEntityId added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientEntityIdOk added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityIdOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientEntityIdUsed added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityIdUsedOk() (*bool, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientId

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

func (*BackchannelAuthenticationCompleteResponse) GetClientIdAlias

func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientIdAliasOk

func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAliasOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientIdAliasUsed

func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientIdAliasUsedOk

func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAliasUsedOk() (*bool, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientIdOk

func (o *BackchannelAuthenticationCompleteResponse) GetClientIdOk() (*int64, 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 (*BackchannelAuthenticationCompleteResponse) GetClientName

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

func (*BackchannelAuthenticationCompleteResponse) GetClientNameOk

func (o *BackchannelAuthenticationCompleteResponse) 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 (*BackchannelAuthenticationCompleteResponse) GetClientNotificationEndpoint

func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationEndpoint() string

GetClientNotificationEndpoint returns the ClientNotificationEndpoint field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientNotificationEndpointOk

func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationEndpointOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetClientNotificationToken

func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationToken() string

GetClientNotificationToken returns the ClientNotificationToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetClientNotificationTokenOk

func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationTokenOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetDeliveryMode

GetDeliveryMode returns the DeliveryMode field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetDeliveryModeOk

func (o *BackchannelAuthenticationCompleteResponse) GetDeliveryModeOk() (*DeliveryMode, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetGrantId added in v1.1.1

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetGrantIdOk added in v1.1.1

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

func (*BackchannelAuthenticationCompleteResponse) GetIdToken

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetIdTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) GetIdTokenDuration() int64

GetIdTokenDuration returns the IdTokenDuration field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetIdTokenDurationOk

func (o *BackchannelAuthenticationCompleteResponse) GetIdTokenDurationOk() (*int64, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetIdTokenOk

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 (*BackchannelAuthenticationCompleteResponse) GetJwtAccessToken

func (o *BackchannelAuthenticationCompleteResponse) GetJwtAccessToken() string

GetJwtAccessToken returns the JwtAccessToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetJwtAccessTokenOk

func (o *BackchannelAuthenticationCompleteResponse) GetJwtAccessTokenOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetRefreshToken

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetRefreshTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) GetRefreshTokenDuration() int64

GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetRefreshTokenDurationOk

func (o *BackchannelAuthenticationCompleteResponse) GetRefreshTokenDurationOk() (*int64, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetRefreshTokenOk

func (o *BackchannelAuthenticationCompleteResponse) 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 (*BackchannelAuthenticationCompleteResponse) GetResources

GetResources returns the Resources field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetResourcesOk

func (o *BackchannelAuthenticationCompleteResponse) GetResourcesOk() ([]string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetResponseContent

func (o *BackchannelAuthenticationCompleteResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetResponseContentOk

func (o *BackchannelAuthenticationCompleteResponse) GetResponseContentOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetResultCode

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetResultCodeOk

func (o *BackchannelAuthenticationCompleteResponse) GetResultCodeOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetResultMessage

func (o *BackchannelAuthenticationCompleteResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetResultMessageOk

func (o *BackchannelAuthenticationCompleteResponse) GetResultMessageOk() (*string, bool)

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

func (*BackchannelAuthenticationCompleteResponse) GetServiceAttributes

func (o *BackchannelAuthenticationCompleteResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*BackchannelAuthenticationCompleteResponse) GetServiceAttributesOk

func (o *BackchannelAuthenticationCompleteResponse) GetServiceAttributesOk() ([]Pair, bool)

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

func (*BackchannelAuthenticationCompleteResponse) HasAccessToken

func (o *BackchannelAuthenticationCompleteResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasAccessTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasAction

HasAction returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasAuthReqId

HasAuthReqId returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasAuthorizationDetails

func (o *BackchannelAuthenticationCompleteResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientAttributes

func (o *BackchannelAuthenticationCompleteResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientEntityId added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientEntityIdUsed added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientId

HasClientId returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientIdAlias

func (o *BackchannelAuthenticationCompleteResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientIdAliasUsed

func (o *BackchannelAuthenticationCompleteResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientName

HasClientName returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientNotificationEndpoint

func (o *BackchannelAuthenticationCompleteResponse) HasClientNotificationEndpoint() bool

HasClientNotificationEndpoint returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasClientNotificationToken

func (o *BackchannelAuthenticationCompleteResponse) HasClientNotificationToken() bool

HasClientNotificationToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasDeliveryMode

func (o *BackchannelAuthenticationCompleteResponse) HasDeliveryMode() bool

HasDeliveryMode returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasGrantId added in v1.1.1

HasGrantId returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasIdToken

HasIdToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasIdTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) HasIdTokenDuration() bool

HasIdTokenDuration returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasJwtAccessToken

func (o *BackchannelAuthenticationCompleteResponse) HasJwtAccessToken() bool

HasJwtAccessToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasRefreshToken

func (o *BackchannelAuthenticationCompleteResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasRefreshTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) HasRefreshTokenDuration() bool

HasRefreshTokenDuration returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasResources

HasResources returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasResponseContent

func (o *BackchannelAuthenticationCompleteResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasResultCode

HasResultCode returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasResultMessage

func (o *BackchannelAuthenticationCompleteResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*BackchannelAuthenticationCompleteResponse) HasServiceAttributes

func (o *BackchannelAuthenticationCompleteResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (BackchannelAuthenticationCompleteResponse) MarshalJSON

func (*BackchannelAuthenticationCompleteResponse) SetAccessToken

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*BackchannelAuthenticationCompleteResponse) SetAccessTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*BackchannelAuthenticationCompleteResponse) SetAction

SetAction gets a reference to the given string and assigns it to the Action field.

func (*BackchannelAuthenticationCompleteResponse) SetAuthReqId

SetAuthReqId gets a reference to the given string and assigns it to the AuthReqId field.

func (*BackchannelAuthenticationCompleteResponse) SetAuthorizationDetails

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*BackchannelAuthenticationCompleteResponse) SetClientAttributes

func (o *BackchannelAuthenticationCompleteResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*BackchannelAuthenticationCompleteResponse) SetClientEntityId added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*BackchannelAuthenticationCompleteResponse) SetClientEntityIdUsed added in v1.2.0

func (o *BackchannelAuthenticationCompleteResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*BackchannelAuthenticationCompleteResponse) SetClientId

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

func (*BackchannelAuthenticationCompleteResponse) SetClientIdAlias

func (o *BackchannelAuthenticationCompleteResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*BackchannelAuthenticationCompleteResponse) SetClientIdAliasUsed

func (o *BackchannelAuthenticationCompleteResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*BackchannelAuthenticationCompleteResponse) SetClientName

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*BackchannelAuthenticationCompleteResponse) SetClientNotificationEndpoint

func (o *BackchannelAuthenticationCompleteResponse) SetClientNotificationEndpoint(v string)

SetClientNotificationEndpoint gets a reference to the given string and assigns it to the ClientNotificationEndpoint field.

func (*BackchannelAuthenticationCompleteResponse) SetClientNotificationToken

func (o *BackchannelAuthenticationCompleteResponse) SetClientNotificationToken(v string)

SetClientNotificationToken gets a reference to the given string and assigns it to the ClientNotificationToken field.

func (*BackchannelAuthenticationCompleteResponse) SetDeliveryMode

SetDeliveryMode gets a reference to the given DeliveryMode and assigns it to the DeliveryMode field.

func (*BackchannelAuthenticationCompleteResponse) SetGrantId added in v1.1.1

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*BackchannelAuthenticationCompleteResponse) SetIdToken

SetIdToken gets a reference to the given string and assigns it to the IdToken field.

func (*BackchannelAuthenticationCompleteResponse) SetIdTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) SetIdTokenDuration(v int64)

SetIdTokenDuration gets a reference to the given int64 and assigns it to the IdTokenDuration field.

func (*BackchannelAuthenticationCompleteResponse) SetJwtAccessToken

func (o *BackchannelAuthenticationCompleteResponse) SetJwtAccessToken(v string)

SetJwtAccessToken gets a reference to the given string and assigns it to the JwtAccessToken field.

func (*BackchannelAuthenticationCompleteResponse) SetRefreshToken

func (o *BackchannelAuthenticationCompleteResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*BackchannelAuthenticationCompleteResponse) SetRefreshTokenDuration

func (o *BackchannelAuthenticationCompleteResponse) SetRefreshTokenDuration(v int64)

SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.

func (*BackchannelAuthenticationCompleteResponse) SetResources

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*BackchannelAuthenticationCompleteResponse) SetResponseContent

func (o *BackchannelAuthenticationCompleteResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*BackchannelAuthenticationCompleteResponse) SetResultCode

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*BackchannelAuthenticationCompleteResponse) SetResultMessage

func (o *BackchannelAuthenticationCompleteResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*BackchannelAuthenticationCompleteResponse) SetServiceAttributes

func (o *BackchannelAuthenticationCompleteResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (BackchannelAuthenticationCompleteResponse) ToMap added in v1.1.1

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

type BackchannelAuthenticationFailRequest

type BackchannelAuthenticationFailRequest struct {
	// The ticket which should be deleted on a call of Authlete's `/backchannel/authentication/fail` API. This request parameter is not mandatory but optional. If this request parameter is given and the ticket belongs to the service, the specified ticket is deleted from the database. Giving this parameter is recommended to clean up the storage area for the service.
	Ticket string `json:"ticket"`
	// The reason of the failure of the backchannel authentication request. This request parameter is not mandatory but optional. However, giving this parameter is recommended. If omitted, `SERVER_ERROR` is used as a reason.
	Reason string `json:"reason"`
	// The description of the error. This corresponds to the `error_description` property in the response to the client.
	ErrorDescription *string `json:"errorDescription,omitempty"`
	// The URI of a document which describes the error in detail. If this optional request parameter is given, its value is used as the value of the `error_uri` property.
	ErrorUri *string `json:"errorUri,omitempty"`
}

BackchannelAuthenticationFailRequest struct for BackchannelAuthenticationFailRequest

func NewBackchannelAuthenticationFailRequest

func NewBackchannelAuthenticationFailRequest(ticket string, reason string) *BackchannelAuthenticationFailRequest

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

func NewBackchannelAuthenticationFailRequestWithDefaults

func NewBackchannelAuthenticationFailRequestWithDefaults() *BackchannelAuthenticationFailRequest

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

func (*BackchannelAuthenticationFailRequest) GetErrorDescription

func (o *BackchannelAuthenticationFailRequest) GetErrorDescription() string

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

func (*BackchannelAuthenticationFailRequest) GetErrorDescriptionOk

func (o *BackchannelAuthenticationFailRequest) 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 (*BackchannelAuthenticationFailRequest) GetErrorUri

GetErrorUri returns the ErrorUri field value if set, zero value otherwise.

func (*BackchannelAuthenticationFailRequest) GetErrorUriOk

func (o *BackchannelAuthenticationFailRequest) GetErrorUriOk() (*string, bool)

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

func (*BackchannelAuthenticationFailRequest) GetReason

GetReason returns the Reason field value

func (*BackchannelAuthenticationFailRequest) GetReasonOk

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

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

func (*BackchannelAuthenticationFailRequest) GetTicket

GetTicket returns the Ticket field value

func (*BackchannelAuthenticationFailRequest) GetTicketOk

func (o *BackchannelAuthenticationFailRequest) GetTicketOk() (*string, bool)

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

func (*BackchannelAuthenticationFailRequest) HasErrorDescription

func (o *BackchannelAuthenticationFailRequest) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*BackchannelAuthenticationFailRequest) HasErrorUri

func (o *BackchannelAuthenticationFailRequest) HasErrorUri() bool

HasErrorUri returns a boolean if a field has been set.

func (BackchannelAuthenticationFailRequest) MarshalJSON

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

func (*BackchannelAuthenticationFailRequest) SetErrorDescription

func (o *BackchannelAuthenticationFailRequest) SetErrorDescription(v string)

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

func (*BackchannelAuthenticationFailRequest) SetErrorUri

func (o *BackchannelAuthenticationFailRequest) SetErrorUri(v string)

SetErrorUri gets a reference to the given string and assigns it to the ErrorUri field.

func (*BackchannelAuthenticationFailRequest) SetReason

SetReason sets field value

func (*BackchannelAuthenticationFailRequest) SetTicket

SetTicket sets field value

func (BackchannelAuthenticationFailRequest) ToMap added in v1.1.1

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

type BackchannelAuthenticationFailResponse

type BackchannelAuthenticationFailResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
}

BackchannelAuthenticationFailResponse struct for BackchannelAuthenticationFailResponse

func NewBackchannelAuthenticationFailResponse

func NewBackchannelAuthenticationFailResponse() *BackchannelAuthenticationFailResponse

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

func NewBackchannelAuthenticationFailResponseWithDefaults

func NewBackchannelAuthenticationFailResponseWithDefaults() *BackchannelAuthenticationFailResponse

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

func (*BackchannelAuthenticationFailResponse) GetAction

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

func (*BackchannelAuthenticationFailResponse) GetActionOk

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

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

func (*BackchannelAuthenticationFailResponse) GetResponseContent

func (o *BackchannelAuthenticationFailResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*BackchannelAuthenticationFailResponse) GetResponseContentOk

func (o *BackchannelAuthenticationFailResponse) GetResponseContentOk() (*string, bool)

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

func (*BackchannelAuthenticationFailResponse) GetResultCode

func (o *BackchannelAuthenticationFailResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*BackchannelAuthenticationFailResponse) GetResultCodeOk

func (o *BackchannelAuthenticationFailResponse) GetResultCodeOk() (*string, bool)

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

func (*BackchannelAuthenticationFailResponse) GetResultMessage

func (o *BackchannelAuthenticationFailResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*BackchannelAuthenticationFailResponse) GetResultMessageOk

func (o *BackchannelAuthenticationFailResponse) GetResultMessageOk() (*string, bool)

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

func (*BackchannelAuthenticationFailResponse) HasAction

HasAction returns a boolean if a field has been set.

func (*BackchannelAuthenticationFailResponse) HasResponseContent

func (o *BackchannelAuthenticationFailResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*BackchannelAuthenticationFailResponse) HasResultCode

func (o *BackchannelAuthenticationFailResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*BackchannelAuthenticationFailResponse) HasResultMessage

func (o *BackchannelAuthenticationFailResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (BackchannelAuthenticationFailResponse) MarshalJSON

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

func (*BackchannelAuthenticationFailResponse) SetAction

SetAction gets a reference to the given string and assigns it to the Action field.

func (*BackchannelAuthenticationFailResponse) SetResponseContent

func (o *BackchannelAuthenticationFailResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*BackchannelAuthenticationFailResponse) SetResultCode

func (o *BackchannelAuthenticationFailResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*BackchannelAuthenticationFailResponse) SetResultMessage

func (o *BackchannelAuthenticationFailResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (BackchannelAuthenticationFailResponse) ToMap added in v1.1.1

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

type BackchannelAuthenticationIssueRequest

type BackchannelAuthenticationIssueRequest struct {
	// The ticket issued from Authlete's `/backchannel/authentication` API.
	Ticket string `json:"ticket"`
}

BackchannelAuthenticationIssueRequest struct for BackchannelAuthenticationIssueRequest

func NewBackchannelAuthenticationIssueRequest

func NewBackchannelAuthenticationIssueRequest(ticket string) *BackchannelAuthenticationIssueRequest

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

func NewBackchannelAuthenticationIssueRequestWithDefaults

func NewBackchannelAuthenticationIssueRequestWithDefaults() *BackchannelAuthenticationIssueRequest

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

func (*BackchannelAuthenticationIssueRequest) GetTicket

GetTicket returns the Ticket field value

func (*BackchannelAuthenticationIssueRequest) GetTicketOk

func (o *BackchannelAuthenticationIssueRequest) GetTicketOk() (*string, bool)

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

func (BackchannelAuthenticationIssueRequest) MarshalJSON

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

func (*BackchannelAuthenticationIssueRequest) SetTicket

SetTicket sets field value

func (BackchannelAuthenticationIssueRequest) ToMap added in v1.1.1

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

type BackchannelAuthenticationIssueResponse

type BackchannelAuthenticationIssueResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The newly issued authentication request ID.
	AuthReqId *string `json:"authReqId,omitempty"`
	// The duration of the issued authentication request ID in seconds.
	ExpiresIn *int32 `json:"expiresIn,omitempty"`
	// The minimum amount of time in seconds that the client must wait for between polling requests to the token endpoint.
	Interval *int32 `json:"interval,omitempty"`
}

BackchannelAuthenticationIssueResponse struct for BackchannelAuthenticationIssueResponse

func NewBackchannelAuthenticationIssueResponse

func NewBackchannelAuthenticationIssueResponse() *BackchannelAuthenticationIssueResponse

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

func NewBackchannelAuthenticationIssueResponseWithDefaults

func NewBackchannelAuthenticationIssueResponseWithDefaults() *BackchannelAuthenticationIssueResponse

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

func (*BackchannelAuthenticationIssueResponse) GetAction

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

func (*BackchannelAuthenticationIssueResponse) GetActionOk

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

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

func (*BackchannelAuthenticationIssueResponse) GetAuthReqId

GetAuthReqId returns the AuthReqId field value if set, zero value otherwise.

func (*BackchannelAuthenticationIssueResponse) GetAuthReqIdOk

func (o *BackchannelAuthenticationIssueResponse) GetAuthReqIdOk() (*string, bool)

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

func (*BackchannelAuthenticationIssueResponse) GetExpiresIn

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

func (*BackchannelAuthenticationIssueResponse) GetExpiresInOk

func (o *BackchannelAuthenticationIssueResponse) GetExpiresInOk() (*int32, 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 (*BackchannelAuthenticationIssueResponse) GetInterval

GetInterval returns the Interval field value if set, zero value otherwise.

func (*BackchannelAuthenticationIssueResponse) GetIntervalOk

func (o *BackchannelAuthenticationIssueResponse) GetIntervalOk() (*int32, bool)

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

func (*BackchannelAuthenticationIssueResponse) GetResponseContent

func (o *BackchannelAuthenticationIssueResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*BackchannelAuthenticationIssueResponse) GetResponseContentOk

func (o *BackchannelAuthenticationIssueResponse) GetResponseContentOk() (*string, bool)

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

func (*BackchannelAuthenticationIssueResponse) GetResultCode

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*BackchannelAuthenticationIssueResponse) GetResultCodeOk

func (o *BackchannelAuthenticationIssueResponse) GetResultCodeOk() (*string, bool)

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

func (*BackchannelAuthenticationIssueResponse) GetResultMessage

func (o *BackchannelAuthenticationIssueResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*BackchannelAuthenticationIssueResponse) GetResultMessageOk

func (o *BackchannelAuthenticationIssueResponse) GetResultMessageOk() (*string, bool)

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

func (*BackchannelAuthenticationIssueResponse) HasAction

HasAction returns a boolean if a field has been set.

func (*BackchannelAuthenticationIssueResponse) HasAuthReqId

func (o *BackchannelAuthenticationIssueResponse) HasAuthReqId() bool

HasAuthReqId returns a boolean if a field has been set.

func (*BackchannelAuthenticationIssueResponse) HasExpiresIn

func (o *BackchannelAuthenticationIssueResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*BackchannelAuthenticationIssueResponse) HasInterval

HasInterval returns a boolean if a field has been set.

func (*BackchannelAuthenticationIssueResponse) HasResponseContent

func (o *BackchannelAuthenticationIssueResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*BackchannelAuthenticationIssueResponse) HasResultCode

func (o *BackchannelAuthenticationIssueResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*BackchannelAuthenticationIssueResponse) HasResultMessage

func (o *BackchannelAuthenticationIssueResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (BackchannelAuthenticationIssueResponse) MarshalJSON

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

func (*BackchannelAuthenticationIssueResponse) SetAction

SetAction gets a reference to the given string and assigns it to the Action field.

func (*BackchannelAuthenticationIssueResponse) SetAuthReqId

SetAuthReqId gets a reference to the given string and assigns it to the AuthReqId field.

func (*BackchannelAuthenticationIssueResponse) SetExpiresIn

func (o *BackchannelAuthenticationIssueResponse) SetExpiresIn(v int32)

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

func (*BackchannelAuthenticationIssueResponse) SetInterval

SetInterval gets a reference to the given int32 and assigns it to the Interval field.

func (*BackchannelAuthenticationIssueResponse) SetResponseContent

func (o *BackchannelAuthenticationIssueResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*BackchannelAuthenticationIssueResponse) SetResultCode

func (o *BackchannelAuthenticationIssueResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*BackchannelAuthenticationIssueResponse) SetResultMessage

func (o *BackchannelAuthenticationIssueResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (BackchannelAuthenticationIssueResponse) ToMap added in v1.1.1

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

type BackchannelAuthenticationRequest

type BackchannelAuthenticationRequest struct {
	// Parameters of a backchannel authentication request which are the request parameters that the backchannel authentication endpoint of the OpenID provider implementation received from the client application.  The value of `parameters` is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
	Parameters string `json:"parameters"`
	// The client ID extracted from Authorization header of the backchannel authentication request from the client application.  If the backchannel authentication endpoint of the OpenID provider implementation supports Basic Authentication as a means of client authentication, and the request from the client application contained its client ID in Authorization header, the value should be extracted and set to this parameter.
	ClientId *string `json:"clientId,omitempty"`
	// The client secret extracted from Authorization header of the backchannel authentication request from the client application.  If the backchannel authentication endpoint of the OpenID provider implementation supports Basic Authentication as a means of client authentication, and the request from the client application contained its client secret in Authorization header, the value should be extracted and set to this parameter.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The client certification used in the TLS connection between the client application and the backchannel authentication endpoint of the OpenID provider.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// The client certificate path presented by the client during client authentication. Each element is a string in PEM format.
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty"`
}

BackchannelAuthenticationRequest struct for BackchannelAuthenticationRequest

func NewBackchannelAuthenticationRequest

func NewBackchannelAuthenticationRequest(parameters string) *BackchannelAuthenticationRequest

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

func NewBackchannelAuthenticationRequestWithDefaults

func NewBackchannelAuthenticationRequestWithDefaults() *BackchannelAuthenticationRequest

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

func (*BackchannelAuthenticationRequest) GetClientCertificate

func (o *BackchannelAuthenticationRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*BackchannelAuthenticationRequest) GetClientCertificateOk

func (o *BackchannelAuthenticationRequest) GetClientCertificateOk() (*string, bool)

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

func (*BackchannelAuthenticationRequest) GetClientCertificatePath

func (o *BackchannelAuthenticationRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field value if set, zero value otherwise.

func (*BackchannelAuthenticationRequest) GetClientCertificatePathOk

func (o *BackchannelAuthenticationRequest) GetClientCertificatePathOk() (*string, bool)

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

func (*BackchannelAuthenticationRequest) GetClientId

func (o *BackchannelAuthenticationRequest) GetClientId() string

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

func (*BackchannelAuthenticationRequest) GetClientIdOk

func (o *BackchannelAuthenticationRequest) 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 (*BackchannelAuthenticationRequest) GetClientSecret

func (o *BackchannelAuthenticationRequest) GetClientSecret() string

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

func (*BackchannelAuthenticationRequest) GetClientSecretOk

func (o *BackchannelAuthenticationRequest) 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 (*BackchannelAuthenticationRequest) GetParameters

func (o *BackchannelAuthenticationRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*BackchannelAuthenticationRequest) GetParametersOk

func (o *BackchannelAuthenticationRequest) GetParametersOk() (*string, bool)

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

func (*BackchannelAuthenticationRequest) HasClientCertificate

func (o *BackchannelAuthenticationRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*BackchannelAuthenticationRequest) HasClientCertificatePath

func (o *BackchannelAuthenticationRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

func (*BackchannelAuthenticationRequest) HasClientId

func (o *BackchannelAuthenticationRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*BackchannelAuthenticationRequest) HasClientSecret

func (o *BackchannelAuthenticationRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (BackchannelAuthenticationRequest) MarshalJSON

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

func (*BackchannelAuthenticationRequest) SetClientCertificate

func (o *BackchannelAuthenticationRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*BackchannelAuthenticationRequest) SetClientCertificatePath

func (o *BackchannelAuthenticationRequest) SetClientCertificatePath(v string)

SetClientCertificatePath gets a reference to the given string and assigns it to the ClientCertificatePath field.

func (*BackchannelAuthenticationRequest) SetClientId

func (o *BackchannelAuthenticationRequest) SetClientId(v string)

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

func (*BackchannelAuthenticationRequest) SetClientSecret

func (o *BackchannelAuthenticationRequest) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*BackchannelAuthenticationRequest) SetParameters

func (o *BackchannelAuthenticationRequest) SetParameters(v string)

SetParameters sets field value

func (BackchannelAuthenticationRequest) ToMap added in v1.1.1

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

type BackchannelAuthenticationResponse

type BackchannelAuthenticationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The client ID of the client application that has made the backchannel authentication request.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias of the client application that has made the backchannel authentication request.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// `true` if the value of the client_id request parameter included in the backchannel authentication request is the client ID alias. `false` if the value is the original numeric client ID.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The name of the client application which has made the backchannel authentication request.
	ClientName *string `json:"clientName,omitempty"`
	// The scopes requested by the backchannel authentication request.  Basically, this property holds the value of the `scope` request parameter in the backchannel authentication request. However, because unregistered scopes are dropped on Authlete side, if the `scope` request parameter contains unknown scopes, the list returned by this property becomes different from the value of the `scope` request parameter.  Note that `description` property and `descriptions` property of each `scope` object in the array contained in this property is always null even if descriptions of the scopes are registered.
	Scopes []Scope `json:"scopes,omitempty"`
	// The names of the claims which were requested indirectly via some special scopes. See [5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) in OpenID Connect Core 1.0 for details.
	ClaimNames []string `json:"claimNames,omitempty"`
	// The client notification token included in the backchannel authentication request.
	ClientNotificationToken *string `json:"clientNotificationToken,omitempty"`
	// The list of ACR values requested by the backchannel authentication request.  Basically, this property holds the value of the `acr_values` request parameter in the backchannel authentication request. However, because unsupported ACR values are dropped on Authlete side, if the `acr_values` request parameter contains unrecognized ACR values, the list returned by this property becomes different from the value of the `acr_values` request parameter.
	Acrs []string `json:"acrs,omitempty"`
	// The type of the hint for end-user identification which was included in the backchannel authentication request.
	HintType *string `json:"hintType,omitempty"`
	// The value of the hint for end-user identification.
	Hint *string `json:"hint,omitempty"`
	// The value of the `sub` claim contained in the ID token hint included in the backchannel authentication request.
	Sub *string `json:"sub,omitempty"`
	// The binding message included in the backchannel authentication request.
	BindingMessage *string `json:"bindingMessage,omitempty"`
	// The binding message included in the backchannel authentication request.
	UserCode *string `json:"userCode,omitempty"`
	// The flag which indicates whether a user code is required.  `true` when both the `backchannel_user_code_parameter` metadata of the client (= Client's `bcUserCodeRequired` property) and the `backchannel_user_code_parameter_supported` metadata of the service (= Service's `backchannelUserCodeParameterSupported` property) are `true`.
	UserCodeRequired *bool `json:"userCodeRequired,omitempty"`
	// The requested expiry for the authentication request ID (`auth_req_id`).
	RequestedExpiry *int32 `json:"requestedExpiry,omitempty"`
	// The request context of the backchannel authentication request.  It is the value of the request_context claim in the signed authentication request and its format is JSON. request_context is a new claim added by the FAPI-CIBA profile.
	RequestContext *string `json:"requestContext,omitempty"`
	// The warnings raised during processing the backchannel authentication request.
	Warnings []string `json:"warnings,omitempty"`
	// The ticket which is necessary to call Authlete's `/auth/token/fail` API or `/auth/token/issue` API.  This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
	Ticket *string `json:"ticket,omitempty"`
	// The resources specified by the `resource` request parameters or by the `resource` property in the request object. If both are given, the values in the request object should be set. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources            []string              `json:"resources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// The dynamic scopes which the client application requested by the scope request parameter.
	DynamicScopes []DynamicScope `json:"dynamicScopes,omitempty"`
	DeliveryMode  *DeliveryMode  `json:"deliveryMode,omitempty"`
	// The client authentication method that was performed.
	ClientAuthMethod *string                `json:"clientAuthMethod,omitempty"`
	GmAction         *GrantManagementAction `json:"gmAction,omitempty"`
	// the value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	Grant   *Grant  `json:"grant,omitempty"`
	// The subject identifying the user who has given the grant identified by the `grant_id` request parameter of the device authorization request.  Authlete 2.3 and newer versions support <a href= \"https://openid.net/specs/fapi-grant-management.html\">Grant Management for OAuth 2.0</a>. An authorization request may contain a {@code grant_id} request parameter which is defined in the specification. If the value of the request parameter is valid, {@link #getGrantSubject()} will return the subject of the user who has given the grant to the client application. Authorization server implementations may use the value returned from {@link #getGrantSubject()} in order to determine the user to authenticate.  The user your system will authenticate during the authorization process (or has already authenticated) may be different from the user of the grant. The first implementer's draft of \"Grant Management for OAuth 2.0\" does not mention anything about the case, so the behavior in the case is left to implementations. Authlete will not perform the grant management action when the {@code subject} passed to Authlete does not match the user of the grant.
	GrantSubject *string `json:"grantSubject,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

BackchannelAuthenticationResponse struct for BackchannelAuthenticationResponse

func NewBackchannelAuthenticationResponse

func NewBackchannelAuthenticationResponse() *BackchannelAuthenticationResponse

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

func NewBackchannelAuthenticationResponseWithDefaults

func NewBackchannelAuthenticationResponseWithDefaults() *BackchannelAuthenticationResponse

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

func (*BackchannelAuthenticationResponse) GetAcrs

GetAcrs returns the Acrs field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetAcrsOk

func (o *BackchannelAuthenticationResponse) GetAcrsOk() ([]string, bool)

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

func (*BackchannelAuthenticationResponse) GetAction

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

func (*BackchannelAuthenticationResponse) GetActionOk

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

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

func (*BackchannelAuthenticationResponse) GetAuthorizationDetails

func (o *BackchannelAuthenticationResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetAuthorizationDetailsOk

func (o *BackchannelAuthenticationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

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

func (*BackchannelAuthenticationResponse) GetBindingMessage

func (o *BackchannelAuthenticationResponse) GetBindingMessage() string

GetBindingMessage returns the BindingMessage field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetBindingMessageOk

func (o *BackchannelAuthenticationResponse) GetBindingMessageOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetClaimNames

func (o *BackchannelAuthenticationResponse) GetClaimNames() []string

GetClaimNames returns the ClaimNames field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClaimNamesOk

func (o *BackchannelAuthenticationResponse) GetClaimNamesOk() ([]string, bool)

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

func (*BackchannelAuthenticationResponse) GetClientAttributes

func (o *BackchannelAuthenticationResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientAttributesOk

func (o *BackchannelAuthenticationResponse) GetClientAttributesOk() ([]Pair, bool)

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

func (*BackchannelAuthenticationResponse) GetClientAuthMethod added in v1.0.0

func (o *BackchannelAuthenticationResponse) GetClientAuthMethod() string

GetClientAuthMethod returns the ClientAuthMethod field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientAuthMethodOk added in v1.0.0

func (o *BackchannelAuthenticationResponse) GetClientAuthMethodOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetClientEntityId added in v1.2.0

func (o *BackchannelAuthenticationResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientEntityIdOk added in v1.2.0

func (o *BackchannelAuthenticationResponse) GetClientEntityIdOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetClientEntityIdUsed added in v1.2.0

func (o *BackchannelAuthenticationResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *BackchannelAuthenticationResponse) GetClientEntityIdUsedOk() (*bool, bool)

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

func (*BackchannelAuthenticationResponse) GetClientId

func (o *BackchannelAuthenticationResponse) GetClientId() int64

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

func (*BackchannelAuthenticationResponse) GetClientIdAlias

func (o *BackchannelAuthenticationResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientIdAliasOk

func (o *BackchannelAuthenticationResponse) GetClientIdAliasOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetClientIdAliasUsed

func (o *BackchannelAuthenticationResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientIdAliasUsedOk

func (o *BackchannelAuthenticationResponse) GetClientIdAliasUsedOk() (*bool, bool)

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

func (*BackchannelAuthenticationResponse) GetClientIdOk

func (o *BackchannelAuthenticationResponse) GetClientIdOk() (*int64, 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 (*BackchannelAuthenticationResponse) GetClientName

func (o *BackchannelAuthenticationResponse) GetClientName() string

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

func (*BackchannelAuthenticationResponse) GetClientNameOk

func (o *BackchannelAuthenticationResponse) 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 (*BackchannelAuthenticationResponse) GetClientNotificationToken

func (o *BackchannelAuthenticationResponse) GetClientNotificationToken() string

GetClientNotificationToken returns the ClientNotificationToken field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetClientNotificationTokenOk

func (o *BackchannelAuthenticationResponse) GetClientNotificationTokenOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetDeliveryMode

func (o *BackchannelAuthenticationResponse) GetDeliveryMode() DeliveryMode

GetDeliveryMode returns the DeliveryMode field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetDeliveryModeOk

func (o *BackchannelAuthenticationResponse) GetDeliveryModeOk() (*DeliveryMode, bool)

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

func (*BackchannelAuthenticationResponse) GetDynamicScopes

func (o *BackchannelAuthenticationResponse) GetDynamicScopes() []DynamicScope

GetDynamicScopes returns the DynamicScopes field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetDynamicScopesOk

func (o *BackchannelAuthenticationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)

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

func (*BackchannelAuthenticationResponse) GetGmAction added in v1.1.1

GetGmAction returns the GmAction field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetGmActionOk added in v1.1.1

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

func (*BackchannelAuthenticationResponse) GetGrant added in v1.1.1

GetGrant returns the Grant field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetGrantId added in v1.1.1

func (o *BackchannelAuthenticationResponse) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetGrantIdOk added in v1.1.1

func (o *BackchannelAuthenticationResponse) GetGrantIdOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetGrantOk added in v1.1.1

func (o *BackchannelAuthenticationResponse) GetGrantOk() (*Grant, bool)

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

func (*BackchannelAuthenticationResponse) GetGrantSubject added in v1.1.1

func (o *BackchannelAuthenticationResponse) GetGrantSubject() string

GetGrantSubject returns the GrantSubject field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetGrantSubjectOk added in v1.1.1

func (o *BackchannelAuthenticationResponse) GetGrantSubjectOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetHint

GetHint returns the Hint field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetHintOk

func (o *BackchannelAuthenticationResponse) GetHintOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetHintType

func (o *BackchannelAuthenticationResponse) GetHintType() string

GetHintType returns the HintType field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetHintTypeOk

func (o *BackchannelAuthenticationResponse) GetHintTypeOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetRequestContext

func (o *BackchannelAuthenticationResponse) GetRequestContext() string

GetRequestContext returns the RequestContext field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetRequestContextOk

func (o *BackchannelAuthenticationResponse) GetRequestContextOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetRequestedExpiry

func (o *BackchannelAuthenticationResponse) GetRequestedExpiry() int32

GetRequestedExpiry returns the RequestedExpiry field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetRequestedExpiryOk

func (o *BackchannelAuthenticationResponse) GetRequestedExpiryOk() (*int32, bool)

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

func (*BackchannelAuthenticationResponse) GetResources

func (o *BackchannelAuthenticationResponse) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetResourcesOk

func (o *BackchannelAuthenticationResponse) GetResourcesOk() ([]string, bool)

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

func (*BackchannelAuthenticationResponse) GetResponseContent

func (o *BackchannelAuthenticationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetResponseContentOk

func (o *BackchannelAuthenticationResponse) GetResponseContentOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetResultCode

func (o *BackchannelAuthenticationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetResultCodeOk

func (o *BackchannelAuthenticationResponse) GetResultCodeOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetResultMessage

func (o *BackchannelAuthenticationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetResultMessageOk

func (o *BackchannelAuthenticationResponse) GetResultMessageOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetScopes

func (o *BackchannelAuthenticationResponse) GetScopes() []Scope

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetScopesOk

func (o *BackchannelAuthenticationResponse) GetScopesOk() ([]Scope, bool)

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

func (*BackchannelAuthenticationResponse) GetServiceAttributes

func (o *BackchannelAuthenticationResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetServiceAttributesOk

func (o *BackchannelAuthenticationResponse) GetServiceAttributesOk() ([]Pair, bool)

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

func (*BackchannelAuthenticationResponse) GetSub

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

func (*BackchannelAuthenticationResponse) GetSubOk

func (o *BackchannelAuthenticationResponse) 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 (*BackchannelAuthenticationResponse) GetTicket

GetTicket returns the Ticket field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetTicketOk

func (o *BackchannelAuthenticationResponse) GetTicketOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetUserCode

func (o *BackchannelAuthenticationResponse) GetUserCode() string

GetUserCode returns the UserCode field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetUserCodeOk

func (o *BackchannelAuthenticationResponse) GetUserCodeOk() (*string, bool)

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

func (*BackchannelAuthenticationResponse) GetUserCodeRequired

func (o *BackchannelAuthenticationResponse) GetUserCodeRequired() bool

GetUserCodeRequired returns the UserCodeRequired field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetUserCodeRequiredOk

func (o *BackchannelAuthenticationResponse) GetUserCodeRequiredOk() (*bool, bool)

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

func (*BackchannelAuthenticationResponse) GetWarnings

func (o *BackchannelAuthenticationResponse) GetWarnings() []string

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*BackchannelAuthenticationResponse) GetWarningsOk

func (o *BackchannelAuthenticationResponse) GetWarningsOk() ([]string, bool)

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

func (*BackchannelAuthenticationResponse) HasAcrs

HasAcrs returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasAction

func (o *BackchannelAuthenticationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasAuthorizationDetails

func (o *BackchannelAuthenticationResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasBindingMessage

func (o *BackchannelAuthenticationResponse) HasBindingMessage() bool

HasBindingMessage returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClaimNames

func (o *BackchannelAuthenticationResponse) HasClaimNames() bool

HasClaimNames returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientAttributes

func (o *BackchannelAuthenticationResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientAuthMethod added in v1.0.0

func (o *BackchannelAuthenticationResponse) HasClientAuthMethod() bool

HasClientAuthMethod returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientEntityId added in v1.2.0

func (o *BackchannelAuthenticationResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientEntityIdUsed added in v1.2.0

func (o *BackchannelAuthenticationResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientId

func (o *BackchannelAuthenticationResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientIdAlias

func (o *BackchannelAuthenticationResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientIdAliasUsed

func (o *BackchannelAuthenticationResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientName

func (o *BackchannelAuthenticationResponse) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasClientNotificationToken

func (o *BackchannelAuthenticationResponse) HasClientNotificationToken() bool

HasClientNotificationToken returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasDeliveryMode

func (o *BackchannelAuthenticationResponse) HasDeliveryMode() bool

HasDeliveryMode returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasDynamicScopes

func (o *BackchannelAuthenticationResponse) HasDynamicScopes() bool

HasDynamicScopes returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasGmAction added in v1.1.1

func (o *BackchannelAuthenticationResponse) HasGmAction() bool

HasGmAction returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasGrant added in v1.1.1

HasGrant returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasGrantId added in v1.1.1

func (o *BackchannelAuthenticationResponse) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasGrantSubject added in v1.1.1

func (o *BackchannelAuthenticationResponse) HasGrantSubject() bool

HasGrantSubject returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasHint

HasHint returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasHintType

func (o *BackchannelAuthenticationResponse) HasHintType() bool

HasHintType returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasRequestContext

func (o *BackchannelAuthenticationResponse) HasRequestContext() bool

HasRequestContext returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasRequestedExpiry

func (o *BackchannelAuthenticationResponse) HasRequestedExpiry() bool

HasRequestedExpiry returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasResources

func (o *BackchannelAuthenticationResponse) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasResponseContent

func (o *BackchannelAuthenticationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasResultCode

func (o *BackchannelAuthenticationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasResultMessage

func (o *BackchannelAuthenticationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasScopes

func (o *BackchannelAuthenticationResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasServiceAttributes

func (o *BackchannelAuthenticationResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasSub

HasSub returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasTicket

func (o *BackchannelAuthenticationResponse) HasTicket() bool

HasTicket returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasUserCode

func (o *BackchannelAuthenticationResponse) HasUserCode() bool

HasUserCode returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasUserCodeRequired

func (o *BackchannelAuthenticationResponse) HasUserCodeRequired() bool

HasUserCodeRequired returns a boolean if a field has been set.

func (*BackchannelAuthenticationResponse) HasWarnings

func (o *BackchannelAuthenticationResponse) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (BackchannelAuthenticationResponse) MarshalJSON

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

func (*BackchannelAuthenticationResponse) SetAcrs

func (o *BackchannelAuthenticationResponse) SetAcrs(v []string)

SetAcrs gets a reference to the given []string and assigns it to the Acrs field.

func (*BackchannelAuthenticationResponse) SetAction

func (o *BackchannelAuthenticationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*BackchannelAuthenticationResponse) SetAuthorizationDetails

func (o *BackchannelAuthenticationResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*BackchannelAuthenticationResponse) SetBindingMessage

func (o *BackchannelAuthenticationResponse) SetBindingMessage(v string)

SetBindingMessage gets a reference to the given string and assigns it to the BindingMessage field.

func (*BackchannelAuthenticationResponse) SetClaimNames

func (o *BackchannelAuthenticationResponse) SetClaimNames(v []string)

SetClaimNames gets a reference to the given []string and assigns it to the ClaimNames field.

func (*BackchannelAuthenticationResponse) SetClientAttributes

func (o *BackchannelAuthenticationResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*BackchannelAuthenticationResponse) SetClientAuthMethod added in v1.0.0

func (o *BackchannelAuthenticationResponse) SetClientAuthMethod(v string)

SetClientAuthMethod gets a reference to the given string and assigns it to the ClientAuthMethod field.

func (*BackchannelAuthenticationResponse) SetClientEntityId added in v1.2.0

func (o *BackchannelAuthenticationResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*BackchannelAuthenticationResponse) SetClientEntityIdUsed added in v1.2.0

func (o *BackchannelAuthenticationResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*BackchannelAuthenticationResponse) SetClientId

func (o *BackchannelAuthenticationResponse) SetClientId(v int64)

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

func (*BackchannelAuthenticationResponse) SetClientIdAlias

func (o *BackchannelAuthenticationResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*BackchannelAuthenticationResponse) SetClientIdAliasUsed

func (o *BackchannelAuthenticationResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*BackchannelAuthenticationResponse) SetClientName

func (o *BackchannelAuthenticationResponse) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*BackchannelAuthenticationResponse) SetClientNotificationToken

func (o *BackchannelAuthenticationResponse) SetClientNotificationToken(v string)

SetClientNotificationToken gets a reference to the given string and assigns it to the ClientNotificationToken field.

func (*BackchannelAuthenticationResponse) SetDeliveryMode

func (o *BackchannelAuthenticationResponse) SetDeliveryMode(v DeliveryMode)

SetDeliveryMode gets a reference to the given DeliveryMode and assigns it to the DeliveryMode field.

func (*BackchannelAuthenticationResponse) SetDynamicScopes

func (o *BackchannelAuthenticationResponse) SetDynamicScopes(v []DynamicScope)

SetDynamicScopes gets a reference to the given []DynamicScope and assigns it to the DynamicScopes field.

func (*BackchannelAuthenticationResponse) SetGmAction added in v1.1.1

SetGmAction gets a reference to the given GrantManagementAction and assigns it to the GmAction field.

func (*BackchannelAuthenticationResponse) SetGrant added in v1.1.1

SetGrant gets a reference to the given Grant and assigns it to the Grant field.

func (*BackchannelAuthenticationResponse) SetGrantId added in v1.1.1

func (o *BackchannelAuthenticationResponse) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*BackchannelAuthenticationResponse) SetGrantSubject added in v1.1.1

func (o *BackchannelAuthenticationResponse) SetGrantSubject(v string)

SetGrantSubject gets a reference to the given string and assigns it to the GrantSubject field.

func (*BackchannelAuthenticationResponse) SetHint

SetHint gets a reference to the given string and assigns it to the Hint field.

func (*BackchannelAuthenticationResponse) SetHintType

func (o *BackchannelAuthenticationResponse) SetHintType(v string)

SetHintType gets a reference to the given string and assigns it to the HintType field.

func (*BackchannelAuthenticationResponse) SetRequestContext

func (o *BackchannelAuthenticationResponse) SetRequestContext(v string)

SetRequestContext gets a reference to the given string and assigns it to the RequestContext field.

func (*BackchannelAuthenticationResponse) SetRequestedExpiry

func (o *BackchannelAuthenticationResponse) SetRequestedExpiry(v int32)

SetRequestedExpiry gets a reference to the given int32 and assigns it to the RequestedExpiry field.

func (*BackchannelAuthenticationResponse) SetResources

func (o *BackchannelAuthenticationResponse) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*BackchannelAuthenticationResponse) SetResponseContent

func (o *BackchannelAuthenticationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*BackchannelAuthenticationResponse) SetResultCode

func (o *BackchannelAuthenticationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*BackchannelAuthenticationResponse) SetResultMessage

func (o *BackchannelAuthenticationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*BackchannelAuthenticationResponse) SetScopes

func (o *BackchannelAuthenticationResponse) SetScopes(v []Scope)

SetScopes gets a reference to the given []Scope and assigns it to the Scopes field.

func (*BackchannelAuthenticationResponse) SetServiceAttributes

func (o *BackchannelAuthenticationResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (*BackchannelAuthenticationResponse) SetSub

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

func (*BackchannelAuthenticationResponse) SetTicket

func (o *BackchannelAuthenticationResponse) SetTicket(v string)

SetTicket gets a reference to the given string and assigns it to the Ticket field.

func (*BackchannelAuthenticationResponse) SetUserCode

func (o *BackchannelAuthenticationResponse) SetUserCode(v string)

SetUserCode gets a reference to the given string and assigns it to the UserCode field.

func (*BackchannelAuthenticationResponse) SetUserCodeRequired

func (o *BackchannelAuthenticationResponse) SetUserCodeRequired(v bool)

SetUserCodeRequired gets a reference to the given bool and assigns it to the UserCodeRequired field.

func (*BackchannelAuthenticationResponse) SetWarnings

func (o *BackchannelAuthenticationResponse) SetWarnings(v []string)

SetWarnings gets a reference to the given []string and assigns it to the Warnings field.

func (BackchannelAuthenticationResponse) ToMap added in v1.1.1

func (o BackchannelAuthenticationResponse) ToMap() (map[string]interface{}, 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 CIBAApi

type CIBAApi interface {

	/*
		BackchannelAuthenticationApi /api/backchannel/authentication API

		This API parses request parameters of a [backchannel authentication request](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_request)
	and returns necessary data for the authorization server implementation to process the backchannel
	authentication request further.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the [backchannel authentication
	endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint)
	of the service. The endpoint implementation must extract the request parameters from the
	backchannel authentication request from the client application and pass them as the value of parameters
	request parameter for Authlete's `/backchannel/authentication` API.

	The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`)
	of the request from the client application.

	The following code snippet is an example in JAX-RS showing how to extract request parameters from
	the backchannel authentication request.

	“`java
	@POST
	@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
	public Response post(String parameters)
	{
	    // 'parameters' is the entity body of the backchannel authentication request.
	    ......
	}
	“`

	The endpoint implementation does not have to parse the request parameters from the client application
	because Authlete's `/backchannel/authentication` API does it.

	The response from `/backchannel/authentication` API has various parameters. Among them, it is `action`
	parameter that the authorization server implementation should check first because it denotes the
	next action that the authorization server implementation should take. According to the value of
	`action`, the service implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	is invalid.

	The authorization server implementation should generate a response to the client application with
	"400 Bad Request" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that client authentication of the backchannel
	authentication request failed. Note that client authentication is always required at the backchannel
	authentication endpoint. This implies that public clients are not allowed to use the backchannel
	authentication endpoint.

	The authorization server implementation should generate a response to the client application with
	"401 Unauthorized" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: (challenge)
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**USER_IDENTIFICATION**

	When the value of `action` is `USER_IDENTIFICATION`, it means that the backchannel authentication
	request from the client application is valid. The authorization server implementation has to follow
	the steps below.

	[1] END-USER IDENTIFICATION

	The first step is to determine the subject (= unique identifier) of the end-user from whom the
	client application wants to get authorization.

	According to the CIBA specification, a backchannel authentication request contains one (and only
	one) of the `login_hint_token`, `id_token_hint` and `login_hint` request parameters as a hint
	by which the authorization server identifies the subject of an end-user.<br>
	The authorization server implementation can know which hint is included in the backchannel authentication
	request by the `hintType` parameter. For example, when the value of the parameter `LOGIN_HINT`,
	it means that the backchannel authentication request contains the `login_hint` request parameter
	as a hint.<br>

	The value of the `hint` parameter is the value of the hint. For example, when the value of the
	`hintType` parameter is `LOGIN_HINT`, The value of the `hint` parameter is the value of the `login_hint`
	request parameter.<br>

	It is up to the authorization server implementation how to determine the subject of the end-user
	from the hint. Only when the `id_token_hint` request parameter is used, authorization server
	implementation can use the sub response parameter, which holds the value of the sub claim in the
	`id_token_hint` request parameter.

	[2] END-USER IDENTIFICATION ERROR

	There are some cases where the authorization server implementation encounters an error during
	the user identification process. In any error case, the service implementation has to return an
	HTTP response with the error response parameter to the client application. The following is an
	example of such error responses.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{ "error":"unknown_user_id" }
	“`

	Authlete provides `/backchannel/authentication/fail` API that builds the response body (JSON)
	of an error response. However, because it is easy to build an error response manually, you may
	choose not to call the API. One good thing in using the API is that the API call can trigger
	deletion of the ticket which has been issued from Authlete's `/backchannel/authentication` API.
	If you don't call `/backchannel/authentication/fail` API, the ticket will continue to exist in
	the database until it is cleaned up by the batch program after the ticket expires.<br>

	Possible error cases that the authorization server implementation itself has to handle are as
	follows. Other error cases have already been covered by `/backchannel/authentication` API.

	- <u>`expired_login_hint_token`</u><br>
	  The authorization server implementation detected that the hint presented by the `login_hint_token`
	  request parameter has expired.

	  Note that the format of `login_hint_token` is not described in the CIBA Core spec at all and
	  so there is no consensus on how to detect expiration of `login_hint_token`. Interpretation
	  of `login_hint_token` is left to each authorization server implementation.

	- <u>`unknown_user_id`</u><br>
	  The authorization server implementation could not determine the subject of the end-user by
	  the presented hint.

	- <u>`unauthorized_client`</u><br>
	  The authorization server implementation has custom rules to reject backchannel authentication
	  requests from some particular clients and found that the client which has made the backchannel
	  authentication request is one of the particular clients.

	  Note that `/backchannel/authentication` API does not return `action=USER_IDENTIFICATION` in
	  cases where the client does not exist or client authentication has failed. Therefore, the
	  authorization server implementation will never have to use the error code `unauthorized_client`
	  unless the server has intentionally implemented custom rules to reject backchannel authentication
	  requests based on clients.

	- <u>`missing_user_code`</u><br>
	  The authorization server implementation has custom rules to require that a backchannel authentication
	  request include a user code for some particular users and found that the user identified by
	  the hint is one of the particular users.

	  Note that `/backchannel/authentication` API does not return `action=USER_IDENTIFICATION` when
	  both the `backchannel_user_code_parameter_supported` metadata of the server and the
	  `backchannel_user_code_parameter` metadata of the client are true and the backchannel authentication
	  request does not include the user_code request parameter. In this case, `/backchannel/authentication`
	  API returns action=BAD_REQUEST with JSON containing `"error":"missing_user_code"`. Therefore,
	  the authorization server implementation will never have to use the error code `missing_user_code`
	  unless the server has intentionally implemented custom rules to require a user code based
	  on users even in the case where the `backchannel_user_code_parameter` metadata of the client
	  which has made the backchannel authentication request is `false`.

	- <u>`invalid_user_code`</u><br>
	  The authorization server implementation detected that the presented user code is invalid.

	  Note that the format of user_code is not described in the CIBA Core spec at all and so there
	  is no consensus on how to judge whether a user code is valid or not. It is up to each authorization
	  server implementation how to handle user codes.

	- <u>`invalid_binding_message`</u><br>
	  The authorization server implementation detected that the presented binding message is invalid.

	  Note that the format of binding_message is not described in the CIBA Core spec at all and
	  so there is no consensus on how to judge whether a binding message is valid or not. It is
	  up to each authorization server implementation how to handle binding messages.

	- <u>`invalid_target`</u><br>
	  The authorization server implementation rejects the requested target resources.

	  The error code invalid_target is from "Resource Indicators for OAuth 2.0". The specification
	  defines the resource request parameter. By using the parameter, client applications can request
	  target resources that should be bound to the access token being issued. If the authorization
	  server wants to reject the request, call `/backchannel/authentication/fail` API with `INVALID_TARGET`.

	- <u>`access_denined`</u><br>
	  The authorization server implementation has custom rules to reject backchannel authentication
	  requests without asking the end-user and respond to the client as if the end-user had rejected
	  the request in some particular cases and found that the backchannel authentication request
	  is one of the particular cases.

	  The authorization server implementation will never have to use the error code `access_denied`
	  at this timing unless the server has intentionally implemented custom rules to reject backchannel
	  authentication requests without asking the end-user and respond to the client as if the end-user
	  had rejected the request.

	[3] AUTH_REQ_ID ISSUE

	If the authorization server implementation has successfully determined the subject of the end-user,
	the next action is to return an HTTP response to the client application which contains `auth_req_id`.

	Authlete provides `/backchannel/authentication/issue` API which generates a JSON containing `auth_req_id`,
	so, your next action is (1) call the API, (2) receive the response from the API, (3) build a response
	to the client application using the content of the API response, and (4) return the response to
	the client application. See the description of `/backchannel/authentication/issue` API for details.

	[4] END-USER AUTHENTICATION AND AUTHORIZATION

	After sending a JSON containing `auth_req_id` back to the client application, the service implementation
	starts to communicate with an authentication device of the end-user. It is assumed that end-user
	authentication is performed on the authentication device and the end-user confirms the content of
	the backchannel authentication request and grants authorization to the client application if everything
	is okay. The authorization server implementation must be able to receive the result of the end-user
	authentication and authorization from the authentication device.

	How to communicate with an authentication device and achieve end-user authentication and authorization
	is up to each authorization server implementation, but the following request parameters of the backchannel
	authentication request should be taken into consideration in any implementation.

	- <u>`acr_values`</u><br>
	  A backchannel authentication request may contain an array of ACRs (Authentication Context Class
	  References) in preference order. If multiple authentication devices are registered for the end-user,
	  the authorization server implementation should take the ACRs into consideration when selecting
	  the best authentication device.

	- <u>`scope`</u><br>
	  A backchannel authentication request always contains a list of scopes. At least, `openid` is
	  included in the list (otherwise `/backchannel/authentication` API returns `action=BAD_REQUEST`).
	  It would be better to show the requested scopes to the end-user on the authentication device
	  or somewhere appropriate.

	  If the scope request parameter contains `address`, `email`, `phone` and/or `profile`, they are
	  interpreted as defined in "5.4. Requesting Claims using Scope Values of OpenID Connect Core 1.0".
	  That is, they are expanded into a list of claim names. The claimNames parameter returns the expanded
	  result.

	- <u>`binding_message`</u><br>
	  A backchannel authentication request may contain a binding message. It is a human readable identifier
	  or message intended to be displayed on both the consumption device (client application) and the
	  authentication device.

	- <u>`user_code`</u><br>
	  A backchannel authentication request may contain a user code. It is a secret code, such as password
	  or pin, known only to the end-user but verifiable by the authorization server. The user code should
	  be used to authorize sending a request to the authentication device.

	[5] END-USER AUTHENTICATION AND AUTHORIZATION COMPLETION

	After receiving the result of end-user authentication and authorization, the authorization server
	implementation must call Authlete's `/backchannel/authentication/complete` API to tell Authlete
	the result and pass necessary data so that Authlete can generate an ID token, an access token and
	optionally a refresh token. See the description of the API for details.

	[6] CLIENT NOTIFICATION

	When the backchannel token delivery mode is either `ping` or `push`, the authorization server implementation
	must send a notification to the pre-registered notification endpoint of the client after the end-user
	authentication and authorization. In this case, the `action` parameter in a response from `/backchannel/authentication/complete`
	API is `NOTIFICATION`. See the description of `/backchannel/authentication/complete` API for details.

	[7] TOKEN REQUEST

	When the backchannel token delivery mode is either `ping` or `poll`, the client application will make
	a token request to the token endpoint to get an ID token, an access token and optionally a refresh
	token.

	A token request that corresponds to a backchannel authentication request uses `urn:openid:params:grant-type:ciba`
	as the value of the `grant_type` request parameter. Authlete's `/auth/token` API recognizes the
	grant type automatically and behaves properly, so the existing token endpoint implementation does
	not have to be changed to support CIBA.
	</details>


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

	// BackchannelAuthenticationApiExecute executes the request
	//  @return BackchannelAuthenticationResponse
	BackchannelAuthenticationApiExecute(r ApiBackchannelAuthenticationApiRequest) (*BackchannelAuthenticationResponse, *http.Response, error)

	/*
		BackchannelAuthenticationCompleteApi /api/backchannel/authentication/complete API

		This API returns information about what action the authorization server should take after it receives
	the result of end-user's decision about whether the end-user has approved or rejected a client application's
	request on the authentication device.

	<br>
	<details>
	<summary>Description</summary>

	After the implementation of the backchannel authentication endpoint returns JSON containing an
	`auth_req_id` to the client, the authorization server starts a background process that communicates
	with the authentication device of the end-user. On the authentication device, end-user authentication
	is performed and the end-user is asked whether they give authorization to the client or not. The
	authorization server will receive the result of end-user authentication and authorization from
	the authentication device.

	After the authorization server receives the result from the authentication device, or even in the
	case where the server gave up receiving a response from the authentication device for some reasons,
	the server should call the `/backchannel/authentication/complete` API to tell Authlete the result.

	When the end-user was authenticated and authorization was granted to the client by the end-user,
	the authorization server should call the API with `result=AUTHORIZED`. In this successful case,
	the `subject` request parameter is mandatory. If the token delivery mode is `push`, the API will generate
	an access token, an ID token and optionally a refresh token. On the other hand, if the token delivery
	mode is `poll` or `ping`, the API will just update the database record so that `/auth/token` API
	can generate tokens later.

	When the authorization server received the decision of the end-user from the authentication device
	and it indicates that the end-user has rejected to give authorization to the client, the authorization
	server should call the API with `result=ACCESS_DENIED`. In this case, if the token delivery mode
	is `push`, the API will generate an error response that contains the error response parameter and
	optionally the `error_description` and error_uri response parameters (if the `errorDescription`
	and `errorUri` request parameters have been given). On the other hand, if the token delivery mode
	is `poll` or `ping`, the API will just update the database record so that `/auth/token` API can
	generate an error response later. In any token delivery mode, the value of the error parameter will
	become `access_denied`.

	When the authorization server could not get the result of end-user authentication and authorization
	from the authentication device for some reasons, the authorization server should call the API with
	`result=TRANSACTION_FAILED`. In this error case, the API will behave in the same way as in the case
	of `ACCESS_DENIED`. The only difference is that `expired_token` is used as the value of the `error`
	parameter.

	The response from `/backchannel/authentication/complete` API has various parameters. Among them,
	it is `action` parameter that the authorization server implementation should check first because
	it denotes the next action that the authorization server implementation should take. According to
	the value of `action`, the service implementation must take the steps described below.

	**SERVER_ERROR**

	When the value of `action` is `SERVER_ERROR`, it means either (1) that the request from the authorization
	server to Authlete was wrong, or (2) that an error occurred on Authlete side.

	When the backchannel token delivery mode is `ping` or `push`, `SERVER_ERROR` is used only when
	an error is detected before the record of the ticket (which is included in the API call to `/backchannel/authentication/complete`)
	is retrieved from the database successfully. If an error is detected after the record of the ticket
	is retrieved from the database, `NOTIFICATION` is used instead of `SERVER_ERROR`.

	When the backchannel token delivery mode is `poll`, `SERVER_ERROR` is used regardless of whether
	it is before or after the record of the ticket is retrieved from the database.

	**NO_ACTION**

	When the value of `action` is `NO_ACTION`, it means that the authorization server does not have
	to take any immediate action.

	`NO_ACTION` is returned when the backchannel token delivery mode is `poll`. In this case, the client
	will receive the final result at the token endpoint.

	**NOTIFICATION**

	When the value of `action` is `NOTIFICATION`, it means that the authorization server must send a
	notification to the client notification endpoint.

	According to the CIBA Core specification, the notification is an HTTP POST request whose request
	body is JSON and whose `Authorization` header contains the client notification token, which was
	included in the backchannel authentication request as the value of the `client_notification_token`
	request parameter, as a bearer token.

	When the backchannel token delivery mode is `ping`, the request body of the notification is JSON
	which contains the `auth_req_id` property only. When the backchannel token delivery mode is `push`,
	the request body will additionally contain an access token, an ID token and other properties. Note
	that when the backchannel token delivery mode is `poll`, a notification does not have to be sent
	to the client notification endpoint.

	In error cases, in the ping mode, however, the content of a notification is not different from the
	content in successful cases. That is, the notification contains the `auth_req_id` property only.
	The client will know the error when it accesses the token endpoint. On the other hand, in the
	`push` mode, in error cases, the content of a notification will include the `error` property instead
	of an access token and an ID token. The client will know the error by detecting that error is included
	in the notification.

	In any case, the value of `responseContent` is JSON which can be used as the request body of the
	notification.

	The client notification endpoint that the notification should be sent to the value of the `clientNotificationEndpoint`
	parameter. Likewise, the client notification token that the notification should include as a bearer
	token is the `clientNotificationToken` parameter. With these methods, the notification can be built
	like the following.

	“`
	POST {clientNotificationEndpoint} HTTP/1.1
	HOST: {The host of clientNotificationEndpoint}
	Authorization: Bearer {notificationToken}
	Content-Type: application/json

	{responseContent}
	“`
	</details>


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

	// BackchannelAuthenticationCompleteApiExecute executes the request
	//  @return BackchannelAuthenticationCompleteResponse
	BackchannelAuthenticationCompleteApiExecute(r ApiBackchannelAuthenticationCompleteApiRequest) (*BackchannelAuthenticationCompleteResponse, *http.Response, error)

	/*
		BackchannelAuthenticationFailApi /api/backchannel/authentication/fail API

		The API prepares JSON that contains an error. The JSON should be used as the response body of the
	response which is returned to the client from the [backchannel authentication endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint).

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the [backchannel authentication
	endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint)
	of the service in order to generate an error response to the client application.

	The response from `/backchannel/authentication/fails` API has some parameters. Among them, it is
	`action` parameter that the authorization server implementation should check first because it denotes
	the next action that the authorization server implementation should take. According to the value
	of `action`, the authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that (1) the `reason` request parameter
	of the API call was `SERVER_ERROR`, (2) an error occurred on Authlete side, or (3) the request parameters
	of the API call were wrong. In this case, the authorization server implementation should return
	a "500 Internal Server Error" response to the client application. However, in most cases, commercial
	implementations prefer to use other HTTP status code than 5xx.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, the authorization server implementation should return a
	"400 Bad Request" response to the client application.

	**FORBIDDEN**

	When the value of `action` is `FORBIDDEN`, it means that the `reason` request parameter of the API call
	was `ACCESS_DENIED`. In this case, the backchannel authentication endpoint of the authorization
	server implementation should return a "403 Forbidden" response to the client application.

	</details>


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

	// BackchannelAuthenticationFailApiExecute executes the request
	//  @return BackchannelAuthenticationFailResponse
	BackchannelAuthenticationFailApiExecute(r ApiBackchannelAuthenticationFailApiRequest) (*BackchannelAuthenticationFailResponse, *http.Response, error)

	/*
		BackchannelAuthenticationIssueApi /api/backchannel/authentication/issue API

		This API prepares JSON that contains an `auth_req_id`. The JSON should be used as the response body
	of the response which is returned to the client from the [backchannel authentication endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint)

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the backchannel authentication
	endpoint of the service in order to generate a successful response to the client application.

	The description of the `/backchannel/authentication` API describes the timing when this API should
	be called and the meaning of request parameters. See [AUTH_REQ_ID ISSUE] in `USER_IDENTIFICATION`.

	The response from `/backchannel/authentication/issue` API has some parameters. Among them, it is
	`action` parameter that the authorization server implementation should check first because it denotes
	the next `action` that the authorization server implementation should take. According to the value
	of `action`, the authorization server implementation must take the steps described below.

	“`java
	@POST
	@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
	public Response post(String parameters)
	{
	    // 'parameters' is the entity body of the backchannel authentication request.
	    ......
	}
	“`

	The endpoint implementation does not have to parse the request parameters from the client application
	because Authlete's `/backchannel/authentication` API does it.

	The response from `/backchannel/authentication` API has various parameters. Among them, it is `action`
	parameter that the authorization server implementation should check first because it denotes the
	next action that the authorization server implementation should take. According to the value of
	`action`, the service implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**INVALID_TICKET**

	When the value of `action` is `INVALID_TICKET`, it means that the ticket included in the API call
	was invalid. For example, it does not exist or has expired.

	From a viewpoint of the client application, this is an error on the server side. Therefore, the
	authorization server implementation should generate a response to the client application with
	"500 Internal Server Error" and `application/json`.

	You can build an error response in the same way as shown in the description for the case of `INTERNAL_SERVER_ERROR`.

	**OK**

	When the value of `action` is `OK`, it means that Authlete has succeeded in preparing JSON that
	contains an `auth_req_id`. The JSON should be used as the response body of the response that is
	returned to the client from the backchannel authentication endpoint. `responseContent` contains
	the JSON.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: text/html;charset=UTF-8
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


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

	// BackchannelAuthenticationIssueApiExecute executes the request
	//  @return BackchannelAuthenticationIssueResponse
	BackchannelAuthenticationIssueApiExecute(r ApiBackchannelAuthenticationIssueApiRequest) (*BackchannelAuthenticationIssueResponse, *http.Response, error)
}

type CIBAApiService

type CIBAApiService service

CIBAApiService CIBAApi service

func (*CIBAApiService) BackchannelAuthenticationApi

func (a *CIBAApiService) BackchannelAuthenticationApi(ctx context.Context) ApiBackchannelAuthenticationApiRequest

BackchannelAuthenticationApi /api/backchannel/authentication API

This API parses request parameters of a [backchannel authentication request](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_request) and returns necessary data for the authorization server implementation to process the backchannel authentication request further.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the [backchannel authentication endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint) of the service. The endpoint implementation must extract the request parameters from the backchannel authentication request from the client application and pass them as the value of parameters request parameter for Authlete's `/backchannel/authentication` API.

The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.

The following code snippet is an example in JAX-RS showing how to extract request parameters from the backchannel authentication request.

```java @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public Response post(String parameters)

{
    // 'parameters' is the entity body of the backchannel authentication request.
    ......
}

```

The endpoint implementation does not have to parse the request parameters from the client application because Authlete's `/backchannel/authentication` API does it.

The response from `/backchannel/authentication` API has various parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the service implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application is invalid.

The authorization server implementation should generate a response to the client application with "400 Bad Request" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that client authentication of the backchannel authentication request failed. Note that client authentication is always required at the backchannel authentication endpoint. This implies that public clients are not allowed to use the backchannel authentication endpoint.

The authorization server implementation should generate a response to the client application with "401 Unauthorized" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: (challenge) Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**USER_IDENTIFICATION**

When the value of `action` is `USER_IDENTIFICATION`, it means that the backchannel authentication request from the client application is valid. The authorization server implementation has to follow the steps below.

[1] END-USER IDENTIFICATION

The first step is to determine the subject (= unique identifier) of the end-user from whom the client application wants to get authorization.

According to the CIBA specification, a backchannel authentication request contains one (and only one) of the `login_hint_token`, `id_token_hint` and `login_hint` request parameters as a hint by which the authorization server identifies the subject of an end-user.<br> The authorization server implementation can know which hint is included in the backchannel authentication request by the `hintType` parameter. For example, when the value of the parameter `LOGIN_HINT`, it means that the backchannel authentication request contains the `login_hint` request parameter as a hint.<br>

The value of the `hint` parameter is the value of the hint. For example, when the value of the `hintType` parameter is `LOGIN_HINT`, The value of the `hint` parameter is the value of the `login_hint` request parameter.<br>

It is up to the authorization server implementation how to determine the subject of the end-user from the hint. Only when the `id_token_hint` request parameter is used, authorization server implementation can use the sub response parameter, which holds the value of the sub claim in the `id_token_hint` request parameter.

[2] END-USER IDENTIFICATION ERROR

There are some cases where the authorization server implementation encounters an error during the user identification process. In any error case, the service implementation has to return an HTTP response with the error response parameter to the client application. The following is an example of such error responses.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{ "error":"unknown_user_id" } ```

Authlete provides `/backchannel/authentication/fail` API that builds the response body (JSON) of an error response. However, because it is easy to build an error response manually, you may choose not to call the API. One good thing in using the API is that the API call can trigger deletion of the ticket which has been issued from Authlete's `/backchannel/authentication` API. If you don't call `/backchannel/authentication/fail` API, the ticket will continue to exist in the database until it is cleaned up by the batch program after the ticket expires.<br>

Possible error cases that the authorization server implementation itself has to handle are as follows. Other error cases have already been covered by `/backchannel/authentication` API.

  • <u>`expired_login_hint_token`</u><br> The authorization server implementation detected that the hint presented by the `login_hint_token` request parameter has expired.

    Note that the format of `login_hint_token` is not described in the CIBA Core spec at all and so there is no consensus on how to detect expiration of `login_hint_token`. Interpretation of `login_hint_token` is left to each authorization server implementation.

  • <u>`unknown_user_id`</u><br> The authorization server implementation could not determine the subject of the end-user by the presented hint.
  • <u>`unauthorized_client`</u><br> The authorization server implementation has custom rules to reject backchannel authentication requests from some particular clients and found that the client which has made the backchannel authentication request is one of the particular clients.

    Note that `/backchannel/authentication` API does not return `action=USER_IDENTIFICATION` in cases where the client does not exist or client authentication has failed. Therefore, the authorization server implementation will never have to use the error code `unauthorized_client` unless the server has intentionally implemented custom rules to reject backchannel authentication requests based on clients.

  • <u>`missing_user_code`</u><br> The authorization server implementation has custom rules to require that a backchannel authentication request include a user code for some particular users and found that the user identified by the hint is one of the particular users.

    Note that `/backchannel/authentication` API does not return `action=USER_IDENTIFICATION` when both the `backchannel_user_code_parameter_supported` metadata of the server and the `backchannel_user_code_parameter` metadata of the client are true and the backchannel authentication request does not include the user_code request parameter. In this case, `/backchannel/authentication` API returns action=BAD_REQUEST with JSON containing `"error":"missing_user_code"`. Therefore, the authorization server implementation will never have to use the error code `missing_user_code` unless the server has intentionally implemented custom rules to require a user code based on users even in the case where the `backchannel_user_code_parameter` metadata of the client which has made the backchannel authentication request is `false`.

  • <u>`invalid_user_code`</u><br> The authorization server implementation detected that the presented user code is invalid.

    Note that the format of user_code is not described in the CIBA Core spec at all and so there is no consensus on how to judge whether a user code is valid or not. It is up to each authorization server implementation how to handle user codes.

  • <u>`invalid_binding_message`</u><br> The authorization server implementation detected that the presented binding message is invalid.

    Note that the format of binding_message is not described in the CIBA Core spec at all and so there is no consensus on how to judge whether a binding message is valid or not. It is up to each authorization server implementation how to handle binding messages.

  • <u>`invalid_target`</u><br> The authorization server implementation rejects the requested target resources.

    The error code invalid_target is from "Resource Indicators for OAuth 2.0". The specification defines the resource request parameter. By using the parameter, client applications can request target resources that should be bound to the access token being issued. If the authorization server wants to reject the request, call `/backchannel/authentication/fail` API with `INVALID_TARGET`.

  • <u>`access_denined`</u><br> The authorization server implementation has custom rules to reject backchannel authentication requests without asking the end-user and respond to the client as if the end-user had rejected the request in some particular cases and found that the backchannel authentication request is one of the particular cases.

    The authorization server implementation will never have to use the error code `access_denied` at this timing unless the server has intentionally implemented custom rules to reject backchannel authentication requests without asking the end-user and respond to the client as if the end-user had rejected the request.

[3] AUTH_REQ_ID ISSUE

If the authorization server implementation has successfully determined the subject of the end-user, the next action is to return an HTTP response to the client application which contains `auth_req_id`.

Authlete provides `/backchannel/authentication/issue` API which generates a JSON containing `auth_req_id`, so, your next action is (1) call the API, (2) receive the response from the API, (3) build a response to the client application using the content of the API response, and (4) return the response to the client application. See the description of `/backchannel/authentication/issue` API for details.

[4] END-USER AUTHENTICATION AND AUTHORIZATION

After sending a JSON containing `auth_req_id` back to the client application, the service implementation starts to communicate with an authentication device of the end-user. It is assumed that end-user authentication is performed on the authentication device and the end-user confirms the content of the backchannel authentication request and grants authorization to the client application if everything is okay. The authorization server implementation must be able to receive the result of the end-user authentication and authorization from the authentication device.

How to communicate with an authentication device and achieve end-user authentication and authorization is up to each authorization server implementation, but the following request parameters of the backchannel authentication request should be taken into consideration in any implementation.

  • <u>`acr_values`</u><br> A backchannel authentication request may contain an array of ACRs (Authentication Context Class References) in preference order. If multiple authentication devices are registered for the end-user, the authorization server implementation should take the ACRs into consideration when selecting the best authentication device.
  • <u>`scope`</u><br> A backchannel authentication request always contains a list of scopes. At least, `openid` is included in the list (otherwise `/backchannel/authentication` API returns `action=BAD_REQUEST`). It would be better to show the requested scopes to the end-user on the authentication device or somewhere appropriate.

    If the scope request parameter contains `address`, `email`, `phone` and/or `profile`, they are interpreted as defined in "5.4. Requesting Claims using Scope Values of OpenID Connect Core 1.0". That is, they are expanded into a list of claim names. The claimNames parameter returns the expanded result.

  • <u>`binding_message`</u><br> A backchannel authentication request may contain a binding message. It is a human readable identifier or message intended to be displayed on both the consumption device (client application) and the authentication device.
  • <u>`user_code`</u><br> A backchannel authentication request may contain a user code. It is a secret code, such as password or pin, known only to the end-user but verifiable by the authorization server. The user code should be used to authorize sending a request to the authentication device.

[5] END-USER AUTHENTICATION AND AUTHORIZATION COMPLETION

After receiving the result of end-user authentication and authorization, the authorization server implementation must call Authlete's `/backchannel/authentication/complete` API to tell Authlete the result and pass necessary data so that Authlete can generate an ID token, an access token and optionally a refresh token. See the description of the API for details.

[6] CLIENT NOTIFICATION

When the backchannel token delivery mode is either `ping` or `push`, the authorization server implementation must send a notification to the pre-registered notification endpoint of the client after the end-user authentication and authorization. In this case, the `action` parameter in a response from `/backchannel/authentication/complete` API is `NOTIFICATION`. See the description of `/backchannel/authentication/complete` API for details.

[7] TOKEN REQUEST

When the backchannel token delivery mode is either `ping` or `poll`, the client application will make a token request to the token endpoint to get an ID token, an access token and optionally a refresh token.

A token request that corresponds to a backchannel authentication request uses `urn:openid:params:grant-type:ciba` as the value of the `grant_type` request parameter. Authlete's `/auth/token` API recognizes the grant type automatically and behaves properly, so the existing token endpoint implementation does not have to be changed to support CIBA. </details>

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

func (*CIBAApiService) BackchannelAuthenticationApiExecute

Execute executes the request

@return BackchannelAuthenticationResponse

func (*CIBAApiService) BackchannelAuthenticationCompleteApi

func (a *CIBAApiService) BackchannelAuthenticationCompleteApi(ctx context.Context) ApiBackchannelAuthenticationCompleteApiRequest

BackchannelAuthenticationCompleteApi /api/backchannel/authentication/complete API

This API returns information about what action the authorization server should take after it receives the result of end-user's decision about whether the end-user has approved or rejected a client application's request on the authentication device.

<br> <details> <summary>Description</summary>

After the implementation of the backchannel authentication endpoint returns JSON containing an `auth_req_id` to the client, the authorization server starts a background process that communicates with the authentication device of the end-user. On the authentication device, end-user authentication is performed and the end-user is asked whether they give authorization to the client or not. The authorization server will receive the result of end-user authentication and authorization from the authentication device.

After the authorization server receives the result from the authentication device, or even in the case where the server gave up receiving a response from the authentication device for some reasons, the server should call the `/backchannel/authentication/complete` API to tell Authlete the result.

When the end-user was authenticated and authorization was granted to the client by the end-user, the authorization server should call the API with `result=AUTHORIZED`. In this successful case, the `subject` request parameter is mandatory. If the token delivery mode is `push`, the API will generate an access token, an ID token and optionally a refresh token. On the other hand, if the token delivery mode is `poll` or `ping`, the API will just update the database record so that `/auth/token` API can generate tokens later.

When the authorization server received the decision of the end-user from the authentication device and it indicates that the end-user has rejected to give authorization to the client, the authorization server should call the API with `result=ACCESS_DENIED`. In this case, if the token delivery mode is `push`, the API will generate an error response that contains the error response parameter and optionally the `error_description` and error_uri response parameters (if the `errorDescription` and `errorUri` request parameters have been given). On the other hand, if the token delivery mode is `poll` or `ping`, the API will just update the database record so that `/auth/token` API can generate an error response later. In any token delivery mode, the value of the error parameter will become `access_denied`.

When the authorization server could not get the result of end-user authentication and authorization from the authentication device for some reasons, the authorization server should call the API with `result=TRANSACTION_FAILED`. In this error case, the API will behave in the same way as in the case of `ACCESS_DENIED`. The only difference is that `expired_token` is used as the value of the `error` parameter.

The response from `/backchannel/authentication/complete` API has various parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the service implementation must take the steps described below.

**SERVER_ERROR**

When the value of `action` is `SERVER_ERROR`, it means either (1) that the request from the authorization server to Authlete was wrong, or (2) that an error occurred on Authlete side.

When the backchannel token delivery mode is `ping` or `push`, `SERVER_ERROR` is used only when an error is detected before the record of the ticket (which is included in the API call to `/backchannel/authentication/complete`) is retrieved from the database successfully. If an error is detected after the record of the ticket is retrieved from the database, `NOTIFICATION` is used instead of `SERVER_ERROR`.

When the backchannel token delivery mode is `poll`, `SERVER_ERROR` is used regardless of whether it is before or after the record of the ticket is retrieved from the database.

**NO_ACTION**

When the value of `action` is `NO_ACTION`, it means that the authorization server does not have to take any immediate action.

`NO_ACTION` is returned when the backchannel token delivery mode is `poll`. In this case, the client will receive the final result at the token endpoint.

**NOTIFICATION**

When the value of `action` is `NOTIFICATION`, it means that the authorization server must send a notification to the client notification endpoint.

According to the CIBA Core specification, the notification is an HTTP POST request whose request body is JSON and whose `Authorization` header contains the client notification token, which was included in the backchannel authentication request as the value of the `client_notification_token` request parameter, as a bearer token.

When the backchannel token delivery mode is `ping`, the request body of the notification is JSON which contains the `auth_req_id` property only. When the backchannel token delivery mode is `push`, the request body will additionally contain an access token, an ID token and other properties. Note that when the backchannel token delivery mode is `poll`, a notification does not have to be sent to the client notification endpoint.

In error cases, in the ping mode, however, the content of a notification is not different from the content in successful cases. That is, the notification contains the `auth_req_id` property only. The client will know the error when it accesses the token endpoint. On the other hand, in the `push` mode, in error cases, the content of a notification will include the `error` property instead of an access token and an ID token. The client will know the error by detecting that error is included in the notification.

In any case, the value of `responseContent` is JSON which can be used as the request body of the notification.

The client notification endpoint that the notification should be sent to the value of the `clientNotificationEndpoint` parameter. Likewise, the client notification token that the notification should include as a bearer token is the `clientNotificationToken` parameter. With these methods, the notification can be built like the following.

``` POST {clientNotificationEndpoint} HTTP/1.1 HOST: {The host of clientNotificationEndpoint} Authorization: Bearer {notificationToken} Content-Type: application/json

{responseContent} ``` </details>

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

func (*CIBAApiService) BackchannelAuthenticationCompleteApiExecute

Execute executes the request

@return BackchannelAuthenticationCompleteResponse

func (*CIBAApiService) BackchannelAuthenticationFailApi

func (a *CIBAApiService) BackchannelAuthenticationFailApi(ctx context.Context) ApiBackchannelAuthenticationFailApiRequest

BackchannelAuthenticationFailApi /api/backchannel/authentication/fail API

The API prepares JSON that contains an error. The JSON should be used as the response body of the response which is returned to the client from the [backchannel authentication endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint).

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the [backchannel authentication endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint) of the service in order to generate an error response to the client application.

The response from `/backchannel/authentication/fails` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that (1) the `reason` request parameter of the API call was `SERVER_ERROR`, (2) an error occurred on Authlete side, or (3) the request parameters of the API call were wrong. In this case, the authorization server implementation should return a "500 Internal Server Error" response to the client application. However, in most cases, commercial implementations prefer to use other HTTP status code than 5xx.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, the authorization server implementation should return a "400 Bad Request" response to the client application.

**FORBIDDEN**

When the value of `action` is `FORBIDDEN`, it means that the `reason` request parameter of the API call was `ACCESS_DENIED`. In this case, the backchannel authentication endpoint of the authorization server implementation should return a "403 Forbidden" response to the client application.

</details>

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

func (*CIBAApiService) BackchannelAuthenticationFailApiExecute

Execute executes the request

@return BackchannelAuthenticationFailResponse

func (*CIBAApiService) BackchannelAuthenticationIssueApi

func (a *CIBAApiService) BackchannelAuthenticationIssueApi(ctx context.Context) ApiBackchannelAuthenticationIssueApiRequest

BackchannelAuthenticationIssueApi /api/backchannel/authentication/issue API

This API prepares JSON that contains an `auth_req_id`. The JSON should be used as the response body of the response which is returned to the client from the [backchannel authentication endpoint](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html#auth_backchannel_endpoint)

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the backchannel authentication endpoint of the service in order to generate a successful response to the client application.

The description of the `/backchannel/authentication` API describes the timing when this API should be called and the meaning of request parameters. See [AUTH_REQ_ID ISSUE] in `USER_IDENTIFICATION`.

The response from `/backchannel/authentication/issue` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next `action` that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

```java @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public Response post(String parameters)

{
    // 'parameters' is the entity body of the backchannel authentication request.
    ......
}

```

The endpoint implementation does not have to parse the request parameters from the client application because Authlete's `/backchannel/authentication` API does it.

The response from `/backchannel/authentication` API has various parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the service implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**INVALID_TICKET**

When the value of `action` is `INVALID_TICKET`, it means that the ticket included in the API call was invalid. For example, it does not exist or has expired.

From a viewpoint of the client application, this is an error on the server side. Therefore, the authorization server implementation should generate a response to the client application with "500 Internal Server Error" and `application/json`.

You can build an error response in the same way as shown in the description for the case of `INTERNAL_SERVER_ERROR`.

**OK**

When the value of `action` is `OK`, it means that Authlete has succeeded in preparing JSON that contains an `auth_req_id`. The JSON should be used as the response body of the response that is returned to the client from the backchannel authentication endpoint. `responseContent` contains the JSON.

The following illustrates the response which the authorization server implementation should generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: text/html;charset=UTF-8 Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

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

func (*CIBAApiService) BackchannelAuthenticationIssueApiExecute

Execute executes the request

@return BackchannelAuthenticationIssueResponse

type ClaimType

type ClaimType string

ClaimType the model 'ClaimType'

const (
	CLAIMTYPE_NORMAL      ClaimType = "NORMAL"
	CLAIMTYPE_AGGREGATED  ClaimType = "AGGREGATED"
	CLAIMTYPE_DISTRIBUTED ClaimType = "DISTRIBUTED"
)

List of claim_type

func NewClaimTypeFromValue

func NewClaimTypeFromValue(v string) (*ClaimType, error)

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

func (ClaimType) IsValid

func (v ClaimType) IsValid() bool

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

func (ClaimType) Ptr

func (v ClaimType) Ptr() *ClaimType

Ptr returns reference to claim_type value

func (*ClaimType) UnmarshalJSON

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

type Client

type Client struct {
	// The sequential number of the client. The value of this property is assigned by Authlete.
	Number *int32 `json:"number,omitempty"`
	// The sequential number of the service of the client application. The value of this property is assigned by Authlete.
	ServiceNumber *int32 `json:"serviceNumber,omitempty"`
	// The developer of the client application.
	Developer *string `json:"developer,omitempty"`
	// The name of the client application. This property corresponds to `client_name` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	ClientName *string `json:"clientName,omitempty"`
	// Client names with language tags. If the client application has different names for different languages, this property can be used to register the names.
	ClientNames []TaggedValue `json:"clientNames,omitempty"`
	// The description about the client application.
	Description *string `json:"description,omitempty"`
	// Descriptions about the client application with language tags. If the client application has different descriptions for different languages, this property can be used to register the descriptions.
	Descriptions []TaggedValue `json:"descriptions,omitempty"`
	// The client ID. The value of this property is assigned by Authlete.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client secret. A random 512-bit value encoded by base64url (86 letters). The value of this property is assigned by Authlete.  Note that Authlete issues a client secret even to a \"public\" client application, but the client application should not use the client secret unless it changes its client type to \"confidential\". That is, a public client application should behave as if it had not been issued a client secret. To be specific, a token request from a public client of Authlete should not come along with a client secret although [RFC 6749, 3.2.1. Client Authentication](https://datatracker.ietf.org/doc/html/rfc6749#section-3.2.1) says as follows.  > Confidential clients or other clients issued client credentials MUST authenticate with the authorization server as described in Section 2.3 when making requests to the token endpoint.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The alias of the client ID.  Note that the client ID alias is recognized only when this client's `clientIdAliasEnabled` property is set to `true` AND the service's `clientIdAliasEnabled` property is also set to `true`.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// The flag to indicate whether the client ID alias is enabled or not.  Note that a service also has `clientIdAliasEnabled` property. If the service's `clientIdAliasEnabled` property is set to `false`, the client ID alias of this client is not recognized even if this client's `clientIdAliasEnabled` property is set to `true`.
	ClientIdAliasEnabled *bool                   `json:"clientIdAliasEnabled,omitempty"`
	ClientType           *ClientType             `json:"clientType,omitempty"`
	ApplicationType      NullableApplicationType `json:"applicationType,omitempty"`
	// The URL pointing to the logo image of the client application.  This property corresponds to `logo_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	LogoUri *string `json:"logoUri,omitempty"`
	// Logo image URLs with language tags. If the client application has different logo images for different languages, this property can be used to register URLs of the images.
	LogoUris []TaggedValue `json:"logoUris,omitempty"`
	// An array of email addresses of people responsible for the client application.  This property corresponds to contacts in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	Contacts []string `json:"contacts,omitempty"`
	// The flag to indicate whether this client use TLS client certificate bound access tokens.
	TlsClientCertificateBoundAccessTokens *bool `json:"tlsClientCertificateBoundAccessTokens,omitempty"`
	// The flag to indicate whether this client has been registered dynamically. For more details, see [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591).
	DynamicallyRegistered *bool `json:"dynamicallyRegistered,omitempty"`
	// The unique identifier string assigned by the client developer or software publisher used by registration endpoints to identify the client software to be dynamically registered.  This property corresponds to the `software_id metadata` defined in [2. Client Metadata](https://datatracker.ietf.org/doc/html/rfc7591#section-2) of [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591).
	SoftwareId *string `json:"softwareId,omitempty"`
	// The version identifier string for the client software identified by the software ID.  This property corresponds to the software_version metadata defined in [2. Client Metadata](https://datatracker.ietf.org/doc/html/rfc7591#section-2) of [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591).
	SoftwareVersion *string `json:"softwareVersion,omitempty"`
	// The hash of the registration access token for this client.
	RegistrationAccessTokenHash *string `json:"registrationAccessTokenHash,omitempty"`
	// The time at which this client was created. The value is represented as milliseconds since the UNIX epoch (1970-01-01).
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// The time at which this client was last modified. The value is represented as milliseconds since the UNIX epoch (1970-01-01).
	ModifiedAt *int64 `json:"modifiedAt,omitempty"`
	// A string array of grant types which the client application declares that it will restrict itself to using. This property corresponds to `grant_types` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	GrantTypes []GrantType `json:"grantTypes,omitempty"`
	// A string array of response types which the client application declares that it will restrict itself to using. This property corresponds to `response_types` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	ResponseTypes []ResponseType `json:"responseTypes,omitempty"`
	// Redirect URIs that the client application uses to receive a response from the authorization endpoint. Requirements for a redirect URI are as follows.  **Requirements by RFC 6749** (From [RFC 6749, 3.1.2. Redirection Endpoint](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1.2))  - Must be an absolute URI. - Must not have a fragment component.  **Requirements by OpenID Connect** (From \"[OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata), application_type\")  - The scheme of the redirect URI used for Implicit Grant by a client application whose application is `web` must be `https`. This is checked at runtime by Authlete. - The hostname of the redirect URI used for Implicit Grant by a client application whose application type is `web` must not be `localhost`. This is checked at runtime by Authlete. - The scheme of the redirect URI used by a client application whose application type is `native` must be either (1) a custom scheme or (2) `http`, which is allowed only when the hostname part is `localhost`. This is checked at runtime by Authlete.  **Requirements by Authlete**  - Must consist of printable ASCII letters only. - Must not exceed 200 letters.  Note that Authlete allows the application type to be `null`. In other words, a client application does not have to choose `web` or `native` as its application type. If the application type is `null`, the requirements by OpenID Connect are not checked at runtime.  An authorization request from a client application which has not registered any redirect URI fails unless at least all the following conditions are satisfied.  - The client type of the client application is `confidential`. - The value of `response_type` request parameter is `code`. - The authorization request has the `redirect_uri` request parameter. - The value of `scope` request parameter does not contain `openid`.  RFC 6749 allows partial match of redirect URI under some conditions (see [RFC 6749, 3.1.2.2. Registration Requirements](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1.2.2) for details), but OpenID Connect requires exact match.
	RedirectUris               []string                    `json:"redirectUris,omitempty"`
	AuthorizationSignAlg       *JwsAlg                     `json:"authorizationSignAlg,omitempty"`
	AuthorizationEncryptionAlg *JweAlg                     `json:"authorizationEncryptionAlg,omitempty"`
	AuthorizationEncryptionEnc *JweEnc                     `json:"authorizationEncryptionEnc,omitempty"`
	TokenAuthMethod            *ClientAuthenticationMethod `json:"tokenAuthMethod,omitempty"`
	TokenAuthSignAlg           *JwsAlg                     `json:"tokenAuthSignAlg,omitempty"`
	// The key ID of a JWK containing a self-signed certificate of this client.
	SelfSignedCertificateKeyId *string `json:"selfSignedCertificateKeyId,omitempty"`
	// The string representation of the expected subject distinguished name of the certificate this client will use in mutual TLS authentication.  See `tls_client_auth_subject_dn` in \"Mutual TLS Profiles for OAuth Clients, 2.3. Dynamic Client Registration\" for details.
	TlsClientAuthSubjectDn *string `json:"tlsClientAuthSubjectDn,omitempty"`
	// The string representation of the expected DNS subject alternative name of the certificate this client will use in mutual TLS authentication.  See `tls_client_auth_san_dns` in \"Mutual TLS Profiles for OAuth Clients, 2.3. Dynamic Client Registration\" for details.
	TlsClientAuthSanDns *string `json:"tlsClientAuthSanDns,omitempty"`
	// The string representation of the expected URI subject alternative name of the certificate this client will use in mutual TLS authentication.  See `tls_client_auth_san_uri` in \"Mutual TLS Profiles for OAuth Clients, 2.3. Dynamic Client Registration\" for details.
	TlsClientAuthSanUri *string `json:"tlsClientAuthSanUri,omitempty"`
	// The string representation of the expected IP address subject alternative name of the certificate this client will use in mutual TLS authentication.  See `tls_client_auth_san_ip` in \"Mutual TLS Profiles for OAuth Clients, 2.3. Dynamic Client Registration\" for details.
	TlsClientAuthSanIp *string `json:"tlsClientAuthSanIp,omitempty"`
	// The string representation of the expected email address subject alternative name of the certificate this client will use in mutual TLS authentication.  See `tls_client_auth_san_email` in \"Mutual TLS Profiles for OAuth Clients, 2.3. Dynamic Client Registration\" for details.
	TlsClientAuthSanEmail *string `json:"tlsClientAuthSanEmail,omitempty"`
	// The flag to indicate whether this client is required to use the pushed authorization request endpoint. This property corresponds to the `require_pushed_authorization_requests` client metadata defined in \"OAuth 2.0 Pushed Authorization Requests\".
	ParRequired *bool `json:"parRequired,omitempty"`
	// The flag to indicate whether authorization requests from this client are always required to utilize a request object by using either `request` or `request_uri` request parameter.  If this flag is set to `true` and the service's `traditionalRequestObjectProcessingApplied` is set to `false`, authorization requests from this client are processed as if `require_signed_request_object` client metadata of this client is `true`. The metadata is defined in \"JAR (JWT Secured Authorization Request)\".
	RequestObjectRequired *bool   `json:"requestObjectRequired,omitempty"`
	RequestSignAlg        *JwsAlg `json:"requestSignAlg,omitempty"`
	RequestEncryptionAlg  *JweAlg `json:"requestEncryptionAlg,omitempty"`
	RequestEncryptionEnc  *JweEnc `json:"requestEncryptionEnc,omitempty"`
	// An array of URLs each of which points to a request object.  Authlete requires that URLs used as values for `request_uri` request parameter be pre-registered. This property is used for the pre-registration. See [OpenID Connect Core 1.0, 6.2. Passing a Request Object by Reference](https://openid.net/specs/openid-connect-core-1_0.html#RequestUriParameter) for details.
	RequestUris []string `json:"requestUris,omitempty"`
	// The default maximum authentication age in seconds. This value is used when an authorization request from the client application does not have `max_age` request parameter.  This property corresponds to `default_max_age` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	DefaultMaxAge *int32 `json:"defaultMaxAge,omitempty"`
	// The default ACRs (Authentication Context Class References). This value is used when an authorization request from the client application has neither `acr_values` request parameter nor `acr` claim in claims request parameter.
	DefaultAcrs          []string `json:"defaultAcrs,omitempty"`
	IdTokenSignAlg       *JwsAlg  `json:"idTokenSignAlg,omitempty"`
	IdTokenEncryptionAlg *JweAlg  `json:"idTokenEncryptionAlg,omitempty"`
	IdTokenEncryptionEnc *JweEnc  `json:"idTokenEncryptionEnc,omitempty"`
	// The flag to indicate whether this client requires `auth_time` claim to be embedded in the ID token.  This property corresponds to `require_auth_time` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	AuthTimeRequired *bool        `json:"authTimeRequired,omitempty"`
	SubjectType      *SubjectType `json:"subjectType,omitempty"`
	// The value of the sector identifier URI. This represents the `sector_identifier_uri` client metadata which is defined in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata)
	SectorIdentifierUri *string `json:"sectorIdentifierUri,omitempty"`
	// The sector identifier host component as derived from either the `sector_identifier_uri` or the registered redirect URI. If no `sector_identifier_uri` is registered and multiple redirect URIs are also registered, the value of this property is `null`.
	DerivedSectorIdentifier *string `json:"derivedSectorIdentifier,omitempty"`
	// The URL pointing to the JWK Set of the client application. The content pointed to by the URL is JSON which complies with the format described in [JSON Web Key (JWK), 5. JWK Set Format](https://datatracker.ietf.org/doc/html/rfc7517#section-5). The JWK Set must not include private keys of the client application.  If the client application requests encryption for ID tokens (from the authorization/token/userinfo endpoints) and/or signs request objects, it must make available its JWK Set containing public keys for the encryption and/or the signature at the URL of `jwksUri`. The service (Authlete) fetches the JWK Set from the URL as necessary.  [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) says that `jwks` must not be used when the client can use `jwks_uri`, but Authlete allows both properties to be registered at the same time. However, Authlete does not use the content of `jwks` when `jwksUri` is registered.  This property corresponds to `jwks_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	JwksUri *string `json:"jwksUri,omitempty"`
	// The content of the JWK Set of the client application. The format is described in [JSON Web Key (JWK), 5. JWK Set Format](https://datatracker.ietf.org/doc/html/rfc7517#section-5). The JWK Set must not include private keys of the client application.  [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) says that `jwks` must not be used when the client can use `jwks_uri`, but Authlete allows both properties to be registered at the same time. However, Authlete does not use the content of `jwks` when `jwksUri` is registered.  This property corresponds to `jwks_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	Jwks                  *string `json:"jwks,omitempty"`
	UserInfoSignAlg       *JwsAlg `json:"userInfoSignAlg,omitempty"`
	UserInfoEncryptionAlg *JweAlg `json:"userInfoEncryptionAlg,omitempty"`
	UserInfoEncryptionEnc *JweEnc `json:"userInfoEncryptionEnc,omitempty"`
	// The URL which a third party can use to initiate a login by the client application.  This property corresponds to `initiate_login_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	LoginUri *string `json:"loginUri,omitempty"`
	// The URL pointing to the \"Terms Of Service\" page.  This property corresponds to `tos_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	TosUri *string `json:"tosUri,omitempty"`
	// URLs of \"Terms Of Service\" pages with language tags.  If the client application has different \"Terms Of Service\" pages for different languages, this property can be used to register the URLs.
	TosUris []TaggedValue `json:"tosUris,omitempty"`
	// The URL pointing to the page which describes the policy as to how end-user's profile data is used.  This property corresponds to `policy_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	PolicyUri *string `json:"policyUri,omitempty"`
	// URLs of policy pages with language tags. If the client application has different policy pages for different languages, this property can be used to register the URLs.
	PolicyUris []TaggedValue `json:"policyUris,omitempty"`
	// The URL pointing to the home page of the client application.  This property corresponds to `client_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	ClientUri *string `json:"clientUri,omitempty"`
	// Home page URLs with language tags. If the client application has different home pages for different languages, this property can be used to register the URLs.
	ClientUris []TaggedValue `json:"clientUris,omitempty"`
	// The backchannel token delivery mode.  This property corresponds to the `backchannel_token_delivery_mode` metadata. The backchannel token delivery mode is defined in the specification of \"CIBA (Client Initiated Backchannel Authentication)\".
	BcDeliveryMode *string `json:"bcDeliveryMode,omitempty"`
	// The backchannel client notification endpoint.  This property corresponds to the `backchannel_client_notification_endpoint` metadata. The backchannel token delivery mode is defined in the specification of \"CIBA (Client Initiated Backchannel Authentication)\".
	BcNotificationEndpoint *string `json:"bcNotificationEndpoint,omitempty"`
	BcRequestSignAlg       *JwsAlg `json:"bcRequestSignAlg,omitempty"`
	// The boolean flag to indicate whether a user code is required when this client makes a backchannel authentication request.  This property corresponds to the `backchannel_user_code_parameter` metadata.
	BcUserCodeRequired *bool `json:"bcUserCodeRequired,omitempty"`
	// The attributes of this client.
	Attributes []Pair           `json:"attributes,omitempty"`
	Extension  *ClientExtension `json:"extension,omitempty"`
	// The authorization details types that this client may use as values of the `type` field in `authorization_details`.  This property corresponds to the `authorization_details_types` metadata. See [OAuth 2.0 Rich Authorization Requests (RAR)](https://datatracker.ietf.org/doc/draft-ietf-oauth-rar/) for details.  Note that the property name was renamed from authorizationDataTypes to authorizationDetailsTypes to align with the change made by the 5th draft of the RAR specification.
	AuthorizationDetailsTypes []string `json:"authorizationDetailsTypes,omitempty"`
	// The custom client metadata in JSON format.  Standard specifications define client metadata as necessary. The following are such examples.  * [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) * [RFC 7591 OAuth 2.0 Dynamic Client Registration Protocol](https://www.rfc-editor.org/rfc/rfc7591.html) * [RFC 8705 OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens](https://www.rfc-editor.org/rfc/rfc8705.html) * [OpenID Connect Client-Initiated Backchannel Authentication Flow - Core 1.0](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html) * [The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR)](https://datatracker.ietf.org/doc/draft-ietf-oauth-jwsreq/) * [Financial-grade API: JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)](https://openid.net/specs/openid-financial-api-jarm.html) * [OAuth 2.0 Pushed Authorization Requests (PAR)](https://datatracker.ietf.org/doc/rfc9126/) * [OAuth 2.0 Rich Authorization Requests (RAR)](https://datatracker.ietf.org/doc/draft-ietf-oauth-rar/)  Standard client metadata included in Client Registration Request and Client Update Request (cf. [OIDC DynReg](https://openid.net/specs/openid-connect-registration-1_0.html), [RFC 7591](https://www.rfc-editor.org/rfc/rfc7591.html) and [RFC 7592](https://www.rfc-editor.org/rfc/rfc7592.html)) are, if supported by Authlete, set to corresponding properties of the client application. For example, the value of the `client_name` client metadata in Client Registration/Update Request is set to the clientName property. On the other hand, unrecognized client metadata are discarded.  By listing up custom client metadata in advance by using the `supportedCustomClientMetadata` property of Service, Authlete can recognize them and stores their values into the database. The stored custom client metadata values can be referenced by this property.
	CustomMetadata *string `json:"customMetadata,omitempty"`
	// The flag indicating whether encryption of request object is required when the request object is passed through the front channel.  This flag does not affect the processing of request objects at the Pushed Authorization Request Endpoint, which is defined in [OAuth 2.0 Pushed Authorization Requests](https://datatracker.ietf.org/doc/rfc9126/). Unecrypted request objects are accepted at the endpoint even if this flag is `true`.  This flag does not indicate whether a request object is always required. There is a different flag, `requestObjectRequired`, for the purpose.  Even if this flag is `false`, encryption of request object is required if the `frontChannelRequestObjectEncryptionRequired` flag of the service is `true`.
	FrontChannelRequestObjectEncryptionRequired *bool `json:"frontChannelRequestObjectEncryptionRequired,omitempty"`
	// The flag indicating whether the JWE alg of encrypted request object must match the `request_object_encryption_alg` client metadata.  The `request_object_encryption_alg` client metadata itself is defined in [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) as follows.  > request_object_encryption_alg > > OPTIONAL. JWE [JWE] alg algorithm [JWA] the RP is declaring that it may use for encrypting Request   Objects sent to the OP. This parameter SHOULD be included when symmetric encryption will be used,   since this signals to the OP that a client_secret value needs to be returned from which the   symmetric key will be derived, that might not otherwise be returned. The RP MAY still use other   supported encryption algorithms or send unencrypted Request Objects, even when this parameter   is present. If both signing and encryption are requested, the Request Object will be signed   then encrypted, with the result being a Nested JWT, as defined in [JWT]. The default, if omitted,   is that the RP is not declaring whether it might encrypt any Request Objects.  The point here is \"The RP MAY still use other supported encryption algorithms or send unencrypted Request Objects, even when this parameter is present.\"  The property that represents the client metadata is `requestEncryptionAlg`. See the description of `requestEncryptionAlg` for details.  Even if this flag is `false`, the match is required if the `requestObjectEncryptionAlgMatchRequired` flag of the service is `true`.
	RequestObjectEncryptionAlgMatchRequired *bool `json:"requestObjectEncryptionAlgMatchRequired,omitempty"`
	// The flag indicating whether the JWE enc of encrypted request object must match the `request_object_encryption_enc` client metadata.  The `request_object_encryption_enc` client metadata itself is defined in [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) as follows.  > request_object_encryption_enc > > OPTIONAL. JWE enc algorithm [JWA] the RP is declaring that it may use for encrypting Request   Objects sent to the OP. If request_object_encryption_alg is specified, the default for this   value is A128CBC-HS256. When request_object_encryption_enc is included, request_object_encryption_alg   MUST also be provided.  The property that represents the client metadata is `requestEncryptionEnc`. See the description of `requestEncryptionEnc`  for details.  Even if this flag is `false`, the match is required if the `requestObjectEncryptionEncMatchRequired` flag of the service is `true`.
	RequestObjectEncryptionEncMatchRequired *bool `json:"requestObjectEncryptionEncMatchRequired,omitempty"`
	// The digest algorithm that this client requests the server to use when it computes digest values of <a href= \"https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#name-external-attachments\" >external attachments</a>, which may be referenced from within ID tokens or userinfo responses (or any place that can have the `verified_claims` claim).  Possible values are listed in the <a href= \"https://www.iana.org/assignments/named-information/named-information.xhtml#hash-alg\" >Hash Algorithm Registry</a> of IANA (Internet Assigned Numbers Authority), but the server does not necessarily support all the values there. When this property is omitted, `sha-256` is used as the default algorithm.  This property corresponds to the `digest_algorithm` client metadata which was defined by the third implementer's draft of [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html).
	DigestAlgorithm *string `json:"digestAlgorithm,omitempty"`
	// If `Enabled` is selected, an attempt to issue a new access token invalidates existing access tokens that are associated with the same combination of subject and client.  Note that, however, attempts by Client Credentials Flow do not invalidate existing access tokens because access tokens issued by Client Credentials Flow are not associated with any end-user's subject.  Even if `Disabled` is selected here, single access token per subject is effective if `singleAccessTokenPerSubject` of the `Service` this client belongs to is Enabled.
	SingleAccessTokenPerSubject *bool `json:"singleAccessTokenPerSubject,omitempty"`
	// The flag to indicate whether the use of Proof Key for Code Exchange (PKCE) is always required for authorization requests by Authorization Code Flow.  If `true`, `code_challenge` request parameter is always required for authorization requests using Authorization Code Flow.  See [RFC 7636](https://tools.ietf.org/html/rfc7636) (Proof Key for Code Exchange by OAuth Public Clients) for details about `code_challenge` request parameter.
	PkceRequired *bool `json:"pkceRequired,omitempty"`
	// The flag to indicate whether `S256` is always required as the code challenge method whenever [PKCE (RFC 7636)](https://tools.ietf.org/html/rfc7636) is used.  If this flag is set to `true`, `code_challenge_method=S256` must be included in the authorization request whenever it includes the `code_challenge` request parameter. Neither omission of the `code_challenge_method` request parameter nor use of plain (`code_challenge_method=plain`) is allowed.
	PkceS256Required *bool `json:"pkceS256Required,omitempty"`
	// If the DPoP is required for this client
	DpopRequired *bool `json:"dpopRequired,omitempty"`
	// The flag indicating whether this client was registered by the \"automatic\" client registration of OIDC Federation.
	AutomaticallyRegistered *bool `json:"automaticallyRegistered,omitempty"`
	// The flag indicating whether this client was registered by the \"explicit\" client registration of OIDC Federation.
	ExplicitlyRegistered *bool `json:"explicitlyRegistered,omitempty"`
	// The flag indicating whether this service signs responses from the resource server.
	RsResponseSigned *bool `json:"rsResponseSigned,omitempty"`
	// Get the key ID of a JWK containing the public key used by this client to sign requests to the resource server.
	RsSignedRequestKeyId *string `json:"rsSignedRequestKeyId,omitempty"`
	// Get the client registration types that the client has declared it may use.
	ClientRegistrationTypes []ClientRegistrationType `json:"clientRegistrationTypes,omitempty"`
	// Get the human-readable name representing the organization that manages this client. This property corresponds  to the organization_name client metadata that is defined in OpenID Connect Federation 1.0.
	OrganizationName *string `json:"organizationName,omitempty"`
	// Get the URI of the endpoint that returns this client's JWK Set document in the JWT format. This property  corresponds to the `signed_jwks_uri` client metadata defined in OpenID Connect Federation 1.0.
	SignedJwksUri *string `json:"signedJwksUri,omitempty"`
	// the entity ID of this client.
	EntityId *string `json:"entityId,omitempty"`
	// The entity ID of the trust anchor of the trust chain that was used when this client was registered or updated by  the mechanism defined in OpenID Connect Federation 1.0
	TrustAnchorId *string `json:"trustAnchorId,omitempty"`
	// The trust chain that was used when this client was registered or updated by the mechanism defined in OpenID Connect Federation 1.0
	TrustChain []string `json:"trustChain,omitempty"`
	// the expiration time of the trust chain that was used when this client was registered or updated by the mechanism  defined in OpenID Connect Federation 1.0. The value is represented as milliseconds elapsed since the Unix epoch (1970-01-01).
	TrustChainExpiresAt *int64 `json:"trustChainExpiresAt,omitempty"`
	// the time at which the trust chain was updated by the mechanism defined in OpenID Connect Federation 1.0
	TrustChainUpdatedAt *int64 `json:"trustChainUpdatedAt,omitempty"`
}

Client struct for Client

func NewClient

func NewClient() *Client

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

func NewClientWithDefaults

func NewClientWithDefaults() *Client

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

func (*Client) GetApplicationType

func (o *Client) GetApplicationType() ApplicationType

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

func (*Client) GetApplicationTypeOk

func (o *Client) GetApplicationTypeOk() (*ApplicationType, bool)

GetApplicationTypeOk returns a tuple with the ApplicationType 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 (*Client) GetAttributes

func (o *Client) GetAttributes() []Pair

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Client) GetAttributesOk

func (o *Client) GetAttributesOk() ([]Pair, bool)

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

func (*Client) GetAuthTimeRequired

func (o *Client) GetAuthTimeRequired() bool

GetAuthTimeRequired returns the AuthTimeRequired field value if set, zero value otherwise.

func (*Client) GetAuthTimeRequiredOk

func (o *Client) GetAuthTimeRequiredOk() (*bool, bool)

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

func (*Client) GetAuthorizationDetailsTypes

func (o *Client) GetAuthorizationDetailsTypes() []string

GetAuthorizationDetailsTypes returns the AuthorizationDetailsTypes field value if set, zero value otherwise.

func (*Client) GetAuthorizationDetailsTypesOk

func (o *Client) GetAuthorizationDetailsTypesOk() ([]string, bool)

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

func (*Client) GetAuthorizationEncryptionAlg

func (o *Client) GetAuthorizationEncryptionAlg() JweAlg

GetAuthorizationEncryptionAlg returns the AuthorizationEncryptionAlg field value if set, zero value otherwise.

func (*Client) GetAuthorizationEncryptionAlgOk

func (o *Client) GetAuthorizationEncryptionAlgOk() (*JweAlg, bool)

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

func (*Client) GetAuthorizationEncryptionEnc

func (o *Client) GetAuthorizationEncryptionEnc() JweEnc

GetAuthorizationEncryptionEnc returns the AuthorizationEncryptionEnc field value if set, zero value otherwise.

func (*Client) GetAuthorizationEncryptionEncOk

func (o *Client) GetAuthorizationEncryptionEncOk() (*JweEnc, bool)

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

func (*Client) GetAuthorizationSignAlg

func (o *Client) GetAuthorizationSignAlg() JwsAlg

GetAuthorizationSignAlg returns the AuthorizationSignAlg field value if set, zero value otherwise.

func (*Client) GetAuthorizationSignAlgOk

func (o *Client) GetAuthorizationSignAlgOk() (*JwsAlg, bool)

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

func (*Client) GetAutomaticallyRegistered added in v1.2.0

func (o *Client) GetAutomaticallyRegistered() bool

GetAutomaticallyRegistered returns the AutomaticallyRegistered field value if set, zero value otherwise.

func (*Client) GetAutomaticallyRegisteredOk added in v1.2.0

func (o *Client) GetAutomaticallyRegisteredOk() (*bool, bool)

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

func (*Client) GetBcDeliveryMode

func (o *Client) GetBcDeliveryMode() string

GetBcDeliveryMode returns the BcDeliveryMode field value if set, zero value otherwise.

func (*Client) GetBcDeliveryModeOk

func (o *Client) GetBcDeliveryModeOk() (*string, bool)

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

func (*Client) GetBcNotificationEndpoint

func (o *Client) GetBcNotificationEndpoint() string

GetBcNotificationEndpoint returns the BcNotificationEndpoint field value if set, zero value otherwise.

func (*Client) GetBcNotificationEndpointOk

func (o *Client) GetBcNotificationEndpointOk() (*string, bool)

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

func (*Client) GetBcRequestSignAlg

func (o *Client) GetBcRequestSignAlg() JwsAlg

GetBcRequestSignAlg returns the BcRequestSignAlg field value if set, zero value otherwise.

func (*Client) GetBcRequestSignAlgOk

func (o *Client) GetBcRequestSignAlgOk() (*JwsAlg, bool)

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

func (*Client) GetBcUserCodeRequired

func (o *Client) GetBcUserCodeRequired() bool

GetBcUserCodeRequired returns the BcUserCodeRequired field value if set, zero value otherwise.

func (*Client) GetBcUserCodeRequiredOk

func (o *Client) GetBcUserCodeRequiredOk() (*bool, bool)

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

func (*Client) GetClientId

func (o *Client) GetClientId() int64

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

func (*Client) GetClientIdAlias

func (o *Client) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*Client) GetClientIdAliasEnabled

func (o *Client) GetClientIdAliasEnabled() bool

GetClientIdAliasEnabled returns the ClientIdAliasEnabled field value if set, zero value otherwise.

func (*Client) GetClientIdAliasEnabledOk

func (o *Client) GetClientIdAliasEnabledOk() (*bool, bool)

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

func (*Client) GetClientIdAliasOk

func (o *Client) GetClientIdAliasOk() (*string, bool)

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

func (*Client) GetClientIdOk

func (o *Client) GetClientIdOk() (*int64, 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 (*Client) GetClientName

func (o *Client) GetClientName() string

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

func (*Client) GetClientNameOk

func (o *Client) 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 (*Client) GetClientNames

func (o *Client) GetClientNames() []TaggedValue

GetClientNames returns the ClientNames field value if set, zero value otherwise.

func (*Client) GetClientNamesOk

func (o *Client) GetClientNamesOk() ([]TaggedValue, bool)

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

func (*Client) GetClientRegistrationTypes added in v1.2.0

func (o *Client) GetClientRegistrationTypes() []ClientRegistrationType

GetClientRegistrationTypes returns the ClientRegistrationTypes field value if set, zero value otherwise.

func (*Client) GetClientRegistrationTypesOk added in v1.2.0

func (o *Client) GetClientRegistrationTypesOk() ([]ClientRegistrationType, bool)

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

func (*Client) GetClientSecret

func (o *Client) GetClientSecret() string

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

func (*Client) GetClientSecretOk

func (o *Client) 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 (*Client) GetClientType

func (o *Client) GetClientType() ClientType

GetClientType returns the ClientType field value if set, zero value otherwise.

func (*Client) GetClientTypeOk

func (o *Client) GetClientTypeOk() (*ClientType, bool)

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

func (*Client) GetClientUri

func (o *Client) GetClientUri() string

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

func (*Client) GetClientUriOk

func (o *Client) 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 (*Client) GetClientUris

func (o *Client) GetClientUris() []TaggedValue

GetClientUris returns the ClientUris field value if set, zero value otherwise.

func (*Client) GetClientUrisOk

func (o *Client) GetClientUrisOk() ([]TaggedValue, bool)

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

func (*Client) GetContacts

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

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

func (*Client) GetContactsOk

func (o *Client) 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 (*Client) GetCreatedAt

func (o *Client) GetCreatedAt() int64

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

func (*Client) GetCreatedAtOk

func (o *Client) GetCreatedAtOk() (*int64, 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 (*Client) GetCustomMetadata

func (o *Client) GetCustomMetadata() string

GetCustomMetadata returns the CustomMetadata field value if set, zero value otherwise.

func (*Client) GetCustomMetadataOk

func (o *Client) GetCustomMetadataOk() (*string, bool)

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

func (*Client) GetDefaultAcrs

func (o *Client) GetDefaultAcrs() []string

GetDefaultAcrs returns the DefaultAcrs field value if set, zero value otherwise.

func (*Client) GetDefaultAcrsOk

func (o *Client) GetDefaultAcrsOk() ([]string, bool)

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

func (*Client) GetDefaultMaxAge

func (o *Client) GetDefaultMaxAge() int32

GetDefaultMaxAge returns the DefaultMaxAge field value if set, zero value otherwise.

func (*Client) GetDefaultMaxAgeOk

func (o *Client) GetDefaultMaxAgeOk() (*int32, bool)

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

func (*Client) GetDerivedSectorIdentifier

func (o *Client) GetDerivedSectorIdentifier() string

GetDerivedSectorIdentifier returns the DerivedSectorIdentifier field value if set, zero value otherwise.

func (*Client) GetDerivedSectorIdentifierOk

func (o *Client) GetDerivedSectorIdentifierOk() (*string, bool)

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

func (*Client) GetDescription

func (o *Client) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Client) GetDescriptionOk

func (o *Client) GetDescriptionOk() (*string, bool)

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

func (*Client) GetDescriptions

func (o *Client) GetDescriptions() []TaggedValue

GetDescriptions returns the Descriptions field value if set, zero value otherwise.

func (*Client) GetDescriptionsOk

func (o *Client) GetDescriptionsOk() ([]TaggedValue, bool)

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

func (*Client) GetDeveloper

func (o *Client) GetDeveloper() string

GetDeveloper returns the Developer field value if set, zero value otherwise.

func (*Client) GetDeveloperOk

func (o *Client) GetDeveloperOk() (*string, bool)

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

func (*Client) GetDigestAlgorithm added in v1.1.1

func (o *Client) GetDigestAlgorithm() string

GetDigestAlgorithm returns the DigestAlgorithm field value if set, zero value otherwise.

func (*Client) GetDigestAlgorithmOk added in v1.1.1

func (o *Client) GetDigestAlgorithmOk() (*string, bool)

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

func (*Client) GetDpopRequired added in v1.2.0

func (o *Client) GetDpopRequired() bool

GetDpopRequired returns the DpopRequired field value if set, zero value otherwise.

func (*Client) GetDpopRequiredOk added in v1.2.0

func (o *Client) GetDpopRequiredOk() (*bool, bool)

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

func (*Client) GetDynamicallyRegistered

func (o *Client) GetDynamicallyRegistered() bool

GetDynamicallyRegistered returns the DynamicallyRegistered field value if set, zero value otherwise.

func (*Client) GetDynamicallyRegisteredOk

func (o *Client) GetDynamicallyRegisteredOk() (*bool, bool)

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

func (*Client) GetEntityId added in v1.2.0

func (o *Client) GetEntityId() string

GetEntityId returns the EntityId field value if set, zero value otherwise.

func (*Client) GetEntityIdOk added in v1.2.0

func (o *Client) GetEntityIdOk() (*string, bool)

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

func (*Client) GetExplicitlyRegistered added in v1.2.0

func (o *Client) GetExplicitlyRegistered() bool

GetExplicitlyRegistered returns the ExplicitlyRegistered field value if set, zero value otherwise.

func (*Client) GetExplicitlyRegisteredOk added in v1.2.0

func (o *Client) GetExplicitlyRegisteredOk() (*bool, bool)

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

func (*Client) GetExtension

func (o *Client) GetExtension() ClientExtension

GetExtension returns the Extension field value if set, zero value otherwise.

func (*Client) GetExtensionOk

func (o *Client) GetExtensionOk() (*ClientExtension, bool)

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

func (*Client) GetFrontChannelRequestObjectEncryptionRequired

func (o *Client) GetFrontChannelRequestObjectEncryptionRequired() bool

GetFrontChannelRequestObjectEncryptionRequired returns the FrontChannelRequestObjectEncryptionRequired field value if set, zero value otherwise.

func (*Client) GetFrontChannelRequestObjectEncryptionRequiredOk

func (o *Client) GetFrontChannelRequestObjectEncryptionRequiredOk() (*bool, bool)

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

func (*Client) GetGrantTypes

func (o *Client) GetGrantTypes() []GrantType

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

func (*Client) GetGrantTypesOk

func (o *Client) GetGrantTypesOk() ([]GrantType, 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 (*Client) GetIdTokenEncryptionAlg

func (o *Client) GetIdTokenEncryptionAlg() JweAlg

GetIdTokenEncryptionAlg returns the IdTokenEncryptionAlg field value if set, zero value otherwise.

func (*Client) GetIdTokenEncryptionAlgOk

func (o *Client) GetIdTokenEncryptionAlgOk() (*JweAlg, bool)

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

func (*Client) GetIdTokenEncryptionEnc

func (o *Client) GetIdTokenEncryptionEnc() JweEnc

GetIdTokenEncryptionEnc returns the IdTokenEncryptionEnc field value if set, zero value otherwise.

func (*Client) GetIdTokenEncryptionEncOk

func (o *Client) GetIdTokenEncryptionEncOk() (*JweEnc, bool)

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

func (*Client) GetIdTokenSignAlg

func (o *Client) GetIdTokenSignAlg() JwsAlg

GetIdTokenSignAlg returns the IdTokenSignAlg field value if set, zero value otherwise.

func (*Client) GetIdTokenSignAlgOk

func (o *Client) GetIdTokenSignAlgOk() (*JwsAlg, bool)

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

func (*Client) GetJwks

func (o *Client) GetJwks() string

GetJwks returns the Jwks field value if set, zero value otherwise.

func (*Client) GetJwksOk

func (o *Client) GetJwksOk() (*string, bool)

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

func (*Client) GetJwksUri

func (o *Client) GetJwksUri() string

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

func (*Client) GetJwksUriOk

func (o *Client) 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 (*Client) GetLoginUri

func (o *Client) GetLoginUri() string

GetLoginUri returns the LoginUri field value if set, zero value otherwise.

func (*Client) GetLoginUriOk

func (o *Client) GetLoginUriOk() (*string, bool)

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

func (*Client) GetLogoUri

func (o *Client) GetLogoUri() string

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

func (*Client) GetLogoUriOk

func (o *Client) 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 (*Client) GetLogoUris

func (o *Client) GetLogoUris() []TaggedValue

GetLogoUris returns the LogoUris field value if set, zero value otherwise.

func (*Client) GetLogoUrisOk

func (o *Client) GetLogoUrisOk() ([]TaggedValue, bool)

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

func (*Client) GetModifiedAt

func (o *Client) GetModifiedAt() int64

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*Client) GetModifiedAtOk

func (o *Client) GetModifiedAtOk() (*int64, bool)

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

func (*Client) GetNumber

func (o *Client) GetNumber() int32

GetNumber returns the Number field value if set, zero value otherwise.

func (*Client) GetNumberOk

func (o *Client) GetNumberOk() (*int32, bool)

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

func (*Client) GetOrganizationName added in v1.2.0

func (o *Client) GetOrganizationName() string

GetOrganizationName returns the OrganizationName field value if set, zero value otherwise.

func (*Client) GetOrganizationNameOk added in v1.2.0

func (o *Client) GetOrganizationNameOk() (*string, bool)

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

func (*Client) GetParRequired

func (o *Client) GetParRequired() bool

GetParRequired returns the ParRequired field value if set, zero value otherwise.

func (*Client) GetParRequiredOk

func (o *Client) GetParRequiredOk() (*bool, bool)

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

func (*Client) GetPkceRequired added in v1.1.1

func (o *Client) GetPkceRequired() bool

GetPkceRequired returns the PkceRequired field value if set, zero value otherwise.

func (*Client) GetPkceRequiredOk added in v1.1.1

func (o *Client) GetPkceRequiredOk() (*bool, bool)

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

func (*Client) GetPkceS256Required added in v1.1.1

func (o *Client) GetPkceS256Required() bool

GetPkceS256Required returns the PkceS256Required field value if set, zero value otherwise.

func (*Client) GetPkceS256RequiredOk added in v1.1.1

func (o *Client) GetPkceS256RequiredOk() (*bool, bool)

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

func (*Client) GetPolicyUri

func (o *Client) GetPolicyUri() string

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

func (*Client) GetPolicyUriOk

func (o *Client) 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 (*Client) GetPolicyUris

func (o *Client) GetPolicyUris() []TaggedValue

GetPolicyUris returns the PolicyUris field value if set, zero value otherwise.

func (*Client) GetPolicyUrisOk

func (o *Client) GetPolicyUrisOk() ([]TaggedValue, bool)

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

func (*Client) GetRedirectUris

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

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

func (*Client) GetRedirectUrisOk

func (o *Client) 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 (*Client) GetRegistrationAccessTokenHash

func (o *Client) GetRegistrationAccessTokenHash() string

GetRegistrationAccessTokenHash returns the RegistrationAccessTokenHash field value if set, zero value otherwise.

func (*Client) GetRegistrationAccessTokenHashOk

func (o *Client) GetRegistrationAccessTokenHashOk() (*string, bool)

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

func (*Client) GetRequestEncryptionAlg

func (o *Client) GetRequestEncryptionAlg() JweAlg

GetRequestEncryptionAlg returns the RequestEncryptionAlg field value if set, zero value otherwise.

func (*Client) GetRequestEncryptionAlgOk

func (o *Client) GetRequestEncryptionAlgOk() (*JweAlg, bool)

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

func (*Client) GetRequestEncryptionEnc

func (o *Client) GetRequestEncryptionEnc() JweEnc

GetRequestEncryptionEnc returns the RequestEncryptionEnc field value if set, zero value otherwise.

func (*Client) GetRequestEncryptionEncOk

func (o *Client) GetRequestEncryptionEncOk() (*JweEnc, bool)

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

func (*Client) GetRequestObjectEncryptionAlgMatchRequired

func (o *Client) GetRequestObjectEncryptionAlgMatchRequired() bool

GetRequestObjectEncryptionAlgMatchRequired returns the RequestObjectEncryptionAlgMatchRequired field value if set, zero value otherwise.

func (*Client) GetRequestObjectEncryptionAlgMatchRequiredOk

func (o *Client) GetRequestObjectEncryptionAlgMatchRequiredOk() (*bool, bool)

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

func (*Client) GetRequestObjectEncryptionEncMatchRequired

func (o *Client) GetRequestObjectEncryptionEncMatchRequired() bool

GetRequestObjectEncryptionEncMatchRequired returns the RequestObjectEncryptionEncMatchRequired field value if set, zero value otherwise.

func (*Client) GetRequestObjectEncryptionEncMatchRequiredOk

func (o *Client) GetRequestObjectEncryptionEncMatchRequiredOk() (*bool, bool)

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

func (*Client) GetRequestObjectRequired

func (o *Client) GetRequestObjectRequired() bool

GetRequestObjectRequired returns the RequestObjectRequired field value if set, zero value otherwise.

func (*Client) GetRequestObjectRequiredOk

func (o *Client) GetRequestObjectRequiredOk() (*bool, bool)

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

func (*Client) GetRequestSignAlg

func (o *Client) GetRequestSignAlg() JwsAlg

GetRequestSignAlg returns the RequestSignAlg field value if set, zero value otherwise.

func (*Client) GetRequestSignAlgOk

func (o *Client) GetRequestSignAlgOk() (*JwsAlg, bool)

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

func (*Client) GetRequestUris

func (o *Client) GetRequestUris() []string

GetRequestUris returns the RequestUris field value if set, zero value otherwise.

func (*Client) GetRequestUrisOk

func (o *Client) 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 (*Client) GetResponseTypes

func (o *Client) GetResponseTypes() []ResponseType

GetResponseTypes returns the ResponseTypes field value if set, zero value otherwise.

func (*Client) GetResponseTypesOk

func (o *Client) GetResponseTypesOk() ([]ResponseType, 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 (*Client) GetRsResponseSigned added in v1.2.0

func (o *Client) GetRsResponseSigned() bool

GetRsResponseSigned returns the RsResponseSigned field value if set, zero value otherwise.

func (*Client) GetRsResponseSignedOk added in v1.2.0

func (o *Client) GetRsResponseSignedOk() (*bool, bool)

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

func (*Client) GetRsSignedRequestKeyId added in v1.2.0

func (o *Client) GetRsSignedRequestKeyId() string

GetRsSignedRequestKeyId returns the RsSignedRequestKeyId field value if set, zero value otherwise.

func (*Client) GetRsSignedRequestKeyIdOk added in v1.2.0

func (o *Client) GetRsSignedRequestKeyIdOk() (*string, bool)

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

func (*Client) GetSectorIdentifierUri

func (o *Client) GetSectorIdentifierUri() string

GetSectorIdentifierUri returns the SectorIdentifierUri field value if set, zero value otherwise.

func (*Client) GetSectorIdentifierUriOk

func (o *Client) 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 (*Client) GetSelfSignedCertificateKeyId

func (o *Client) GetSelfSignedCertificateKeyId() string

GetSelfSignedCertificateKeyId returns the SelfSignedCertificateKeyId field value if set, zero value otherwise.

func (*Client) GetSelfSignedCertificateKeyIdOk

func (o *Client) GetSelfSignedCertificateKeyIdOk() (*string, bool)

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

func (*Client) GetServiceNumber

func (o *Client) GetServiceNumber() int32

GetServiceNumber returns the ServiceNumber field value if set, zero value otherwise.

func (*Client) GetServiceNumberOk

func (o *Client) GetServiceNumberOk() (*int32, bool)

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

func (*Client) GetSignedJwksUri added in v1.2.0

func (o *Client) GetSignedJwksUri() string

GetSignedJwksUri returns the SignedJwksUri field value if set, zero value otherwise.

func (*Client) GetSignedJwksUriOk added in v1.2.0

func (o *Client) GetSignedJwksUriOk() (*string, bool)

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

func (*Client) GetSingleAccessTokenPerSubject added in v1.1.1

func (o *Client) GetSingleAccessTokenPerSubject() bool

GetSingleAccessTokenPerSubject returns the SingleAccessTokenPerSubject field value if set, zero value otherwise.

func (*Client) GetSingleAccessTokenPerSubjectOk added in v1.1.1

func (o *Client) GetSingleAccessTokenPerSubjectOk() (*bool, bool)

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

func (*Client) GetSoftwareId

func (o *Client) GetSoftwareId() string

GetSoftwareId returns the SoftwareId field value if set, zero value otherwise.

func (*Client) GetSoftwareIdOk

func (o *Client) GetSoftwareIdOk() (*string, bool)

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

func (*Client) GetSoftwareVersion

func (o *Client) GetSoftwareVersion() string

GetSoftwareVersion returns the SoftwareVersion field value if set, zero value otherwise.

func (*Client) GetSoftwareVersionOk

func (o *Client) GetSoftwareVersionOk() (*string, bool)

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

func (*Client) GetSubjectType

func (o *Client) GetSubjectType() SubjectType

GetSubjectType returns the SubjectType field value if set, zero value otherwise.

func (*Client) GetSubjectTypeOk

func (o *Client) GetSubjectTypeOk() (*SubjectType, 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 (*Client) GetTlsClientAuthSanDns

func (o *Client) GetTlsClientAuthSanDns() string

GetTlsClientAuthSanDns returns the TlsClientAuthSanDns field value if set, zero value otherwise.

func (*Client) GetTlsClientAuthSanDnsOk

func (o *Client) GetTlsClientAuthSanDnsOk() (*string, bool)

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

func (*Client) GetTlsClientAuthSanEmail

func (o *Client) GetTlsClientAuthSanEmail() string

GetTlsClientAuthSanEmail returns the TlsClientAuthSanEmail field value if set, zero value otherwise.

func (*Client) GetTlsClientAuthSanEmailOk

func (o *Client) GetTlsClientAuthSanEmailOk() (*string, bool)

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

func (*Client) GetTlsClientAuthSanIp

func (o *Client) GetTlsClientAuthSanIp() string

GetTlsClientAuthSanIp returns the TlsClientAuthSanIp field value if set, zero value otherwise.

func (*Client) GetTlsClientAuthSanIpOk

func (o *Client) GetTlsClientAuthSanIpOk() (*string, bool)

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

func (*Client) GetTlsClientAuthSanUri

func (o *Client) GetTlsClientAuthSanUri() string

GetTlsClientAuthSanUri returns the TlsClientAuthSanUri field value if set, zero value otherwise.

func (*Client) GetTlsClientAuthSanUriOk

func (o *Client) GetTlsClientAuthSanUriOk() (*string, bool)

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

func (*Client) GetTlsClientAuthSubjectDn

func (o *Client) GetTlsClientAuthSubjectDn() string

GetTlsClientAuthSubjectDn returns the TlsClientAuthSubjectDn field value if set, zero value otherwise.

func (*Client) GetTlsClientAuthSubjectDnOk

func (o *Client) GetTlsClientAuthSubjectDnOk() (*string, bool)

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

func (*Client) GetTlsClientCertificateBoundAccessTokens

func (o *Client) GetTlsClientCertificateBoundAccessTokens() bool

GetTlsClientCertificateBoundAccessTokens returns the TlsClientCertificateBoundAccessTokens field value if set, zero value otherwise.

func (*Client) GetTlsClientCertificateBoundAccessTokensOk

func (o *Client) GetTlsClientCertificateBoundAccessTokensOk() (*bool, bool)

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

func (*Client) GetTokenAuthMethod

func (o *Client) GetTokenAuthMethod() ClientAuthenticationMethod

GetTokenAuthMethod returns the TokenAuthMethod field value if set, zero value otherwise.

func (*Client) GetTokenAuthMethodOk

func (o *Client) GetTokenAuthMethodOk() (*ClientAuthenticationMethod, bool)

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

func (*Client) GetTokenAuthSignAlg

func (o *Client) GetTokenAuthSignAlg() JwsAlg

GetTokenAuthSignAlg returns the TokenAuthSignAlg field value if set, zero value otherwise.

func (*Client) GetTokenAuthSignAlgOk

func (o *Client) GetTokenAuthSignAlgOk() (*JwsAlg, bool)

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

func (*Client) GetTosUri

func (o *Client) GetTosUri() string

GetTosUri returns the TosUri field value if set, zero value otherwise.

func (*Client) GetTosUriOk

func (o *Client) 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 (*Client) GetTosUris

func (o *Client) GetTosUris() []TaggedValue

GetTosUris returns the TosUris field value if set, zero value otherwise.

func (*Client) GetTosUrisOk

func (o *Client) GetTosUrisOk() ([]TaggedValue, bool)

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

func (*Client) GetTrustAnchorId added in v1.2.0

func (o *Client) GetTrustAnchorId() string

GetTrustAnchorId returns the TrustAnchorId field value if set, zero value otherwise.

func (*Client) GetTrustAnchorIdOk added in v1.2.0

func (o *Client) GetTrustAnchorIdOk() (*string, bool)

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

func (*Client) GetTrustChain added in v1.2.0

func (o *Client) GetTrustChain() []string

GetTrustChain returns the TrustChain field value if set, zero value otherwise.

func (*Client) GetTrustChainExpiresAt added in v1.2.0

func (o *Client) GetTrustChainExpiresAt() int64

GetTrustChainExpiresAt returns the TrustChainExpiresAt field value if set, zero value otherwise.

func (*Client) GetTrustChainExpiresAtOk added in v1.2.0

func (o *Client) GetTrustChainExpiresAtOk() (*int64, bool)

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

func (*Client) GetTrustChainOk added in v1.2.0

func (o *Client) GetTrustChainOk() ([]string, bool)

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

func (*Client) GetTrustChainUpdatedAt added in v1.2.0

func (o *Client) GetTrustChainUpdatedAt() int64

GetTrustChainUpdatedAt returns the TrustChainUpdatedAt field value if set, zero value otherwise.

func (*Client) GetTrustChainUpdatedAtOk added in v1.2.0

func (o *Client) GetTrustChainUpdatedAtOk() (*int64, bool)

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

func (*Client) GetUserInfoEncryptionAlg

func (o *Client) GetUserInfoEncryptionAlg() JweAlg

GetUserInfoEncryptionAlg returns the UserInfoEncryptionAlg field value if set, zero value otherwise.

func (*Client) GetUserInfoEncryptionAlgOk

func (o *Client) GetUserInfoEncryptionAlgOk() (*JweAlg, bool)

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

func (*Client) GetUserInfoEncryptionEnc

func (o *Client) GetUserInfoEncryptionEnc() JweEnc

GetUserInfoEncryptionEnc returns the UserInfoEncryptionEnc field value if set, zero value otherwise.

func (*Client) GetUserInfoEncryptionEncOk

func (o *Client) GetUserInfoEncryptionEncOk() (*JweEnc, bool)

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

func (*Client) GetUserInfoSignAlg

func (o *Client) GetUserInfoSignAlg() JwsAlg

GetUserInfoSignAlg returns the UserInfoSignAlg field value if set, zero value otherwise.

func (*Client) GetUserInfoSignAlgOk

func (o *Client) GetUserInfoSignAlgOk() (*JwsAlg, bool)

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

func (*Client) HasApplicationType

func (o *Client) HasApplicationType() bool

HasApplicationType returns a boolean if a field has been set.

func (*Client) HasAttributes

func (o *Client) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Client) HasAuthTimeRequired

func (o *Client) HasAuthTimeRequired() bool

HasAuthTimeRequired returns a boolean if a field has been set.

func (*Client) HasAuthorizationDetailsTypes

func (o *Client) HasAuthorizationDetailsTypes() bool

HasAuthorizationDetailsTypes returns a boolean if a field has been set.

func (*Client) HasAuthorizationEncryptionAlg

func (o *Client) HasAuthorizationEncryptionAlg() bool

HasAuthorizationEncryptionAlg returns a boolean if a field has been set.

func (*Client) HasAuthorizationEncryptionEnc

func (o *Client) HasAuthorizationEncryptionEnc() bool

HasAuthorizationEncryptionEnc returns a boolean if a field has been set.

func (*Client) HasAuthorizationSignAlg

func (o *Client) HasAuthorizationSignAlg() bool

HasAuthorizationSignAlg returns a boolean if a field has been set.

func (*Client) HasAutomaticallyRegistered added in v1.2.0

func (o *Client) HasAutomaticallyRegistered() bool

HasAutomaticallyRegistered returns a boolean if a field has been set.

func (*Client) HasBcDeliveryMode

func (o *Client) HasBcDeliveryMode() bool

HasBcDeliveryMode returns a boolean if a field has been set.

func (*Client) HasBcNotificationEndpoint

func (o *Client) HasBcNotificationEndpoint() bool

HasBcNotificationEndpoint returns a boolean if a field has been set.

func (*Client) HasBcRequestSignAlg

func (o *Client) HasBcRequestSignAlg() bool

HasBcRequestSignAlg returns a boolean if a field has been set.

func (*Client) HasBcUserCodeRequired

func (o *Client) HasBcUserCodeRequired() bool

HasBcUserCodeRequired returns a boolean if a field has been set.

func (*Client) HasClientId

func (o *Client) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*Client) HasClientIdAlias

func (o *Client) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*Client) HasClientIdAliasEnabled

func (o *Client) HasClientIdAliasEnabled() bool

HasClientIdAliasEnabled returns a boolean if a field has been set.

func (*Client) HasClientName

func (o *Client) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*Client) HasClientNames

func (o *Client) HasClientNames() bool

HasClientNames returns a boolean if a field has been set.

func (*Client) HasClientRegistrationTypes added in v1.2.0

func (o *Client) HasClientRegistrationTypes() bool

HasClientRegistrationTypes returns a boolean if a field has been set.

func (*Client) HasClientSecret

func (o *Client) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*Client) HasClientType

func (o *Client) HasClientType() bool

HasClientType returns a boolean if a field has been set.

func (*Client) HasClientUri

func (o *Client) HasClientUri() bool

HasClientUri returns a boolean if a field has been set.

func (*Client) HasClientUris

func (o *Client) HasClientUris() bool

HasClientUris returns a boolean if a field has been set.

func (*Client) HasContacts

func (o *Client) HasContacts() bool

HasContacts returns a boolean if a field has been set.

func (*Client) HasCreatedAt

func (o *Client) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Client) HasCustomMetadata

func (o *Client) HasCustomMetadata() bool

HasCustomMetadata returns a boolean if a field has been set.

func (*Client) HasDefaultAcrs

func (o *Client) HasDefaultAcrs() bool

HasDefaultAcrs returns a boolean if a field has been set.

func (*Client) HasDefaultMaxAge

func (o *Client) HasDefaultMaxAge() bool

HasDefaultMaxAge returns a boolean if a field has been set.

func (*Client) HasDerivedSectorIdentifier

func (o *Client) HasDerivedSectorIdentifier() bool

HasDerivedSectorIdentifier returns a boolean if a field has been set.

func (*Client) HasDescription

func (o *Client) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Client) HasDescriptions

func (o *Client) HasDescriptions() bool

HasDescriptions returns a boolean if a field has been set.

func (*Client) HasDeveloper

func (o *Client) HasDeveloper() bool

HasDeveloper returns a boolean if a field has been set.

func (*Client) HasDigestAlgorithm added in v1.1.1

func (o *Client) HasDigestAlgorithm() bool

HasDigestAlgorithm returns a boolean if a field has been set.

func (*Client) HasDpopRequired added in v1.2.0

func (o *Client) HasDpopRequired() bool

HasDpopRequired returns a boolean if a field has been set.

func (*Client) HasDynamicallyRegistered

func (o *Client) HasDynamicallyRegistered() bool

HasDynamicallyRegistered returns a boolean if a field has been set.

func (*Client) HasEntityId added in v1.2.0

func (o *Client) HasEntityId() bool

HasEntityId returns a boolean if a field has been set.

func (*Client) HasExplicitlyRegistered added in v1.2.0

func (o *Client) HasExplicitlyRegistered() bool

HasExplicitlyRegistered returns a boolean if a field has been set.

func (*Client) HasExtension

func (o *Client) HasExtension() bool

HasExtension returns a boolean if a field has been set.

func (*Client) HasFrontChannelRequestObjectEncryptionRequired

func (o *Client) HasFrontChannelRequestObjectEncryptionRequired() bool

HasFrontChannelRequestObjectEncryptionRequired returns a boolean if a field has been set.

func (*Client) HasGrantTypes

func (o *Client) HasGrantTypes() bool

HasGrantTypes returns a boolean if a field has been set.

func (*Client) HasIdTokenEncryptionAlg

func (o *Client) HasIdTokenEncryptionAlg() bool

HasIdTokenEncryptionAlg returns a boolean if a field has been set.

func (*Client) HasIdTokenEncryptionEnc

func (o *Client) HasIdTokenEncryptionEnc() bool

HasIdTokenEncryptionEnc returns a boolean if a field has been set.

func (*Client) HasIdTokenSignAlg

func (o *Client) HasIdTokenSignAlg() bool

HasIdTokenSignAlg returns a boolean if a field has been set.

func (*Client) HasJwks

func (o *Client) HasJwks() bool

HasJwks returns a boolean if a field has been set.

func (*Client) HasJwksUri

func (o *Client) HasJwksUri() bool

HasJwksUri returns a boolean if a field has been set.

func (*Client) HasLoginUri

func (o *Client) HasLoginUri() bool

HasLoginUri returns a boolean if a field has been set.

func (*Client) HasLogoUri

func (o *Client) HasLogoUri() bool

HasLogoUri returns a boolean if a field has been set.

func (*Client) HasLogoUris

func (o *Client) HasLogoUris() bool

HasLogoUris returns a boolean if a field has been set.

func (*Client) HasModifiedAt

func (o *Client) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*Client) HasNumber

func (o *Client) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*Client) HasOrganizationName added in v1.2.0

func (o *Client) HasOrganizationName() bool

HasOrganizationName returns a boolean if a field has been set.

func (*Client) HasParRequired

func (o *Client) HasParRequired() bool

HasParRequired returns a boolean if a field has been set.

func (*Client) HasPkceRequired added in v1.1.1

func (o *Client) HasPkceRequired() bool

HasPkceRequired returns a boolean if a field has been set.

func (*Client) HasPkceS256Required added in v1.1.1

func (o *Client) HasPkceS256Required() bool

HasPkceS256Required returns a boolean if a field has been set.

func (*Client) HasPolicyUri

func (o *Client) HasPolicyUri() bool

HasPolicyUri returns a boolean if a field has been set.

func (*Client) HasPolicyUris

func (o *Client) HasPolicyUris() bool

HasPolicyUris returns a boolean if a field has been set.

func (*Client) HasRedirectUris

func (o *Client) HasRedirectUris() bool

HasRedirectUris returns a boolean if a field has been set.

func (*Client) HasRegistrationAccessTokenHash

func (o *Client) HasRegistrationAccessTokenHash() bool

HasRegistrationAccessTokenHash returns a boolean if a field has been set.

func (*Client) HasRequestEncryptionAlg

func (o *Client) HasRequestEncryptionAlg() bool

HasRequestEncryptionAlg returns a boolean if a field has been set.

func (*Client) HasRequestEncryptionEnc

func (o *Client) HasRequestEncryptionEnc() bool

HasRequestEncryptionEnc returns a boolean if a field has been set.

func (*Client) HasRequestObjectEncryptionAlgMatchRequired

func (o *Client) HasRequestObjectEncryptionAlgMatchRequired() bool

HasRequestObjectEncryptionAlgMatchRequired returns a boolean if a field has been set.

func (*Client) HasRequestObjectEncryptionEncMatchRequired

func (o *Client) HasRequestObjectEncryptionEncMatchRequired() bool

HasRequestObjectEncryptionEncMatchRequired returns a boolean if a field has been set.

func (*Client) HasRequestObjectRequired

func (o *Client) HasRequestObjectRequired() bool

HasRequestObjectRequired returns a boolean if a field has been set.

func (*Client) HasRequestSignAlg

func (o *Client) HasRequestSignAlg() bool

HasRequestSignAlg returns a boolean if a field has been set.

func (*Client) HasRequestUris

func (o *Client) HasRequestUris() bool

HasRequestUris returns a boolean if a field has been set.

func (*Client) HasResponseTypes

func (o *Client) HasResponseTypes() bool

HasResponseTypes returns a boolean if a field has been set.

func (*Client) HasRsResponseSigned added in v1.2.0

func (o *Client) HasRsResponseSigned() bool

HasRsResponseSigned returns a boolean if a field has been set.

func (*Client) HasRsSignedRequestKeyId added in v1.2.0

func (o *Client) HasRsSignedRequestKeyId() bool

HasRsSignedRequestKeyId returns a boolean if a field has been set.

func (*Client) HasSectorIdentifierUri

func (o *Client) HasSectorIdentifierUri() bool

HasSectorIdentifierUri returns a boolean if a field has been set.

func (*Client) HasSelfSignedCertificateKeyId

func (o *Client) HasSelfSignedCertificateKeyId() bool

HasSelfSignedCertificateKeyId returns a boolean if a field has been set.

func (*Client) HasServiceNumber

func (o *Client) HasServiceNumber() bool

HasServiceNumber returns a boolean if a field has been set.

func (*Client) HasSignedJwksUri added in v1.2.0

func (o *Client) HasSignedJwksUri() bool

HasSignedJwksUri returns a boolean if a field has been set.

func (*Client) HasSingleAccessTokenPerSubject added in v1.1.1

func (o *Client) HasSingleAccessTokenPerSubject() bool

HasSingleAccessTokenPerSubject returns a boolean if a field has been set.

func (*Client) HasSoftwareId

func (o *Client) HasSoftwareId() bool

HasSoftwareId returns a boolean if a field has been set.

func (*Client) HasSoftwareVersion

func (o *Client) HasSoftwareVersion() bool

HasSoftwareVersion returns a boolean if a field has been set.

func (*Client) HasSubjectType

func (o *Client) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (*Client) HasTlsClientAuthSanDns

func (o *Client) HasTlsClientAuthSanDns() bool

HasTlsClientAuthSanDns returns a boolean if a field has been set.

func (*Client) HasTlsClientAuthSanEmail

func (o *Client) HasTlsClientAuthSanEmail() bool

HasTlsClientAuthSanEmail returns a boolean if a field has been set.

func (*Client) HasTlsClientAuthSanIp

func (o *Client) HasTlsClientAuthSanIp() bool

HasTlsClientAuthSanIp returns a boolean if a field has been set.

func (*Client) HasTlsClientAuthSanUri

func (o *Client) HasTlsClientAuthSanUri() bool

HasTlsClientAuthSanUri returns a boolean if a field has been set.

func (*Client) HasTlsClientAuthSubjectDn

func (o *Client) HasTlsClientAuthSubjectDn() bool

HasTlsClientAuthSubjectDn returns a boolean if a field has been set.

func (*Client) HasTlsClientCertificateBoundAccessTokens

func (o *Client) HasTlsClientCertificateBoundAccessTokens() bool

HasTlsClientCertificateBoundAccessTokens returns a boolean if a field has been set.

func (*Client) HasTokenAuthMethod

func (o *Client) HasTokenAuthMethod() bool

HasTokenAuthMethod returns a boolean if a field has been set.

func (*Client) HasTokenAuthSignAlg

func (o *Client) HasTokenAuthSignAlg() bool

HasTokenAuthSignAlg returns a boolean if a field has been set.

func (*Client) HasTosUri

func (o *Client) HasTosUri() bool

HasTosUri returns a boolean if a field has been set.

func (*Client) HasTosUris

func (o *Client) HasTosUris() bool

HasTosUris returns a boolean if a field has been set.

func (*Client) HasTrustAnchorId added in v1.2.0

func (o *Client) HasTrustAnchorId() bool

HasTrustAnchorId returns a boolean if a field has been set.

func (*Client) HasTrustChain added in v1.2.0

func (o *Client) HasTrustChain() bool

HasTrustChain returns a boolean if a field has been set.

func (*Client) HasTrustChainExpiresAt added in v1.2.0

func (o *Client) HasTrustChainExpiresAt() bool

HasTrustChainExpiresAt returns a boolean if a field has been set.

func (*Client) HasTrustChainUpdatedAt added in v1.2.0

func (o *Client) HasTrustChainUpdatedAt() bool

HasTrustChainUpdatedAt returns a boolean if a field has been set.

func (*Client) HasUserInfoEncryptionAlg

func (o *Client) HasUserInfoEncryptionAlg() bool

HasUserInfoEncryptionAlg returns a boolean if a field has been set.

func (*Client) HasUserInfoEncryptionEnc

func (o *Client) HasUserInfoEncryptionEnc() bool

HasUserInfoEncryptionEnc returns a boolean if a field has been set.

func (*Client) HasUserInfoSignAlg

func (o *Client) HasUserInfoSignAlg() bool

HasUserInfoSignAlg returns a boolean if a field has been set.

func (Client) MarshalJSON

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

func (*Client) SetApplicationType

func (o *Client) SetApplicationType(v ApplicationType)

SetApplicationType gets a reference to the given NullableApplicationType and assigns it to the ApplicationType field.

func (*Client) SetApplicationTypeNil

func (o *Client) SetApplicationTypeNil()

SetApplicationTypeNil sets the value for ApplicationType to be an explicit nil

func (*Client) SetAttributes

func (o *Client) SetAttributes(v []Pair)

SetAttributes gets a reference to the given []Pair and assigns it to the Attributes field.

func (*Client) SetAuthTimeRequired

func (o *Client) SetAuthTimeRequired(v bool)

SetAuthTimeRequired gets a reference to the given bool and assigns it to the AuthTimeRequired field.

func (*Client) SetAuthorizationDetailsTypes

func (o *Client) SetAuthorizationDetailsTypes(v []string)

SetAuthorizationDetailsTypes gets a reference to the given []string and assigns it to the AuthorizationDetailsTypes field.

func (*Client) SetAuthorizationEncryptionAlg

func (o *Client) SetAuthorizationEncryptionAlg(v JweAlg)

SetAuthorizationEncryptionAlg gets a reference to the given JweAlg and assigns it to the AuthorizationEncryptionAlg field.

func (*Client) SetAuthorizationEncryptionEnc

func (o *Client) SetAuthorizationEncryptionEnc(v JweEnc)

SetAuthorizationEncryptionEnc gets a reference to the given JweEnc and assigns it to the AuthorizationEncryptionEnc field.

func (*Client) SetAuthorizationSignAlg

func (o *Client) SetAuthorizationSignAlg(v JwsAlg)

SetAuthorizationSignAlg gets a reference to the given JwsAlg and assigns it to the AuthorizationSignAlg field.

func (*Client) SetAutomaticallyRegistered added in v1.2.0

func (o *Client) SetAutomaticallyRegistered(v bool)

SetAutomaticallyRegistered gets a reference to the given bool and assigns it to the AutomaticallyRegistered field.

func (*Client) SetBcDeliveryMode

func (o *Client) SetBcDeliveryMode(v string)

SetBcDeliveryMode gets a reference to the given string and assigns it to the BcDeliveryMode field.

func (*Client) SetBcNotificationEndpoint

func (o *Client) SetBcNotificationEndpoint(v string)

SetBcNotificationEndpoint gets a reference to the given string and assigns it to the BcNotificationEndpoint field.

func (*Client) SetBcRequestSignAlg

func (o *Client) SetBcRequestSignAlg(v JwsAlg)

SetBcRequestSignAlg gets a reference to the given JwsAlg and assigns it to the BcRequestSignAlg field.

func (*Client) SetBcUserCodeRequired

func (o *Client) SetBcUserCodeRequired(v bool)

SetBcUserCodeRequired gets a reference to the given bool and assigns it to the BcUserCodeRequired field.

func (*Client) SetClientId

func (o *Client) SetClientId(v int64)

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

func (*Client) SetClientIdAlias

func (o *Client) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*Client) SetClientIdAliasEnabled

func (o *Client) SetClientIdAliasEnabled(v bool)

SetClientIdAliasEnabled gets a reference to the given bool and assigns it to the ClientIdAliasEnabled field.

func (*Client) SetClientName

func (o *Client) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*Client) SetClientNames

func (o *Client) SetClientNames(v []TaggedValue)

SetClientNames gets a reference to the given []TaggedValue and assigns it to the ClientNames field.

func (*Client) SetClientRegistrationTypes added in v1.2.0

func (o *Client) SetClientRegistrationTypes(v []ClientRegistrationType)

SetClientRegistrationTypes gets a reference to the given []ClientRegistrationType and assigns it to the ClientRegistrationTypes field.

func (*Client) SetClientSecret

func (o *Client) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*Client) SetClientType

func (o *Client) SetClientType(v ClientType)

SetClientType gets a reference to the given ClientType and assigns it to the ClientType field.

func (*Client) SetClientUri

func (o *Client) SetClientUri(v string)

SetClientUri gets a reference to the given string and assigns it to the ClientUri field.

func (*Client) SetClientUris

func (o *Client) SetClientUris(v []TaggedValue)

SetClientUris gets a reference to the given []TaggedValue and assigns it to the ClientUris field.

func (*Client) SetContacts

func (o *Client) SetContacts(v []string)

SetContacts gets a reference to the given []string and assigns it to the Contacts field.

func (*Client) SetCreatedAt

func (o *Client) SetCreatedAt(v int64)

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

func (*Client) SetCustomMetadata

func (o *Client) SetCustomMetadata(v string)

SetCustomMetadata gets a reference to the given string and assigns it to the CustomMetadata field.

func (*Client) SetDefaultAcrs

func (o *Client) SetDefaultAcrs(v []string)

SetDefaultAcrs gets a reference to the given []string and assigns it to the DefaultAcrs field.

func (*Client) SetDefaultMaxAge

func (o *Client) SetDefaultMaxAge(v int32)

SetDefaultMaxAge gets a reference to the given int32 and assigns it to the DefaultMaxAge field.

func (*Client) SetDerivedSectorIdentifier

func (o *Client) SetDerivedSectorIdentifier(v string)

SetDerivedSectorIdentifier gets a reference to the given string and assigns it to the DerivedSectorIdentifier field.

func (*Client) SetDescription

func (o *Client) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Client) SetDescriptions

func (o *Client) SetDescriptions(v []TaggedValue)

SetDescriptions gets a reference to the given []TaggedValue and assigns it to the Descriptions field.

func (*Client) SetDeveloper

func (o *Client) SetDeveloper(v string)

SetDeveloper gets a reference to the given string and assigns it to the Developer field.

func (*Client) SetDigestAlgorithm added in v1.1.1

func (o *Client) SetDigestAlgorithm(v string)

SetDigestAlgorithm gets a reference to the given string and assigns it to the DigestAlgorithm field.

func (*Client) SetDpopRequired added in v1.2.0

func (o *Client) SetDpopRequired(v bool)

SetDpopRequired gets a reference to the given bool and assigns it to the DpopRequired field.

func (*Client) SetDynamicallyRegistered

func (o *Client) SetDynamicallyRegistered(v bool)

SetDynamicallyRegistered gets a reference to the given bool and assigns it to the DynamicallyRegistered field.

func (*Client) SetEntityId added in v1.2.0

func (o *Client) SetEntityId(v string)

SetEntityId gets a reference to the given string and assigns it to the EntityId field.

func (*Client) SetExplicitlyRegistered added in v1.2.0

func (o *Client) SetExplicitlyRegistered(v bool)

SetExplicitlyRegistered gets a reference to the given bool and assigns it to the ExplicitlyRegistered field.

func (*Client) SetExtension

func (o *Client) SetExtension(v ClientExtension)

SetExtension gets a reference to the given ClientExtension and assigns it to the Extension field.

func (*Client) SetFrontChannelRequestObjectEncryptionRequired

func (o *Client) SetFrontChannelRequestObjectEncryptionRequired(v bool)

SetFrontChannelRequestObjectEncryptionRequired gets a reference to the given bool and assigns it to the FrontChannelRequestObjectEncryptionRequired field.

func (*Client) SetGrantTypes

func (o *Client) SetGrantTypes(v []GrantType)

SetGrantTypes gets a reference to the given []GrantType and assigns it to the GrantTypes field.

func (*Client) SetIdTokenEncryptionAlg

func (o *Client) SetIdTokenEncryptionAlg(v JweAlg)

SetIdTokenEncryptionAlg gets a reference to the given JweAlg and assigns it to the IdTokenEncryptionAlg field.

func (*Client) SetIdTokenEncryptionEnc

func (o *Client) SetIdTokenEncryptionEnc(v JweEnc)

SetIdTokenEncryptionEnc gets a reference to the given JweEnc and assigns it to the IdTokenEncryptionEnc field.

func (*Client) SetIdTokenSignAlg

func (o *Client) SetIdTokenSignAlg(v JwsAlg)

SetIdTokenSignAlg gets a reference to the given JwsAlg and assigns it to the IdTokenSignAlg field.

func (*Client) SetJwks

func (o *Client) SetJwks(v string)

SetJwks gets a reference to the given string and assigns it to the Jwks field.

func (*Client) SetJwksUri

func (o *Client) SetJwksUri(v string)

SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.

func (*Client) SetLoginUri

func (o *Client) SetLoginUri(v string)

SetLoginUri gets a reference to the given string and assigns it to the LoginUri field.

func (*Client) SetLogoUri

func (o *Client) SetLogoUri(v string)

SetLogoUri gets a reference to the given string and assigns it to the LogoUri field.

func (*Client) SetLogoUris

func (o *Client) SetLogoUris(v []TaggedValue)

SetLogoUris gets a reference to the given []TaggedValue and assigns it to the LogoUris field.

func (*Client) SetModifiedAt

func (o *Client) SetModifiedAt(v int64)

SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.

func (*Client) SetNumber

func (o *Client) SetNumber(v int32)

SetNumber gets a reference to the given int32 and assigns it to the Number field.

func (*Client) SetOrganizationName added in v1.2.0

func (o *Client) SetOrganizationName(v string)

SetOrganizationName gets a reference to the given string and assigns it to the OrganizationName field.

func (*Client) SetParRequired

func (o *Client) SetParRequired(v bool)

SetParRequired gets a reference to the given bool and assigns it to the ParRequired field.

func (*Client) SetPkceRequired added in v1.1.1

func (o *Client) SetPkceRequired(v bool)

SetPkceRequired gets a reference to the given bool and assigns it to the PkceRequired field.

func (*Client) SetPkceS256Required added in v1.1.1

func (o *Client) SetPkceS256Required(v bool)

SetPkceS256Required gets a reference to the given bool and assigns it to the PkceS256Required field.

func (*Client) SetPolicyUri

func (o *Client) SetPolicyUri(v string)

SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.

func (*Client) SetPolicyUris

func (o *Client) SetPolicyUris(v []TaggedValue)

SetPolicyUris gets a reference to the given []TaggedValue and assigns it to the PolicyUris field.

func (*Client) SetRedirectUris

func (o *Client) SetRedirectUris(v []string)

SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.

func (*Client) SetRegistrationAccessTokenHash

func (o *Client) SetRegistrationAccessTokenHash(v string)

SetRegistrationAccessTokenHash gets a reference to the given string and assigns it to the RegistrationAccessTokenHash field.

func (*Client) SetRequestEncryptionAlg

func (o *Client) SetRequestEncryptionAlg(v JweAlg)

SetRequestEncryptionAlg gets a reference to the given JweAlg and assigns it to the RequestEncryptionAlg field.

func (*Client) SetRequestEncryptionEnc

func (o *Client) SetRequestEncryptionEnc(v JweEnc)

SetRequestEncryptionEnc gets a reference to the given JweEnc and assigns it to the RequestEncryptionEnc field.

func (*Client) SetRequestObjectEncryptionAlgMatchRequired

func (o *Client) SetRequestObjectEncryptionAlgMatchRequired(v bool)

SetRequestObjectEncryptionAlgMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionAlgMatchRequired field.

func (*Client) SetRequestObjectEncryptionEncMatchRequired

func (o *Client) SetRequestObjectEncryptionEncMatchRequired(v bool)

SetRequestObjectEncryptionEncMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionEncMatchRequired field.

func (*Client) SetRequestObjectRequired

func (o *Client) SetRequestObjectRequired(v bool)

SetRequestObjectRequired gets a reference to the given bool and assigns it to the RequestObjectRequired field.

func (*Client) SetRequestSignAlg

func (o *Client) SetRequestSignAlg(v JwsAlg)

SetRequestSignAlg gets a reference to the given JwsAlg and assigns it to the RequestSignAlg field.

func (*Client) SetRequestUris

func (o *Client) SetRequestUris(v []string)

SetRequestUris gets a reference to the given []string and assigns it to the RequestUris field.

func (*Client) SetResponseTypes

func (o *Client) SetResponseTypes(v []ResponseType)

SetResponseTypes gets a reference to the given []ResponseType and assigns it to the ResponseTypes field.

func (*Client) SetRsResponseSigned added in v1.2.0

func (o *Client) SetRsResponseSigned(v bool)

SetRsResponseSigned gets a reference to the given bool and assigns it to the RsResponseSigned field.

func (*Client) SetRsSignedRequestKeyId added in v1.2.0

func (o *Client) SetRsSignedRequestKeyId(v string)

SetRsSignedRequestKeyId gets a reference to the given string and assigns it to the RsSignedRequestKeyId field.

func (*Client) SetSectorIdentifierUri

func (o *Client) SetSectorIdentifierUri(v string)

SetSectorIdentifierUri gets a reference to the given string and assigns it to the SectorIdentifierUri field.

func (*Client) SetSelfSignedCertificateKeyId

func (o *Client) SetSelfSignedCertificateKeyId(v string)

SetSelfSignedCertificateKeyId gets a reference to the given string and assigns it to the SelfSignedCertificateKeyId field.

func (*Client) SetServiceNumber

func (o *Client) SetServiceNumber(v int32)

SetServiceNumber gets a reference to the given int32 and assigns it to the ServiceNumber field.

func (*Client) SetSignedJwksUri added in v1.2.0

func (o *Client) SetSignedJwksUri(v string)

SetSignedJwksUri gets a reference to the given string and assigns it to the SignedJwksUri field.

func (*Client) SetSingleAccessTokenPerSubject added in v1.1.1

func (o *Client) SetSingleAccessTokenPerSubject(v bool)

SetSingleAccessTokenPerSubject gets a reference to the given bool and assigns it to the SingleAccessTokenPerSubject field.

func (*Client) SetSoftwareId

func (o *Client) SetSoftwareId(v string)

SetSoftwareId gets a reference to the given string and assigns it to the SoftwareId field.

func (*Client) SetSoftwareVersion

func (o *Client) SetSoftwareVersion(v string)

SetSoftwareVersion gets a reference to the given string and assigns it to the SoftwareVersion field.

func (*Client) SetSubjectType

func (o *Client) SetSubjectType(v SubjectType)

SetSubjectType gets a reference to the given SubjectType and assigns it to the SubjectType field.

func (*Client) SetTlsClientAuthSanDns

func (o *Client) SetTlsClientAuthSanDns(v string)

SetTlsClientAuthSanDns gets a reference to the given string and assigns it to the TlsClientAuthSanDns field.

func (*Client) SetTlsClientAuthSanEmail

func (o *Client) SetTlsClientAuthSanEmail(v string)

SetTlsClientAuthSanEmail gets a reference to the given string and assigns it to the TlsClientAuthSanEmail field.

func (*Client) SetTlsClientAuthSanIp

func (o *Client) SetTlsClientAuthSanIp(v string)

SetTlsClientAuthSanIp gets a reference to the given string and assigns it to the TlsClientAuthSanIp field.

func (*Client) SetTlsClientAuthSanUri

func (o *Client) SetTlsClientAuthSanUri(v string)

SetTlsClientAuthSanUri gets a reference to the given string and assigns it to the TlsClientAuthSanUri field.

func (*Client) SetTlsClientAuthSubjectDn

func (o *Client) SetTlsClientAuthSubjectDn(v string)

SetTlsClientAuthSubjectDn gets a reference to the given string and assigns it to the TlsClientAuthSubjectDn field.

func (*Client) SetTlsClientCertificateBoundAccessTokens

func (o *Client) SetTlsClientCertificateBoundAccessTokens(v bool)

SetTlsClientCertificateBoundAccessTokens gets a reference to the given bool and assigns it to the TlsClientCertificateBoundAccessTokens field.

func (*Client) SetTokenAuthMethod

func (o *Client) SetTokenAuthMethod(v ClientAuthenticationMethod)

SetTokenAuthMethod gets a reference to the given ClientAuthenticationMethod and assigns it to the TokenAuthMethod field.

func (*Client) SetTokenAuthSignAlg

func (o *Client) SetTokenAuthSignAlg(v JwsAlg)

SetTokenAuthSignAlg gets a reference to the given JwsAlg and assigns it to the TokenAuthSignAlg field.

func (*Client) SetTosUri

func (o *Client) SetTosUri(v string)

SetTosUri gets a reference to the given string and assigns it to the TosUri field.

func (*Client) SetTosUris

func (o *Client) SetTosUris(v []TaggedValue)

SetTosUris gets a reference to the given []TaggedValue and assigns it to the TosUris field.

func (*Client) SetTrustAnchorId added in v1.2.0

func (o *Client) SetTrustAnchorId(v string)

SetTrustAnchorId gets a reference to the given string and assigns it to the TrustAnchorId field.

func (*Client) SetTrustChain added in v1.2.0

func (o *Client) SetTrustChain(v []string)

SetTrustChain gets a reference to the given []string and assigns it to the TrustChain field.

func (*Client) SetTrustChainExpiresAt added in v1.2.0

func (o *Client) SetTrustChainExpiresAt(v int64)

SetTrustChainExpiresAt gets a reference to the given int64 and assigns it to the TrustChainExpiresAt field.

func (*Client) SetTrustChainUpdatedAt added in v1.2.0

func (o *Client) SetTrustChainUpdatedAt(v int64)

SetTrustChainUpdatedAt gets a reference to the given int64 and assigns it to the TrustChainUpdatedAt field.

func (*Client) SetUserInfoEncryptionAlg

func (o *Client) SetUserInfoEncryptionAlg(v JweAlg)

SetUserInfoEncryptionAlg gets a reference to the given JweAlg and assigns it to the UserInfoEncryptionAlg field.

func (*Client) SetUserInfoEncryptionEnc

func (o *Client) SetUserInfoEncryptionEnc(v JweEnc)

SetUserInfoEncryptionEnc gets a reference to the given JweEnc and assigns it to the UserInfoEncryptionEnc field.

func (*Client) SetUserInfoSignAlg

func (o *Client) SetUserInfoSignAlg(v JwsAlg)

SetUserInfoSignAlg gets a reference to the given JwsAlg and assigns it to the UserInfoSignAlg field.

func (Client) ToMap added in v1.1.1

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

func (*Client) UnsetApplicationType

func (o *Client) UnsetApplicationType()

UnsetApplicationType ensures that no value is present for ApplicationType, not even an explicit nil

type ClientAuthenticationMethod

type ClientAuthenticationMethod string

ClientAuthenticationMethod The client authentication method that the client application declares that it uses at the token endpoint. This property corresponds to `token_endpoint_auth_method` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).

const (
	CLIENTAUTHENTICATIONMETHOD_NONE                        ClientAuthenticationMethod = "NONE"
	CLIENTAUTHENTICATIONMETHOD_CLIENT_SECRET_BASIC         ClientAuthenticationMethod = "CLIENT_SECRET_BASIC"
	CLIENTAUTHENTICATIONMETHOD_CLIENT_SECRET_POST          ClientAuthenticationMethod = "CLIENT_SECRET_POST"
	CLIENTAUTHENTICATIONMETHOD_CLIENT_SECRET_JWT           ClientAuthenticationMethod = "CLIENT_SECRET_JWT"
	CLIENTAUTHENTICATIONMETHOD_PRIVATE_KEY_JWT             ClientAuthenticationMethod = "PRIVATE_KEY_JWT"
	CLIENTAUTHENTICATIONMETHOD_TLS_CLIENT_AUTH             ClientAuthenticationMethod = "TLS_CLIENT_AUTH"
	CLIENTAUTHENTICATIONMETHOD_SELF_SIGNED_TLS_CLIENT_AUTH ClientAuthenticationMethod = "SELF_SIGNED_TLS_CLIENT_AUTH"
)

List of client_authentication_method

func NewClientAuthenticationMethodFromValue

func NewClientAuthenticationMethodFromValue(v string) (*ClientAuthenticationMethod, error)

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

func (ClientAuthenticationMethod) IsValid

func (v ClientAuthenticationMethod) IsValid() bool

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

func (ClientAuthenticationMethod) Ptr

Ptr returns reference to client_authentication_method value

func (*ClientAuthenticationMethod) UnmarshalJSON

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

type ClientAuthorizationDeleteResponse

type ClientAuthorizationDeleteResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
}

ClientAuthorizationDeleteResponse struct for ClientAuthorizationDeleteResponse

func NewClientAuthorizationDeleteResponse

func NewClientAuthorizationDeleteResponse() *ClientAuthorizationDeleteResponse

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

func NewClientAuthorizationDeleteResponseWithDefaults

func NewClientAuthorizationDeleteResponseWithDefaults() *ClientAuthorizationDeleteResponse

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

func (*ClientAuthorizationDeleteResponse) GetResultCode

func (o *ClientAuthorizationDeleteResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientAuthorizationDeleteResponse) GetResultCodeOk

func (o *ClientAuthorizationDeleteResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientAuthorizationDeleteResponse) GetResultMessage

func (o *ClientAuthorizationDeleteResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientAuthorizationDeleteResponse) GetResultMessageOk

func (o *ClientAuthorizationDeleteResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientAuthorizationDeleteResponse) HasResultCode

func (o *ClientAuthorizationDeleteResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientAuthorizationDeleteResponse) HasResultMessage

func (o *ClientAuthorizationDeleteResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientAuthorizationDeleteResponse) MarshalJSON

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

func (*ClientAuthorizationDeleteResponse) SetResultCode

func (o *ClientAuthorizationDeleteResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientAuthorizationDeleteResponse) SetResultMessage

func (o *ClientAuthorizationDeleteResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientAuthorizationDeleteResponse) ToMap added in v1.1.1

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

type ClientAuthorizationGetListResponse

type ClientAuthorizationGetListResponse struct {
	// Start index of search results (inclusive).
	Start *int32 `json:"start,omitempty"`
	// End index of search results (exclusive).
	End *int32 `json:"end,omitempty"`
	// Unique ID of a client developer.
	Developer *string `json:"developer,omitempty"`
	// Unique user ID of an end-user.
	Subject *string `json:"subject,omitempty"`
	// Unique ID of a client developer.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// An array of clients.
	Clients []Client `json:"clients,omitempty"`
}

ClientAuthorizationGetListResponse struct for ClientAuthorizationGetListResponse

func NewClientAuthorizationGetListResponse

func NewClientAuthorizationGetListResponse() *ClientAuthorizationGetListResponse

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

func NewClientAuthorizationGetListResponseWithDefaults

func NewClientAuthorizationGetListResponseWithDefaults() *ClientAuthorizationGetListResponse

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

func (*ClientAuthorizationGetListResponse) GetClients

func (o *ClientAuthorizationGetListResponse) GetClients() []Client

GetClients returns the Clients field value if set, zero value otherwise.

func (*ClientAuthorizationGetListResponse) GetClientsOk

func (o *ClientAuthorizationGetListResponse) GetClientsOk() ([]Client, bool)

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

func (*ClientAuthorizationGetListResponse) GetDeveloper

func (o *ClientAuthorizationGetListResponse) GetDeveloper() string

GetDeveloper returns the Developer field value if set, zero value otherwise.

func (*ClientAuthorizationGetListResponse) GetDeveloperOk

func (o *ClientAuthorizationGetListResponse) GetDeveloperOk() (*string, bool)

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

func (*ClientAuthorizationGetListResponse) GetEnd

GetEnd returns the End field value if set, zero value otherwise.

func (*ClientAuthorizationGetListResponse) GetEndOk

func (o *ClientAuthorizationGetListResponse) GetEndOk() (*int32, bool)

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

func (*ClientAuthorizationGetListResponse) GetStart

GetStart returns the Start field value if set, zero value otherwise.

func (*ClientAuthorizationGetListResponse) GetStartOk

func (o *ClientAuthorizationGetListResponse) GetStartOk() (*int32, bool)

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

func (*ClientAuthorizationGetListResponse) GetSubject

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

func (*ClientAuthorizationGetListResponse) GetSubjectOk

func (o *ClientAuthorizationGetListResponse) 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 (*ClientAuthorizationGetListResponse) GetTotalCount

func (o *ClientAuthorizationGetListResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ClientAuthorizationGetListResponse) GetTotalCountOk

func (o *ClientAuthorizationGetListResponse) GetTotalCountOk() (*int32, bool)

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

func (*ClientAuthorizationGetListResponse) HasClients

func (o *ClientAuthorizationGetListResponse) HasClients() bool

HasClients returns a boolean if a field has been set.

func (*ClientAuthorizationGetListResponse) HasDeveloper

func (o *ClientAuthorizationGetListResponse) HasDeveloper() bool

HasDeveloper returns a boolean if a field has been set.

func (*ClientAuthorizationGetListResponse) HasEnd

HasEnd returns a boolean if a field has been set.

func (*ClientAuthorizationGetListResponse) HasStart

HasStart returns a boolean if a field has been set.

func (*ClientAuthorizationGetListResponse) HasSubject

func (o *ClientAuthorizationGetListResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*ClientAuthorizationGetListResponse) HasTotalCount

func (o *ClientAuthorizationGetListResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ClientAuthorizationGetListResponse) MarshalJSON

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

func (*ClientAuthorizationGetListResponse) SetClients

func (o *ClientAuthorizationGetListResponse) SetClients(v []Client)

SetClients gets a reference to the given []Client and assigns it to the Clients field.

func (*ClientAuthorizationGetListResponse) SetDeveloper

func (o *ClientAuthorizationGetListResponse) SetDeveloper(v string)

SetDeveloper gets a reference to the given string and assigns it to the Developer field.

func (*ClientAuthorizationGetListResponse) SetEnd

SetEnd gets a reference to the given int32 and assigns it to the End field.

func (*ClientAuthorizationGetListResponse) SetStart

SetStart gets a reference to the given int32 and assigns it to the Start field.

func (*ClientAuthorizationGetListResponse) SetSubject

func (o *ClientAuthorizationGetListResponse) SetSubject(v string)

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

func (*ClientAuthorizationGetListResponse) SetTotalCount

func (o *ClientAuthorizationGetListResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (ClientAuthorizationGetListResponse) ToMap added in v1.1.1

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

type ClientAuthorizationUpdateRequest

type ClientAuthorizationUpdateRequest struct {
	// The subject (= unique identifier) of the end-user who has granted authorization to the client application.
	Subject string `json:"subject"`
	// An array of new scopes. Optional. If a non-null value is given, the new scopes are set to all existing access tokens. If an API call is made using `\"Content-Type: application/x-www-form-urlencoded\"`, scope names listed in this request parameter should be delimited by spaces (after form encoding, spaces are converted to `+`).
	Scopes []string `json:"scopes,omitempty"`
}

ClientAuthorizationUpdateRequest struct for ClientAuthorizationUpdateRequest

func NewClientAuthorizationUpdateRequest

func NewClientAuthorizationUpdateRequest(subject string) *ClientAuthorizationUpdateRequest

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

func NewClientAuthorizationUpdateRequestWithDefaults

func NewClientAuthorizationUpdateRequestWithDefaults() *ClientAuthorizationUpdateRequest

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

func (*ClientAuthorizationUpdateRequest) GetScopes

func (o *ClientAuthorizationUpdateRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*ClientAuthorizationUpdateRequest) GetScopesOk

func (o *ClientAuthorizationUpdateRequest) GetScopesOk() ([]string, bool)

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

func (*ClientAuthorizationUpdateRequest) GetSubject

func (o *ClientAuthorizationUpdateRequest) GetSubject() string

GetSubject returns the Subject field value

func (*ClientAuthorizationUpdateRequest) GetSubjectOk

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

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

func (*ClientAuthorizationUpdateRequest) HasScopes

func (o *ClientAuthorizationUpdateRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (ClientAuthorizationUpdateRequest) MarshalJSON

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

func (*ClientAuthorizationUpdateRequest) SetScopes

func (o *ClientAuthorizationUpdateRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*ClientAuthorizationUpdateRequest) SetSubject

func (o *ClientAuthorizationUpdateRequest) SetSubject(v string)

SetSubject sets field value

func (ClientAuthorizationUpdateRequest) ToMap added in v1.1.1

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

type ClientAuthorizationUpdateResponse

type ClientAuthorizationUpdateResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
}

ClientAuthorizationUpdateResponse struct for ClientAuthorizationUpdateResponse

func NewClientAuthorizationUpdateResponse

func NewClientAuthorizationUpdateResponse() *ClientAuthorizationUpdateResponse

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

func NewClientAuthorizationUpdateResponseWithDefaults

func NewClientAuthorizationUpdateResponseWithDefaults() *ClientAuthorizationUpdateResponse

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

func (*ClientAuthorizationUpdateResponse) GetResultCode

func (o *ClientAuthorizationUpdateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientAuthorizationUpdateResponse) GetResultCodeOk

func (o *ClientAuthorizationUpdateResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientAuthorizationUpdateResponse) GetResultMessage

func (o *ClientAuthorizationUpdateResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientAuthorizationUpdateResponse) GetResultMessageOk

func (o *ClientAuthorizationUpdateResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientAuthorizationUpdateResponse) HasResultCode

func (o *ClientAuthorizationUpdateResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientAuthorizationUpdateResponse) HasResultMessage

func (o *ClientAuthorizationUpdateResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientAuthorizationUpdateResponse) MarshalJSON

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

func (*ClientAuthorizationUpdateResponse) SetResultCode

func (o *ClientAuthorizationUpdateResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientAuthorizationUpdateResponse) SetResultMessage

func (o *ClientAuthorizationUpdateResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientAuthorizationUpdateResponse) ToMap added in v1.1.1

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

type ClientExtension

type ClientExtension struct {
	// The set of scopes that the client application is allowed to request. This paramter will be one of the following.    - `null`   - an empty set   - a set with at least one element  When the value of this parameter is `null`, it means that the set of scopes that the client application is allowed to request is the set of the scopes that the service supports. When the value of this parameter is an empty set, it means that the client application is not allowed to request any scopes. When the value of this parameter is a set with at least one element, it means that the set is the set of scopes that the client application is allowed to request.
	RequestableScopes []string `json:"requestableScopes,omitempty"`
	// The flag to indicate whether \"Requestable Scopes per Client\" is enabled or not. If `true`, you can define the set of scopes which this client application can request. If `false`, this client application can request any scope which is supported by the authorization server.
	RequestableScopesEnabled *bool `json:"requestableScopesEnabled,omitempty"`
	// The value of the duration of access tokens per client in seconds. In normal cases, the value of the service's `accessTokenDuration` property is used as the duration of access tokens issued by the service. However, if this `accessTokenDuration` property holds a non-zero positive number and its value is less than the duration configured by the service, the value is used as the duration of access tokens issued to the client application.  Note that the duration of access tokens can be controlled by the scope attribute `access_token.duration`, too. Authlete chooses the minimum value among the candidates.
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The value of the duration of refresh tokens per client in seconds. In normal cases, the value of the service's `refreshTokenDuration` property is used as the duration of refresh tokens issued by the service. However, if this `refreshTokenDuration` property holds a non-zero positive number and its value is less than the duration configured by the service, the value is used as the duration of refresh tokens issued to the client application.  Note that the duration of refresh tokens can be controlled by the scope attribute `refresh_token.duration`, too. Authlete chooses the minimum value among the candidates.
	RefreshTokenDuration *int64 `json:"refreshTokenDuration,omitempty"`
	// Get the flag indicating whether the client is explicitly given a permission to make token exchange requests ([RFC 8693][https://www.rfc-editor.org/rfc/rfc8693.html])
	TokenExchangePermitted *bool `json:"tokenExchangePermitted,omitempty"`
}

ClientExtension struct for ClientExtension

func NewClientExtension

func NewClientExtension() *ClientExtension

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

func NewClientExtensionWithDefaults

func NewClientExtensionWithDefaults() *ClientExtension

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

func (*ClientExtension) GetAccessTokenDuration

func (o *ClientExtension) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*ClientExtension) GetAccessTokenDurationOk

func (o *ClientExtension) GetAccessTokenDurationOk() (*int64, bool)

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

func (*ClientExtension) GetRefreshTokenDuration

func (o *ClientExtension) GetRefreshTokenDuration() int64

GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.

func (*ClientExtension) GetRefreshTokenDurationOk

func (o *ClientExtension) GetRefreshTokenDurationOk() (*int64, bool)

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

func (*ClientExtension) GetRequestableScopes

func (o *ClientExtension) GetRequestableScopes() []string

GetRequestableScopes returns the RequestableScopes field value if set, zero value otherwise.

func (*ClientExtension) GetRequestableScopesEnabled

func (o *ClientExtension) GetRequestableScopesEnabled() bool

GetRequestableScopesEnabled returns the RequestableScopesEnabled field value if set, zero value otherwise.

func (*ClientExtension) GetRequestableScopesEnabledOk

func (o *ClientExtension) GetRequestableScopesEnabledOk() (*bool, bool)

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

func (*ClientExtension) GetRequestableScopesOk

func (o *ClientExtension) GetRequestableScopesOk() ([]string, bool)

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

func (*ClientExtension) GetTokenExchangePermitted added in v1.1.1

func (o *ClientExtension) GetTokenExchangePermitted() bool

GetTokenExchangePermitted returns the TokenExchangePermitted field value if set, zero value otherwise.

func (*ClientExtension) GetTokenExchangePermittedOk added in v1.1.1

func (o *ClientExtension) GetTokenExchangePermittedOk() (*bool, bool)

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

func (*ClientExtension) HasAccessTokenDuration

func (o *ClientExtension) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*ClientExtension) HasRefreshTokenDuration

func (o *ClientExtension) HasRefreshTokenDuration() bool

HasRefreshTokenDuration returns a boolean if a field has been set.

func (*ClientExtension) HasRequestableScopes

func (o *ClientExtension) HasRequestableScopes() bool

HasRequestableScopes returns a boolean if a field has been set.

func (*ClientExtension) HasRequestableScopesEnabled

func (o *ClientExtension) HasRequestableScopesEnabled() bool

HasRequestableScopesEnabled returns a boolean if a field has been set.

func (*ClientExtension) HasTokenExchangePermitted added in v1.1.1

func (o *ClientExtension) HasTokenExchangePermitted() bool

HasTokenExchangePermitted returns a boolean if a field has been set.

func (ClientExtension) MarshalJSON

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

func (*ClientExtension) SetAccessTokenDuration

func (o *ClientExtension) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*ClientExtension) SetRefreshTokenDuration

func (o *ClientExtension) SetRefreshTokenDuration(v int64)

SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.

func (*ClientExtension) SetRequestableScopes

func (o *ClientExtension) SetRequestableScopes(v []string)

SetRequestableScopes gets a reference to the given []string and assigns it to the RequestableScopes field.

func (*ClientExtension) SetRequestableScopesEnabled

func (o *ClientExtension) SetRequestableScopesEnabled(v bool)

SetRequestableScopesEnabled gets a reference to the given bool and assigns it to the RequestableScopesEnabled field.

func (*ClientExtension) SetTokenExchangePermitted added in v1.1.1

func (o *ClientExtension) SetTokenExchangePermitted(v bool)

SetTokenExchangePermitted gets a reference to the given bool and assigns it to the TokenExchangePermitted field.

func (ClientExtension) ToMap added in v1.1.1

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

type ClientFlagUpdateRequest added in v1.2.0

type ClientFlagUpdateRequest struct {
	// The flag value to be set
	ClientLocked bool `json:"clientLocked"`
}

ClientFlagUpdateRequest struct for ClientFlagUpdateRequest

func NewClientFlagUpdateRequest added in v1.2.0

func NewClientFlagUpdateRequest(clientLocked bool) *ClientFlagUpdateRequest

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

func NewClientFlagUpdateRequestWithDefaults added in v1.2.0

func NewClientFlagUpdateRequestWithDefaults() *ClientFlagUpdateRequest

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

func (*ClientFlagUpdateRequest) GetClientLocked added in v1.2.0

func (o *ClientFlagUpdateRequest) GetClientLocked() bool

GetClientLocked returns the ClientLocked field value

func (*ClientFlagUpdateRequest) GetClientLockedOk added in v1.2.0

func (o *ClientFlagUpdateRequest) GetClientLockedOk() (*bool, bool)

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

func (ClientFlagUpdateRequest) MarshalJSON added in v1.2.0

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

func (*ClientFlagUpdateRequest) SetClientLocked added in v1.2.0

func (o *ClientFlagUpdateRequest) SetClientLocked(v bool)

SetClientLocked sets field value

func (ClientFlagUpdateRequest) ToMap added in v1.2.0

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

type ClientFlagUpdateResponse added in v1.2.0

type ClientFlagUpdateResponse struct {
	// The code which represents the result of the API call.
	ResultCode string `json:"resultCode"`
	// A short message which explains the result of the API call.
	ResultMessage string `json:"resultMessage"`
}

ClientFlagUpdateResponse struct for ClientFlagUpdateResponse

func NewClientFlagUpdateResponse added in v1.2.0

func NewClientFlagUpdateResponse(resultCode string, resultMessage string) *ClientFlagUpdateResponse

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

func NewClientFlagUpdateResponseWithDefaults added in v1.2.0

func NewClientFlagUpdateResponseWithDefaults() *ClientFlagUpdateResponse

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

func (*ClientFlagUpdateResponse) GetResultCode added in v1.2.0

func (o *ClientFlagUpdateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value

func (*ClientFlagUpdateResponse) GetResultCodeOk added in v1.2.0

func (o *ClientFlagUpdateResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientFlagUpdateResponse) GetResultMessage added in v1.2.0

func (o *ClientFlagUpdateResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value

func (*ClientFlagUpdateResponse) GetResultMessageOk added in v1.2.0

func (o *ClientFlagUpdateResponse) GetResultMessageOk() (*string, bool)

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

func (ClientFlagUpdateResponse) MarshalJSON added in v1.2.0

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

func (*ClientFlagUpdateResponse) SetResultCode added in v1.2.0

func (o *ClientFlagUpdateResponse) SetResultCode(v string)

SetResultCode sets field value

func (*ClientFlagUpdateResponse) SetResultMessage added in v1.2.0

func (o *ClientFlagUpdateResponse) SetResultMessage(v string)

SetResultMessage sets field value

func (ClientFlagUpdateResponse) ToMap added in v1.2.0

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

type ClientGetListResponse

type ClientGetListResponse struct {
	// The developer of the client applications. If the request did not contain `developer` request parameter, this property is set to `null`.
	Developer *string `json:"developer,omitempty"`
	// Start index (inclusive) of the result set of the query.
	Start *int32 `json:"start,omitempty"`
	// End index (exclusive) of the result set of the query.
	End *int32 `json:"end,omitempty"`
	// Total number of clients that belong to the service. This doesn't mean the number of clients contained in the response.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// An array of clients.
	Clients []Client `json:"clients,omitempty"`
}

ClientGetListResponse struct for ClientGetListResponse

func NewClientGetListResponse

func NewClientGetListResponse() *ClientGetListResponse

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

func NewClientGetListResponseWithDefaults

func NewClientGetListResponseWithDefaults() *ClientGetListResponse

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

func (*ClientGetListResponse) GetClients

func (o *ClientGetListResponse) GetClients() []Client

GetClients returns the Clients field value if set, zero value otherwise.

func (*ClientGetListResponse) GetClientsOk

func (o *ClientGetListResponse) GetClientsOk() ([]Client, bool)

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

func (*ClientGetListResponse) GetDeveloper

func (o *ClientGetListResponse) GetDeveloper() string

GetDeveloper returns the Developer field value if set, zero value otherwise.

func (*ClientGetListResponse) GetDeveloperOk

func (o *ClientGetListResponse) GetDeveloperOk() (*string, bool)

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

func (*ClientGetListResponse) GetEnd

func (o *ClientGetListResponse) GetEnd() int32

GetEnd returns the End field value if set, zero value otherwise.

func (*ClientGetListResponse) GetEndOk

func (o *ClientGetListResponse) GetEndOk() (*int32, bool)

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

func (*ClientGetListResponse) GetStart

func (o *ClientGetListResponse) GetStart() int32

GetStart returns the Start field value if set, zero value otherwise.

func (*ClientGetListResponse) GetStartOk

func (o *ClientGetListResponse) GetStartOk() (*int32, bool)

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

func (*ClientGetListResponse) GetTotalCount

func (o *ClientGetListResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ClientGetListResponse) GetTotalCountOk

func (o *ClientGetListResponse) GetTotalCountOk() (*int32, bool)

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

func (*ClientGetListResponse) HasClients

func (o *ClientGetListResponse) HasClients() bool

HasClients returns a boolean if a field has been set.

func (*ClientGetListResponse) HasDeveloper

func (o *ClientGetListResponse) HasDeveloper() bool

HasDeveloper returns a boolean if a field has been set.

func (*ClientGetListResponse) HasEnd

func (o *ClientGetListResponse) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*ClientGetListResponse) HasStart

func (o *ClientGetListResponse) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*ClientGetListResponse) HasTotalCount

func (o *ClientGetListResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ClientGetListResponse) MarshalJSON

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

func (*ClientGetListResponse) SetClients

func (o *ClientGetListResponse) SetClients(v []Client)

SetClients gets a reference to the given []Client and assigns it to the Clients field.

func (*ClientGetListResponse) SetDeveloper

func (o *ClientGetListResponse) SetDeveloper(v string)

SetDeveloper gets a reference to the given string and assigns it to the Developer field.

func (*ClientGetListResponse) SetEnd

func (o *ClientGetListResponse) SetEnd(v int32)

SetEnd gets a reference to the given int32 and assigns it to the End field.

func (*ClientGetListResponse) SetStart

func (o *ClientGetListResponse) SetStart(v int32)

SetStart gets a reference to the given int32 and assigns it to the Start field.

func (*ClientGetListResponse) SetTotalCount

func (o *ClientGetListResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (ClientGetListResponse) ToMap added in v1.1.1

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

type ClientGrantedScopesDeleteResponse

type ClientGrantedScopesDeleteResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
}

ClientGrantedScopesDeleteResponse struct for ClientGrantedScopesDeleteResponse

func NewClientGrantedScopesDeleteResponse

func NewClientGrantedScopesDeleteResponse() *ClientGrantedScopesDeleteResponse

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

func NewClientGrantedScopesDeleteResponseWithDefaults

func NewClientGrantedScopesDeleteResponseWithDefaults() *ClientGrantedScopesDeleteResponse

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

func (*ClientGrantedScopesDeleteResponse) GetResultCode

func (o *ClientGrantedScopesDeleteResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientGrantedScopesDeleteResponse) GetResultCodeOk

func (o *ClientGrantedScopesDeleteResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientGrantedScopesDeleteResponse) GetResultMessage

func (o *ClientGrantedScopesDeleteResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientGrantedScopesDeleteResponse) GetResultMessageOk

func (o *ClientGrantedScopesDeleteResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientGrantedScopesDeleteResponse) HasResultCode

func (o *ClientGrantedScopesDeleteResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientGrantedScopesDeleteResponse) HasResultMessage

func (o *ClientGrantedScopesDeleteResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientGrantedScopesDeleteResponse) MarshalJSON

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

func (*ClientGrantedScopesDeleteResponse) SetResultCode

func (o *ClientGrantedScopesDeleteResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientGrantedScopesDeleteResponse) SetResultMessage

func (o *ClientGrantedScopesDeleteResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientGrantedScopesDeleteResponse) ToMap added in v1.1.1

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

type ClientGrantedScopesGetResponse added in v1.2.0

type ClientGrantedScopesGetResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The API key of the service.
	ServiceApiKey *float32 `json:"serviceApiKey,omitempty"`
	// The client ID.
	ClientId *float32 `json:"clientId,omitempty"`
	// The subject (= unique identifier) of the user who has granted authorization to the client.
	Subject *string `json:"subject,omitempty"`
	// The scopes granted to the client application by the last authorization process by the user (who is identified by the subject). `null` means that there is no record about granted scopes. An empty array means that there exists a record about granted scopes but no scope has been granted to the client application. If the returned array holds some elements, they are the scopes granted to the client application by the last authorization process.
	LatestGrantedScopes []string `json:"latestGrantedScopes,omitempty"`
	// The scopes granted to the client application by all the past authorization processes. Note that revoked scopes are not included.
	MergedGrantedScopes []string `json:"mergedGrantedScopes,omitempty"`
	// The timestamp in milliseconds since Unix epoch at which this record was modified.
	ModifiedAt *float32 `json:"modifiedAt,omitempty"`
}

ClientGrantedScopesGetResponse struct for ClientGrantedScopesGetResponse

func NewClientGrantedScopesGetResponse added in v1.2.0

func NewClientGrantedScopesGetResponse() *ClientGrantedScopesGetResponse

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

func NewClientGrantedScopesGetResponseWithDefaults added in v1.2.0

func NewClientGrantedScopesGetResponseWithDefaults() *ClientGrantedScopesGetResponse

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

func (*ClientGrantedScopesGetResponse) GetClientId added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetClientId() float32

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

func (*ClientGrantedScopesGetResponse) GetClientIdOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetClientIdOk() (*float32, 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 (*ClientGrantedScopesGetResponse) GetLatestGrantedScopes added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetLatestGrantedScopes() []string

GetLatestGrantedScopes returns the LatestGrantedScopes field value if set, zero value otherwise.

func (*ClientGrantedScopesGetResponse) GetLatestGrantedScopesOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetLatestGrantedScopesOk() ([]string, bool)

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

func (*ClientGrantedScopesGetResponse) GetMergedGrantedScopes added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetMergedGrantedScopes() []string

GetMergedGrantedScopes returns the MergedGrantedScopes field value if set, zero value otherwise.

func (*ClientGrantedScopesGetResponse) GetMergedGrantedScopesOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetMergedGrantedScopesOk() ([]string, bool)

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

func (*ClientGrantedScopesGetResponse) GetModifiedAt added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetModifiedAt() float32

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*ClientGrantedScopesGetResponse) GetModifiedAtOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetModifiedAtOk() (*float32, bool)

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

func (*ClientGrantedScopesGetResponse) GetResultCode added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientGrantedScopesGetResponse) GetResultCodeOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientGrantedScopesGetResponse) GetResultMessage added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientGrantedScopesGetResponse) GetResultMessageOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientGrantedScopesGetResponse) GetServiceApiKey added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetServiceApiKey() float32

GetServiceApiKey returns the ServiceApiKey field value if set, zero value otherwise.

func (*ClientGrantedScopesGetResponse) GetServiceApiKeyOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetServiceApiKeyOk() (*float32, bool)

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

func (*ClientGrantedScopesGetResponse) GetSubject added in v1.2.0

func (o *ClientGrantedScopesGetResponse) GetSubject() string

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

func (*ClientGrantedScopesGetResponse) GetSubjectOk added in v1.2.0

func (o *ClientGrantedScopesGetResponse) 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 (*ClientGrantedScopesGetResponse) HasClientId added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasLatestGrantedScopes added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasLatestGrantedScopes() bool

HasLatestGrantedScopes returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasMergedGrantedScopes added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasMergedGrantedScopes() bool

HasMergedGrantedScopes returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasModifiedAt added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasResultCode added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasResultMessage added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasServiceApiKey added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasServiceApiKey() bool

HasServiceApiKey returns a boolean if a field has been set.

func (*ClientGrantedScopesGetResponse) HasSubject added in v1.2.0

func (o *ClientGrantedScopesGetResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (ClientGrantedScopesGetResponse) MarshalJSON added in v1.2.0

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

func (*ClientGrantedScopesGetResponse) SetClientId added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetClientId(v float32)

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

func (*ClientGrantedScopesGetResponse) SetLatestGrantedScopes added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetLatestGrantedScopes(v []string)

SetLatestGrantedScopes gets a reference to the given []string and assigns it to the LatestGrantedScopes field.

func (*ClientGrantedScopesGetResponse) SetMergedGrantedScopes added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetMergedGrantedScopes(v []string)

SetMergedGrantedScopes gets a reference to the given []string and assigns it to the MergedGrantedScopes field.

func (*ClientGrantedScopesGetResponse) SetModifiedAt added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetModifiedAt(v float32)

SetModifiedAt gets a reference to the given float32 and assigns it to the ModifiedAt field.

func (*ClientGrantedScopesGetResponse) SetResultCode added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientGrantedScopesGetResponse) SetResultMessage added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*ClientGrantedScopesGetResponse) SetServiceApiKey added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetServiceApiKey(v float32)

SetServiceApiKey gets a reference to the given float32 and assigns it to the ServiceApiKey field.

func (*ClientGrantedScopesGetResponse) SetSubject added in v1.2.0

func (o *ClientGrantedScopesGetResponse) SetSubject(v string)

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

func (ClientGrantedScopesGetResponse) ToMap added in v1.2.0

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

type ClientManagementApi

type ClientManagementApi interface {

	/*
		ClientAuthorizationDeleteApi /api/client/authorization/delete/{clientId}/{subject} API

		Delete all existing access tokens issued to a client application by an end-user.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId A client ID.
		@param subject Unique user ID of an end-user.
		@return ApiClientAuthorizationDeleteApiRequest
	*/
	ClientAuthorizationDeleteApi(ctx context.Context, clientId string, subject string) ApiClientAuthorizationDeleteApiRequest

	// ClientAuthorizationDeleteApiExecute executes the request
	//  @return ClientAuthorizationDeleteResponse
	ClientAuthorizationDeleteApiExecute(r ApiClientAuthorizationDeleteApiRequest) (*ClientAuthorizationDeleteResponse, *http.Response, error)

	/*
		ClientAuthorizationGetListApi /api/client/authorization/get/list/{subject} API

		Get a list of client applications that an end-user has authorized.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param subject Unique user ID of an end-user.
		@return ApiClientAuthorizationGetListApiRequest
	*/
	ClientAuthorizationGetListApi(ctx context.Context, subject string) ApiClientAuthorizationGetListApiRequest

	// ClientAuthorizationGetListApiExecute executes the request
	//  @return ClientAuthorizationGetListResponse
	ClientAuthorizationGetListApiExecute(r ApiClientAuthorizationGetListApiRequest) (*ClientAuthorizationGetListResponse, *http.Response, error)

	/*
		ClientAuthorizationUpdateApi /api/client/authorization/update/{clientId} API

		Update attributes of all existing access tokens given to a client application.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId A client ID.
		@return ApiClientAuthorizationUpdateApiRequest
	*/
	ClientAuthorizationUpdateApi(ctx context.Context, clientId string) ApiClientAuthorizationUpdateApiRequest

	// ClientAuthorizationUpdateApiExecute executes the request
	//  @return ClientAuthorizationUpdateResponse
	ClientAuthorizationUpdateApiExecute(r ApiClientAuthorizationUpdateApiRequest) (*ClientAuthorizationUpdateResponse, *http.Response, error)

	/*
		ClientCreateApi /api/client/create API

		Create a new client.


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

	// ClientCreateApiExecute executes the request
	//  @return Client
	ClientCreateApiExecute(r ApiClientCreateApiRequest) (*Client, *http.Response, error)

	/*
		ClientDeleteApi /api/client/delete/{clientId} API

		Delete a client.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId The client ID.
		@return ApiClientDeleteApiRequest
	*/
	ClientDeleteApi(ctx context.Context, clientId string) ApiClientDeleteApiRequest

	// ClientDeleteApiExecute executes the request
	ClientDeleteApiExecute(r ApiClientDeleteApiRequest) (*http.Response, error)

	/*
		ClientFlagUpdateApi /api/client/lock_flag/update/{clientIdentifier} API

		Lock and unlock a client


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientIdentifier A client ID.
		@return ApiClientFlagUpdateApiRequest
	*/
	ClientFlagUpdateApi(ctx context.Context, clientIdentifier string) ApiClientFlagUpdateApiRequest

	// ClientFlagUpdateApiExecute executes the request
	//  @return ClientFlagUpdateResponse
	ClientFlagUpdateApiExecute(r ApiClientFlagUpdateApiRequest) (*ClientFlagUpdateResponse, *http.Response, error)

	/*
		ClientGetApi /api/client/get/{clientId} API

		Get a client.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId A client ID.
		@return ApiClientGetApiRequest
	*/
	ClientGetApi(ctx context.Context, clientId string) ApiClientGetApiRequest

	// ClientGetApiExecute executes the request
	//  @return Client
	ClientGetApiExecute(r ApiClientGetApiRequest) (*Client, *http.Response, error)

	/*
		ClientGetListApi /api/client/get/list API

		Get a list of clients.


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

	// ClientGetListApiExecute executes the request
	//  @return ClientGetListResponse
	ClientGetListApiExecute(r ApiClientGetListApiRequest) (*ClientGetListResponse, *http.Response, error)

	/*
		ClientGrantedScopesDeleteApi /api/client/granted_scopes/delete/{clientId}/{subject} API

		Delete the set of scopes that an end-user has granted to a client application.

	<br>
	<details>
	<summary>Description</summary>

	Even if records about granted scopes are deleted by calling this API, existing access tokens are
	not deleted and scopes of existing access tokens are not changed.
	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId A client ID.
		@param subject Unique user ID of an end-user.
		@return ApiClientGrantedScopesDeleteApiRequest
	*/
	ClientGrantedScopesDeleteApi(ctx context.Context, clientId string, subject string) ApiClientGrantedScopesDeleteApiRequest

	// ClientGrantedScopesDeleteApiExecute executes the request
	//  @return ClientGrantedScopesDeleteResponse
	ClientGrantedScopesDeleteApiExecute(r ApiClientGrantedScopesDeleteApiRequest) (*ClientGrantedScopesDeleteResponse, *http.Response, error)

	/*
		ClientGrantedScopesGetApi /api/client/granted_scopes/get/{clientId}/{subject} API

		Get the set of scopes that a user has granted to a client application.

	<br>
	<details>
	<summary>Description</summary>

	Possible values for `requestableScopes` parameter in the response from this API are as follows.

	**null**

	The user has not granted authorization to the client application in the past, or records about the
	combination of the user and the client application have been deleted from Authlete's DB.

	**An empty set**

	The user has granted authorization to the client application in the past, but no scopes are associated
	with the authorization.

	**A set with at least one element**

	The user has granted authorization to the client application in the past and some scopes are associated
	with the authorization. These scopes are returned.
	Example: `[ "profile", "email" ]`
	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId A client ID.
		@param subject Unique user ID of an end-user.
		@return ApiClientGrantedScopesGetApiRequest
	*/
	ClientGrantedScopesGetApi(ctx context.Context, clientId string, subject string) ApiClientGrantedScopesGetApiRequest

	// ClientGrantedScopesGetApiExecute executes the request
	//  @return ClientAuthorizationDeleteResponse
	ClientGrantedScopesGetApiExecute(r ApiClientGrantedScopesGetApiRequest) (*ClientAuthorizationDeleteResponse, *http.Response, error)

	/*
		ClientSecretRefreshApi /api/client/secret/refresh API

		Refresh the client secret of a client. A new value of the client secret will be generated by the
	Authlete server.

	If you want to specify a new value, use `/api/client/secret/update` API.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientIdentifier The client ID or the client ID alias of a client.
		@return ApiClientSecretRefreshApiRequest
	*/
	ClientSecretRefreshApi(ctx context.Context, clientIdentifier string) ApiClientSecretRefreshApiRequest

	// ClientSecretRefreshApiExecute executes the request
	//  @return ClientSecretRefreshResponse
	ClientSecretRefreshApiExecute(r ApiClientSecretRefreshApiRequest) (*ClientSecretRefreshResponse, *http.Response, error)

	/*
		ClientSecretUpdateApi /api/client/secret/update API

		Update the client secret of a client.

	If you want to have the Authlete server generate a new value of the client secret, use `/api/client/secret/refresh`
	API.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientIdentifier The client ID or the client ID alias of a client.
		@return ApiClientSecretUpdateApiRequest
	*/
	ClientSecretUpdateApi(ctx context.Context, clientIdentifier string) ApiClientSecretUpdateApiRequest

	// ClientSecretUpdateApiExecute executes the request
	//  @return ClientSecretUpdateResponse
	ClientSecretUpdateApiExecute(r ApiClientSecretUpdateApiRequest) (*ClientSecretUpdateResponse, *http.Response, error)

	/*
		ClientUpdateApi /api/client/update/{clientId} API

		Update a client.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param clientId A client ID.
		@return ApiClientUpdateApiRequest
	*/
	ClientUpdateApi(ctx context.Context, clientId string) ApiClientUpdateApiRequest

	// ClientUpdateApiExecute executes the request
	//  @return Client
	ClientUpdateApiExecute(r ApiClientUpdateApiRequest) (*Client, *http.Response, error)
}

type ClientManagementApiService

type ClientManagementApiService service

ClientManagementApiService ClientManagementApi service

func (*ClientManagementApiService) ClientAuthorizationDeleteApi

func (a *ClientManagementApiService) ClientAuthorizationDeleteApi(ctx context.Context, clientId string, subject string) ApiClientAuthorizationDeleteApiRequest

ClientAuthorizationDeleteApi /api/client/authorization/delete/{clientId}/{subject} API

Delete all existing access tokens issued to a client application by an end-user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientId A client ID.
@param subject Unique user ID of an end-user.
@return ApiClientAuthorizationDeleteApiRequest

func (*ClientManagementApiService) ClientAuthorizationDeleteApiExecute

Execute executes the request

@return ClientAuthorizationDeleteResponse

func (*ClientManagementApiService) ClientAuthorizationGetListApi

func (a *ClientManagementApiService) ClientAuthorizationGetListApi(ctx context.Context, subject string) ApiClientAuthorizationGetListApiRequest

ClientAuthorizationGetListApi /api/client/authorization/get/list/{subject} API

Get a list of client applications that an end-user has authorized.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Unique user ID of an end-user.
@return ApiClientAuthorizationGetListApiRequest

func (*ClientManagementApiService) ClientAuthorizationGetListApiExecute

Execute executes the request

@return ClientAuthorizationGetListResponse

func (*ClientManagementApiService) ClientAuthorizationUpdateApi

func (a *ClientManagementApiService) ClientAuthorizationUpdateApi(ctx context.Context, clientId string) ApiClientAuthorizationUpdateApiRequest

ClientAuthorizationUpdateApi /api/client/authorization/update/{clientId} API

Update attributes of all existing access tokens given to a client application.

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

func (*ClientManagementApiService) ClientAuthorizationUpdateApiExecute

Execute executes the request

@return ClientAuthorizationUpdateResponse

func (*ClientManagementApiService) ClientCreateApi

ClientCreateApi /api/client/create API

Create a new client.

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

func (*ClientManagementApiService) ClientCreateApiExecute

Execute executes the request

@return Client

func (*ClientManagementApiService) ClientDeleteApi

ClientDeleteApi /api/client/delete/{clientId} API

Delete a client.

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

func (*ClientManagementApiService) ClientDeleteApiExecute

func (a *ClientManagementApiService) ClientDeleteApiExecute(r ApiClientDeleteApiRequest) (*http.Response, error)

Execute executes the request

func (*ClientManagementApiService) ClientFlagUpdateApi added in v1.2.0

func (a *ClientManagementApiService) ClientFlagUpdateApi(ctx context.Context, clientIdentifier string) ApiClientFlagUpdateApiRequest

ClientFlagUpdateApi /api/client/lock_flag/update/{clientIdentifier} API

Lock and unlock a client

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

func (*ClientManagementApiService) ClientFlagUpdateApiExecute added in v1.2.0

Execute executes the request

@return ClientFlagUpdateResponse

func (*ClientManagementApiService) ClientGetApi

ClientGetApi /api/client/get/{clientId} API

Get a client.

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

func (*ClientManagementApiService) ClientGetApiExecute

Execute executes the request

@return Client

func (*ClientManagementApiService) ClientGetListApi

ClientGetListApi /api/client/get/list API

Get a list of clients.

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

func (*ClientManagementApiService) ClientGetListApiExecute

Execute executes the request

@return ClientGetListResponse

func (*ClientManagementApiService) ClientGrantedScopesDeleteApi

func (a *ClientManagementApiService) ClientGrantedScopesDeleteApi(ctx context.Context, clientId string, subject string) ApiClientGrantedScopesDeleteApiRequest

ClientGrantedScopesDeleteApi /api/client/granted_scopes/delete/{clientId}/{subject} API

Delete the set of scopes that an end-user has granted to a client application.

<br> <details> <summary>Description</summary>

Even if records about granted scopes are deleted by calling this API, existing access tokens are not deleted and scopes of existing access tokens are not changed. </details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientId A client ID.
@param subject Unique user ID of an end-user.
@return ApiClientGrantedScopesDeleteApiRequest

func (*ClientManagementApiService) ClientGrantedScopesDeleteApiExecute

Execute executes the request

@return ClientGrantedScopesDeleteResponse

func (*ClientManagementApiService) ClientGrantedScopesGetApi

func (a *ClientManagementApiService) ClientGrantedScopesGetApi(ctx context.Context, clientId string, subject string) ApiClientGrantedScopesGetApiRequest

ClientGrantedScopesGetApi /api/client/granted_scopes/get/{clientId}/{subject} API

Get the set of scopes that a user has granted to a client application.

<br> <details> <summary>Description</summary>

Possible values for `requestableScopes` parameter in the response from this API are as follows.

**null**

The user has not granted authorization to the client application in the past, or records about the combination of the user and the client application have been deleted from Authlete's DB.

**An empty set**

The user has granted authorization to the client application in the past, but no scopes are associated with the authorization.

**A set with at least one element**

The user has granted authorization to the client application in the past and some scopes are associated with the authorization. These scopes are returned. Example: `[ "profile", "email" ]` </details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientId A client ID.
@param subject Unique user ID of an end-user.
@return ApiClientGrantedScopesGetApiRequest

func (*ClientManagementApiService) ClientGrantedScopesGetApiExecute

Execute executes the request

@return ClientAuthorizationDeleteResponse

func (*ClientManagementApiService) ClientSecretRefreshApi

func (a *ClientManagementApiService) ClientSecretRefreshApi(ctx context.Context, clientIdentifier string) ApiClientSecretRefreshApiRequest

ClientSecretRefreshApi /api/client/secret/refresh API

Refresh the client secret of a client. A new value of the client secret will be generated by the Authlete server.

If you want to specify a new value, use `/api/client/secret/update` API.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientIdentifier The client ID or the client ID alias of a client.
@return ApiClientSecretRefreshApiRequest

func (*ClientManagementApiService) ClientSecretRefreshApiExecute

Execute executes the request

@return ClientSecretRefreshResponse

func (*ClientManagementApiService) ClientSecretUpdateApi

func (a *ClientManagementApiService) ClientSecretUpdateApi(ctx context.Context, clientIdentifier string) ApiClientSecretUpdateApiRequest

ClientSecretUpdateApi /api/client/secret/update API

Update the client secret of a client.

If you want to have the Authlete server generate a new value of the client secret, use `/api/client/secret/refresh` API.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param clientIdentifier The client ID or the client ID alias of a client.
@return ApiClientSecretUpdateApiRequest

func (*ClientManagementApiService) ClientSecretUpdateApiExecute

Execute executes the request

@return ClientSecretUpdateResponse

func (*ClientManagementApiService) ClientUpdateApi

ClientUpdateApi /api/client/update/{clientId} API

Update a client.

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

func (*ClientManagementApiService) ClientUpdateApiExecute

Execute executes the request

@return Client

type ClientRegistrationDeleteRequest

type ClientRegistrationDeleteRequest struct {
	// Client ID.
	ClientId string `json:"clientId"`
	// Client registration access token.
	Token string `json:"token"`
}

ClientRegistrationDeleteRequest struct for ClientRegistrationDeleteRequest

func NewClientRegistrationDeleteRequest

func NewClientRegistrationDeleteRequest(clientId string, token string) *ClientRegistrationDeleteRequest

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

func NewClientRegistrationDeleteRequestWithDefaults

func NewClientRegistrationDeleteRequestWithDefaults() *ClientRegistrationDeleteRequest

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

func (*ClientRegistrationDeleteRequest) GetClientId

func (o *ClientRegistrationDeleteRequest) GetClientId() string

GetClientId returns the ClientId field value

func (*ClientRegistrationDeleteRequest) GetClientIdOk

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

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

func (*ClientRegistrationDeleteRequest) GetToken

GetToken returns the Token field value

func (*ClientRegistrationDeleteRequest) GetTokenOk

func (o *ClientRegistrationDeleteRequest) GetTokenOk() (*string, bool)

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

func (ClientRegistrationDeleteRequest) MarshalJSON

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

func (*ClientRegistrationDeleteRequest) SetClientId

func (o *ClientRegistrationDeleteRequest) SetClientId(v string)

SetClientId sets field value

func (*ClientRegistrationDeleteRequest) SetToken

func (o *ClientRegistrationDeleteRequest) SetToken(v string)

SetToken sets field value

func (ClientRegistrationDeleteRequest) ToMap added in v1.1.1

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

type ClientRegistrationDeleteResponse

type ClientRegistrationDeleteResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
}

ClientRegistrationDeleteResponse struct for ClientRegistrationDeleteResponse

func NewClientRegistrationDeleteResponse

func NewClientRegistrationDeleteResponse() *ClientRegistrationDeleteResponse

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

func NewClientRegistrationDeleteResponseWithDefaults

func NewClientRegistrationDeleteResponseWithDefaults() *ClientRegistrationDeleteResponse

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

func (*ClientRegistrationDeleteResponse) GetAction

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

func (*ClientRegistrationDeleteResponse) GetActionOk

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

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

func (*ClientRegistrationDeleteResponse) GetResponseContent

func (o *ClientRegistrationDeleteResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*ClientRegistrationDeleteResponse) GetResponseContentOk

func (o *ClientRegistrationDeleteResponse) GetResponseContentOk() (*string, bool)

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

func (*ClientRegistrationDeleteResponse) GetResultCode

func (o *ClientRegistrationDeleteResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientRegistrationDeleteResponse) GetResultCodeOk

func (o *ClientRegistrationDeleteResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientRegistrationDeleteResponse) GetResultMessage

func (o *ClientRegistrationDeleteResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientRegistrationDeleteResponse) GetResultMessageOk

func (o *ClientRegistrationDeleteResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientRegistrationDeleteResponse) HasAction

func (o *ClientRegistrationDeleteResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ClientRegistrationDeleteResponse) HasResponseContent

func (o *ClientRegistrationDeleteResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*ClientRegistrationDeleteResponse) HasResultCode

func (o *ClientRegistrationDeleteResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientRegistrationDeleteResponse) HasResultMessage

func (o *ClientRegistrationDeleteResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientRegistrationDeleteResponse) MarshalJSON

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

func (*ClientRegistrationDeleteResponse) SetAction

func (o *ClientRegistrationDeleteResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ClientRegistrationDeleteResponse) SetResponseContent

func (o *ClientRegistrationDeleteResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*ClientRegistrationDeleteResponse) SetResultCode

func (o *ClientRegistrationDeleteResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientRegistrationDeleteResponse) SetResultMessage

func (o *ClientRegistrationDeleteResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientRegistrationDeleteResponse) ToMap added in v1.1.1

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

type ClientRegistrationGetRequest

type ClientRegistrationGetRequest struct {
	// Client ID.
	ClientId string `json:"clientId"`
	// Client registration access token.
	Token string `json:"token"`
}

ClientRegistrationGetRequest struct for ClientRegistrationGetRequest

func NewClientRegistrationGetRequest

func NewClientRegistrationGetRequest(clientId string, token string) *ClientRegistrationGetRequest

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

func NewClientRegistrationGetRequestWithDefaults

func NewClientRegistrationGetRequestWithDefaults() *ClientRegistrationGetRequest

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

func (*ClientRegistrationGetRequest) GetClientId

func (o *ClientRegistrationGetRequest) GetClientId() string

GetClientId returns the ClientId field value

func (*ClientRegistrationGetRequest) GetClientIdOk

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

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

func (*ClientRegistrationGetRequest) GetToken

func (o *ClientRegistrationGetRequest) GetToken() string

GetToken returns the Token field value

func (*ClientRegistrationGetRequest) GetTokenOk

func (o *ClientRegistrationGetRequest) GetTokenOk() (*string, bool)

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

func (ClientRegistrationGetRequest) MarshalJSON

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

func (*ClientRegistrationGetRequest) SetClientId

func (o *ClientRegistrationGetRequest) SetClientId(v string)

SetClientId sets field value

func (*ClientRegistrationGetRequest) SetToken

func (o *ClientRegistrationGetRequest) SetToken(v string)

SetToken sets field value

func (ClientRegistrationGetRequest) ToMap added in v1.2.0

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

type ClientRegistrationGetResponse

type ClientRegistrationGetResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	Client          *Client `json:"client,omitempty"`
}

ClientRegistrationGetResponse struct for ClientRegistrationGetResponse

func NewClientRegistrationGetResponse

func NewClientRegistrationGetResponse() *ClientRegistrationGetResponse

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

func NewClientRegistrationGetResponseWithDefaults

func NewClientRegistrationGetResponseWithDefaults() *ClientRegistrationGetResponse

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

func (*ClientRegistrationGetResponse) GetAction

func (o *ClientRegistrationGetResponse) GetAction() string

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

func (*ClientRegistrationGetResponse) GetActionOk

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

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

func (*ClientRegistrationGetResponse) GetClient

func (o *ClientRegistrationGetResponse) GetClient() Client

GetClient returns the Client field value if set, zero value otherwise.

func (*ClientRegistrationGetResponse) GetClientOk

func (o *ClientRegistrationGetResponse) GetClientOk() (*Client, 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 (*ClientRegistrationGetResponse) GetResponseContent

func (o *ClientRegistrationGetResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*ClientRegistrationGetResponse) GetResponseContentOk

func (o *ClientRegistrationGetResponse) GetResponseContentOk() (*string, bool)

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

func (*ClientRegistrationGetResponse) GetResultCode

func (o *ClientRegistrationGetResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientRegistrationGetResponse) GetResultCodeOk

func (o *ClientRegistrationGetResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientRegistrationGetResponse) GetResultMessage

func (o *ClientRegistrationGetResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientRegistrationGetResponse) GetResultMessageOk

func (o *ClientRegistrationGetResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientRegistrationGetResponse) HasAction

func (o *ClientRegistrationGetResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ClientRegistrationGetResponse) HasClient

func (o *ClientRegistrationGetResponse) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*ClientRegistrationGetResponse) HasResponseContent

func (o *ClientRegistrationGetResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*ClientRegistrationGetResponse) HasResultCode

func (o *ClientRegistrationGetResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientRegistrationGetResponse) HasResultMessage

func (o *ClientRegistrationGetResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientRegistrationGetResponse) MarshalJSON

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

func (*ClientRegistrationGetResponse) SetAction

func (o *ClientRegistrationGetResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ClientRegistrationGetResponse) SetClient

func (o *ClientRegistrationGetResponse) SetClient(v Client)

SetClient gets a reference to the given Client and assigns it to the Client field.

func (*ClientRegistrationGetResponse) SetResponseContent

func (o *ClientRegistrationGetResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*ClientRegistrationGetResponse) SetResultCode

func (o *ClientRegistrationGetResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientRegistrationGetResponse) SetResultMessage

func (o *ClientRegistrationGetResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientRegistrationGetResponse) ToMap added in v1.2.0

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

type ClientRegistrationRequest

type ClientRegistrationRequest struct {
	// Client metadata in JSON format that complies with [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591) (OAuth 2.0 Dynamic Client Registration Protocol).
	Json string `json:"json"`
	// The client registration access token. Used only for GET, UPDATE, and DELETE requests.
	Token *string `json:"token,omitempty"`
	// The client's identifier. Used for GET, UPDATE, and DELETE requests
	ClientId *string `json:"clientId,omitempty"`
}

ClientRegistrationRequest struct for ClientRegistrationRequest

func NewClientRegistrationRequest

func NewClientRegistrationRequest(json string) *ClientRegistrationRequest

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

func NewClientRegistrationRequestWithDefaults

func NewClientRegistrationRequestWithDefaults() *ClientRegistrationRequest

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

func (*ClientRegistrationRequest) GetClientId added in v1.0.0

func (o *ClientRegistrationRequest) GetClientId() string

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

func (*ClientRegistrationRequest) GetClientIdOk added in v1.0.0

func (o *ClientRegistrationRequest) 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 (*ClientRegistrationRequest) GetJson

func (o *ClientRegistrationRequest) GetJson() string

GetJson returns the Json field value

func (*ClientRegistrationRequest) GetJsonOk

func (o *ClientRegistrationRequest) GetJsonOk() (*string, bool)

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

func (*ClientRegistrationRequest) GetToken added in v1.0.0

func (o *ClientRegistrationRequest) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*ClientRegistrationRequest) GetTokenOk added in v1.0.0

func (o *ClientRegistrationRequest) GetTokenOk() (*string, bool)

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

func (*ClientRegistrationRequest) HasClientId added in v1.0.0

func (o *ClientRegistrationRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*ClientRegistrationRequest) HasToken added in v1.0.0

func (o *ClientRegistrationRequest) HasToken() bool

HasToken returns a boolean if a field has been set.

func (ClientRegistrationRequest) MarshalJSON

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

func (*ClientRegistrationRequest) SetClientId added in v1.0.0

func (o *ClientRegistrationRequest) SetClientId(v string)

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

func (*ClientRegistrationRequest) SetJson

func (o *ClientRegistrationRequest) SetJson(v string)

SetJson sets field value

func (*ClientRegistrationRequest) SetToken added in v1.0.0

func (o *ClientRegistrationRequest) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (ClientRegistrationRequest) ToMap added in v1.1.1

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

type ClientRegistrationResponse

type ClientRegistrationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	Client          *Client `json:"client,omitempty"`
}

ClientRegistrationResponse struct for ClientRegistrationResponse

func NewClientRegistrationResponse

func NewClientRegistrationResponse() *ClientRegistrationResponse

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

func NewClientRegistrationResponseWithDefaults

func NewClientRegistrationResponseWithDefaults() *ClientRegistrationResponse

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

func (*ClientRegistrationResponse) GetAction

func (o *ClientRegistrationResponse) GetAction() string

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

func (*ClientRegistrationResponse) GetActionOk

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

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

func (*ClientRegistrationResponse) GetClient

func (o *ClientRegistrationResponse) GetClient() Client

GetClient returns the Client field value if set, zero value otherwise.

func (*ClientRegistrationResponse) GetClientOk

func (o *ClientRegistrationResponse) GetClientOk() (*Client, 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 (*ClientRegistrationResponse) GetResponseContent

func (o *ClientRegistrationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*ClientRegistrationResponse) GetResponseContentOk

func (o *ClientRegistrationResponse) GetResponseContentOk() (*string, bool)

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

func (*ClientRegistrationResponse) GetResultCode

func (o *ClientRegistrationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientRegistrationResponse) GetResultCodeOk

func (o *ClientRegistrationResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientRegistrationResponse) GetResultMessage

func (o *ClientRegistrationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientRegistrationResponse) GetResultMessageOk

func (o *ClientRegistrationResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientRegistrationResponse) HasAction

func (o *ClientRegistrationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ClientRegistrationResponse) HasClient

func (o *ClientRegistrationResponse) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*ClientRegistrationResponse) HasResponseContent

func (o *ClientRegistrationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*ClientRegistrationResponse) HasResultCode

func (o *ClientRegistrationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientRegistrationResponse) HasResultMessage

func (o *ClientRegistrationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientRegistrationResponse) MarshalJSON

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

func (*ClientRegistrationResponse) SetAction

func (o *ClientRegistrationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ClientRegistrationResponse) SetClient

func (o *ClientRegistrationResponse) SetClient(v Client)

SetClient gets a reference to the given Client and assigns it to the Client field.

func (*ClientRegistrationResponse) SetResponseContent

func (o *ClientRegistrationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*ClientRegistrationResponse) SetResultCode

func (o *ClientRegistrationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientRegistrationResponse) SetResultMessage

func (o *ClientRegistrationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientRegistrationResponse) ToMap added in v1.1.1

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

type ClientRegistrationType added in v1.1.1

type ClientRegistrationType string

ClientRegistrationType Values for the `client_registration_types` RP metadata and the `client_registration_types_supported` OP metadata that are defined in [OpenID Connect Federation 1.0](https://openid.net/specs/openid-connect-federation-1_0.html).

const (
	CLIENTREGISTRATIONTYPE_AUTOMATIC ClientRegistrationType = "AUTOMATIC"
	CLIENTREGISTRATIONTYPE_EXPLICIT  ClientRegistrationType = "EXPLICIT"
)

List of client_registration_type

func NewClientRegistrationTypeFromValue added in v1.1.1

func NewClientRegistrationTypeFromValue(v string) (*ClientRegistrationType, error)

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

func (ClientRegistrationType) IsValid added in v1.1.1

func (v ClientRegistrationType) IsValid() bool

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

func (ClientRegistrationType) Ptr added in v1.1.1

Ptr returns reference to client_registration_type value

func (*ClientRegistrationType) UnmarshalJSON added in v1.1.1

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

type ClientRegistrationUpdateRequest

type ClientRegistrationUpdateRequest struct {
	// Client ID.
	ClientId string `json:"clientId"`
	// Client registration access token.
	Token string `json:"token"`
	// Client metadata in JSON format that complies with [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591) (OAuth 2.0 Dynamic Client Registration Protocol).
	Json string `json:"json"`
}

ClientRegistrationUpdateRequest struct for ClientRegistrationUpdateRequest

func NewClientRegistrationUpdateRequest

func NewClientRegistrationUpdateRequest(clientId string, token string, json string) *ClientRegistrationUpdateRequest

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

func NewClientRegistrationUpdateRequestWithDefaults

func NewClientRegistrationUpdateRequestWithDefaults() *ClientRegistrationUpdateRequest

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

func (*ClientRegistrationUpdateRequest) GetClientId

func (o *ClientRegistrationUpdateRequest) GetClientId() string

GetClientId returns the ClientId field value

func (*ClientRegistrationUpdateRequest) GetClientIdOk

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

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

func (*ClientRegistrationUpdateRequest) GetJson

GetJson returns the Json field value

func (*ClientRegistrationUpdateRequest) GetJsonOk

func (o *ClientRegistrationUpdateRequest) GetJsonOk() (*string, bool)

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

func (*ClientRegistrationUpdateRequest) GetToken

GetToken returns the Token field value

func (*ClientRegistrationUpdateRequest) GetTokenOk

func (o *ClientRegistrationUpdateRequest) GetTokenOk() (*string, bool)

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

func (ClientRegistrationUpdateRequest) MarshalJSON

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

func (*ClientRegistrationUpdateRequest) SetClientId

func (o *ClientRegistrationUpdateRequest) SetClientId(v string)

SetClientId sets field value

func (*ClientRegistrationUpdateRequest) SetJson

SetJson sets field value

func (*ClientRegistrationUpdateRequest) SetToken

func (o *ClientRegistrationUpdateRequest) SetToken(v string)

SetToken sets field value

func (ClientRegistrationUpdateRequest) ToMap added in v1.1.1

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

type ClientRegistrationUpdateResponse

type ClientRegistrationUpdateResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	Client          *Client `json:"client,omitempty"`
}

ClientRegistrationUpdateResponse struct for ClientRegistrationUpdateResponse

func NewClientRegistrationUpdateResponse

func NewClientRegistrationUpdateResponse() *ClientRegistrationUpdateResponse

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

func NewClientRegistrationUpdateResponseWithDefaults

func NewClientRegistrationUpdateResponseWithDefaults() *ClientRegistrationUpdateResponse

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

func (*ClientRegistrationUpdateResponse) GetAction

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

func (*ClientRegistrationUpdateResponse) GetActionOk

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

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

func (*ClientRegistrationUpdateResponse) GetClient

GetClient returns the Client field value if set, zero value otherwise.

func (*ClientRegistrationUpdateResponse) GetClientOk

func (o *ClientRegistrationUpdateResponse) GetClientOk() (*Client, 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 (*ClientRegistrationUpdateResponse) GetResponseContent

func (o *ClientRegistrationUpdateResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*ClientRegistrationUpdateResponse) GetResponseContentOk

func (o *ClientRegistrationUpdateResponse) GetResponseContentOk() (*string, bool)

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

func (*ClientRegistrationUpdateResponse) GetResultCode

func (o *ClientRegistrationUpdateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientRegistrationUpdateResponse) GetResultCodeOk

func (o *ClientRegistrationUpdateResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientRegistrationUpdateResponse) GetResultMessage

func (o *ClientRegistrationUpdateResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientRegistrationUpdateResponse) GetResultMessageOk

func (o *ClientRegistrationUpdateResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientRegistrationUpdateResponse) HasAction

func (o *ClientRegistrationUpdateResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ClientRegistrationUpdateResponse) HasClient

func (o *ClientRegistrationUpdateResponse) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*ClientRegistrationUpdateResponse) HasResponseContent

func (o *ClientRegistrationUpdateResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*ClientRegistrationUpdateResponse) HasResultCode

func (o *ClientRegistrationUpdateResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientRegistrationUpdateResponse) HasResultMessage

func (o *ClientRegistrationUpdateResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientRegistrationUpdateResponse) MarshalJSON

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

func (*ClientRegistrationUpdateResponse) SetAction

func (o *ClientRegistrationUpdateResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ClientRegistrationUpdateResponse) SetClient

func (o *ClientRegistrationUpdateResponse) SetClient(v Client)

SetClient gets a reference to the given Client and assigns it to the Client field.

func (*ClientRegistrationUpdateResponse) SetResponseContent

func (o *ClientRegistrationUpdateResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*ClientRegistrationUpdateResponse) SetResultCode

func (o *ClientRegistrationUpdateResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientRegistrationUpdateResponse) SetResultMessage

func (o *ClientRegistrationUpdateResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientRegistrationUpdateResponse) ToMap added in v1.1.1

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

type ClientSecretRefreshResponse

type ClientSecretRefreshResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The new client secret.
	NewClientSecret *string `json:"newClientSecret,omitempty"`
	// The old client secret.
	OldClientSecret *string `json:"oldClientSecret,omitempty"`
}

ClientSecretRefreshResponse struct for ClientSecretRefreshResponse

func NewClientSecretRefreshResponse

func NewClientSecretRefreshResponse() *ClientSecretRefreshResponse

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

func NewClientSecretRefreshResponseWithDefaults

func NewClientSecretRefreshResponseWithDefaults() *ClientSecretRefreshResponse

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

func (*ClientSecretRefreshResponse) GetNewClientSecret

func (o *ClientSecretRefreshResponse) GetNewClientSecret() string

GetNewClientSecret returns the NewClientSecret field value if set, zero value otherwise.

func (*ClientSecretRefreshResponse) GetNewClientSecretOk

func (o *ClientSecretRefreshResponse) GetNewClientSecretOk() (*string, bool)

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

func (*ClientSecretRefreshResponse) GetOldClientSecret

func (o *ClientSecretRefreshResponse) GetOldClientSecret() string

GetOldClientSecret returns the OldClientSecret field value if set, zero value otherwise.

func (*ClientSecretRefreshResponse) GetOldClientSecretOk

func (o *ClientSecretRefreshResponse) GetOldClientSecretOk() (*string, bool)

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

func (*ClientSecretRefreshResponse) GetResultCode

func (o *ClientSecretRefreshResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientSecretRefreshResponse) GetResultCodeOk

func (o *ClientSecretRefreshResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientSecretRefreshResponse) GetResultMessage

func (o *ClientSecretRefreshResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientSecretRefreshResponse) GetResultMessageOk

func (o *ClientSecretRefreshResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientSecretRefreshResponse) HasNewClientSecret

func (o *ClientSecretRefreshResponse) HasNewClientSecret() bool

HasNewClientSecret returns a boolean if a field has been set.

func (*ClientSecretRefreshResponse) HasOldClientSecret

func (o *ClientSecretRefreshResponse) HasOldClientSecret() bool

HasOldClientSecret returns a boolean if a field has been set.

func (*ClientSecretRefreshResponse) HasResultCode

func (o *ClientSecretRefreshResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientSecretRefreshResponse) HasResultMessage

func (o *ClientSecretRefreshResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientSecretRefreshResponse) MarshalJSON

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

func (*ClientSecretRefreshResponse) SetNewClientSecret

func (o *ClientSecretRefreshResponse) SetNewClientSecret(v string)

SetNewClientSecret gets a reference to the given string and assigns it to the NewClientSecret field.

func (*ClientSecretRefreshResponse) SetOldClientSecret

func (o *ClientSecretRefreshResponse) SetOldClientSecret(v string)

SetOldClientSecret gets a reference to the given string and assigns it to the OldClientSecret field.

func (*ClientSecretRefreshResponse) SetResultCode

func (o *ClientSecretRefreshResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientSecretRefreshResponse) SetResultMessage

func (o *ClientSecretRefreshResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientSecretRefreshResponse) ToMap added in v1.1.1

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

type ClientSecretUpdateRequest

type ClientSecretUpdateRequest struct {
	// The new value of the client secret. Valid characters for a client secret are `A-Z`, `a-z`, `0-9`, `-`, and `_`. The maximum length of a client secret is 86.
	ClientSecret string `json:"clientSecret"`
}

ClientSecretUpdateRequest struct for ClientSecretUpdateRequest

func NewClientSecretUpdateRequest

func NewClientSecretUpdateRequest(clientSecret string) *ClientSecretUpdateRequest

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

func NewClientSecretUpdateRequestWithDefaults

func NewClientSecretUpdateRequestWithDefaults() *ClientSecretUpdateRequest

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

func (*ClientSecretUpdateRequest) GetClientSecret

func (o *ClientSecretUpdateRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field value

func (*ClientSecretUpdateRequest) GetClientSecretOk

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

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

func (ClientSecretUpdateRequest) MarshalJSON

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

func (*ClientSecretUpdateRequest) SetClientSecret

func (o *ClientSecretUpdateRequest) SetClientSecret(v string)

SetClientSecret sets field value

func (ClientSecretUpdateRequest) ToMap added in v1.1.1

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

type ClientSecretUpdateResponse

type ClientSecretUpdateResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The new client secret.
	NewClientSecret *string `json:"newClientSecret,omitempty"`
	// The old client secret.
	OldClientSecret *string `json:"oldClientSecret,omitempty"`
}

ClientSecretUpdateResponse struct for ClientSecretUpdateResponse

func NewClientSecretUpdateResponse

func NewClientSecretUpdateResponse() *ClientSecretUpdateResponse

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

func NewClientSecretUpdateResponseWithDefaults

func NewClientSecretUpdateResponseWithDefaults() *ClientSecretUpdateResponse

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

func (*ClientSecretUpdateResponse) GetNewClientSecret

func (o *ClientSecretUpdateResponse) GetNewClientSecret() string

GetNewClientSecret returns the NewClientSecret field value if set, zero value otherwise.

func (*ClientSecretUpdateResponse) GetNewClientSecretOk

func (o *ClientSecretUpdateResponse) GetNewClientSecretOk() (*string, bool)

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

func (*ClientSecretUpdateResponse) GetOldClientSecret

func (o *ClientSecretUpdateResponse) GetOldClientSecret() string

GetOldClientSecret returns the OldClientSecret field value if set, zero value otherwise.

func (*ClientSecretUpdateResponse) GetOldClientSecretOk

func (o *ClientSecretUpdateResponse) GetOldClientSecretOk() (*string, bool)

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

func (*ClientSecretUpdateResponse) GetResultCode

func (o *ClientSecretUpdateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*ClientSecretUpdateResponse) GetResultCodeOk

func (o *ClientSecretUpdateResponse) GetResultCodeOk() (*string, bool)

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

func (*ClientSecretUpdateResponse) GetResultMessage

func (o *ClientSecretUpdateResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*ClientSecretUpdateResponse) GetResultMessageOk

func (o *ClientSecretUpdateResponse) GetResultMessageOk() (*string, bool)

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

func (*ClientSecretUpdateResponse) HasNewClientSecret

func (o *ClientSecretUpdateResponse) HasNewClientSecret() bool

HasNewClientSecret returns a boolean if a field has been set.

func (*ClientSecretUpdateResponse) HasOldClientSecret

func (o *ClientSecretUpdateResponse) HasOldClientSecret() bool

HasOldClientSecret returns a boolean if a field has been set.

func (*ClientSecretUpdateResponse) HasResultCode

func (o *ClientSecretUpdateResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*ClientSecretUpdateResponse) HasResultMessage

func (o *ClientSecretUpdateResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (ClientSecretUpdateResponse) MarshalJSON

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

func (*ClientSecretUpdateResponse) SetNewClientSecret

func (o *ClientSecretUpdateResponse) SetNewClientSecret(v string)

SetNewClientSecret gets a reference to the given string and assigns it to the NewClientSecret field.

func (*ClientSecretUpdateResponse) SetOldClientSecret

func (o *ClientSecretUpdateResponse) SetOldClientSecret(v string)

SetOldClientSecret gets a reference to the given string and assigns it to the OldClientSecret field.

func (*ClientSecretUpdateResponse) SetResultCode

func (o *ClientSecretUpdateResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*ClientSecretUpdateResponse) SetResultMessage

func (o *ClientSecretUpdateResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (ClientSecretUpdateResponse) ToMap added in v1.1.1

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

type ClientType

type ClientType string

ClientType The client type, either `CONFIDENTIAL` or `PUBLIC`. See [RFC 6749, 2.1. Client Types](https://datatracker.ietf.org/doc/html/rfc6749#section-2.1) for details.

const (
	CLIENTTYPE_PUBLIC       ClientType = "PUBLIC"
	CLIENTTYPE_CONFIDENTIAL ClientType = "CONFIDENTIAL"
)

List of client_type

func NewClientTypeFromValue

func NewClientTypeFromValue(v string) (*ClientType, error)

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

func (ClientType) IsValid

func (v ClientType) IsValid() bool

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

func (ClientType) Ptr

func (v ClientType) Ptr() *ClientType

Ptr returns reference to client_type value

func (*ClientType) UnmarshalJSON

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type ConfigurationEndpointApi

type ConfigurationEndpointApi interface {

	/*
		ServiceConfigurationApi /api/service/configuration API

		This API gathers configuration information about a service.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the configuration endpoint of
	the service where the service that supports OpenID Connect and [OpenID Connect Discovery 1.0](https://openid.net/specs/openid-connect-discovery-1_0.html)
	must expose its configuration information in a JSON format. Details about the format are described
	in "[3. OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata)"
	in OpenID Connect Discovery 1.0.

	</details>


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

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

type ConfigurationEndpointApiService

type ConfigurationEndpointApiService service

ConfigurationEndpointApiService ConfigurationEndpointApi service

func (*ConfigurationEndpointApiService) ServiceConfigurationApi

ServiceConfigurationApi /api/service/configuration API

This API gathers configuration information about a service.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the configuration endpoint of the service where the service that supports OpenID Connect and [OpenID Connect Discovery 1.0](https://openid.net/specs/openid-connect-discovery-1_0.html) must expose its configuration information in a JSON format. Details about the format are described in "[3. OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata)" in OpenID Connect Discovery 1.0.

</details>

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

func (*ConfigurationEndpointApiService) ServiceConfigurationApiExecute

func (a *ConfigurationEndpointApiService) ServiceConfigurationApiExecute(r ApiServiceConfigurationApiRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

type DeliveryMode

type DeliveryMode string

DeliveryMode the model 'DeliveryMode'

const (
	DELIVERYMODE_PING DeliveryMode = "PING"
	DELIVERYMODE_POLL DeliveryMode = "POLL"
	DELIVERYMODE_PUSH DeliveryMode = "PUSH"
)

List of delivery_mode

func NewDeliveryModeFromValue

func NewDeliveryModeFromValue(v string) (*DeliveryMode, error)

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

func (DeliveryMode) IsValid

func (v DeliveryMode) IsValid() bool

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

func (DeliveryMode) Ptr

func (v DeliveryMode) Ptr() *DeliveryMode

Ptr returns reference to delivery_mode value

func (*DeliveryMode) UnmarshalJSON

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

type DeviceAuthorizationRequest

type DeviceAuthorizationRequest struct {
	// Parameters of a device authorization request which are the request parameters that the device authorization endpoint of the authorization server implementation received from the client application.  The value of `parameters` is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
	Parameters string `json:"parameters"`
	// The client ID extracted from Authorization header of the device authorization request from the client application.  If the device authorization endpoint of the authorization server implementation supports Basic `Authentication` as a means of client authentication, and the request from the client application contained its client ID in `Authorization` header, the value should be extracted and set to this parameter.
	ClientId *string `json:"clientId,omitempty"`
	// The client secret extracted from `Authorization` header of the device authorization request from the client application.  If the device authorization endpoint of the authorization server implementation supports Basic Authentication as a means of client authentication, and the request from the client application contained its client secret in `Authorization` header, the value should be extracted and set to this parameter.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The client certificate used in the TLS connection between the client application and the device authorization endpoint of the authorization server.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// The client certificate path presented by the client during client authentication. Each element is a string in PEM format.
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty"`
}

DeviceAuthorizationRequest struct for DeviceAuthorizationRequest

func NewDeviceAuthorizationRequest

func NewDeviceAuthorizationRequest(parameters string) *DeviceAuthorizationRequest

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

func NewDeviceAuthorizationRequestWithDefaults

func NewDeviceAuthorizationRequestWithDefaults() *DeviceAuthorizationRequest

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

func (*DeviceAuthorizationRequest) GetClientCertificate

func (o *DeviceAuthorizationRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*DeviceAuthorizationRequest) GetClientCertificateOk

func (o *DeviceAuthorizationRequest) GetClientCertificateOk() (*string, bool)

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

func (*DeviceAuthorizationRequest) GetClientCertificatePath

func (o *DeviceAuthorizationRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field value if set, zero value otherwise.

func (*DeviceAuthorizationRequest) GetClientCertificatePathOk

func (o *DeviceAuthorizationRequest) GetClientCertificatePathOk() (*string, bool)

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

func (*DeviceAuthorizationRequest) GetClientId

func (o *DeviceAuthorizationRequest) GetClientId() string

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

func (*DeviceAuthorizationRequest) GetClientIdOk

func (o *DeviceAuthorizationRequest) 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 (*DeviceAuthorizationRequest) GetClientSecret

func (o *DeviceAuthorizationRequest) GetClientSecret() string

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

func (*DeviceAuthorizationRequest) GetClientSecretOk

func (o *DeviceAuthorizationRequest) 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 (*DeviceAuthorizationRequest) GetParameters

func (o *DeviceAuthorizationRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*DeviceAuthorizationRequest) GetParametersOk

func (o *DeviceAuthorizationRequest) GetParametersOk() (*string, bool)

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

func (*DeviceAuthorizationRequest) HasClientCertificate

func (o *DeviceAuthorizationRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*DeviceAuthorizationRequest) HasClientCertificatePath

func (o *DeviceAuthorizationRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

func (*DeviceAuthorizationRequest) HasClientId

func (o *DeviceAuthorizationRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*DeviceAuthorizationRequest) HasClientSecret

func (o *DeviceAuthorizationRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (DeviceAuthorizationRequest) MarshalJSON

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

func (*DeviceAuthorizationRequest) SetClientCertificate

func (o *DeviceAuthorizationRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*DeviceAuthorizationRequest) SetClientCertificatePath

func (o *DeviceAuthorizationRequest) SetClientCertificatePath(v string)

SetClientCertificatePath gets a reference to the given string and assigns it to the ClientCertificatePath field.

func (*DeviceAuthorizationRequest) SetClientId

func (o *DeviceAuthorizationRequest) SetClientId(v string)

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

func (*DeviceAuthorizationRequest) SetClientSecret

func (o *DeviceAuthorizationRequest) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*DeviceAuthorizationRequest) SetParameters

func (o *DeviceAuthorizationRequest) SetParameters(v string)

SetParameters sets field value

func (DeviceAuthorizationRequest) ToMap added in v1.1.1

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

type DeviceAuthorizationResponse

type DeviceAuthorizationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The client ID of the client application that has made the device authorization request.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias of the client application that has made the device authorization request.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// `true` if the value of the client_id request parameter included in the device authorization request is the client ID alias. `false` if the value is the original numeric client ID.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The name of the client application which has made the device authorization request.
	ClientName *string `json:"clientName,omitempty"`
	// The client authentication method that should be performed at the device authorization endpoint.
	ClientAuthMethod *string `json:"clientAuthMethod,omitempty"`
	// The scopes requested by the device authorization request.  Basically, this property holds the value of the scope request parameter in the device authorization request. However, because unregistered scopes are dropped on Authlete side, if the `scope` request parameter contains unknown scopes, the list returned by this property becomes different from the value of the `scope` request parameter.  Note that `description` property and `descriptions` property of each scope object in the array contained in this property is always `null` even if descriptions of the scopes are registered.
	Scopes []string `json:"scopes,omitempty"`
	// The names of the claims which were requested indirectly via some special scopes. See [5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) in OpenID Connect Core 1.0 for details.
	ClaimNames []string `json:"claimNames,omitempty"`
	// The list of ACR values requested by the device authorization request.  Basically, this property holds the value of the `acr_values` request parameter in the device authorization request. However, because unsupported ACR values are dropped on Authlete side, if the `acr_values` request parameter contains unrecognized ACR values, the list returned by this property becomes different from the value of the `acr_values` request parameter.
	Acrs []string `json:"acrs,omitempty"`
	// The device verification code. This corresponds to the `device_code` property in the response to the client.
	DeviceCode *string `json:"deviceCode,omitempty"`
	// The end-user verification code. This corresponds to the `user_code` property in the response to the client.
	UserCode *string `json:"userCode,omitempty"`
	// The end-user verification URI. This corresponds to the `verification_uri` property in the response to the client.
	VerificationUri *string `json:"verificationUri,omitempty"`
	// The end-user verification URI that includes the end-user verification code. This corresponds to the `verification_uri_complete` property in the response to the client.
	VerificationUriComplete *string `json:"verificationUriComplete,omitempty"`
	// The duration of the device verification code in seconds. This corresponds to the `expires_in` property in the response to the client.
	ExpiresIn *int32 `json:"expiresIn,omitempty"`
	// The minimum amount of time in seconds that the client must wait for between polling requests to the token endpoint. This corresponds to the `interval` property in the response to the client.
	Interval *int32 `json:"interval,omitempty"`
	// The warnings raised during processing the backchannel authentication request.
	Warnings []string `json:"warnings,omitempty"`
	// The resources specified by the `resource` request parameters. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources            []string              `json:"resources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// The dynamic scopes which the client application requested by the scope request parameter.
	DynamicScopes []DynamicScope         `json:"dynamicScopes,omitempty"`
	GmAction      *GrantManagementAction `json:"gmAction,omitempty"`
	// the value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	Grant   *Grant  `json:"grant,omitempty"`
	// The subject identifying the user who has given the grant identified by the `grant_id` request parameter of the device authorization request.  Authlete 2.3 and newer versions support <a href= \"https://openid.net/specs/fapi-grant-management.html\">Grant Management for OAuth 2.0</a>. An authorization request may contain a {@code grant_id} request parameter which is defined in the specification. If the value of the request parameter is valid, {@link #getGrantSubject()} will return the subject of the user who has given the grant to the client application. Authorization server implementations may use the value returned from {@link #getGrantSubject()} in order to determine the user to authenticate.  The user your system will authenticate during the authorization process (or has already authenticated) may be different from the user of the grant. The first implementer's draft of \"Grant Management for OAuth 2.0\" does not mention anything about the case, so the behavior in the case is left to implementations. Authlete will not perform the grant management action when the {@code subject} passed to Authlete does not match the user of the grant.
	GrantSubject *string `json:"grantSubject,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

DeviceAuthorizationResponse struct for DeviceAuthorizationResponse

func NewDeviceAuthorizationResponse

func NewDeviceAuthorizationResponse() *DeviceAuthorizationResponse

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

func NewDeviceAuthorizationResponseWithDefaults

func NewDeviceAuthorizationResponseWithDefaults() *DeviceAuthorizationResponse

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

func (*DeviceAuthorizationResponse) GetAcrs

func (o *DeviceAuthorizationResponse) GetAcrs() []string

GetAcrs returns the Acrs field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetAcrsOk

func (o *DeviceAuthorizationResponse) GetAcrsOk() ([]string, bool)

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

func (*DeviceAuthorizationResponse) GetAction

func (o *DeviceAuthorizationResponse) GetAction() string

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

func (*DeviceAuthorizationResponse) GetActionOk

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

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

func (*DeviceAuthorizationResponse) GetAuthorizationDetails

func (o *DeviceAuthorizationResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetAuthorizationDetailsOk

func (o *DeviceAuthorizationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

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

func (*DeviceAuthorizationResponse) GetClaimNames

func (o *DeviceAuthorizationResponse) GetClaimNames() []string

GetClaimNames returns the ClaimNames field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClaimNamesOk

func (o *DeviceAuthorizationResponse) GetClaimNamesOk() ([]string, bool)

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

func (*DeviceAuthorizationResponse) GetClientAttributes

func (o *DeviceAuthorizationResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClientAttributesOk

func (o *DeviceAuthorizationResponse) GetClientAttributesOk() ([]Pair, bool)

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

func (*DeviceAuthorizationResponse) GetClientAuthMethod

func (o *DeviceAuthorizationResponse) GetClientAuthMethod() string

GetClientAuthMethod returns the ClientAuthMethod field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClientAuthMethodOk

func (o *DeviceAuthorizationResponse) GetClientAuthMethodOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetClientEntityId added in v1.2.0

func (o *DeviceAuthorizationResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClientEntityIdOk added in v1.2.0

func (o *DeviceAuthorizationResponse) GetClientEntityIdOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetClientEntityIdUsed added in v1.2.0

func (o *DeviceAuthorizationResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *DeviceAuthorizationResponse) GetClientEntityIdUsedOk() (*bool, bool)

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

func (*DeviceAuthorizationResponse) GetClientId

func (o *DeviceAuthorizationResponse) GetClientId() int64

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

func (*DeviceAuthorizationResponse) GetClientIdAlias

func (o *DeviceAuthorizationResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClientIdAliasOk

func (o *DeviceAuthorizationResponse) GetClientIdAliasOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetClientIdAliasUsed

func (o *DeviceAuthorizationResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetClientIdAliasUsedOk

func (o *DeviceAuthorizationResponse) GetClientIdAliasUsedOk() (*bool, bool)

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

func (*DeviceAuthorizationResponse) GetClientIdOk

func (o *DeviceAuthorizationResponse) GetClientIdOk() (*int64, 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 (*DeviceAuthorizationResponse) GetClientName

func (o *DeviceAuthorizationResponse) GetClientName() string

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

func (*DeviceAuthorizationResponse) GetClientNameOk

func (o *DeviceAuthorizationResponse) 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 (*DeviceAuthorizationResponse) GetDeviceCode

func (o *DeviceAuthorizationResponse) GetDeviceCode() string

GetDeviceCode returns the DeviceCode field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetDeviceCodeOk

func (o *DeviceAuthorizationResponse) GetDeviceCodeOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetDynamicScopes

func (o *DeviceAuthorizationResponse) GetDynamicScopes() []DynamicScope

GetDynamicScopes returns the DynamicScopes field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetDynamicScopesOk

func (o *DeviceAuthorizationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)

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

func (*DeviceAuthorizationResponse) GetExpiresIn

func (o *DeviceAuthorizationResponse) GetExpiresIn() int32

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

func (*DeviceAuthorizationResponse) GetExpiresInOk

func (o *DeviceAuthorizationResponse) GetExpiresInOk() (*int32, 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 (*DeviceAuthorizationResponse) GetGmAction added in v1.1.1

GetGmAction returns the GmAction field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetGmActionOk added in v1.1.1

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

func (*DeviceAuthorizationResponse) GetGrant added in v1.1.1

func (o *DeviceAuthorizationResponse) GetGrant() Grant

GetGrant returns the Grant field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetGrantId added in v1.1.1

func (o *DeviceAuthorizationResponse) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetGrantIdOk added in v1.1.1

func (o *DeviceAuthorizationResponse) GetGrantIdOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetGrantOk added in v1.1.1

func (o *DeviceAuthorizationResponse) GetGrantOk() (*Grant, bool)

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

func (*DeviceAuthorizationResponse) GetGrantSubject added in v1.1.1

func (o *DeviceAuthorizationResponse) GetGrantSubject() string

GetGrantSubject returns the GrantSubject field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetGrantSubjectOk added in v1.1.1

func (o *DeviceAuthorizationResponse) GetGrantSubjectOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetInterval

func (o *DeviceAuthorizationResponse) GetInterval() int32

GetInterval returns the Interval field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetIntervalOk

func (o *DeviceAuthorizationResponse) GetIntervalOk() (*int32, bool)

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

func (*DeviceAuthorizationResponse) GetResources

func (o *DeviceAuthorizationResponse) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetResourcesOk

func (o *DeviceAuthorizationResponse) GetResourcesOk() ([]string, bool)

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

func (*DeviceAuthorizationResponse) GetResponseContent

func (o *DeviceAuthorizationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetResponseContentOk

func (o *DeviceAuthorizationResponse) GetResponseContentOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetResultCode

func (o *DeviceAuthorizationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetResultCodeOk

func (o *DeviceAuthorizationResponse) GetResultCodeOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetResultMessage

func (o *DeviceAuthorizationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetResultMessageOk

func (o *DeviceAuthorizationResponse) GetResultMessageOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetScopes

func (o *DeviceAuthorizationResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetScopesOk

func (o *DeviceAuthorizationResponse) GetScopesOk() ([]string, bool)

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

func (*DeviceAuthorizationResponse) GetServiceAttributes

func (o *DeviceAuthorizationResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetServiceAttributesOk

func (o *DeviceAuthorizationResponse) GetServiceAttributesOk() ([]Pair, bool)

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

func (*DeviceAuthorizationResponse) GetUserCode

func (o *DeviceAuthorizationResponse) GetUserCode() string

GetUserCode returns the UserCode field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetUserCodeOk

func (o *DeviceAuthorizationResponse) GetUserCodeOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetVerificationUri

func (o *DeviceAuthorizationResponse) GetVerificationUri() string

GetVerificationUri returns the VerificationUri field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetVerificationUriComplete

func (o *DeviceAuthorizationResponse) GetVerificationUriComplete() string

GetVerificationUriComplete returns the VerificationUriComplete field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetVerificationUriCompleteOk

func (o *DeviceAuthorizationResponse) GetVerificationUriCompleteOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetVerificationUriOk

func (o *DeviceAuthorizationResponse) GetVerificationUriOk() (*string, bool)

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

func (*DeviceAuthorizationResponse) GetWarnings

func (o *DeviceAuthorizationResponse) GetWarnings() []string

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*DeviceAuthorizationResponse) GetWarningsOk

func (o *DeviceAuthorizationResponse) GetWarningsOk() ([]string, bool)

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

func (*DeviceAuthorizationResponse) HasAcrs

func (o *DeviceAuthorizationResponse) HasAcrs() bool

HasAcrs returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasAction

func (o *DeviceAuthorizationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasAuthorizationDetails

func (o *DeviceAuthorizationResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClaimNames

func (o *DeviceAuthorizationResponse) HasClaimNames() bool

HasClaimNames returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientAttributes

func (o *DeviceAuthorizationResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientAuthMethod

func (o *DeviceAuthorizationResponse) HasClientAuthMethod() bool

HasClientAuthMethod returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientEntityId added in v1.2.0

func (o *DeviceAuthorizationResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientEntityIdUsed added in v1.2.0

func (o *DeviceAuthorizationResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientId

func (o *DeviceAuthorizationResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientIdAlias

func (o *DeviceAuthorizationResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientIdAliasUsed

func (o *DeviceAuthorizationResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasClientName

func (o *DeviceAuthorizationResponse) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasDeviceCode

func (o *DeviceAuthorizationResponse) HasDeviceCode() bool

HasDeviceCode returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasDynamicScopes

func (o *DeviceAuthorizationResponse) HasDynamicScopes() bool

HasDynamicScopes returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasExpiresIn

func (o *DeviceAuthorizationResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasGmAction added in v1.1.1

func (o *DeviceAuthorizationResponse) HasGmAction() bool

HasGmAction returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasGrant added in v1.1.1

func (o *DeviceAuthorizationResponse) HasGrant() bool

HasGrant returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasGrantId added in v1.1.1

func (o *DeviceAuthorizationResponse) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasGrantSubject added in v1.1.1

func (o *DeviceAuthorizationResponse) HasGrantSubject() bool

HasGrantSubject returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasInterval

func (o *DeviceAuthorizationResponse) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasResources

func (o *DeviceAuthorizationResponse) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasResponseContent

func (o *DeviceAuthorizationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasResultCode

func (o *DeviceAuthorizationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasResultMessage

func (o *DeviceAuthorizationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasScopes

func (o *DeviceAuthorizationResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasServiceAttributes

func (o *DeviceAuthorizationResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasUserCode

func (o *DeviceAuthorizationResponse) HasUserCode() bool

HasUserCode returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasVerificationUri

func (o *DeviceAuthorizationResponse) HasVerificationUri() bool

HasVerificationUri returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasVerificationUriComplete

func (o *DeviceAuthorizationResponse) HasVerificationUriComplete() bool

HasVerificationUriComplete returns a boolean if a field has been set.

func (*DeviceAuthorizationResponse) HasWarnings

func (o *DeviceAuthorizationResponse) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (DeviceAuthorizationResponse) MarshalJSON

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

func (*DeviceAuthorizationResponse) SetAcrs

func (o *DeviceAuthorizationResponse) SetAcrs(v []string)

SetAcrs gets a reference to the given []string and assigns it to the Acrs field.

func (*DeviceAuthorizationResponse) SetAction

func (o *DeviceAuthorizationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*DeviceAuthorizationResponse) SetAuthorizationDetails

func (o *DeviceAuthorizationResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*DeviceAuthorizationResponse) SetClaimNames

func (o *DeviceAuthorizationResponse) SetClaimNames(v []string)

SetClaimNames gets a reference to the given []string and assigns it to the ClaimNames field.

func (*DeviceAuthorizationResponse) SetClientAttributes

func (o *DeviceAuthorizationResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*DeviceAuthorizationResponse) SetClientAuthMethod

func (o *DeviceAuthorizationResponse) SetClientAuthMethod(v string)

SetClientAuthMethod gets a reference to the given string and assigns it to the ClientAuthMethod field.

func (*DeviceAuthorizationResponse) SetClientEntityId added in v1.2.0

func (o *DeviceAuthorizationResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*DeviceAuthorizationResponse) SetClientEntityIdUsed added in v1.2.0

func (o *DeviceAuthorizationResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*DeviceAuthorizationResponse) SetClientId

func (o *DeviceAuthorizationResponse) SetClientId(v int64)

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

func (*DeviceAuthorizationResponse) SetClientIdAlias

func (o *DeviceAuthorizationResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*DeviceAuthorizationResponse) SetClientIdAliasUsed

func (o *DeviceAuthorizationResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*DeviceAuthorizationResponse) SetClientName

func (o *DeviceAuthorizationResponse) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*DeviceAuthorizationResponse) SetDeviceCode

func (o *DeviceAuthorizationResponse) SetDeviceCode(v string)

SetDeviceCode gets a reference to the given string and assigns it to the DeviceCode field.

func (*DeviceAuthorizationResponse) SetDynamicScopes

func (o *DeviceAuthorizationResponse) SetDynamicScopes(v []DynamicScope)

SetDynamicScopes gets a reference to the given []DynamicScope and assigns it to the DynamicScopes field.

func (*DeviceAuthorizationResponse) SetExpiresIn

func (o *DeviceAuthorizationResponse) SetExpiresIn(v int32)

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

func (*DeviceAuthorizationResponse) SetGmAction added in v1.1.1

SetGmAction gets a reference to the given GrantManagementAction and assigns it to the GmAction field.

func (*DeviceAuthorizationResponse) SetGrant added in v1.1.1

func (o *DeviceAuthorizationResponse) SetGrant(v Grant)

SetGrant gets a reference to the given Grant and assigns it to the Grant field.

func (*DeviceAuthorizationResponse) SetGrantId added in v1.1.1

func (o *DeviceAuthorizationResponse) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*DeviceAuthorizationResponse) SetGrantSubject added in v1.1.1

func (o *DeviceAuthorizationResponse) SetGrantSubject(v string)

SetGrantSubject gets a reference to the given string and assigns it to the GrantSubject field.

func (*DeviceAuthorizationResponse) SetInterval

func (o *DeviceAuthorizationResponse) SetInterval(v int32)

SetInterval gets a reference to the given int32 and assigns it to the Interval field.

func (*DeviceAuthorizationResponse) SetResources

func (o *DeviceAuthorizationResponse) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*DeviceAuthorizationResponse) SetResponseContent

func (o *DeviceAuthorizationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*DeviceAuthorizationResponse) SetResultCode

func (o *DeviceAuthorizationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*DeviceAuthorizationResponse) SetResultMessage

func (o *DeviceAuthorizationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*DeviceAuthorizationResponse) SetScopes

func (o *DeviceAuthorizationResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*DeviceAuthorizationResponse) SetServiceAttributes

func (o *DeviceAuthorizationResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (*DeviceAuthorizationResponse) SetUserCode

func (o *DeviceAuthorizationResponse) SetUserCode(v string)

SetUserCode gets a reference to the given string and assigns it to the UserCode field.

func (*DeviceAuthorizationResponse) SetVerificationUri

func (o *DeviceAuthorizationResponse) SetVerificationUri(v string)

SetVerificationUri gets a reference to the given string and assigns it to the VerificationUri field.

func (*DeviceAuthorizationResponse) SetVerificationUriComplete

func (o *DeviceAuthorizationResponse) SetVerificationUriComplete(v string)

SetVerificationUriComplete gets a reference to the given string and assigns it to the VerificationUriComplete field.

func (*DeviceAuthorizationResponse) SetWarnings

func (o *DeviceAuthorizationResponse) SetWarnings(v []string)

SetWarnings gets a reference to the given []string and assigns it to the Warnings field.

func (DeviceAuthorizationResponse) ToMap added in v1.1.1

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

type DeviceCompleteRequest

type DeviceCompleteRequest struct {
	// A user code.
	UserCode string `json:"userCode"`
	// The result of the end-user authentication and authorization. One of the following. Details are described in the description.
	Result string `json:"result"`
	// The subject (= unique identifier) of the end-user.
	Subject string `json:"subject"`
	// The value of the sub claim that should be used in the ID token.
	Sub *string `json:"sub,omitempty"`
	// The time at which the end-user was authenticated. Its value is the number of seconds from `1970-01-01`.
	AuthTime *string `json:"authTime,omitempty"`
	// The reference of the authentication context class which the end-user authentication satisfied.
	Acr *string `json:"acr,omitempty"`
	// Additional claims which will be embedded in the ID token.
	Claims *string `json:"claims,omitempty"`
	// The extra properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
	// Scopes to replace the scopes specified in the original device authorization request with. When nothing is specified for this parameter, replacement is not performed.
	Scopes []string `json:"scopes,omitempty"`
	// The description of the error. If this optional request parameter is given, its value is used as the value of the `error_description` property, but it is used only when the result is not `AUTHORIZED`. To comply with the specification strictly, the description must not include characters outside the set `%x20-21 / %x23-5B / %x5D-7E`.
	ErrorDescription *string `json:"errorDescription,omitempty"`
	// The URI of a document which describes the error in detail. This corresponds to the `error_uri` property in the response to the client.
	ErrorUri *string `json:"errorUri,omitempty"`
	// JSON that represents additional JWS header parameters for ID tokens.
	IdtHeaderParams *string `json:"idtHeaderParams,omitempty"`
	// the claims that the user has consented for the client application to know.
	ConsentedClaims []string `json:"consentedClaims,omitempty"`
	// Additional claims that are added to the payload part of the JWT access token.
	JwtAtClaims *string `json:"jwtAtClaims,omitempty"`
}

DeviceCompleteRequest struct for DeviceCompleteRequest

func NewDeviceCompleteRequest

func NewDeviceCompleteRequest(userCode string, result string, subject string) *DeviceCompleteRequest

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

func NewDeviceCompleteRequestWithDefaults

func NewDeviceCompleteRequestWithDefaults() *DeviceCompleteRequest

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

func (*DeviceCompleteRequest) GetAcr

func (o *DeviceCompleteRequest) GetAcr() string

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

func (*DeviceCompleteRequest) GetAcrOk

func (o *DeviceCompleteRequest) 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 (*DeviceCompleteRequest) GetAuthTime

func (o *DeviceCompleteRequest) GetAuthTime() string

GetAuthTime returns the AuthTime field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetAuthTimeOk

func (o *DeviceCompleteRequest) GetAuthTimeOk() (*string, bool)

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

func (*DeviceCompleteRequest) GetClaims

func (o *DeviceCompleteRequest) GetClaims() string

GetClaims returns the Claims field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetClaimsOk

func (o *DeviceCompleteRequest) GetClaimsOk() (*string, bool)

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

func (*DeviceCompleteRequest) GetConsentedClaims added in v1.1.1

func (o *DeviceCompleteRequest) GetConsentedClaims() []string

GetConsentedClaims returns the ConsentedClaims field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetConsentedClaimsOk added in v1.1.1

func (o *DeviceCompleteRequest) GetConsentedClaimsOk() ([]string, bool)

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

func (*DeviceCompleteRequest) GetErrorDescription

func (o *DeviceCompleteRequest) GetErrorDescription() string

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

func (*DeviceCompleteRequest) GetErrorDescriptionOk

func (o *DeviceCompleteRequest) 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 (*DeviceCompleteRequest) GetErrorUri

func (o *DeviceCompleteRequest) GetErrorUri() string

GetErrorUri returns the ErrorUri field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetErrorUriOk

func (o *DeviceCompleteRequest) GetErrorUriOk() (*string, bool)

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

func (*DeviceCompleteRequest) GetIdtHeaderParams added in v1.0.0

func (o *DeviceCompleteRequest) GetIdtHeaderParams() string

GetIdtHeaderParams returns the IdtHeaderParams field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetIdtHeaderParamsOk added in v1.0.0

func (o *DeviceCompleteRequest) GetIdtHeaderParamsOk() (*string, bool)

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

func (*DeviceCompleteRequest) GetJwtAtClaims added in v1.1.1

func (o *DeviceCompleteRequest) GetJwtAtClaims() string

GetJwtAtClaims returns the JwtAtClaims field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetJwtAtClaimsOk added in v1.1.1

func (o *DeviceCompleteRequest) GetJwtAtClaimsOk() (*string, bool)

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

func (*DeviceCompleteRequest) GetProperties

func (o *DeviceCompleteRequest) GetProperties() []Property

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

func (*DeviceCompleteRequest) GetPropertiesOk

func (o *DeviceCompleteRequest) GetPropertiesOk() ([]Property, bool)

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

func (*DeviceCompleteRequest) GetResult

func (o *DeviceCompleteRequest) GetResult() string

GetResult returns the Result field value

func (*DeviceCompleteRequest) GetResultOk

func (o *DeviceCompleteRequest) GetResultOk() (*string, bool)

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

func (*DeviceCompleteRequest) GetScopes

func (o *DeviceCompleteRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*DeviceCompleteRequest) GetScopesOk

func (o *DeviceCompleteRequest) GetScopesOk() ([]string, bool)

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

func (*DeviceCompleteRequest) GetSub

func (o *DeviceCompleteRequest) GetSub() string

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

func (*DeviceCompleteRequest) GetSubOk

func (o *DeviceCompleteRequest) 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 (*DeviceCompleteRequest) GetSubject

func (o *DeviceCompleteRequest) GetSubject() string

GetSubject returns the Subject field value

func (*DeviceCompleteRequest) GetSubjectOk

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

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

func (*DeviceCompleteRequest) GetUserCode

func (o *DeviceCompleteRequest) GetUserCode() string

GetUserCode returns the UserCode field value

func (*DeviceCompleteRequest) GetUserCodeOk

func (o *DeviceCompleteRequest) GetUserCodeOk() (*string, bool)

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

func (*DeviceCompleteRequest) HasAcr

func (o *DeviceCompleteRequest) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasAuthTime

func (o *DeviceCompleteRequest) HasAuthTime() bool

HasAuthTime returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasClaims

func (o *DeviceCompleteRequest) HasClaims() bool

HasClaims returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasConsentedClaims added in v1.1.1

func (o *DeviceCompleteRequest) HasConsentedClaims() bool

HasConsentedClaims returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasErrorDescription

func (o *DeviceCompleteRequest) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasErrorUri

func (o *DeviceCompleteRequest) HasErrorUri() bool

HasErrorUri returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasIdtHeaderParams added in v1.0.0

func (o *DeviceCompleteRequest) HasIdtHeaderParams() bool

HasIdtHeaderParams returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasJwtAtClaims added in v1.1.1

func (o *DeviceCompleteRequest) HasJwtAtClaims() bool

HasJwtAtClaims returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasProperties

func (o *DeviceCompleteRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasScopes

func (o *DeviceCompleteRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*DeviceCompleteRequest) HasSub

func (o *DeviceCompleteRequest) HasSub() bool

HasSub returns a boolean if a field has been set.

func (DeviceCompleteRequest) MarshalJSON

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

func (*DeviceCompleteRequest) SetAcr

func (o *DeviceCompleteRequest) SetAcr(v string)

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

func (*DeviceCompleteRequest) SetAuthTime

func (o *DeviceCompleteRequest) SetAuthTime(v string)

SetAuthTime gets a reference to the given string and assigns it to the AuthTime field.

func (*DeviceCompleteRequest) SetClaims

func (o *DeviceCompleteRequest) SetClaims(v string)

SetClaims gets a reference to the given string and assigns it to the Claims field.

func (*DeviceCompleteRequest) SetConsentedClaims added in v1.1.1

func (o *DeviceCompleteRequest) SetConsentedClaims(v []string)

SetConsentedClaims gets a reference to the given []string and assigns it to the ConsentedClaims field.

func (*DeviceCompleteRequest) SetErrorDescription

func (o *DeviceCompleteRequest) SetErrorDescription(v string)

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

func (*DeviceCompleteRequest) SetErrorUri

func (o *DeviceCompleteRequest) SetErrorUri(v string)

SetErrorUri gets a reference to the given string and assigns it to the ErrorUri field.

func (*DeviceCompleteRequest) SetIdtHeaderParams added in v1.0.0

func (o *DeviceCompleteRequest) SetIdtHeaderParams(v string)

SetIdtHeaderParams gets a reference to the given string and assigns it to the IdtHeaderParams field.

func (*DeviceCompleteRequest) SetJwtAtClaims added in v1.1.1

func (o *DeviceCompleteRequest) SetJwtAtClaims(v string)

SetJwtAtClaims gets a reference to the given string and assigns it to the JwtAtClaims field.

func (*DeviceCompleteRequest) SetProperties

func (o *DeviceCompleteRequest) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*DeviceCompleteRequest) SetResult

func (o *DeviceCompleteRequest) SetResult(v string)

SetResult sets field value

func (*DeviceCompleteRequest) SetScopes

func (o *DeviceCompleteRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*DeviceCompleteRequest) SetSub

func (o *DeviceCompleteRequest) SetSub(v string)

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

func (*DeviceCompleteRequest) SetSubject

func (o *DeviceCompleteRequest) SetSubject(v string)

SetSubject sets field value

func (*DeviceCompleteRequest) SetUserCode

func (o *DeviceCompleteRequest) SetUserCode(v string)

SetUserCode sets field value

func (DeviceCompleteRequest) ToMap added in v1.1.1

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

type DeviceCompleteResponse

type DeviceCompleteResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
}

DeviceCompleteResponse struct for DeviceCompleteResponse

func NewDeviceCompleteResponse

func NewDeviceCompleteResponse() *DeviceCompleteResponse

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

func NewDeviceCompleteResponseWithDefaults

func NewDeviceCompleteResponseWithDefaults() *DeviceCompleteResponse

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

func (*DeviceCompleteResponse) GetAction

func (o *DeviceCompleteResponse) GetAction() string

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

func (*DeviceCompleteResponse) GetActionOk

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

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

func (*DeviceCompleteResponse) GetResultCode

func (o *DeviceCompleteResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*DeviceCompleteResponse) GetResultCodeOk

func (o *DeviceCompleteResponse) GetResultCodeOk() (*string, bool)

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

func (*DeviceCompleteResponse) GetResultMessage

func (o *DeviceCompleteResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*DeviceCompleteResponse) GetResultMessageOk

func (o *DeviceCompleteResponse) GetResultMessageOk() (*string, bool)

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

func (*DeviceCompleteResponse) HasAction

func (o *DeviceCompleteResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*DeviceCompleteResponse) HasResultCode

func (o *DeviceCompleteResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*DeviceCompleteResponse) HasResultMessage

func (o *DeviceCompleteResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (DeviceCompleteResponse) MarshalJSON

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

func (*DeviceCompleteResponse) SetAction

func (o *DeviceCompleteResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*DeviceCompleteResponse) SetResultCode

func (o *DeviceCompleteResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*DeviceCompleteResponse) SetResultMessage

func (o *DeviceCompleteResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (DeviceCompleteResponse) ToMap added in v1.1.1

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

type DeviceFlowApi

type DeviceFlowApi interface {

	/*
		DeviceAuthorizationApi /api/device/authorization API

		This API parses request parameters of a [device authorization request](https://datatracker.ietf.org/doc/html/rfc8628#section-3.1)
	and returns necessary data for the authorization server implementation to process the device authorization
	request further.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from the within the implementation of the device authorization
	endpoint of the service. The service implementation should retrieve the value of `action` from the
	response and take the following steps according to the value.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from a viewpoint of the client application, it is an error on the server side.
	Therefore, the authorization server implementation should generate a response to the client application
	with "500 Internal Server Error"s and `application/json`.

	The value of `responseContent` is a JSON string which describes t he error, so it can be
	used as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	is wrong.

	The authorization server implementation should generate a response to the client application with
	"400 Bad Request" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that client authentication of the device authorization
	request failed.

	The authorization server implementation should generate a response to the client application with
	"401 Unauthorized" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: (challenge)
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**OK**

	When the value of `action` is `OK`, it means that the device authorization request from the client
	application is valid.

	The authorization server implementation should generate a response to the client application with
	"200 OK" and `application/json`.

	The `responseContent` is a JSON string which can be used as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client application.
	</details>


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

	// DeviceAuthorizationApiExecute executes the request
	//  @return DeviceAuthorizationResponse
	DeviceAuthorizationApiExecute(r ApiDeviceAuthorizationApiRequest) (*DeviceAuthorizationResponse, *http.Response, error)

	/*
		DeviceCompleteApi /api/device/complete API

		This API returns information about what action the authorization server should take after it receives
	the result of end-user's decision about whether the end-user has approved or rejected a client
	application's request.

	<br>
	<details>
	<summary>Description</summary>

	In the device flow, an end-user accesses the verification endpoint of the authorization server where
	she interacts with the verification endpoint and inputs a user code. The verification endpoint checks
	if the user code is valid and then asks the end-user whether she approves or rejects the authorization
	request which the user code represents.

	After the authorization server receives the decision of the end-user, it should call Authlete's
	`/device/complete` API to tell Authlete the decision.

	When the end-user was authenticated and authorization was granted to the client by the end-user,
	the authorization server should call the API with `result=AUTHORIZED`. In this successful case,
	the subject request parameter is mandatory. The API will update the database record so that `/auth/token`
	API can generate an access token later.

	If the `scope` parameter of the device authorization request included the openid scope, an ID token
	is generated. In this case, `sub`, `authTime`, `acr` and `claims` request parameters in the API
	call to `/device/complete` affect the ID token.

	When the authorization server receives the decision of the end-user and it indicates that she has
	rejected to give authorization to the client, the authorization server should call the API with
	`result=ACCESS_DENIED`. In this case, the API will update the database record so that the `/auth/token`
	API can generate an error response later. If `errorDescription` and `errorUri` request parameters
	are given to the `/device/complete` API, they will be used as the values of `error_description`
	and `error_uri` response parameters in the error response from the token endpoint.

	When the authorization server could not get decision from the end-user for some reasons, the authorization
	server should call the API with `result=TRANSACTION_FAILED`. In this error case, the API will behave
	in the same way as in the case of `ACCESS_DENIED`. The only difference is that `expired_token` is
	used as the value of the `error` response parameter instead of `access_denied`.

	After receiving a response from the `/device/complete` API, the implementation of the authorization
	server should retrieve the value of `action` from the response and take the following steps according
	to the value.

	**SERVER_ERROR**

	When the value of `action` is `SERVER_ERROR`, it means that an error occurred on Authlete side. The
	authorization server implementation should tell the end-user that something wrong happened and
	urge her to re-initiate a device flow.

	**USER_CODE_NOT_EXIST**

	When the value of `action` is `USER_CODE_NOT_EXIST`, it means that the user code included in the API
	call does not exist. The authorization server implementation should tell the end-user that the user
	code has been invalidated and urge her to re-initiate a device flow.

	**USER_CODE_EXPIRED**

	When the value of `action` is `USER_CODE_EXPIRED`,  it means that the user code included in the API
	call has expired. The authorization server implementation should tell the end-user that the user
	code has expired and urge her to re-initiate a device flow.

	**INVALID_REQUEST**

	When the value of `action` is `INVALID_REQUEST`, it means that the API call is invalid. Probably,
	the authorization server implementation has some bugs.

	**SUCCESS**

	When the value of `action` is `SUCCESS`, it means that the API call has been processed successfully.
	The authorization server should return a successful response to the web browser the end-user is
	using.
	</details>


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

	// DeviceCompleteApiExecute executes the request
	//  @return DeviceCompleteResponse
	DeviceCompleteApiExecute(r ApiDeviceCompleteApiRequest) (*DeviceCompleteResponse, *http.Response, error)

	/*
		DeviceVerificationApi /api/device/verification API

		The API returns information associated with a user code.

	<br>
	<details>
	<summary>Description</summary>

	After receiving a response from the device authorization endpoint of the authorization server,
	the client application shows the end-user the user code and the verification URI which are included
	in the device authorization response. Then, the end-user will access the verification URI using
	a web browser on another device (typically, a smart phone). In normal implementations, the verification
	endpoint will return an HTML page with an input form where the end-user inputs a user code. The
	authorization server will receive a user code from the form.

	After receiving a user code, the authorization server should call Authlete's `/device/verification`
	API with the user code. And then, the authorization server implementation should retrieve the value
	of `action` parameter from the API response and take the following steps according to the value.

	**SERVER_ERROR**

	When the value of `action` is `SERVER_ERROR`, it means that an error occurred on Authlete side. The
	authorization server implementation should tell the end-user that something wrong happened and
	urge her to re-initiate a device flow.

	**NOT_EXIST**

	When the value of `action` is `NOT_EXIST`, it means that the user code does not exist. The authorization
	server implementation should tell the end-user that the user code is invalid and urge her to retry
	to input a valid user code.

	**EXPIRED**

	When the value of `action` is `EXPIRED`, it means that the user code has expired. The authorization
	server implementation should tell the end-user that the user code has expired and urge her to
	re-initiate a device flow.

	**VALID**

	When the value of `action` is `VALID`, it means that the user code exists, has not expired, and
	belongs to the service. The authorization server implementation should interact with the end-user
	to ask whether she approves or rejects the authorization request from the device.
	</details>


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

	// DeviceVerificationApiExecute executes the request
	//  @return DeviceVerificationResponse
	DeviceVerificationApiExecute(r ApiDeviceVerificationApiRequest) (*DeviceVerificationResponse, *http.Response, error)
}

type DeviceFlowApiService

type DeviceFlowApiService service

DeviceFlowApiService DeviceFlowApi service

func (*DeviceFlowApiService) DeviceAuthorizationApi

DeviceAuthorizationApi /api/device/authorization API

This API parses request parameters of a [device authorization request](https://datatracker.ietf.org/doc/html/rfc8628#section-3.1) and returns necessary data for the authorization server implementation to process the device authorization request further.

<br> <details> <summary>Description</summary>

This API is supposed to be called from the within the implementation of the device authorization endpoint of the service. The service implementation should retrieve the value of `action` from the response and take the following steps according to the value.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from a viewpoint of the client application, it is an error on the server side. Therefore, the authorization server implementation should generate a response to the client application with "500 Internal Server Error"s and `application/json`.

The value of `responseContent` is a JSON string which describes t he error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application is wrong.

The authorization server implementation should generate a response to the client application with "400 Bad Request" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that client authentication of the device authorization request failed.

The authorization server implementation should generate a response to the client application with "401 Unauthorized" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: (challenge) Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**OK**

When the value of `action` is `OK`, it means that the device authorization request from the client application is valid.

The authorization server implementation should generate a response to the client application with "200 OK" and `application/json`.

The `responseContent` is a JSON string which can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client application. </details>

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

func (*DeviceFlowApiService) DeviceAuthorizationApiExecute

Execute executes the request

@return DeviceAuthorizationResponse

func (*DeviceFlowApiService) DeviceCompleteApi

DeviceCompleteApi /api/device/complete API

This API returns information about what action the authorization server should take after it receives the result of end-user's decision about whether the end-user has approved or rejected a client application's request.

<br> <details> <summary>Description</summary>

In the device flow, an end-user accesses the verification endpoint of the authorization server where she interacts with the verification endpoint and inputs a user code. The verification endpoint checks if the user code is valid and then asks the end-user whether she approves or rejects the authorization request which the user code represents.

After the authorization server receives the decision of the end-user, it should call Authlete's `/device/complete` API to tell Authlete the decision.

When the end-user was authenticated and authorization was granted to the client by the end-user, the authorization server should call the API with `result=AUTHORIZED`. In this successful case, the subject request parameter is mandatory. The API will update the database record so that `/auth/token` API can generate an access token later.

If the `scope` parameter of the device authorization request included the openid scope, an ID token is generated. In this case, `sub`, `authTime`, `acr` and `claims` request parameters in the API call to `/device/complete` affect the ID token.

When the authorization server receives the decision of the end-user and it indicates that she has rejected to give authorization to the client, the authorization server should call the API with `result=ACCESS_DENIED`. In this case, the API will update the database record so that the `/auth/token` API can generate an error response later. If `errorDescription` and `errorUri` request parameters are given to the `/device/complete` API, they will be used as the values of `error_description` and `error_uri` response parameters in the error response from the token endpoint.

When the authorization server could not get decision from the end-user for some reasons, the authorization server should call the API with `result=TRANSACTION_FAILED`. In this error case, the API will behave in the same way as in the case of `ACCESS_DENIED`. The only difference is that `expired_token` is used as the value of the `error` response parameter instead of `access_denied`.

After receiving a response from the `/device/complete` API, the implementation of the authorization server should retrieve the value of `action` from the response and take the following steps according to the value.

**SERVER_ERROR**

When the value of `action` is `SERVER_ERROR`, it means that an error occurred on Authlete side. The authorization server implementation should tell the end-user that something wrong happened and urge her to re-initiate a device flow.

**USER_CODE_NOT_EXIST**

When the value of `action` is `USER_CODE_NOT_EXIST`, it means that the user code included in the API call does not exist. The authorization server implementation should tell the end-user that the user code has been invalidated and urge her to re-initiate a device flow.

**USER_CODE_EXPIRED**

When the value of `action` is `USER_CODE_EXPIRED`, it means that the user code included in the API call has expired. The authorization server implementation should tell the end-user that the user code has expired and urge her to re-initiate a device flow.

**INVALID_REQUEST**

When the value of `action` is `INVALID_REQUEST`, it means that the API call is invalid. Probably, the authorization server implementation has some bugs.

**SUCCESS**

When the value of `action` is `SUCCESS`, it means that the API call has been processed successfully. The authorization server should return a successful response to the web browser the end-user is using. </details>

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

func (*DeviceFlowApiService) DeviceCompleteApiExecute

Execute executes the request

@return DeviceCompleteResponse

func (*DeviceFlowApiService) DeviceVerificationApi

DeviceVerificationApi /api/device/verification API

The API returns information associated with a user code.

<br> <details> <summary>Description</summary>

After receiving a response from the device authorization endpoint of the authorization server, the client application shows the end-user the user code and the verification URI which are included in the device authorization response. Then, the end-user will access the verification URI using a web browser on another device (typically, a smart phone). In normal implementations, the verification endpoint will return an HTML page with an input form where the end-user inputs a user code. The authorization server will receive a user code from the form.

After receiving a user code, the authorization server should call Authlete's `/device/verification` API with the user code. And then, the authorization server implementation should retrieve the value of `action` parameter from the API response and take the following steps according to the value.

**SERVER_ERROR**

When the value of `action` is `SERVER_ERROR`, it means that an error occurred on Authlete side. The authorization server implementation should tell the end-user that something wrong happened and urge her to re-initiate a device flow.

**NOT_EXIST**

When the value of `action` is `NOT_EXIST`, it means that the user code does not exist. The authorization server implementation should tell the end-user that the user code is invalid and urge her to retry to input a valid user code.

**EXPIRED**

When the value of `action` is `EXPIRED`, it means that the user code has expired. The authorization server implementation should tell the end-user that the user code has expired and urge her to re-initiate a device flow.

**VALID**

When the value of `action` is `VALID`, it means that the user code exists, has not expired, and belongs to the service. The authorization server implementation should interact with the end-user to ask whether she approves or rejects the authorization request from the device. </details>

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

func (*DeviceFlowApiService) DeviceVerificationApiExecute

Execute executes the request

@return DeviceVerificationResponse

type DeviceVerificationRequest

type DeviceVerificationRequest struct {
	// A user code.
	UserCode string `json:"userCode"`
}

DeviceVerificationRequest struct for DeviceVerificationRequest

func NewDeviceVerificationRequest

func NewDeviceVerificationRequest(userCode string) *DeviceVerificationRequest

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

func NewDeviceVerificationRequestWithDefaults

func NewDeviceVerificationRequestWithDefaults() *DeviceVerificationRequest

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

func (*DeviceVerificationRequest) GetUserCode

func (o *DeviceVerificationRequest) GetUserCode() string

GetUserCode returns the UserCode field value

func (*DeviceVerificationRequest) GetUserCodeOk

func (o *DeviceVerificationRequest) GetUserCodeOk() (*string, bool)

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

func (DeviceVerificationRequest) MarshalJSON

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

func (*DeviceVerificationRequest) SetUserCode

func (o *DeviceVerificationRequest) SetUserCode(v string)

SetUserCode sets field value

func (DeviceVerificationRequest) ToMap added in v1.1.1

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

type DeviceVerificationResponse

type DeviceVerificationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The client ID of the client application to which the user code has been issued.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias of the client application to which the user code has been issued.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// `true` if the value of the `client_id` request parameter included in the device authorization request is the client ID alias. `false` if the value is the original numeric client ID.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The name of the client application to which the user code has been issued.
	ClientName *string `json:"clientName,omitempty"`
	// The scopes requested by the device authorization request.  Note that `description` property and `descriptions` property of each scope object in the array contained in this property is always null even if descriptions of the scopes are registered.
	Scopes []Scope `json:"scopes,omitempty"`
	// The names of the claims which were requested indirectly via some special scopes. See [5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) in OpenID Connect Core 1.0 for details.  This property is always `null` if the `scope` request parameter of the device authorization request does not include the `openid` scope even if special scopes (such as `profile`) are included in the request (unless the openid scope is included in the default set of scopes which is used when the `scope` request parameter is omitted).
	ClaimNames []string `json:"claimNames,omitempty"`
	// The list of ACR values requested by the device authorization request.
	Acrs []string `json:"acrs,omitempty"`
	// The resources specified by the `resource` request parameters or by the `resource` property in the request object. If both are given, the values in the request object should be set. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources            []string              `json:"resources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// The dynamic scopes which the client application requested by the scope request parameter.
	DynamicScopes []DynamicScope `json:"dynamicScopes,omitempty"`
	// Get the date in milliseconds since the Unix epoch (1970-01-01) at which the user code will expire.
	ExpiresAt *int64                 `json:"expiresAt,omitempty"`
	GmAction  *GrantManagementAction `json:"gmAction,omitempty"`
	// the value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	Grant   *Grant  `json:"grant,omitempty"`
	// The subject identifying the user who has given the grant identified by the `grant_id` request parameter of the device authorization request.  Authlete 2.3 and newer versions support <a href= \"https://openid.net/specs/fapi-grant-management.html\">Grant Management for OAuth 2.0</a>. An authorization request may contain a {@code grant_id} request parameter which is defined in the specification. If the value of the request parameter is valid, {@link #getGrantSubject()} will return the subject of the user who has given the grant to the client application. Authorization server implementations may use the value returned from {@link #getGrantSubject()} in order to determine the user to authenticate.  The user your system will authenticate during the authorization process (or has already authenticated) may be different from the user of the grant. The first implementer's draft of \"Grant Management for OAuth 2.0\" does not mention anything about the case, so the behavior in the case is left to implementations. Authlete will not perform the grant management action when the {@code subject} passed to Authlete does not match the user of the grant.
	GrantSubject *string `json:"grantSubject,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

DeviceVerificationResponse struct for DeviceVerificationResponse

func NewDeviceVerificationResponse

func NewDeviceVerificationResponse() *DeviceVerificationResponse

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

func NewDeviceVerificationResponseWithDefaults

func NewDeviceVerificationResponseWithDefaults() *DeviceVerificationResponse

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

func (*DeviceVerificationResponse) GetAcrs

func (o *DeviceVerificationResponse) GetAcrs() []string

GetAcrs returns the Acrs field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetAcrsOk

func (o *DeviceVerificationResponse) GetAcrsOk() ([]string, bool)

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

func (*DeviceVerificationResponse) GetAction

func (o *DeviceVerificationResponse) GetAction() string

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

func (*DeviceVerificationResponse) GetActionOk

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

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

func (*DeviceVerificationResponse) GetAuthorizationDetails

func (o *DeviceVerificationResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetAuthorizationDetailsOk

func (o *DeviceVerificationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

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

func (*DeviceVerificationResponse) GetClaimNames

func (o *DeviceVerificationResponse) GetClaimNames() []string

GetClaimNames returns the ClaimNames field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetClaimNamesOk

func (o *DeviceVerificationResponse) GetClaimNamesOk() ([]string, bool)

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

func (*DeviceVerificationResponse) GetClientAttributes

func (o *DeviceVerificationResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetClientAttributesOk

func (o *DeviceVerificationResponse) GetClientAttributesOk() ([]Pair, bool)

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

func (*DeviceVerificationResponse) GetClientEntityId added in v1.2.0

func (o *DeviceVerificationResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetClientEntityIdOk added in v1.2.0

func (o *DeviceVerificationResponse) GetClientEntityIdOk() (*string, bool)

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

func (*DeviceVerificationResponse) GetClientEntityIdUsed added in v1.2.0

func (o *DeviceVerificationResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *DeviceVerificationResponse) GetClientEntityIdUsedOk() (*bool, bool)

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

func (*DeviceVerificationResponse) GetClientId

func (o *DeviceVerificationResponse) GetClientId() int64

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

func (*DeviceVerificationResponse) GetClientIdAlias

func (o *DeviceVerificationResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetClientIdAliasOk

func (o *DeviceVerificationResponse) GetClientIdAliasOk() (*string, bool)

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

func (*DeviceVerificationResponse) GetClientIdAliasUsed

func (o *DeviceVerificationResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetClientIdAliasUsedOk

func (o *DeviceVerificationResponse) GetClientIdAliasUsedOk() (*bool, bool)

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

func (*DeviceVerificationResponse) GetClientIdOk

func (o *DeviceVerificationResponse) GetClientIdOk() (*int64, 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 (*DeviceVerificationResponse) GetClientName

func (o *DeviceVerificationResponse) GetClientName() string

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

func (*DeviceVerificationResponse) GetClientNameOk

func (o *DeviceVerificationResponse) 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 (*DeviceVerificationResponse) GetDynamicScopes

func (o *DeviceVerificationResponse) GetDynamicScopes() []DynamicScope

GetDynamicScopes returns the DynamicScopes field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetDynamicScopesOk

func (o *DeviceVerificationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)

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

func (*DeviceVerificationResponse) GetExpiresAt

func (o *DeviceVerificationResponse) GetExpiresAt() int64

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetExpiresAtOk

func (o *DeviceVerificationResponse) GetExpiresAtOk() (*int64, 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 (*DeviceVerificationResponse) GetGmAction added in v1.1.1

GetGmAction returns the GmAction field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetGmActionOk added in v1.1.1

func (o *DeviceVerificationResponse) GetGmActionOk() (*GrantManagementAction, bool)

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

func (*DeviceVerificationResponse) GetGrant added in v1.1.1

func (o *DeviceVerificationResponse) GetGrant() Grant

GetGrant returns the Grant field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetGrantId added in v1.1.1

func (o *DeviceVerificationResponse) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetGrantIdOk added in v1.1.1

func (o *DeviceVerificationResponse) GetGrantIdOk() (*string, bool)

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

func (*DeviceVerificationResponse) GetGrantOk added in v1.1.1

func (o *DeviceVerificationResponse) GetGrantOk() (*Grant, bool)

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

func (*DeviceVerificationResponse) GetGrantSubject added in v1.1.1

func (o *DeviceVerificationResponse) GetGrantSubject() string

GetGrantSubject returns the GrantSubject field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetGrantSubjectOk added in v1.1.1

func (o *DeviceVerificationResponse) GetGrantSubjectOk() (*string, bool)

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

func (*DeviceVerificationResponse) GetResources

func (o *DeviceVerificationResponse) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetResourcesOk

func (o *DeviceVerificationResponse) GetResourcesOk() ([]string, bool)

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

func (*DeviceVerificationResponse) GetResultCode

func (o *DeviceVerificationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetResultCodeOk

func (o *DeviceVerificationResponse) GetResultCodeOk() (*string, bool)

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

func (*DeviceVerificationResponse) GetResultMessage

func (o *DeviceVerificationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetResultMessageOk

func (o *DeviceVerificationResponse) GetResultMessageOk() (*string, bool)

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

func (*DeviceVerificationResponse) GetScopes

func (o *DeviceVerificationResponse) GetScopes() []Scope

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetScopesOk

func (o *DeviceVerificationResponse) GetScopesOk() ([]Scope, bool)

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

func (*DeviceVerificationResponse) GetServiceAttributes

func (o *DeviceVerificationResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*DeviceVerificationResponse) GetServiceAttributesOk

func (o *DeviceVerificationResponse) GetServiceAttributesOk() ([]Pair, bool)

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

func (*DeviceVerificationResponse) HasAcrs

func (o *DeviceVerificationResponse) HasAcrs() bool

HasAcrs returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasAction

func (o *DeviceVerificationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasAuthorizationDetails

func (o *DeviceVerificationResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClaimNames

func (o *DeviceVerificationResponse) HasClaimNames() bool

HasClaimNames returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientAttributes

func (o *DeviceVerificationResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientEntityId added in v1.2.0

func (o *DeviceVerificationResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientEntityIdUsed added in v1.2.0

func (o *DeviceVerificationResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientId

func (o *DeviceVerificationResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientIdAlias

func (o *DeviceVerificationResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientIdAliasUsed

func (o *DeviceVerificationResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasClientName

func (o *DeviceVerificationResponse) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasDynamicScopes

func (o *DeviceVerificationResponse) HasDynamicScopes() bool

HasDynamicScopes returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasExpiresAt

func (o *DeviceVerificationResponse) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasGmAction added in v1.1.1

func (o *DeviceVerificationResponse) HasGmAction() bool

HasGmAction returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasGrant added in v1.1.1

func (o *DeviceVerificationResponse) HasGrant() bool

HasGrant returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasGrantId added in v1.1.1

func (o *DeviceVerificationResponse) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasGrantSubject added in v1.1.1

func (o *DeviceVerificationResponse) HasGrantSubject() bool

HasGrantSubject returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasResources

func (o *DeviceVerificationResponse) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasResultCode

func (o *DeviceVerificationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasResultMessage

func (o *DeviceVerificationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasScopes

func (o *DeviceVerificationResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*DeviceVerificationResponse) HasServiceAttributes

func (o *DeviceVerificationResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (DeviceVerificationResponse) MarshalJSON

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

func (*DeviceVerificationResponse) SetAcrs

func (o *DeviceVerificationResponse) SetAcrs(v []string)

SetAcrs gets a reference to the given []string and assigns it to the Acrs field.

func (*DeviceVerificationResponse) SetAction

func (o *DeviceVerificationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*DeviceVerificationResponse) SetAuthorizationDetails

func (o *DeviceVerificationResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*DeviceVerificationResponse) SetClaimNames

func (o *DeviceVerificationResponse) SetClaimNames(v []string)

SetClaimNames gets a reference to the given []string and assigns it to the ClaimNames field.

func (*DeviceVerificationResponse) SetClientAttributes

func (o *DeviceVerificationResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*DeviceVerificationResponse) SetClientEntityId added in v1.2.0

func (o *DeviceVerificationResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*DeviceVerificationResponse) SetClientEntityIdUsed added in v1.2.0

func (o *DeviceVerificationResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*DeviceVerificationResponse) SetClientId

func (o *DeviceVerificationResponse) SetClientId(v int64)

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

func (*DeviceVerificationResponse) SetClientIdAlias

func (o *DeviceVerificationResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*DeviceVerificationResponse) SetClientIdAliasUsed

func (o *DeviceVerificationResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*DeviceVerificationResponse) SetClientName

func (o *DeviceVerificationResponse) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*DeviceVerificationResponse) SetDynamicScopes

func (o *DeviceVerificationResponse) SetDynamicScopes(v []DynamicScope)

SetDynamicScopes gets a reference to the given []DynamicScope and assigns it to the DynamicScopes field.

func (*DeviceVerificationResponse) SetExpiresAt

func (o *DeviceVerificationResponse) SetExpiresAt(v int64)

SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.

func (*DeviceVerificationResponse) SetGmAction added in v1.1.1

SetGmAction gets a reference to the given GrantManagementAction and assigns it to the GmAction field.

func (*DeviceVerificationResponse) SetGrant added in v1.1.1

func (o *DeviceVerificationResponse) SetGrant(v Grant)

SetGrant gets a reference to the given Grant and assigns it to the Grant field.

func (*DeviceVerificationResponse) SetGrantId added in v1.1.1

func (o *DeviceVerificationResponse) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*DeviceVerificationResponse) SetGrantSubject added in v1.1.1

func (o *DeviceVerificationResponse) SetGrantSubject(v string)

SetGrantSubject gets a reference to the given string and assigns it to the GrantSubject field.

func (*DeviceVerificationResponse) SetResources

func (o *DeviceVerificationResponse) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*DeviceVerificationResponse) SetResultCode

func (o *DeviceVerificationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*DeviceVerificationResponse) SetResultMessage

func (o *DeviceVerificationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*DeviceVerificationResponse) SetScopes

func (o *DeviceVerificationResponse) SetScopes(v []Scope)

SetScopes gets a reference to the given []Scope and assigns it to the Scopes field.

func (*DeviceVerificationResponse) SetServiceAttributes

func (o *DeviceVerificationResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (DeviceVerificationResponse) ToMap added in v1.1.1

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

type Display

type Display string

Display The display mode which the client application requests by `display` request parameter. When the authorization request does not have `display` request parameter, `PAGE` is set as the default value. It is ensured that the value of `display` is one of the supported display modes which are specified by `supportedDisplays` configuration parameter of the service. If the display mode specified by the authorization request is not supported, an error is raised. Values for this property correspond to the values listed in \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), display\".

const (
	DISPLAY_PAGE  Display = "PAGE"
	DISPLAY_POPUP Display = "POPUP"
	DISPLAY_TOUCH Display = "TOUCH"
	DISPLAY_WAP   Display = "WAP"
)

List of Display

func NewDisplayFromValue

func NewDisplayFromValue(v string) (*Display, error)

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

func (Display) IsValid

func (v Display) IsValid() bool

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

func (Display) Ptr

func (v Display) Ptr() *Display

Ptr returns reference to Display value

func (*Display) UnmarshalJSON

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

type DynamicClientRegistrationApi

type DynamicClientRegistrationApi interface {

	/*
		ClientRegistrationApi /api/client/registration API

		Register a client. This API is supposed to be used to implement a client registration endpoint that
	complies with [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591) (OAuth 2.0 Dynamic Client
	Registration Protocol).

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from the within the implementation of the client registration
	endpoint of the authorization server. The authorization server implementation should retrieve
	the value of `action` from the response and take the following steps according to the value.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from a viewpoint of the client or developer, it is an error on the server side.
	Therefore, the authorization server implementation should generate a response with "500 Internal
	Server Error"s and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client or developer since
	"500 Internal Server Error" is not required by the specification.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer
	was wrong.

	The authorization server implementation should generate a response with "400 Bad Request" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**CREATED**

	When the value of `action` is `CREATED`, it means that the request from the client or developer is
	valid.

	The authorization server implementation should generate a response to the client or developer with
	"201 CREATED" and `application/json`.

	The `responseContent` a JSON string which can be used as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 201 CREATED
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


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

	// ClientRegistrationApiExecute executes the request
	//  @return ClientRegistrationResponse
	ClientRegistrationApiExecute(r ApiClientRegistrationApiRequest) (*ClientRegistrationResponse, *http.Response, error)

	/*
		ClientRegistrationDeleteApi /api/client/registration/delete API

		Delete a dynamically registered client. This API is supposed to be used to implement a client
	registration management endpoint that complies with [RFC 7592](https://datatracker.ietf.org/doc/html/rfc7592)
	(OAuth 2.0 Dynamic Registration Management).

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from the within the implementation of the client registration
	management endpoint of the authorization server. The authorization server implementation should
	retrieve the value of `action` from the response and take the following steps according to the value.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from a viewpoint of the client or developer, it is an error on the server side.
	Therefore, the authorization server implementation should generate a response with "500 Internal
	Server Error"s and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client or developer since
	"500 Internal Server Error" is not required by the specification.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer
	was wrong.

	The authorization server implementation should generate a response with "400 Bad Request" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that the registration access token used by
	the client configuration request (RFC 7592) is invalid, or the client application which the token
	is tied to does not exist any longer or is invalid.

	The HTTP status of the response returned to the client application must be "401 Unauthorized" and
	the content type must be `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the endpoint implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 401 Unauthorized
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	NOTE: The `UNAUTHORIZED` value was added in October, 2021. See the description of
	`Service.unauthorizedOnClientConfigSupported` for details.

	**DELETED**

	When the value of `action` is `DELETED`, it means that the request from the client or developer is
	valid.

	The authorization server implementation should generate a response to the client or developer with
	"204 No Content".

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 204 No Content
	Cache-Control: no-store
	Pragma: no-cache
	“`
	</details>


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

	// ClientRegistrationDeleteApiExecute executes the request
	//  @return ClientRegistrationDeleteResponse
	ClientRegistrationDeleteApiExecute(r ApiClientRegistrationDeleteApiRequest) (*ClientRegistrationDeleteResponse, *http.Response, error)

	/*
		ClientRegistrationGetApi /api/client/registration/get API

		Get a dynamically registered client. This API is supposed to be used to implement a client registration
	management endpoint that complies with [RFC 7592](https://datatracker.ietf.org/doc/html/rfc7592)
	(OAuth 2.0 Dynamic Registration Management).

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from the within the implementation of the client registration
	management endpoint of the authorization server. The authorization server implementation should
	retrieve the value of `action` from the response and take the following steps according to the value.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from a viewpoint of the client or developer, it is an error on the server side.
	Therefore, the authorization server implementation should generate a response to the client or developer
	with "500 Internal Server Error"s and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client or developer since
	"500 Internal Server Error" is not required by the specification.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer
	was wrong.

	The authorization server implementation should generate a response to the client or developer with
	"400 Bad Request" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that the registration access token used by
	the client configuration request (RFC 7592) is invalid, or the client application which the token
	is tied to does not exist any longer or is invalid.

	The HTTP status of the response returned to the client application must be "401 Unauthorized" and
	the content type must be `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the endpoint implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 401 Unauthorized
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	NOTE: The `UNAUTHORIZED` value was added in October, 2021. See the description of
	`Service.unauthorizedOnClientConfigSupported` for details.

	**OK**

	When the value of `action` is `OK`, it means that the request from the client or developer is valid.

	The authorization server implementation should generate a response to the client or developer with
	"200 OK" and `application/json`.

	The `responseContent` a JSON string which can be used as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 200 OK
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


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

	// ClientRegistrationGetApiExecute executes the request
	//  @return ClientRegistrationGetResponse
	ClientRegistrationGetApiExecute(r ApiClientRegistrationGetApiRequest) (*ClientRegistrationGetResponse, *http.Response, error)

	/*
		ClientRegistrationUpdateApi /api/client/registration/update API

		Update a dynamically registered client. This API is supposed to be used to implement a client
	registration management endpoint that complies with [RFC 7592](https://datatracker.ietf.org/doc/html/rfc7592)
	(OAuth 2.0 Dynamic Registration Management).

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from the within the implementation of the client registration
	management endpoint of the authorization server. The authorization server implementation should
	retrieve the value of `action` from the response and take the following steps according to the value.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from a viewpoint of the client or developer, it is an error on the server side.
	Therefore, the authorization server implementation should generate a response with "500 Internal
	Server Error"s and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client or developer since
	"500 Internal Server Error" is not required by the specification.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer
	was wrong.

	The authorization server implementation should generate a response with "400 Bad Request" and `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that the registration access token used by
	the client configuration request (RFC 7592) is invalid, or the client application which the token
	is tied to does not exist any longer or is invalid.

	The HTTP status of the response returned to the client application must be "401 Unauthorized" and
	the content type must be `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the endpoint implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 401 Unauthorized
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	NOTE: The `UNAUTHORIZED` value was added in October, 2021. See the description of
	`Service.unauthorizedOnClientConfigSupported` for details.

	**UPDATED**

	When the value of `action` is `UPDATED`, it means that the request from the client or developer is
	valid.

	The authorization server implementation should generate a response to the client or developer with
	"200 OK" and `application/json`.

	The `responseContent` a JSON string which can be used as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client or developer.

	“`
	HTTP/1.1 200 OK
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


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

	// ClientRegistrationUpdateApiExecute executes the request
	//  @return ClientRegistrationUpdateResponse
	ClientRegistrationUpdateApiExecute(r ApiClientRegistrationUpdateApiRequest) (*ClientRegistrationUpdateResponse, *http.Response, error)
}

type DynamicClientRegistrationApiService

type DynamicClientRegistrationApiService service

DynamicClientRegistrationApiService DynamicClientRegistrationApi service

func (*DynamicClientRegistrationApiService) ClientRegistrationApi

ClientRegistrationApi /api/client/registration API

Register a client. This API is supposed to be used to implement a client registration endpoint that complies with [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591) (OAuth 2.0 Dynamic Client Registration Protocol).

<br> <details> <summary>Description</summary>

This API is supposed to be called from the within the implementation of the client registration endpoint of the authorization server. The authorization server implementation should retrieve the value of `action` from the response and take the following steps according to the value.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from a viewpoint of the client or developer, it is an error on the server side. Therefore, the authorization server implementation should generate a response with "500 Internal Server Error"s and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client or developer since "500 Internal Server Error" is not required by the specification.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer was wrong.

The authorization server implementation should generate a response with "400 Bad Request" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**CREATED**

When the value of `action` is `CREATED`, it means that the request from the client or developer is valid.

The authorization server implementation should generate a response to the client or developer with "201 CREATED" and `application/json`.

The `responseContent` a JSON string which can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 201 CREATED Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

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

func (*DynamicClientRegistrationApiService) ClientRegistrationApiExecute

Execute executes the request

@return ClientRegistrationResponse

func (*DynamicClientRegistrationApiService) ClientRegistrationDeleteApi

ClientRegistrationDeleteApi /api/client/registration/delete API

Delete a dynamically registered client. This API is supposed to be used to implement a client registration management endpoint that complies with [RFC 7592](https://datatracker.ietf.org/doc/html/rfc7592) (OAuth 2.0 Dynamic Registration Management).

<br> <details> <summary>Description</summary>

This API is supposed to be called from the within the implementation of the client registration management endpoint of the authorization server. The authorization server implementation should retrieve the value of `action` from the response and take the following steps according to the value.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from a viewpoint of the client or developer, it is an error on the server side. Therefore, the authorization server implementation should generate a response with "500 Internal Server Error"s and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client or developer since "500 Internal Server Error" is not required by the specification.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer was wrong.

The authorization server implementation should generate a response with "400 Bad Request" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that the registration access token used by the client configuration request (RFC 7592) is invalid, or the client application which the token is tied to does not exist any longer or is invalid.

The HTTP status of the response returned to the client application must be "401 Unauthorized" and the content type must be `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the endpoint implementation should generate and return to the client application.

``` HTTP/1.1 401 Unauthorized Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

NOTE: The `UNAUTHORIZED` value was added in October, 2021. See the description of `Service.unauthorizedOnClientConfigSupported` for details.

**DELETED**

When the value of `action` is `DELETED`, it means that the request from the client or developer is valid.

The authorization server implementation should generate a response to the client or developer with "204 No Content".

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 204 No Content Cache-Control: no-store Pragma: no-cache ``` </details>

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

func (*DynamicClientRegistrationApiService) ClientRegistrationDeleteApiExecute

Execute executes the request

@return ClientRegistrationDeleteResponse

func (*DynamicClientRegistrationApiService) ClientRegistrationGetApi

ClientRegistrationGetApi /api/client/registration/get API

Get a dynamically registered client. This API is supposed to be used to implement a client registration management endpoint that complies with [RFC 7592](https://datatracker.ietf.org/doc/html/rfc7592) (OAuth 2.0 Dynamic Registration Management).

<br> <details> <summary>Description</summary>

This API is supposed to be called from the within the implementation of the client registration management endpoint of the authorization server. The authorization server implementation should retrieve the value of `action` from the response and take the following steps according to the value.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from a viewpoint of the client or developer, it is an error on the server side. Therefore, the authorization server implementation should generate a response to the client or developer with "500 Internal Server Error"s and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client or developer since "500 Internal Server Error" is not required by the specification.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer was wrong.

The authorization server implementation should generate a response to the client or developer with "400 Bad Request" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that the registration access token used by the client configuration request (RFC 7592) is invalid, or the client application which the token is tied to does not exist any longer or is invalid.

The HTTP status of the response returned to the client application must be "401 Unauthorized" and the content type must be `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the endpoint implementation should generate and return to the client application.

``` HTTP/1.1 401 Unauthorized Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

NOTE: The `UNAUTHORIZED` value was added in October, 2021. See the description of `Service.unauthorizedOnClientConfigSupported` for details.

**OK**

When the value of `action` is `OK`, it means that the request from the client or developer is valid.

The authorization server implementation should generate a response to the client or developer with "200 OK" and `application/json`.

The `responseContent` a JSON string which can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

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

func (*DynamicClientRegistrationApiService) ClientRegistrationGetApiExecute

Execute executes the request

@return ClientRegistrationGetResponse

func (*DynamicClientRegistrationApiService) ClientRegistrationUpdateApi

ClientRegistrationUpdateApi /api/client/registration/update API

Update a dynamically registered client. This API is supposed to be used to implement a client registration management endpoint that complies with [RFC 7592](https://datatracker.ietf.org/doc/html/rfc7592) (OAuth 2.0 Dynamic Registration Management).

<br> <details> <summary>Description</summary>

This API is supposed to be called from the within the implementation of the client registration management endpoint of the authorization server. The authorization server implementation should retrieve the value of `action` from the response and take the following steps according to the value.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the API call from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from a viewpoint of the client or developer, it is an error on the server side. Therefore, the authorization server implementation should generate a response with "500 Internal Server Error"s and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client or developer since "500 Internal Server Error" is not required by the specification.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client or developer was wrong.

The authorization server implementation should generate a response with "400 Bad Request" and `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that the registration access token used by the client configuration request (RFC 7592) is invalid, or the client application which the token is tied to does not exist any longer or is invalid.

The HTTP status of the response returned to the client application must be "401 Unauthorized" and the content type must be `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the endpoint implementation should generate and return to the client application.

``` HTTP/1.1 401 Unauthorized Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

NOTE: The `UNAUTHORIZED` value was added in October, 2021. See the description of `Service.unauthorizedOnClientConfigSupported` for details.

**UPDATED**

When the value of `action` is `UPDATED`, it means that the request from the client or developer is valid.

The authorization server implementation should generate a response to the client or developer with "200 OK" and `application/json`.

The `responseContent` a JSON string which can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client or developer.

``` HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

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

func (*DynamicClientRegistrationApiService) ClientRegistrationUpdateApiExecute

Execute executes the request

@return ClientRegistrationUpdateResponse

type DynamicScope

type DynamicScope struct {
	// The scope name.
	Name *string `json:"name,omitempty"`
	// The scope value.
	Value *string `json:"value,omitempty"`
}

DynamicScope struct for DynamicScope

func NewDynamicScope

func NewDynamicScope() *DynamicScope

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

func NewDynamicScopeWithDefaults

func NewDynamicScopeWithDefaults() *DynamicScope

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

func (*DynamicScope) GetName

func (o *DynamicScope) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DynamicScope) GetNameOk

func (o *DynamicScope) 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 (*DynamicScope) GetValue

func (o *DynamicScope) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*DynamicScope) GetValueOk

func (o *DynamicScope) GetValueOk() (*string, 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.

func (*DynamicScope) HasName

func (o *DynamicScope) HasName() bool

HasName returns a boolean if a field has been set.

func (*DynamicScope) HasValue

func (o *DynamicScope) HasValue() bool

HasValue returns a boolean if a field has been set.

func (DynamicScope) MarshalJSON

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

func (*DynamicScope) SetName

func (o *DynamicScope) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DynamicScope) SetValue

func (o *DynamicScope) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (DynamicScope) ToMap added in v1.1.1

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

type FederationConfigurationResponse added in v1.1.1

type FederationConfigurationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
}

FederationConfigurationResponse struct for FederationConfigurationResponse

func NewFederationConfigurationResponse added in v1.1.1

func NewFederationConfigurationResponse() *FederationConfigurationResponse

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

func NewFederationConfigurationResponseWithDefaults added in v1.1.1

func NewFederationConfigurationResponseWithDefaults() *FederationConfigurationResponse

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

func (*FederationConfigurationResponse) GetAction added in v1.1.1

func (o *FederationConfigurationResponse) GetAction() string

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

func (*FederationConfigurationResponse) GetActionOk added in v1.1.1

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

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

func (*FederationConfigurationResponse) GetResponseContent added in v1.1.1

func (o *FederationConfigurationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*FederationConfigurationResponse) GetResponseContentOk added in v1.1.1

func (o *FederationConfigurationResponse) GetResponseContentOk() (*string, bool)

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

func (*FederationConfigurationResponse) GetResultCode added in v1.1.1

func (o *FederationConfigurationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*FederationConfigurationResponse) GetResultCodeOk added in v1.1.1

func (o *FederationConfigurationResponse) GetResultCodeOk() (*string, bool)

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

func (*FederationConfigurationResponse) GetResultMessage added in v1.1.1

func (o *FederationConfigurationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*FederationConfigurationResponse) GetResultMessageOk added in v1.1.1

func (o *FederationConfigurationResponse) GetResultMessageOk() (*string, bool)

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

func (*FederationConfigurationResponse) HasAction added in v1.1.1

func (o *FederationConfigurationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*FederationConfigurationResponse) HasResponseContent added in v1.1.1

func (o *FederationConfigurationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*FederationConfigurationResponse) HasResultCode added in v1.1.1

func (o *FederationConfigurationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*FederationConfigurationResponse) HasResultMessage added in v1.1.1

func (o *FederationConfigurationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (FederationConfigurationResponse) MarshalJSON added in v1.1.1

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

func (*FederationConfigurationResponse) SetAction added in v1.1.1

func (o *FederationConfigurationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*FederationConfigurationResponse) SetResponseContent added in v1.1.1

func (o *FederationConfigurationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*FederationConfigurationResponse) SetResultCode added in v1.1.1

func (o *FederationConfigurationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*FederationConfigurationResponse) SetResultMessage added in v1.1.1

func (o *FederationConfigurationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (FederationConfigurationResponse) ToMap added in v1.1.1

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

type FederationEndpointApi added in v1.1.1

type FederationEndpointApi interface {

	/*
		FederationConfigurationApi /api/federation/configuration API

		This API gathers the federation configuration about a service.

	The authorization server implementation should
	retrieve the value of the <code>action</code>
	response parameter from the API response and take the following steps
	according to the value.

	<h3><code>OK</code></h3>

	When the value of the <code> action</code> response
	parameter is <code>OK</code>, it means that Authlete
	could prepare an entity configuration successfully.

	In this case, the implementation of the entity configuration endpoint of the
	authorization server should return an HTTP response to the client application
	with the HTTP status code "{@code 200 OK}" and the content type
	"{@code application/entity-statement+jwt}". The message body (= an entity
	configuration in the JWT format) of the response has been prepared by
	Authlete's {@code /federation/configuration} API and it is available as the
	<code>responseContent</code> response parameter.

	The implementation of the entity configuration endpoint can construct an
	HTTP response by doing like below.

	<pre style="border: solid 1px black; padding: 0.5em;">
	200 OK
	Content-Type: application/entity-statement+jwt
	(Other HTTP headers)

	<i>(the value of the responseContent response parameter)</i></pre>

	<h3><code>NOT_FOUND</code></h3>

	When the value of the <code> action</code> response
	parameter is <code>NOT_FOUND</code>, it means that
	the service configuration has not enabled the feature of <a href=
	"https://openid.net/specs/openid-connect-federation-1_0.html">OpenID Connect
	Federation 1.0</a> and so the client application should have not access the
	entity configuration endpoint.

	In this case, the implementation of the entity configuration endpoint of the
	authorization server should return an HTTP response to the client application
	with the HTTP status code "{@code 404 Not Found}" and the content type
	"{@code application/json}". The message body (= error information in the JSON
	format) of the response has been prepared by Authlete's
	{@code /federation/configuration} API and it is available as the
	<code>responseContent</code> response parameter.

	The implementation of the entity configuration endpoint can construct an
	HTTP response by doing like below.

	<pre style="border: solid 1px black; padding: 0.5em;">
	404 Not Found
	Content-Type: application/json
	(Other HTTP headers)

	<i>(the value of the responseContent response parameter)</i></pre>

	<h3><code>INTERNAL_SERVER_ERROR</code></h3>

	could prepare an entity configuration successfully.

	In this case, the implementation of the entity configuration endpoint of the
	authorization server should return an HTTP response to the client application
	with the HTTP status code "{@code 200 OK}" and the content type
	"{@code application/entity-statement+jwt}". The message body (= an entity
	configuration in the JWT format) of the response has been prepared by
	Authlete's {@code /federation/configuration} API and it is available as the
	<code>responseContent</code> response parameter.

	The implementation of the entity configuration endpoint can construct an
	HTTP response by doing like below.

	<pre style="border: solid 1px black; padding: 0.5em;">
	200 OK
	Content-Type: application/entity-statement+jwt
	(Other HTTP headers)

	<i>(the value of the responseContent response parameter)</i></pre>


	</details>


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

	// FederationConfigurationApiExecute executes the request
	//  @return FederationConfigurationResponse
	FederationConfigurationApiExecute(r ApiFederationConfigurationApiRequest) (*FederationConfigurationResponse, *http.Response, error)
}

type FederationEndpointApiService added in v1.1.1

type FederationEndpointApiService service

FederationEndpointApiService FederationEndpointApi service

func (*FederationEndpointApiService) FederationConfigurationApi added in v1.1.1

FederationConfigurationApi /api/federation/configuration API

This API gathers the federation configuration about a service.

The authorization server implementation should retrieve the value of the <code>action</code> response parameter from the API response and take the following steps according to the value.

<h3><code>OK</code></h3>

When the value of the <code> action</code> response parameter is <code>OK</code>, it means that Authlete could prepare an entity configuration successfully.

In this case, the implementation of the entity configuration endpoint of the authorization server should return an HTTP response to the client application with the HTTP status code "{@code 200 OK}" and the content type "{@code application/entity-statement+jwt}". The message body (= an entity configuration in the JWT format) of the response has been prepared by Authlete's {@code /federation/configuration} API and it is available as the <code>responseContent</code> response parameter.

The implementation of the entity configuration endpoint can construct an HTTP response by doing like below.

<pre style="border: solid 1px black; padding: 0.5em;"> 200 OK Content-Type: application/entity-statement+jwt (Other HTTP headers)

<i>(the value of the responseContent response parameter)</i></pre>

<h3><code>NOT_FOUND</code></h3>

When the value of the <code> action</code> response parameter is <code>NOT_FOUND</code>, it means that the service configuration has not enabled the feature of <a href= "https://openid.net/specs/openid-connect-federation-1_0.html">OpenID Connect Federation 1.0</a> and so the client application should have not access the entity configuration endpoint.

In this case, the implementation of the entity configuration endpoint of the authorization server should return an HTTP response to the client application with the HTTP status code "{@code 404 Not Found}" and the content type "{@code application/json}". The message body (= error information in the JSON format) of the response has been prepared by Authlete's {@code /federation/configuration} API and it is available as the <code>responseContent</code> response parameter.

The implementation of the entity configuration endpoint can construct an HTTP response by doing like below.

<pre style="border: solid 1px black; padding: 0.5em;"> 404 Not Found Content-Type: application/json (Other HTTP headers)

<i>(the value of the responseContent response parameter)</i></pre>

<h3><code>INTERNAL_SERVER_ERROR</code></h3>

could prepare an entity configuration successfully.

In this case, the implementation of the entity configuration endpoint of the authorization server should return an HTTP response to the client application with the HTTP status code "{@code 200 OK}" and the content type "{@code application/entity-statement+jwt}". The message body (= an entity configuration in the JWT format) of the response has been prepared by Authlete's {@code /federation/configuration} API and it is available as the <code>responseContent</code> response parameter.

The implementation of the entity configuration endpoint can construct an HTTP response by doing like below.

<pre style="border: solid 1px black; padding: 0.5em;"> 200 OK Content-Type: application/entity-statement+jwt (Other HTTP headers)

<i>(the value of the responseContent response parameter)</i></pre>

</details>

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

func (*FederationEndpointApiService) FederationConfigurationApiExecute added in v1.1.1

Execute executes the request

@return FederationConfigurationResponse

type GMRequest added in v1.1.1

type GMRequest struct {
	// An access token to introspect.
	AccessToken *string `json:"accessToken,omitempty"`
	// A string array listing names of scopes which the caller (= a protected resource endpoint of the service) requires. When the content type of the request from the service is `application/x-www-form-urlencoded`, the format of `scopes` is a space-separated list of scope names.  If this parameter is a non-empty array and if it contains a scope which is not covered by the access token,`action=FORBIDDEN` with `error=insufficient_scope` is returned from Authlete.
	Scopes []string `json:"scopes,omitempty"`
	// A subject (= a user account managed by the service) whom the caller (= a protected resource endpoint of the service) requires.  If this parameter is not `null` and if the value does not match the subject who is associated with the access token, `action=FORBIDDEN` with `error=invalid_request` is returned from Authlete.
	Subject *string `json:"subject,omitempty"`
	// Client certificate in PEM format, used to validate binding against access tokens using the TLS client certificate confirmation method.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// `DPoP` header presented by the client during the request to the resource server.  The header contains a signed JWT which includes the public key that is paired with the private key used to sign the JWT. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Dpop *string `json:"dpop,omitempty"`
	// HTTP method of the request from the client to the protected resource endpoint. This field is used to validate the `DPoP` header.  See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htm *string `json:"htm,omitempty"`
	// URL of the protected resource endpoint. This field is used to validate the `DPoP` header.  See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htu *string `json:"htu,omitempty"`
	// The resources specified by the `resource` request parameters in the token request. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources []string               `json:"resources,omitempty"`
	GmAction  *GrantManagementAction `json:"gmAction,omitempty"`
	// The value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
}

GMRequest struct for GMRequest

func NewGMRequest added in v1.1.1

func NewGMRequest() *GMRequest

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

func NewGMRequestWithDefaults added in v1.1.1

func NewGMRequestWithDefaults() *GMRequest

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

func (*GMRequest) GetAccessToken added in v1.1.1

func (o *GMRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*GMRequest) GetAccessTokenOk added in v1.1.1

func (o *GMRequest) 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 (*GMRequest) GetClientCertificate added in v1.1.1

func (o *GMRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*GMRequest) GetClientCertificateOk added in v1.1.1

func (o *GMRequest) GetClientCertificateOk() (*string, bool)

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

func (*GMRequest) GetDpop added in v1.1.1

func (o *GMRequest) GetDpop() string

GetDpop returns the Dpop field value if set, zero value otherwise.

func (*GMRequest) GetDpopOk added in v1.1.1

func (o *GMRequest) GetDpopOk() (*string, bool)

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

func (*GMRequest) GetGmAction added in v1.1.1

func (o *GMRequest) GetGmAction() GrantManagementAction

GetGmAction returns the GmAction field value if set, zero value otherwise.

func (*GMRequest) GetGmActionOk added in v1.1.1

func (o *GMRequest) GetGmActionOk() (*GrantManagementAction, bool)

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

func (*GMRequest) GetGrantId added in v1.1.1

func (o *GMRequest) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*GMRequest) GetGrantIdOk added in v1.1.1

func (o *GMRequest) GetGrantIdOk() (*string, bool)

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

func (*GMRequest) GetHtm added in v1.1.1

func (o *GMRequest) GetHtm() string

GetHtm returns the Htm field value if set, zero value otherwise.

func (*GMRequest) GetHtmOk added in v1.1.1

func (o *GMRequest) GetHtmOk() (*string, bool)

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

func (*GMRequest) GetHtu added in v1.1.1

func (o *GMRequest) GetHtu() string

GetHtu returns the Htu field value if set, zero value otherwise.

func (*GMRequest) GetHtuOk added in v1.1.1

func (o *GMRequest) GetHtuOk() (*string, bool)

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

func (*GMRequest) GetResources added in v1.1.1

func (o *GMRequest) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*GMRequest) GetResourcesOk added in v1.1.1

func (o *GMRequest) GetResourcesOk() ([]string, bool)

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

func (*GMRequest) GetScopes added in v1.1.1

func (o *GMRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*GMRequest) GetScopesOk added in v1.1.1

func (o *GMRequest) GetScopesOk() ([]string, bool)

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

func (*GMRequest) GetSubject added in v1.1.1

func (o *GMRequest) GetSubject() string

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

func (*GMRequest) GetSubjectOk added in v1.1.1

func (o *GMRequest) 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 (*GMRequest) HasAccessToken added in v1.1.1

func (o *GMRequest) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*GMRequest) HasClientCertificate added in v1.1.1

func (o *GMRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*GMRequest) HasDpop added in v1.1.1

func (o *GMRequest) HasDpop() bool

HasDpop returns a boolean if a field has been set.

func (*GMRequest) HasGmAction added in v1.1.1

func (o *GMRequest) HasGmAction() bool

HasGmAction returns a boolean if a field has been set.

func (*GMRequest) HasGrantId added in v1.1.1

func (o *GMRequest) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*GMRequest) HasHtm added in v1.1.1

func (o *GMRequest) HasHtm() bool

HasHtm returns a boolean if a field has been set.

func (*GMRequest) HasHtu added in v1.1.1

func (o *GMRequest) HasHtu() bool

HasHtu returns a boolean if a field has been set.

func (*GMRequest) HasResources added in v1.1.1

func (o *GMRequest) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*GMRequest) HasScopes added in v1.1.1

func (o *GMRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*GMRequest) HasSubject added in v1.1.1

func (o *GMRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (GMRequest) MarshalJSON added in v1.1.1

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

func (*GMRequest) SetAccessToken added in v1.1.1

func (o *GMRequest) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*GMRequest) SetClientCertificate added in v1.1.1

func (o *GMRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*GMRequest) SetDpop added in v1.1.1

func (o *GMRequest) SetDpop(v string)

SetDpop gets a reference to the given string and assigns it to the Dpop field.

func (*GMRequest) SetGmAction added in v1.1.1

func (o *GMRequest) SetGmAction(v GrantManagementAction)

SetGmAction gets a reference to the given GrantManagementAction and assigns it to the GmAction field.

func (*GMRequest) SetGrantId added in v1.1.1

func (o *GMRequest) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*GMRequest) SetHtm added in v1.1.1

func (o *GMRequest) SetHtm(v string)

SetHtm gets a reference to the given string and assigns it to the Htm field.

func (*GMRequest) SetHtu added in v1.1.1

func (o *GMRequest) SetHtu(v string)

SetHtu gets a reference to the given string and assigns it to the Htu field.

func (*GMRequest) SetResources added in v1.1.1

func (o *GMRequest) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*GMRequest) SetScopes added in v1.1.1

func (o *GMRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*GMRequest) SetSubject added in v1.1.1

func (o *GMRequest) SetSubject(v string)

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

func (GMRequest) ToMap added in v1.1.1

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

type GMResponse added in v1.1.1

type GMResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
}

GMResponse struct for GMResponse

func NewGMResponse added in v1.1.1

func NewGMResponse() *GMResponse

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

func NewGMResponseWithDefaults added in v1.1.1

func NewGMResponseWithDefaults() *GMResponse

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

func (*GMResponse) GetAction added in v1.1.1

func (o *GMResponse) GetAction() string

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

func (*GMResponse) GetActionOk added in v1.1.1

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

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

func (*GMResponse) GetResponseContent added in v1.1.1

func (o *GMResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*GMResponse) GetResponseContentOk added in v1.1.1

func (o *GMResponse) GetResponseContentOk() (*string, bool)

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

func (*GMResponse) GetResultCode added in v1.1.1

func (o *GMResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*GMResponse) GetResultCodeOk added in v1.1.1

func (o *GMResponse) GetResultCodeOk() (*string, bool)

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

func (*GMResponse) GetResultMessage added in v1.1.1

func (o *GMResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*GMResponse) GetResultMessageOk added in v1.1.1

func (o *GMResponse) GetResultMessageOk() (*string, bool)

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

func (*GMResponse) HasAction added in v1.1.1

func (o *GMResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*GMResponse) HasResponseContent added in v1.1.1

func (o *GMResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*GMResponse) HasResultCode added in v1.1.1

func (o *GMResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*GMResponse) HasResultMessage added in v1.1.1

func (o *GMResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (GMResponse) MarshalJSON added in v1.1.1

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

func (*GMResponse) SetAction added in v1.1.1

func (o *GMResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*GMResponse) SetResponseContent added in v1.1.1

func (o *GMResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*GMResponse) SetResultCode added in v1.1.1

func (o *GMResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*GMResponse) SetResultMessage added in v1.1.1

func (o *GMResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (GMResponse) ToMap added in v1.1.1

func (o GMResponse) ToMap() (map[string]interface{}, 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 Grant added in v1.1.1

type Grant struct {
	Scopes []GrantScope `json:"scopes,omitempty"`
	// The claims associated with the Grant.
	Claims               []string              `json:"claims,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
}

Grant struct for Grant

func NewGrant added in v1.1.1

func NewGrant() *Grant

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

func NewGrantWithDefaults added in v1.1.1

func NewGrantWithDefaults() *Grant

NewGrantWithDefaults instantiates a new Grant object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Grant) GetAuthorizationDetails added in v1.1.1

func (o *Grant) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*Grant) GetAuthorizationDetailsOk added in v1.1.1

func (o *Grant) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Grant) GetClaims added in v1.1.1

func (o *Grant) GetClaims() []string

GetClaims returns the Claims field value if set, zero value otherwise.

func (*Grant) GetClaimsOk added in v1.1.1

func (o *Grant) GetClaimsOk() ([]string, bool)

GetClaimsOk returns a tuple with the Claims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Grant) GetScopes added in v1.1.1

func (o *Grant) GetScopes() []GrantScope

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*Grant) GetScopesOk added in v1.1.1

func (o *Grant) GetScopesOk() ([]GrantScope, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Grant) HasAuthorizationDetails added in v1.1.1

func (o *Grant) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*Grant) HasClaims added in v1.1.1

func (o *Grant) HasClaims() bool

HasClaims returns a boolean if a field has been set.

func (*Grant) HasScopes added in v1.1.1

func (o *Grant) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (Grant) MarshalJSON added in v1.1.1

func (o Grant) MarshalJSON() ([]byte, error)

func (*Grant) SetAuthorizationDetails added in v1.1.1

func (o *Grant) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*Grant) SetClaims added in v1.1.1

func (o *Grant) SetClaims(v []string)

SetClaims gets a reference to the given []string and assigns it to the Claims field.

func (*Grant) SetScopes added in v1.1.1

func (o *Grant) SetScopes(v []GrantScope)

SetScopes gets a reference to the given []GrantScope and assigns it to the Scopes field.

func (Grant) ToMap added in v1.1.1

func (o Grant) ToMap() (map[string]interface{}, error)

type GrantManagementAction added in v1.1.1

type GrantManagementAction string

GrantManagementAction The grant management action of the device authorization request. The `grant_management_action` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html).

const (
	GRANTMANAGEMENTACTION_CREATE  GrantManagementAction = "CREATE"
	GRANTMANAGEMENTACTION_QUERY   GrantManagementAction = "QUERY"
	GRANTMANAGEMENTACTION_REPLACE GrantManagementAction = "REPLACE"
	GRANTMANAGEMENTACTION_REVOKE  GrantManagementAction = "REVOKE"
	GRANTMANAGEMENTACTION_MERGE   GrantManagementAction = "MERGE"
)

List of grant_management_action

func NewGrantManagementActionFromValue added in v1.1.1

func NewGrantManagementActionFromValue(v string) (*GrantManagementAction, error)

NewGrantManagementActionFromValue returns a pointer to a valid GrantManagementAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (GrantManagementAction) IsValid added in v1.1.1

func (v GrantManagementAction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GrantManagementAction) Ptr added in v1.1.1

Ptr returns reference to grant_management_action value

func (*GrantManagementAction) UnmarshalJSON added in v1.1.1

func (v *GrantManagementAction) UnmarshalJSON(src []byte) error

type GrantManagementEndpointApi added in v1.1.1

type GrantManagementEndpointApi interface {

	/*
		GrantMApi /api/gm API

		The API is for the implementation of the grant management endpoint which is
	defined in "<a href="https://openid.net/specs/fapi-grant-management.html">Grant Management for OAuth 2.0</a>".


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGrantMApiRequest
	*/
	GrantMApi(ctx context.Context) ApiGrantMApiRequest

	// GrantMApiExecute executes the request
	//  @return GMResponse
	GrantMApiExecute(r ApiGrantMApiRequest) (*GMResponse, *http.Response, error)
}

type GrantManagementEndpointApiService added in v1.1.1

type GrantManagementEndpointApiService service

GrantManagementEndpointApiService GrantManagementEndpointApi service

func (*GrantManagementEndpointApiService) GrantMApi added in v1.1.1

GrantMApi /api/gm API

The API is for the implementation of the grant management endpoint which is defined in "<a href="https://openid.net/specs/fapi-grant-management.html">Grant Management for OAuth 2.0</a>".

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGrantMApiRequest

func (*GrantManagementEndpointApiService) GrantMApiExecute added in v1.1.1

Execute executes the request

@return GMResponse

type GrantScope added in v1.1.1

type GrantScope struct {
	// Space-delimited scopes.
	Scope *string `json:"scope,omitempty"`
	// List of resource indicators.
	Resource []string `json:"resource,omitempty"`
}

GrantScope struct for GrantScope

func NewGrantScope added in v1.1.1

func NewGrantScope() *GrantScope

NewGrantScope instantiates a new GrantScope object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGrantScopeWithDefaults added in v1.1.1

func NewGrantScopeWithDefaults() *GrantScope

NewGrantScopeWithDefaults instantiates a new GrantScope object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GrantScope) GetResource added in v1.1.1

func (o *GrantScope) GetResource() []string

GetResource returns the Resource field value if set, zero value otherwise.

func (*GrantScope) GetResourceOk added in v1.1.1

func (o *GrantScope) GetResourceOk() ([]string, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GrantScope) GetScope added in v1.1.1

func (o *GrantScope) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*GrantScope) GetScopeOk added in v1.1.1

func (o *GrantScope) 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 (*GrantScope) HasResource added in v1.1.1

func (o *GrantScope) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*GrantScope) HasScope added in v1.1.1

func (o *GrantScope) HasScope() bool

HasScope returns a boolean if a field has been set.

func (GrantScope) MarshalJSON added in v1.1.1

func (o GrantScope) MarshalJSON() ([]byte, error)

func (*GrantScope) SetResource added in v1.1.1

func (o *GrantScope) SetResource(v []string)

SetResource gets a reference to the given []string and assigns it to the Resource field.

func (*GrantScope) SetScope added in v1.1.1

func (o *GrantScope) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (GrantScope) ToMap added in v1.1.1

func (o GrantScope) ToMap() (map[string]interface{}, error)

type GrantType

type GrantType string

GrantType The grant type of the access token when the access token was created.

const (
	GRANTTYPE_AUTHORIZATION_CODE GrantType = "AUTHORIZATION_CODE"
	GRANTTYPE_IMPLICIT           GrantType = "IMPLICIT"
	GRANTTYPE_PASSWORD           GrantType = "PASSWORD"
	GRANTTYPE_CLIENT_CREDENTIALS GrantType = "CLIENT_CREDENTIALS"
	GRANTTYPE_REFRESH_TOKEN      GrantType = "REFRESH_TOKEN"
	GRANTTYPE_CIBA               GrantType = "CIBA"
	GRANTTYPE_DEVICE_CODE        GrantType = "DEVICE_CODE"
	GRANTTYPE_TOKEN_EXCHANGE     GrantType = "TOKEN_EXCHANGE"
	GRANTTYPE_JWT_BEARER         GrantType = "JWT_BEARER"
)

List of grant_type

func NewGrantTypeFromValue

func NewGrantTypeFromValue(v string) (*GrantType, error)

NewGrantTypeFromValue returns a pointer to a valid GrantType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (GrantType) IsValid

func (v GrantType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GrantType) Ptr

func (v GrantType) Ptr() *GrantType

Ptr returns reference to grant_type value

func (*GrantType) UnmarshalJSON

func (v *GrantType) UnmarshalJSON(src []byte) error

type InfoResponse added in v1.2.0

type InfoResponse struct {
	// The server version.
	Version string `json:"version"`
	// the features that the server supports.
	Features []string `json:"features"`
}

InfoResponse struct for InfoResponse

func NewInfoResponse added in v1.2.0

func NewInfoResponse(version string, features []string) *InfoResponse

NewInfoResponse instantiates a new InfoResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInfoResponseWithDefaults added in v1.2.0

func NewInfoResponseWithDefaults() *InfoResponse

NewInfoResponseWithDefaults instantiates a new InfoResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InfoResponse) GetFeatures added in v1.2.0

func (o *InfoResponse) GetFeatures() []string

GetFeatures returns the Features field value

func (*InfoResponse) GetFeaturesOk added in v1.2.0

func (o *InfoResponse) GetFeaturesOk() ([]string, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.

func (*InfoResponse) GetVersion added in v1.2.0

func (o *InfoResponse) GetVersion() string

GetVersion returns the Version field value

func (*InfoResponse) GetVersionOk added in v1.2.0

func (o *InfoResponse) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (InfoResponse) MarshalJSON added in v1.2.0

func (o InfoResponse) MarshalJSON() ([]byte, error)

func (*InfoResponse) SetFeatures added in v1.2.0

func (o *InfoResponse) SetFeatures(v []string)

SetFeatures sets field value

func (*InfoResponse) SetVersion added in v1.2.0

func (o *InfoResponse) SetVersion(v string)

SetVersion sets field value

func (InfoResponse) ToMap added in v1.2.0

func (o InfoResponse) ToMap() (map[string]interface{}, error)

type IntrospectionEndpointApi

type IntrospectionEndpointApi interface {

	/*
		AuthIntrospectionApi /api/auth/introspection API

		This API gathers information about an access token.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementations of protected resource endpoints
	of the authorization server implementation in order to get information about the access token which
	was presented by the client application.

	In general, a client application accesses a protected resource endpoint of a service with an access
	token, and the implementation of the endpoint checks whether the presented access token has enough
	privileges (= scopes) to access the protected resource before returning the protected resource to
	the client application. To achieve this flow, the endpoint implementation has to know detailed
	information about the access token. Authlete `/auth/introspection` API can be used to get such information.

	The response from `/auth/introspection` API has some parameters. Among them, it is `action` parameter
	that the authorization server implementation should check first because it denotes the next action
	that the authorization server implementation should take. According to the value of `action`, the
	authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content
	type although OAuth 2.0 specification does not mention the format of the error response when the
	redirect URI is not usable.

	The value of `responseContent` is a string which describes the error in the format of
	[RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage), so if
	the protected resource of the service implementation wants to return an error response to the client
	application in the way that complies with RFC 6750 (in other words, if `accessTokenType` configuration
	parameter of the service is Bearer), the value of `responseContent` can be used as the value of
	`WWW-Authenticate` header.

	The following is an example response which complies with RFC 6750.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	does not contain an access token (= the request from the authorization server implementation to
	Authlete does not contain `token` request parameter).

	A response with HTTP status of "400 Bad Request" must be returned to the client application and
	the content type must be `application/json`.


	The value of `responseContent` is a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage), so if the
	protected resource of the service implementation wants to return an error response to the client
	application in the way that complies with RFC 6750 (in other words, if `accessTokenType` configuration
	parameter of the service is `Bearer`), the value of `responseContent` can be used as the value of
	`WWW-Authenticate` header.

	The following is an example response which complies with RFC 6750.

	“`
	HTTP/1.1 400 Bad Request
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that the access token does not exist or has
	expired.

	The value of `responseContent` is a string which describes the error in the format of RFC
	6750 (OAuth 2.0 Bearer Token Usage), so if the protected resource of the service implementation
	wants to return an error response to the client application in the way that complies with [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (in other words, if `accessTokenType` configuration
	parameter of the service is `Bearer`), the value of `responseContent` can be used as the value of
	`WWW-Authenticate` header.

	The following is an example response which complies with RFC 6750.

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**FORBIDDEN**

	When the value of `action` is `FORBIDDEN`, it means that the access token does not cover the required
	scopes or that the subject associated with the access token is different from the subject contained
	in the request.

	A response with HTTP status of "400 Bad Request" must be returned to the client application and
	the content type must be `application/json`.

	The value of `responseContent` is a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage), so if the
	protected resource of the service implementation wants to return an error response to the client
	application in the way that complies with RFC 6750 (in other words, if `accessTokenType` configuration
	parameter of the service is Bearer), the value of `responseContent` can be used as the value of
	`WWW-Authenticate` header.

	The following is an example response which complies with RFC 6750.

	“`
	HTTP/1.1 403 Forbidden
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**OK**

	When the value of `action` is `OK`, it means that the access token which the client application
	presented is valid (= exists and has not expired).

	The implementation of the protected resource endpoint is supposed to return the protected resource
	to the client application.

	When action is `OK`, the value of `responseContent` is `"Bearer error=\"invalid_request\""`. This
	is the simplest string which can be used as the value of `WWW-Authenticate` header to indicate
	"400 Bad Request". The implementation of the protected resource endpoint may use this string to
	tell the client application that the request was bad (e.g. in case necessary request parameters
	for the protected resource endpoint are missing). However, in such a case, the implementation
	should generate a more informative error message to help developers of client applications.

	The following is an example error response which complies with RFC 6750.

	“`
	HTTP/1.1 400 Bad Request
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	Basically, The value of `responseContent` is a string which describes the error in the format of
	[RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage). So, if
	the service has selected `Bearer` as the value of `accessTokenType` configuration parameter, the
	value of `responseContent` can be used directly as the value of `WWW-Authenticate` header. However,
	if the service has selected another different token type, the service has to generate error messages
	for itself.

	_**JWT-based access token**_

	Since version 2.1, Authlete provides a feature to issue access tokens in JWT format. This feature
	can be enabled by setting a non-null value to the `accessTokenSignAlg` property of the service
	(see the description of the Service class for details). `/api/auth/introspection` API can accept
	access tokens in JWT format. However, note that the API does not return information contained in
	a given JWT-based access token but returns information stored in the database record which corresponds
	to the given JWT-based access token. Because attributes of the database record can be modified
	after the access token is issued (for example, by using `/api/auth/token/update` API), information
	returned by `/api/auth/introspection` API and information the given JWT-based access token holds
	may be different.

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthIntrospectionApiRequest
	*/
	AuthIntrospectionApi(ctx context.Context) ApiAuthIntrospectionApiRequest

	// AuthIntrospectionApiExecute executes the request
	//  @return IntrospectionResponse
	AuthIntrospectionApiExecute(r ApiAuthIntrospectionApiRequest) (*IntrospectionResponse, *http.Response, error)

	/*
		AuthIntrospectionStandardApi /api/auth/intraspection/standard API

		This API exists to help your authorization server provide its own introspection API which complies
	with [RFC 7662](https://tools.ietf.org/html/rfc7662) (OAuth 2.0 Token Introspection).

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementations of the introspection endpoint
	of your service. The authorization server implementation should retrieve the value of `action` from
	the response and take the following steps according to the value.

	In general, a client application accesses a protected resource endpoint of a service with an access
	token, and the implementation of the endpoint checks whether the presented access token has enough
	privileges (= scopes) to access the protected resource before returning the protected resource to
	the client application. To achieve this flow, the endpoint implementation has to know detailed
	information about the access token. Authlete `/auth/introspection` API can be used to get such information.

	The response from `/auth/introspection` API has some parameters. Among them, it is `action` parameter
	that the authorization server implementation should check first because it denotes the next action
	that the authorization server implementation should take. According to the value of `action`, the
	authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error".

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response if you want. Note that, however, [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662) does not mention anything about the response
	body of error responses.

	The following illustrates an example response which the introspection endpoint of the authorization
	server implementation generates and returns to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json

	{responseContent}
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	is invalid. This happens when the request from the client did not include the token request parameter.
	See "[2.1. Introspection Request](https://datatracker.ietf.org/doc/html/rfc7662#section-2.1)" in
	RFC 7662 for details about requirements for introspection requests.

	The HTTP status of the response returned to the client application should be "400 Bad Request".

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response if you want. Note that, however, [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662)
	does not mention anything about the response body of error responses.

	The following illustrates an example response which the introspection endpoint of the authorization
	server implementation generates and returns to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json

	{responseContent}
	“`

	**OK**

	When the value of `action` is `OK`, the request from the client application is valid.

	The HTTP status of the response returned to the client application must be "200 OK" and its content
	type must be `application/json`.

	The value of `responseContent` is a JSON string which complies with the introspection response
	defined in "2.2. Introspection Response" in RFC7662.

	The following illustrates the response which the introspection endpoint of your authorization server
	implementation should generate and return to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: application/json

	{responseContent}
	“`

	Note that RFC 7662 says _"To prevent token scanning attacks, **the endpoint MUST also require some
	form of authorization to access this endpoint**"_. This means that you have to protect your introspection
	endpoint in some way or other. Authlete does not care about how your introspection endpoint is protected.
	In most cases, as mentioned in RFC 7662, "401 Unauthorized" is a proper response when an introspection
	request does not satisfy authorization requirements imposed by your introspection endpoint.

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthIntrospectionStandardApiRequest
	*/
	AuthIntrospectionStandardApi(ctx context.Context) ApiAuthIntrospectionStandardApiRequest

	// AuthIntrospectionStandardApiExecute executes the request
	//  @return StandardIntrospectionResponse
	AuthIntrospectionStandardApiExecute(r ApiAuthIntrospectionStandardApiRequest) (*StandardIntrospectionResponse, *http.Response, error)
}

type IntrospectionEndpointApiService

type IntrospectionEndpointApiService service

IntrospectionEndpointApiService IntrospectionEndpointApi service

func (*IntrospectionEndpointApiService) AuthIntrospectionApi

AuthIntrospectionApi /api/auth/introspection API

This API gathers information about an access token.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementations of protected resource endpoints of the authorization server implementation in order to get information about the access token which was presented by the client application.

In general, a client application accesses a protected resource endpoint of a service with an access token, and the implementation of the endpoint checks whether the presented access token has enough privileges (= scopes) to access the protected resource before returning the protected resource to the client application. To achieve this flow, the endpoint implementation has to know detailed information about the access token. Authlete `/auth/introspection` API can be used to get such information.

The response from `/auth/introspection` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content type although OAuth 2.0 specification does not mention the format of the error response when the redirect URI is not usable.

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage), so if the protected resource of the service implementation wants to return an error response to the client application in the way that complies with RFC 6750 (in other words, if `accessTokenType` configuration parameter of the service is Bearer), the value of `responseContent` can be used as the value of `WWW-Authenticate` header.

The following is an example response which complies with RFC 6750.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application does not contain an access token (= the request from the authorization server implementation to Authlete does not contain `token` request parameter).

A response with HTTP status of "400 Bad Request" must be returned to the client application and the content type must be `application/json`.

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage), so if the protected resource of the service implementation wants to return an error response to the client application in the way that complies with RFC 6750 (in other words, if `accessTokenType` configuration parameter of the service is `Bearer`), the value of `responseContent` can be used as the value of `WWW-Authenticate` header.

The following is an example response which complies with RFC 6750.

``` HTTP/1.1 400 Bad Request WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that the access token does not exist or has expired.

The value of `responseContent` is a string which describes the error in the format of RFC 6750 (OAuth 2.0 Bearer Token Usage), so if the protected resource of the service implementation wants to return an error response to the client application in the way that complies with [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (in other words, if `accessTokenType` configuration parameter of the service is `Bearer`), the value of `responseContent` can be used as the value of `WWW-Authenticate` header.

The following is an example response which complies with RFC 6750.

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**FORBIDDEN**

When the value of `action` is `FORBIDDEN`, it means that the access token does not cover the required scopes or that the subject associated with the access token is different from the subject contained in the request.

A response with HTTP status of "400 Bad Request" must be returned to the client application and the content type must be `application/json`.

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage), so if the protected resource of the service implementation wants to return an error response to the client application in the way that complies with RFC 6750 (in other words, if `accessTokenType` configuration parameter of the service is Bearer), the value of `responseContent` can be used as the value of `WWW-Authenticate` header.

The following is an example response which complies with RFC 6750.

``` HTTP/1.1 403 Forbidden WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**OK**

When the value of `action` is `OK`, it means that the access token which the client application presented is valid (= exists and has not expired).

The implementation of the protected resource endpoint is supposed to return the protected resource to the client application.

When action is `OK`, the value of `responseContent` is `"Bearer error=\"invalid_request\""`. This is the simplest string which can be used as the value of `WWW-Authenticate` header to indicate "400 Bad Request". The implementation of the protected resource endpoint may use this string to tell the client application that the request was bad (e.g. in case necessary request parameters for the protected resource endpoint are missing). However, in such a case, the implementation should generate a more informative error message to help developers of client applications.

The following is an example error response which complies with RFC 6750.

``` HTTP/1.1 400 Bad Request WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

Basically, The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage). So, if the service has selected `Bearer` as the value of `accessTokenType` configuration parameter, the value of `responseContent` can be used directly as the value of `WWW-Authenticate` header. However, if the service has selected another different token type, the service has to generate error messages for itself.

_**JWT-based access token**_

Since version 2.1, Authlete provides a feature to issue access tokens in JWT format. This feature can be enabled by setting a non-null value to the `accessTokenSignAlg` property of the service (see the description of the Service class for details). `/api/auth/introspection` API can accept access tokens in JWT format. However, note that the API does not return information contained in a given JWT-based access token but returns information stored in the database record which corresponds to the given JWT-based access token. Because attributes of the database record can be modified after the access token is issued (for example, by using `/api/auth/token/update` API), information returned by `/api/auth/introspection` API and information the given JWT-based access token holds may be different.

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthIntrospectionApiRequest

func (*IntrospectionEndpointApiService) AuthIntrospectionApiExecute

Execute executes the request

@return IntrospectionResponse

func (*IntrospectionEndpointApiService) AuthIntrospectionStandardApi

AuthIntrospectionStandardApi /api/auth/intraspection/standard API

This API exists to help your authorization server provide its own introspection API which complies with [RFC 7662](https://tools.ietf.org/html/rfc7662) (OAuth 2.0 Token Introspection).

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementations of the introspection endpoint of your service. The authorization server implementation should retrieve the value of `action` from the response and take the following steps according to the value.

In general, a client application accesses a protected resource endpoint of a service with an access token, and the implementation of the endpoint checks whether the presented access token has enough privileges (= scopes) to access the protected resource before returning the protected resource to the client application. To achieve this flow, the endpoint implementation has to know detailed information about the access token. Authlete `/auth/introspection` API can be used to get such information.

The response from `/auth/introspection` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response if you want. Note that, however, [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662) does not mention anything about the response body of error responses.

The following illustrates an example response which the introspection endpoint of the authorization server implementation generates and returns to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json

{responseContent} ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application is invalid. This happens when the request from the client did not include the token request parameter. See "[2.1. Introspection Request](https://datatracker.ietf.org/doc/html/rfc7662#section-2.1)" in RFC 7662 for details about requirements for introspection requests.

The HTTP status of the response returned to the client application should be "400 Bad Request".

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response if you want. Note that, however, [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662) does not mention anything about the response body of error responses.

The following illustrates an example response which the introspection endpoint of the authorization server implementation generates and returns to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json

{responseContent} ```

**OK**

When the value of `action` is `OK`, the request from the client application is valid.

The HTTP status of the response returned to the client application must be "200 OK" and its content type must be `application/json`.

The value of `responseContent` is a JSON string which complies with the introspection response defined in "2.2. Introspection Response" in RFC7662.

The following illustrates the response which the introspection endpoint of your authorization server implementation should generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: application/json

{responseContent} ```

Note that RFC 7662 says _"To prevent token scanning attacks, **the endpoint MUST also require some form of authorization to access this endpoint**"_. This means that you have to protect your introspection endpoint in some way or other. Authlete does not care about how your introspection endpoint is protected. In most cases, as mentioned in RFC 7662, "401 Unauthorized" is a proper response when an introspection request does not satisfy authorization requirements imposed by your introspection endpoint.

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthIntrospectionStandardApiRequest

func (*IntrospectionEndpointApiService) AuthIntrospectionStandardApiExecute

Execute executes the request

@return StandardIntrospectionResponse

type IntrospectionRequest

type IntrospectionRequest struct {
	// An access token to introspect.
	Token string `json:"token"`
	// A string array listing names of scopes which the caller (= a protected resource endpoint of the service) requires. When the content type of the request from the service is `application/x-www-form-urlencoded`, the format of `scopes` is a space-separated list of scope names.  If this parameter is a non-empty array and if it contains a scope which is not covered by the access token,`action=FORBIDDEN` with `error=insufficient_scope` is returned from Authlete.
	Scopes []string `json:"scopes,omitempty"`
	// A subject (= a user account managed by the service) whom the caller (= a protected resource endpoint of the service) requires.  If this parameter is not `null` and if the value does not match the subject who is associated with the access token, `action=FORBIDDEN` with `error=invalid_request` is returned from Authlete.
	Subject *string `json:"subject,omitempty"`
	// Client certificate in PEM format, used to validate binding against access tokens using the TLS client certificate confirmation method.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// `DPoP` header presented by the client during the request to the resource server.  The header contains a signed JWT which includes the public key that is paired with the private key used to sign the JWT. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Dpop *string `json:"dpop,omitempty"`
	// HTTP method of the request from the client to the protected resource endpoint. This field is used to validate the `DPoP` header.  See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htm *string `json:"htm,omitempty"`
	// URL of the protected resource endpoint. This field is used to validate the `DPoP` header.  See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htu *string `json:"htu,omitempty"`
	// The resources specified by the `resource` request parameters in the token request. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources []string `json:"resources,omitempty"`
	// Authentication Context Class Reference values one of which the user authentication performed during the course  of issuing the access token must satisfy.
	AcrValues []string `json:"acrValues,omitempty"`
	// The maximum authentication age which is the maximum allowable elapsed time since the user authentication  was performed during the course of issuing the access token.
	MaxAge *int64 `json:"maxAge,omitempty"`
	// HTTP Message Components required to be in the signature. If absent, defaults to [ \"@method\", \"@target-uri\", \"authorization\" ].
	RequiredComponents []string `json:"requiredComponents,omitempty"`
	// The full URL of the userinfo endpoint.
	Uri *string `json:"uri,omitempty"`
	// The HTTP message body of the request, if present.
	Message *string `json:"message,omitempty"`
	// HTTP headers to be included in processing the signature. If this is a signed request, this must include the  Signature and Signature-Input headers, as well as any additional headers covered by the signature.
	Headers []Pair `json:"headers,omitempty"`
}

IntrospectionRequest struct for IntrospectionRequest

func NewIntrospectionRequest

func NewIntrospectionRequest(token string) *IntrospectionRequest

NewIntrospectionRequest instantiates a new IntrospectionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntrospectionRequestWithDefaults

func NewIntrospectionRequestWithDefaults() *IntrospectionRequest

NewIntrospectionRequestWithDefaults instantiates a new IntrospectionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntrospectionRequest) GetAcrValues added in v1.2.0

func (o *IntrospectionRequest) GetAcrValues() []string

GetAcrValues returns the AcrValues field value if set, zero value otherwise.

func (*IntrospectionRequest) GetAcrValuesOk added in v1.2.0

func (o *IntrospectionRequest) 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 (*IntrospectionRequest) GetClientCertificate

func (o *IntrospectionRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*IntrospectionRequest) GetClientCertificateOk

func (o *IntrospectionRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetDpop

func (o *IntrospectionRequest) GetDpop() string

GetDpop returns the Dpop field value if set, zero value otherwise.

func (*IntrospectionRequest) GetDpopOk

func (o *IntrospectionRequest) GetDpopOk() (*string, bool)

GetDpopOk returns a tuple with the Dpop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetHeaders added in v1.2.0

func (o *IntrospectionRequest) GetHeaders() []Pair

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*IntrospectionRequest) GetHeadersOk added in v1.2.0

func (o *IntrospectionRequest) GetHeadersOk() ([]Pair, bool)

GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetHtm

func (o *IntrospectionRequest) GetHtm() string

GetHtm returns the Htm field value if set, zero value otherwise.

func (*IntrospectionRequest) GetHtmOk

func (o *IntrospectionRequest) GetHtmOk() (*string, bool)

GetHtmOk returns a tuple with the Htm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetHtu

func (o *IntrospectionRequest) GetHtu() string

GetHtu returns the Htu field value if set, zero value otherwise.

func (*IntrospectionRequest) GetHtuOk

func (o *IntrospectionRequest) GetHtuOk() (*string, bool)

GetHtuOk returns a tuple with the Htu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetMaxAge added in v1.2.0

func (o *IntrospectionRequest) GetMaxAge() int64

GetMaxAge returns the MaxAge field value if set, zero value otherwise.

func (*IntrospectionRequest) GetMaxAgeOk added in v1.2.0

func (o *IntrospectionRequest) GetMaxAgeOk() (*int64, bool)

GetMaxAgeOk returns a tuple with the MaxAge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetMessage added in v1.2.0

func (o *IntrospectionRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*IntrospectionRequest) GetMessageOk added in v1.2.0

func (o *IntrospectionRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetRequiredComponents added in v1.2.0

func (o *IntrospectionRequest) GetRequiredComponents() []string

GetRequiredComponents returns the RequiredComponents field value if set, zero value otherwise.

func (*IntrospectionRequest) GetRequiredComponentsOk added in v1.2.0

func (o *IntrospectionRequest) GetRequiredComponentsOk() ([]string, bool)

GetRequiredComponentsOk returns a tuple with the RequiredComponents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetResources added in v1.0.0

func (o *IntrospectionRequest) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*IntrospectionRequest) GetResourcesOk added in v1.0.0

func (o *IntrospectionRequest) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetScopes

func (o *IntrospectionRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*IntrospectionRequest) GetScopesOk

func (o *IntrospectionRequest) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetSubject

func (o *IntrospectionRequest) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*IntrospectionRequest) GetSubjectOk

func (o *IntrospectionRequest) 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 (*IntrospectionRequest) GetToken

func (o *IntrospectionRequest) GetToken() string

GetToken returns the Token field value

func (*IntrospectionRequest) GetTokenOk

func (o *IntrospectionRequest) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*IntrospectionRequest) GetUri added in v1.2.0

func (o *IntrospectionRequest) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*IntrospectionRequest) GetUriOk added in v1.2.0

func (o *IntrospectionRequest) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionRequest) HasAcrValues added in v1.2.0

func (o *IntrospectionRequest) HasAcrValues() bool

HasAcrValues returns a boolean if a field has been set.

func (*IntrospectionRequest) HasClientCertificate

func (o *IntrospectionRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*IntrospectionRequest) HasDpop

func (o *IntrospectionRequest) HasDpop() bool

HasDpop returns a boolean if a field has been set.

func (*IntrospectionRequest) HasHeaders added in v1.2.0

func (o *IntrospectionRequest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*IntrospectionRequest) HasHtm

func (o *IntrospectionRequest) HasHtm() bool

HasHtm returns a boolean if a field has been set.

func (*IntrospectionRequest) HasHtu

func (o *IntrospectionRequest) HasHtu() bool

HasHtu returns a boolean if a field has been set.

func (*IntrospectionRequest) HasMaxAge added in v1.2.0

func (o *IntrospectionRequest) HasMaxAge() bool

HasMaxAge returns a boolean if a field has been set.

func (*IntrospectionRequest) HasMessage added in v1.2.0

func (o *IntrospectionRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*IntrospectionRequest) HasRequiredComponents added in v1.2.0

func (o *IntrospectionRequest) HasRequiredComponents() bool

HasRequiredComponents returns a boolean if a field has been set.

func (*IntrospectionRequest) HasResources added in v1.0.0

func (o *IntrospectionRequest) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*IntrospectionRequest) HasScopes

func (o *IntrospectionRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*IntrospectionRequest) HasSubject

func (o *IntrospectionRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*IntrospectionRequest) HasUri added in v1.2.0

func (o *IntrospectionRequest) HasUri() bool

HasUri returns a boolean if a field has been set.

func (IntrospectionRequest) MarshalJSON

func (o IntrospectionRequest) MarshalJSON() ([]byte, error)

func (*IntrospectionRequest) SetAcrValues added in v1.2.0

func (o *IntrospectionRequest) SetAcrValues(v []string)

SetAcrValues gets a reference to the given []string and assigns it to the AcrValues field.

func (*IntrospectionRequest) SetClientCertificate

func (o *IntrospectionRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*IntrospectionRequest) SetDpop

func (o *IntrospectionRequest) SetDpop(v string)

SetDpop gets a reference to the given string and assigns it to the Dpop field.

func (*IntrospectionRequest) SetHeaders added in v1.2.0

func (o *IntrospectionRequest) SetHeaders(v []Pair)

SetHeaders gets a reference to the given []Pair and assigns it to the Headers field.

func (*IntrospectionRequest) SetHtm

func (o *IntrospectionRequest) SetHtm(v string)

SetHtm gets a reference to the given string and assigns it to the Htm field.

func (*IntrospectionRequest) SetHtu

func (o *IntrospectionRequest) SetHtu(v string)

SetHtu gets a reference to the given string and assigns it to the Htu field.

func (*IntrospectionRequest) SetMaxAge added in v1.2.0

func (o *IntrospectionRequest) SetMaxAge(v int64)

SetMaxAge gets a reference to the given int64 and assigns it to the MaxAge field.

func (*IntrospectionRequest) SetMessage added in v1.2.0

func (o *IntrospectionRequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*IntrospectionRequest) SetRequiredComponents added in v1.2.0

func (o *IntrospectionRequest) SetRequiredComponents(v []string)

SetRequiredComponents gets a reference to the given []string and assigns it to the RequiredComponents field.

func (*IntrospectionRequest) SetResources added in v1.0.0

func (o *IntrospectionRequest) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*IntrospectionRequest) SetScopes

func (o *IntrospectionRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*IntrospectionRequest) SetSubject

func (o *IntrospectionRequest) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*IntrospectionRequest) SetToken

func (o *IntrospectionRequest) SetToken(v string)

SetToken sets field value

func (*IntrospectionRequest) SetUri added in v1.2.0

func (o *IntrospectionRequest) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (IntrospectionRequest) ToMap added in v1.1.1

func (o IntrospectionRequest) ToMap() (map[string]interface{}, error)

type IntrospectionResponse

type IntrospectionResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation can use as the value of `WWW-Authenticate` header on errors.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The client ID.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias when the token request was made. If the client did not have an alias, this parameter is `null`. Also, if the token request was invalid and it failed to identify a client, this parameter is `null`.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// The flag which indicates whether the client ID alias was used when the token request was made. `true` if the client ID alias was used when the token request was made.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The time at which the access token expires. The value is represented in milliseconds since the Unix epoch (1970-01-01).
	ExpiresAt *int64 `json:"expiresAt,omitempty"`
	// The subject who is associated with the access token. The value of this property is `null` if the access token was issued using the flow of [Client Credentials Grant](tools.ietf.org/html/rfc6749#section-4.4).
	Subject *string `json:"subject,omitempty"`
	// The scopes covered by the access token.
	Scopes []string `json:"scopes,omitempty"`
	// `true` if the access token exists.
	Existent *bool `json:"existent,omitempty"`
	// true` if the access token is usable (= exists and has not expired).
	Usable *bool `json:"usable,omitempty"`
	// `true` if the access token exists.
	Sufficient *bool `json:"sufficient,omitempty"`
	// `true` if the access token can be refreshed using the associated refresh token which had been issued along with the access token. `false` if the refresh token for the access token has expired or the access token has no associated refresh token.
	Refreshable *bool `json:"refreshable,omitempty"`
	// The extra properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
	// The client certificate thumbprint used to validate the access token.
	CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
	// The target resources. This represents the resources specified by the `resource` request parameters or by the `resource` property in the request object.  See \"Resource Indicators for OAuth 2.0\" for details.
	Resources []string `json:"resources,omitempty"`
	// The target resources this proeprty holds may be the same as or different from the ones `resource` property holds.  In some flows, the initial request and the subsequent token request are sent to different endpoints. Example flows are the Authorization Code Flow, the Refresh Token Flow, the CIBA Ping Mode, the CIBA Poll Mode and the Device Flow. In these flows, not only the initial request but also the subsequent token request can include the `resource` request parameters. The purpose of the `resource` request parameters in the token request is to narrow the range of the target resources from the original set of target resources requested by the preceding initial request. If narrowing down is performed, the target resources holded by the `resource` proeprty and the ones holded by this property are different. This property holds the narrowed set of target resources.  See \"Resource Indicators for OAuth 2.0\" for details.
	AccessTokenResources []string              `json:"accessTokenResources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// The scopes property of this class is a list of scope names. The property does not hold information about scope attributes. This scopeDetails property was newly created to convey information about scope attributes.
	ScopeDetails []Scope `json:"scopeDetails,omitempty"`
	// The value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	Grant   *Grant  `json:"grant,omitempty"`
	// the flag which indicates whether the access token is for an external attachment.
	ForExternalAttachment *bool `json:"forExternalAttachment,omitempty"`
	// the claims that the user has consented for the client application to know.
	ConsentedClaims []string   `json:"consentedClaims,omitempty"`
	GrantType       *GrantType `json:"grantType,omitempty"`
	// The Authentication Context Class Reference of the user authentication that the authorization server performed  during the course of issuing the access token.
	Acr *string `json:"acr,omitempty"`
	// The time when the user authentication was performed during the course of issuing the access token.
	AuthTime *int64 `json:"authTime,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

IntrospectionResponse struct for IntrospectionResponse

func NewIntrospectionResponse

func NewIntrospectionResponse() *IntrospectionResponse

NewIntrospectionResponse instantiates a new IntrospectionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntrospectionResponseWithDefaults

func NewIntrospectionResponseWithDefaults() *IntrospectionResponse

NewIntrospectionResponseWithDefaults instantiates a new IntrospectionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntrospectionResponse) GetAccessTokenResources

func (o *IntrospectionResponse) GetAccessTokenResources() []string

GetAccessTokenResources returns the AccessTokenResources field value if set, zero value otherwise.

func (*IntrospectionResponse) GetAccessTokenResourcesOk

func (o *IntrospectionResponse) GetAccessTokenResourcesOk() ([]string, bool)

GetAccessTokenResourcesOk returns a tuple with the AccessTokenResources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetAcr added in v1.2.0

func (o *IntrospectionResponse) GetAcr() string

GetAcr returns the Acr field value if set, zero value otherwise.

func (*IntrospectionResponse) GetAcrOk added in v1.2.0

func (o *IntrospectionResponse) 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 (*IntrospectionResponse) GetAction

func (o *IntrospectionResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*IntrospectionResponse) GetActionOk

func (o *IntrospectionResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetAuthTime added in v1.2.0

func (o *IntrospectionResponse) GetAuthTime() int64

GetAuthTime returns the AuthTime field value if set, zero value otherwise.

func (*IntrospectionResponse) GetAuthTimeOk added in v1.2.0

func (o *IntrospectionResponse) GetAuthTimeOk() (*int64, bool)

GetAuthTimeOk returns a tuple with the AuthTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetAuthorizationDetails

func (o *IntrospectionResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*IntrospectionResponse) GetAuthorizationDetailsOk

func (o *IntrospectionResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetCertificateThumbprint

func (o *IntrospectionResponse) GetCertificateThumbprint() string

GetCertificateThumbprint returns the CertificateThumbprint field value if set, zero value otherwise.

func (*IntrospectionResponse) GetCertificateThumbprintOk

func (o *IntrospectionResponse) GetCertificateThumbprintOk() (*string, bool)

GetCertificateThumbprintOk returns a tuple with the CertificateThumbprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetClientAttributes

func (o *IntrospectionResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*IntrospectionResponse) GetClientAttributesOk

func (o *IntrospectionResponse) GetClientAttributesOk() ([]Pair, bool)

GetClientAttributesOk returns a tuple with the ClientAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetClientEntityId added in v1.2.0

func (o *IntrospectionResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*IntrospectionResponse) GetClientEntityIdOk added in v1.2.0

func (o *IntrospectionResponse) GetClientEntityIdOk() (*string, bool)

GetClientEntityIdOk returns a tuple with the ClientEntityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetClientEntityIdUsed added in v1.2.0

func (o *IntrospectionResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*IntrospectionResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *IntrospectionResponse) GetClientEntityIdUsedOk() (*bool, bool)

GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetClientId

func (o *IntrospectionResponse) GetClientId() int64

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*IntrospectionResponse) GetClientIdAlias

func (o *IntrospectionResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*IntrospectionResponse) GetClientIdAliasOk

func (o *IntrospectionResponse) GetClientIdAliasOk() (*string, bool)

GetClientIdAliasOk returns a tuple with the ClientIdAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetClientIdAliasUsed

func (o *IntrospectionResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*IntrospectionResponse) GetClientIdAliasUsedOk

func (o *IntrospectionResponse) GetClientIdAliasUsedOk() (*bool, bool)

GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetClientIdOk

func (o *IntrospectionResponse) GetClientIdOk() (*int64, 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 (*IntrospectionResponse) GetConsentedClaims added in v1.1.1

func (o *IntrospectionResponse) GetConsentedClaims() []string

GetConsentedClaims returns the ConsentedClaims field value if set, zero value otherwise.

func (*IntrospectionResponse) GetConsentedClaimsOk added in v1.1.1

func (o *IntrospectionResponse) GetConsentedClaimsOk() ([]string, bool)

GetConsentedClaimsOk returns a tuple with the ConsentedClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetExistent

func (o *IntrospectionResponse) GetExistent() bool

GetExistent returns the Existent field value if set, zero value otherwise.

func (*IntrospectionResponse) GetExistentOk

func (o *IntrospectionResponse) GetExistentOk() (*bool, bool)

GetExistentOk returns a tuple with the Existent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetExpiresAt

func (o *IntrospectionResponse) GetExpiresAt() int64

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*IntrospectionResponse) GetExpiresAtOk

func (o *IntrospectionResponse) GetExpiresAtOk() (*int64, 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 (*IntrospectionResponse) GetForExternalAttachment added in v1.1.1

func (o *IntrospectionResponse) GetForExternalAttachment() bool

GetForExternalAttachment returns the ForExternalAttachment field value if set, zero value otherwise.

func (*IntrospectionResponse) GetForExternalAttachmentOk added in v1.1.1

func (o *IntrospectionResponse) GetForExternalAttachmentOk() (*bool, bool)

GetForExternalAttachmentOk returns a tuple with the ForExternalAttachment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetGrant added in v1.1.1

func (o *IntrospectionResponse) GetGrant() Grant

GetGrant returns the Grant field value if set, zero value otherwise.

func (*IntrospectionResponse) GetGrantId added in v1.1.1

func (o *IntrospectionResponse) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*IntrospectionResponse) GetGrantIdOk added in v1.1.1

func (o *IntrospectionResponse) GetGrantIdOk() (*string, bool)

GetGrantIdOk returns a tuple with the GrantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetGrantOk added in v1.1.1

func (o *IntrospectionResponse) GetGrantOk() (*Grant, bool)

GetGrantOk returns a tuple with the Grant field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetGrantType added in v1.2.0

func (o *IntrospectionResponse) GetGrantType() GrantType

GetGrantType returns the GrantType field value if set, zero value otherwise.

func (*IntrospectionResponse) GetGrantTypeOk added in v1.2.0

func (o *IntrospectionResponse) GetGrantTypeOk() (*GrantType, bool)

GetGrantTypeOk returns a tuple with the GrantType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetProperties

func (o *IntrospectionResponse) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*IntrospectionResponse) GetPropertiesOk

func (o *IntrospectionResponse) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetRefreshable

func (o *IntrospectionResponse) GetRefreshable() bool

GetRefreshable returns the Refreshable field value if set, zero value otherwise.

func (*IntrospectionResponse) GetRefreshableOk

func (o *IntrospectionResponse) GetRefreshableOk() (*bool, bool)

GetRefreshableOk returns a tuple with the Refreshable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetResources

func (o *IntrospectionResponse) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*IntrospectionResponse) GetResourcesOk

func (o *IntrospectionResponse) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetResponseContent

func (o *IntrospectionResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*IntrospectionResponse) GetResponseContentOk

func (o *IntrospectionResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetResultCode

func (o *IntrospectionResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*IntrospectionResponse) GetResultCodeOk

func (o *IntrospectionResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetResultMessage

func (o *IntrospectionResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*IntrospectionResponse) GetResultMessageOk

func (o *IntrospectionResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetScopeDetails added in v0.2.0

func (o *IntrospectionResponse) GetScopeDetails() []Scope

GetScopeDetails returns the ScopeDetails field value if set, zero value otherwise.

func (*IntrospectionResponse) GetScopeDetailsOk added in v0.2.0

func (o *IntrospectionResponse) GetScopeDetailsOk() ([]Scope, bool)

GetScopeDetailsOk returns a tuple with the ScopeDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetScopes

func (o *IntrospectionResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*IntrospectionResponse) GetScopesOk

func (o *IntrospectionResponse) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetServiceAttributes

func (o *IntrospectionResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*IntrospectionResponse) GetServiceAttributesOk

func (o *IntrospectionResponse) GetServiceAttributesOk() ([]Pair, bool)

GetServiceAttributesOk returns a tuple with the ServiceAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetSubject

func (o *IntrospectionResponse) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*IntrospectionResponse) GetSubjectOk

func (o *IntrospectionResponse) 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 (*IntrospectionResponse) GetSufficient

func (o *IntrospectionResponse) GetSufficient() bool

GetSufficient returns the Sufficient field value if set, zero value otherwise.

func (*IntrospectionResponse) GetSufficientOk

func (o *IntrospectionResponse) GetSufficientOk() (*bool, bool)

GetSufficientOk returns a tuple with the Sufficient field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) GetUsable

func (o *IntrospectionResponse) GetUsable() bool

GetUsable returns the Usable field value if set, zero value otherwise.

func (*IntrospectionResponse) GetUsableOk

func (o *IntrospectionResponse) GetUsableOk() (*bool, bool)

GetUsableOk returns a tuple with the Usable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntrospectionResponse) HasAccessTokenResources

func (o *IntrospectionResponse) HasAccessTokenResources() bool

HasAccessTokenResources returns a boolean if a field has been set.

func (*IntrospectionResponse) HasAcr added in v1.2.0

func (o *IntrospectionResponse) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*IntrospectionResponse) HasAction

func (o *IntrospectionResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*IntrospectionResponse) HasAuthTime added in v1.2.0

func (o *IntrospectionResponse) HasAuthTime() bool

HasAuthTime returns a boolean if a field has been set.

func (*IntrospectionResponse) HasAuthorizationDetails

func (o *IntrospectionResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*IntrospectionResponse) HasCertificateThumbprint

func (o *IntrospectionResponse) HasCertificateThumbprint() bool

HasCertificateThumbprint returns a boolean if a field has been set.

func (*IntrospectionResponse) HasClientAttributes

func (o *IntrospectionResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*IntrospectionResponse) HasClientEntityId added in v1.2.0

func (o *IntrospectionResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*IntrospectionResponse) HasClientEntityIdUsed added in v1.2.0

func (o *IntrospectionResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*IntrospectionResponse) HasClientId

func (o *IntrospectionResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*IntrospectionResponse) HasClientIdAlias

func (o *IntrospectionResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*IntrospectionResponse) HasClientIdAliasUsed

func (o *IntrospectionResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*IntrospectionResponse) HasConsentedClaims added in v1.1.1

func (o *IntrospectionResponse) HasConsentedClaims() bool

HasConsentedClaims returns a boolean if a field has been set.

func (*IntrospectionResponse) HasExistent

func (o *IntrospectionResponse) HasExistent() bool

HasExistent returns a boolean if a field has been set.

func (*IntrospectionResponse) HasExpiresAt

func (o *IntrospectionResponse) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*IntrospectionResponse) HasForExternalAttachment added in v1.1.1

func (o *IntrospectionResponse) HasForExternalAttachment() bool

HasForExternalAttachment returns a boolean if a field has been set.

func (*IntrospectionResponse) HasGrant added in v1.1.1

func (o *IntrospectionResponse) HasGrant() bool

HasGrant returns a boolean if a field has been set.

func (*IntrospectionResponse) HasGrantId added in v1.1.1

func (o *IntrospectionResponse) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*IntrospectionResponse) HasGrantType added in v1.2.0

func (o *IntrospectionResponse) HasGrantType() bool

HasGrantType returns a boolean if a field has been set.

func (*IntrospectionResponse) HasProperties

func (o *IntrospectionResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*IntrospectionResponse) HasRefreshable

func (o *IntrospectionResponse) HasRefreshable() bool

HasRefreshable returns a boolean if a field has been set.

func (*IntrospectionResponse) HasResources

func (o *IntrospectionResponse) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*IntrospectionResponse) HasResponseContent

func (o *IntrospectionResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*IntrospectionResponse) HasResultCode

func (o *IntrospectionResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*IntrospectionResponse) HasResultMessage

func (o *IntrospectionResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*IntrospectionResponse) HasScopeDetails added in v0.2.0

func (o *IntrospectionResponse) HasScopeDetails() bool

HasScopeDetails returns a boolean if a field has been set.

func (*IntrospectionResponse) HasScopes

func (o *IntrospectionResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*IntrospectionResponse) HasServiceAttributes

func (o *IntrospectionResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (*IntrospectionResponse) HasSubject

func (o *IntrospectionResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*IntrospectionResponse) HasSufficient

func (o *IntrospectionResponse) HasSufficient() bool

HasSufficient returns a boolean if a field has been set.

func (*IntrospectionResponse) HasUsable

func (o *IntrospectionResponse) HasUsable() bool

HasUsable returns a boolean if a field has been set.

func (IntrospectionResponse) MarshalJSON

func (o IntrospectionResponse) MarshalJSON() ([]byte, error)

func (*IntrospectionResponse) SetAccessTokenResources

func (o *IntrospectionResponse) SetAccessTokenResources(v []string)

SetAccessTokenResources gets a reference to the given []string and assigns it to the AccessTokenResources field.

func (*IntrospectionResponse) SetAcr added in v1.2.0

func (o *IntrospectionResponse) SetAcr(v string)

SetAcr gets a reference to the given string and assigns it to the Acr field.

func (*IntrospectionResponse) SetAction

func (o *IntrospectionResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*IntrospectionResponse) SetAuthTime added in v1.2.0

func (o *IntrospectionResponse) SetAuthTime(v int64)

SetAuthTime gets a reference to the given int64 and assigns it to the AuthTime field.

func (*IntrospectionResponse) SetAuthorizationDetails

func (o *IntrospectionResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*IntrospectionResponse) SetCertificateThumbprint

func (o *IntrospectionResponse) SetCertificateThumbprint(v string)

SetCertificateThumbprint gets a reference to the given string and assigns it to the CertificateThumbprint field.

func (*IntrospectionResponse) SetClientAttributes

func (o *IntrospectionResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*IntrospectionResponse) SetClientEntityId added in v1.2.0

func (o *IntrospectionResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*IntrospectionResponse) SetClientEntityIdUsed added in v1.2.0

func (o *IntrospectionResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*IntrospectionResponse) SetClientId

func (o *IntrospectionResponse) SetClientId(v int64)

SetClientId gets a reference to the given int64 and assigns it to the ClientId field.

func (*IntrospectionResponse) SetClientIdAlias

func (o *IntrospectionResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*IntrospectionResponse) SetClientIdAliasUsed

func (o *IntrospectionResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*IntrospectionResponse) SetConsentedClaims added in v1.1.1

func (o *IntrospectionResponse) SetConsentedClaims(v []string)

SetConsentedClaims gets a reference to the given []string and assigns it to the ConsentedClaims field.

func (*IntrospectionResponse) SetExistent

func (o *IntrospectionResponse) SetExistent(v bool)

SetExistent gets a reference to the given bool and assigns it to the Existent field.

func (*IntrospectionResponse) SetExpiresAt

func (o *IntrospectionResponse) SetExpiresAt(v int64)

SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.

func (*IntrospectionResponse) SetForExternalAttachment added in v1.1.1

func (o *IntrospectionResponse) SetForExternalAttachment(v bool)

SetForExternalAttachment gets a reference to the given bool and assigns it to the ForExternalAttachment field.

func (*IntrospectionResponse) SetGrant added in v1.1.1

func (o *IntrospectionResponse) SetGrant(v Grant)

SetGrant gets a reference to the given Grant and assigns it to the Grant field.

func (*IntrospectionResponse) SetGrantId added in v1.1.1

func (o *IntrospectionResponse) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*IntrospectionResponse) SetGrantType added in v1.2.0

func (o *IntrospectionResponse) SetGrantType(v GrantType)

SetGrantType gets a reference to the given GrantType and assigns it to the GrantType field.

func (*IntrospectionResponse) SetProperties

func (o *IntrospectionResponse) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*IntrospectionResponse) SetRefreshable

func (o *IntrospectionResponse) SetRefreshable(v bool)

SetRefreshable gets a reference to the given bool and assigns it to the Refreshable field.

func (*IntrospectionResponse) SetResources

func (o *IntrospectionResponse) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*IntrospectionResponse) SetResponseContent

func (o *IntrospectionResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*IntrospectionResponse) SetResultCode

func (o *IntrospectionResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*IntrospectionResponse) SetResultMessage

func (o *IntrospectionResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*IntrospectionResponse) SetScopeDetails added in v0.2.0

func (o *IntrospectionResponse) SetScopeDetails(v []Scope)

SetScopeDetails gets a reference to the given []Scope and assigns it to the ScopeDetails field.

func (*IntrospectionResponse) SetScopes

func (o *IntrospectionResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*IntrospectionResponse) SetServiceAttributes

func (o *IntrospectionResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (*IntrospectionResponse) SetSubject

func (o *IntrospectionResponse) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*IntrospectionResponse) SetSufficient

func (o *IntrospectionResponse) SetSufficient(v bool)

SetSufficient gets a reference to the given bool and assigns it to the Sufficient field.

func (*IntrospectionResponse) SetUsable

func (o *IntrospectionResponse) SetUsable(v bool)

SetUsable gets a reference to the given bool and assigns it to the Usable field.

func (IntrospectionResponse) ToMap added in v1.1.1

func (o IntrospectionResponse) ToMap() (map[string]interface{}, error)

type JWKSetEndpointApi

type JWKSetEndpointApi interface {

	/*
		ServiceJwksGetApi /api/service/jwks/get API

		This API gathers JWK Set information for a service so that its client applications can verify
	signatures by the service and encrypt their requests to the service.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the jwk set endpoint of the
	service where the service that supports OpenID Connect must expose its JWK Set information so that
	client applications can verify signatures by the service and encrypt their requests to the service.
	The URI of the endpoint can be found as the value of `jwks_uri` in [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata)
	if the service supports [OpenID Connect Discovery 1.0](https://openid.net/specs/openid-connect-discovery-1_0.html).

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiServiceJwksGetApiRequest
	*/
	ServiceJwksGetApi(ctx context.Context) ApiServiceJwksGetApiRequest

	// ServiceJwksGetApiExecute executes the request
	//  @return ServiceJwksGetResponse
	ServiceJwksGetApiExecute(r ApiServiceJwksGetApiRequest) (*ServiceJwksGetResponse, *http.Response, error)
}

type JWKSetEndpointApiService

type JWKSetEndpointApiService service

JWKSetEndpointApiService JWKSetEndpointApi service

func (*JWKSetEndpointApiService) ServiceJwksGetApi

ServiceJwksGetApi /api/service/jwks/get API

This API gathers JWK Set information for a service so that its client applications can verify signatures by the service and encrypt their requests to the service.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the jwk set endpoint of the service where the service that supports OpenID Connect must expose its JWK Set information so that client applications can verify signatures by the service and encrypt their requests to the service. The URI of the endpoint can be found as the value of `jwks_uri` in [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata) if the service supports [OpenID Connect Discovery 1.0](https://openid.net/specs/openid-connect-discovery-1_0.html).

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiServiceJwksGetApiRequest

func (*JWKSetEndpointApiService) ServiceJwksGetApiExecute

Execute executes the request

@return ServiceJwksGetResponse

type JoseObjectApi

type JoseObjectApi interface {

	/*
		JoseVerifyApi /api/jose/verify API

		This API verifies a JOSE object.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiJoseVerifyApiRequest
	*/
	JoseVerifyApi(ctx context.Context) ApiJoseVerifyApiRequest

	// JoseVerifyApiExecute executes the request
	//  @return JoseVerifyResponse
	JoseVerifyApiExecute(r ApiJoseVerifyApiRequest) (*JoseVerifyResponse, *http.Response, error)
}

type JoseObjectApiService

type JoseObjectApiService service

JoseObjectApiService JoseObjectApi service

func (*JoseObjectApiService) JoseVerifyApi

JoseVerifyApi /api/jose/verify API

This API verifies a JOSE object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiJoseVerifyApiRequest

func (*JoseObjectApiService) JoseVerifyApiExecute

Execute executes the request

@return JoseVerifyResponse

type JoseVerifyRequest

type JoseVerifyRequest struct {
	// A JOSE object.
	Jose string `json:"jose"`
	// Mandatory claims that are required to be included in the JOSE object.
	MandatoryClaims *string `json:"mandatoryClaims,omitempty"`
	// Allowable clock skew in seconds.
	ClockSkew *int32 `json:"clockSkew,omitempty"`
	// The identifier of the client application whose keys are required for verification of the JOSE object.
	ClientIdentifier *string `json:"clientIdentifier,omitempty"`
	// The flag which indicates whether the signature of the JOSE object has been signed by a client application with the client's private key or a shared symmetric key.
	SignedByClient *bool `json:"signedByClient,omitempty"`
}

JoseVerifyRequest struct for JoseVerifyRequest

func NewJoseVerifyRequest

func NewJoseVerifyRequest(jose string) *JoseVerifyRequest

NewJoseVerifyRequest instantiates a new JoseVerifyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJoseVerifyRequestWithDefaults

func NewJoseVerifyRequestWithDefaults() *JoseVerifyRequest

NewJoseVerifyRequestWithDefaults instantiates a new JoseVerifyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JoseVerifyRequest) GetClientIdentifier

func (o *JoseVerifyRequest) GetClientIdentifier() string

GetClientIdentifier returns the ClientIdentifier field value if set, zero value otherwise.

func (*JoseVerifyRequest) GetClientIdentifierOk

func (o *JoseVerifyRequest) GetClientIdentifierOk() (*string, bool)

GetClientIdentifierOk returns a tuple with the ClientIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyRequest) GetClockSkew

func (o *JoseVerifyRequest) GetClockSkew() int32

GetClockSkew returns the ClockSkew field value if set, zero value otherwise.

func (*JoseVerifyRequest) GetClockSkewOk

func (o *JoseVerifyRequest) GetClockSkewOk() (*int32, bool)

GetClockSkewOk returns a tuple with the ClockSkew field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyRequest) GetJose

func (o *JoseVerifyRequest) GetJose() string

GetJose returns the Jose field value

func (*JoseVerifyRequest) GetJoseOk

func (o *JoseVerifyRequest) GetJoseOk() (*string, bool)

GetJoseOk returns a tuple with the Jose field value and a boolean to check if the value has been set.

func (*JoseVerifyRequest) GetMandatoryClaims

func (o *JoseVerifyRequest) GetMandatoryClaims() string

GetMandatoryClaims returns the MandatoryClaims field value if set, zero value otherwise.

func (*JoseVerifyRequest) GetMandatoryClaimsOk

func (o *JoseVerifyRequest) GetMandatoryClaimsOk() (*string, bool)

GetMandatoryClaimsOk returns a tuple with the MandatoryClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyRequest) GetSignedByClient

func (o *JoseVerifyRequest) GetSignedByClient() bool

GetSignedByClient returns the SignedByClient field value if set, zero value otherwise.

func (*JoseVerifyRequest) GetSignedByClientOk

func (o *JoseVerifyRequest) GetSignedByClientOk() (*bool, bool)

GetSignedByClientOk returns a tuple with the SignedByClient field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyRequest) HasClientIdentifier

func (o *JoseVerifyRequest) HasClientIdentifier() bool

HasClientIdentifier returns a boolean if a field has been set.

func (*JoseVerifyRequest) HasClockSkew

func (o *JoseVerifyRequest) HasClockSkew() bool

HasClockSkew returns a boolean if a field has been set.

func (*JoseVerifyRequest) HasMandatoryClaims

func (o *JoseVerifyRequest) HasMandatoryClaims() bool

HasMandatoryClaims returns a boolean if a field has been set.

func (*JoseVerifyRequest) HasSignedByClient

func (o *JoseVerifyRequest) HasSignedByClient() bool

HasSignedByClient returns a boolean if a field has been set.

func (JoseVerifyRequest) MarshalJSON

func (o JoseVerifyRequest) MarshalJSON() ([]byte, error)

func (*JoseVerifyRequest) SetClientIdentifier

func (o *JoseVerifyRequest) SetClientIdentifier(v string)

SetClientIdentifier gets a reference to the given string and assigns it to the ClientIdentifier field.

func (*JoseVerifyRequest) SetClockSkew

func (o *JoseVerifyRequest) SetClockSkew(v int32)

SetClockSkew gets a reference to the given int32 and assigns it to the ClockSkew field.

func (*JoseVerifyRequest) SetJose

func (o *JoseVerifyRequest) SetJose(v string)

SetJose sets field value

func (*JoseVerifyRequest) SetMandatoryClaims

func (o *JoseVerifyRequest) SetMandatoryClaims(v string)

SetMandatoryClaims gets a reference to the given string and assigns it to the MandatoryClaims field.

func (*JoseVerifyRequest) SetSignedByClient

func (o *JoseVerifyRequest) SetSignedByClient(v bool)

SetSignedByClient gets a reference to the given bool and assigns it to the SignedByClient field.

func (JoseVerifyRequest) ToMap added in v1.1.1

func (o JoseVerifyRequest) ToMap() (map[string]interface{}, error)

type JoseVerifyResponse

type JoseVerifyResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The result of the verification on the JOSE object.
	Valid *bool `json:"valid,omitempty"`
	// The result of the signature verification.
	SignatureValid *bool `json:"signatureValid,omitempty"`
	// The list of missing claims.
	MissingClaims []string `json:"missingClaims,omitempty"`
	// The list of invalid claims.
	InvalidClaims []string `json:"invalidClaims,omitempty"`
	// The list of error messages.
	ErrorDescriptions []string `json:"errorDescriptions,omitempty"`
}

JoseVerifyResponse struct for JoseVerifyResponse

func NewJoseVerifyResponse

func NewJoseVerifyResponse() *JoseVerifyResponse

NewJoseVerifyResponse instantiates a new JoseVerifyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJoseVerifyResponseWithDefaults

func NewJoseVerifyResponseWithDefaults() *JoseVerifyResponse

NewJoseVerifyResponseWithDefaults instantiates a new JoseVerifyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JoseVerifyResponse) GetErrorDescriptions

func (o *JoseVerifyResponse) GetErrorDescriptions() []string

GetErrorDescriptions returns the ErrorDescriptions field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetErrorDescriptionsOk

func (o *JoseVerifyResponse) GetErrorDescriptionsOk() ([]string, bool)

GetErrorDescriptionsOk returns a tuple with the ErrorDescriptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) GetInvalidClaims

func (o *JoseVerifyResponse) GetInvalidClaims() []string

GetInvalidClaims returns the InvalidClaims field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetInvalidClaimsOk

func (o *JoseVerifyResponse) GetInvalidClaimsOk() ([]string, bool)

GetInvalidClaimsOk returns a tuple with the InvalidClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) GetMissingClaims

func (o *JoseVerifyResponse) GetMissingClaims() []string

GetMissingClaims returns the MissingClaims field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetMissingClaimsOk

func (o *JoseVerifyResponse) GetMissingClaimsOk() ([]string, bool)

GetMissingClaimsOk returns a tuple with the MissingClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) GetResultCode

func (o *JoseVerifyResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetResultCodeOk

func (o *JoseVerifyResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) GetResultMessage

func (o *JoseVerifyResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetResultMessageOk

func (o *JoseVerifyResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) GetSignatureValid

func (o *JoseVerifyResponse) GetSignatureValid() bool

GetSignatureValid returns the SignatureValid field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetSignatureValidOk

func (o *JoseVerifyResponse) GetSignatureValidOk() (*bool, bool)

GetSignatureValidOk returns a tuple with the SignatureValid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) GetValid

func (o *JoseVerifyResponse) GetValid() bool

GetValid returns the Valid field value if set, zero value otherwise.

func (*JoseVerifyResponse) GetValidOk

func (o *JoseVerifyResponse) GetValidOk() (*bool, bool)

GetValidOk returns a tuple with the Valid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JoseVerifyResponse) HasErrorDescriptions

func (o *JoseVerifyResponse) HasErrorDescriptions() bool

HasErrorDescriptions returns a boolean if a field has been set.

func (*JoseVerifyResponse) HasInvalidClaims

func (o *JoseVerifyResponse) HasInvalidClaims() bool

HasInvalidClaims returns a boolean if a field has been set.

func (*JoseVerifyResponse) HasMissingClaims

func (o *JoseVerifyResponse) HasMissingClaims() bool

HasMissingClaims returns a boolean if a field has been set.

func (*JoseVerifyResponse) HasResultCode

func (o *JoseVerifyResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*JoseVerifyResponse) HasResultMessage

func (o *JoseVerifyResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*JoseVerifyResponse) HasSignatureValid

func (o *JoseVerifyResponse) HasSignatureValid() bool

HasSignatureValid returns a boolean if a field has been set.

func (*JoseVerifyResponse) HasValid

func (o *JoseVerifyResponse) HasValid() bool

HasValid returns a boolean if a field has been set.

func (JoseVerifyResponse) MarshalJSON

func (o JoseVerifyResponse) MarshalJSON() ([]byte, error)

func (*JoseVerifyResponse) SetErrorDescriptions

func (o *JoseVerifyResponse) SetErrorDescriptions(v []string)

SetErrorDescriptions gets a reference to the given []string and assigns it to the ErrorDescriptions field.

func (*JoseVerifyResponse) SetInvalidClaims

func (o *JoseVerifyResponse) SetInvalidClaims(v []string)

SetInvalidClaims gets a reference to the given []string and assigns it to the InvalidClaims field.

func (*JoseVerifyResponse) SetMissingClaims

func (o *JoseVerifyResponse) SetMissingClaims(v []string)

SetMissingClaims gets a reference to the given []string and assigns it to the MissingClaims field.

func (*JoseVerifyResponse) SetResultCode

func (o *JoseVerifyResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*JoseVerifyResponse) SetResultMessage

func (o *JoseVerifyResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*JoseVerifyResponse) SetSignatureValid

func (o *JoseVerifyResponse) SetSignatureValid(v bool)

SetSignatureValid gets a reference to the given bool and assigns it to the SignatureValid field.

func (*JoseVerifyResponse) SetValid

func (o *JoseVerifyResponse) SetValid(v bool)

SetValid gets a reference to the given bool and assigns it to the Valid field.

func (JoseVerifyResponse) ToMap added in v1.1.1

func (o JoseVerifyResponse) ToMap() (map[string]interface{}, error)

type JweAlg

type JweAlg string

JweAlg this is the 'alg' header value for encrypted JWT tokens. Depending upon the context, this refers to key transport scheme to be used by the client and by the server. For instance: - as `authorizationEncryptionAlg` value, it refers to the encoding algorithm used by server for transporting they keys on JARM objects - as `requestEncryptionAlg` value, it refers to the expected key transport encoding algorithm that server expect from client when encrypting a Request Object - as `idTokenEncryptionAlg` value, it refers to the algorithm used by the server to key transport of id_tokens **Please note that some of the algorithms are more secure than others, some are not supported very well cross platforms and some (like RSA1_5) is known to be weak**.

const (
	JWEALG_RSA1_5              JweAlg = "RSA1_5"
	JWEALG_RSA_OAEP            JweAlg = "RSA_OAEP"
	JWEALG_RSA_OAEP_256        JweAlg = "RSA_OAEP_256"
	JWEALG_A128_KW             JweAlg = "A128KW"
	JWEALG_A192_KW             JweAlg = "A192KW"
	JWEALG_A256_KW             JweAlg = "A256KW"
	JWEALG_DIR                 JweAlg = "DIR"
	JWEALG_ECDH_ES             JweAlg = "ECDH_ES"
	JWEALG_ECDH_ES_A128_KW     JweAlg = "ECDH_ES_A128KW"
	JWEALG_ECDH_ES_A192_KW     JweAlg = "ECDH_ES_A192KW"
	JWEALG_ECDH_ES_A256_KW     JweAlg = "ECDH_ES_A256KW"
	JWEALG_A128_GCMKW          JweAlg = "A128GCMKW"
	JWEALG_A192_GCMKW          JweAlg = "A192GCMKW"
	JWEALG_A256_GCMKW          JweAlg = "A256GCMKW"
	JWEALG_PBES2_HS256_A128_KW JweAlg = "PBES2_HS256_A128KW"
	JWEALG_PBES2_HS384_A192_KW JweAlg = "PBES2_HS384_A192KW"
	JWEALG_PBES2_HS512_A256_KW JweAlg = "PBES2_HS512_A256KW"
)

List of jwe_alg

func NewJweAlgFromValue

func NewJweAlgFromValue(v string) (*JweAlg, error)

NewJweAlgFromValue returns a pointer to a valid JweAlg for the value passed as argument, or an error if the value passed is not allowed by the enum

func (JweAlg) IsValid

func (v JweAlg) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (JweAlg) Ptr

func (v JweAlg) Ptr() *JweAlg

Ptr returns reference to jwe_alg value

func (*JweAlg) UnmarshalJSON

func (v *JweAlg) UnmarshalJSON(src []byte) error

type JweEnc

type JweEnc string

JweEnc This is the encryption algorithm to be used when encrypting a JWT on client or server side. Depending upon the context, this refers to encryption done by the client or by the server. For instance: - as `authorizationEncryptionEnc` value, it refers to the encryption algorithm used by server when creating a JARM response - as `requestEncryptionEnc` value, it refers to the expected encryption algorithm used by the client when encrypting a Request Object - as `idTokenEncryptionEnc` value, it refers to the algorithm used by the server to encrypt id_tokens

const (
	JWEENC_A128_CBC_HS256 JweEnc = "A128CBC_HS256"
	JWEENC_A192_CBC_HS384 JweEnc = "A192CBC_HS384"
	JWEENC_A256_CBC_HS512 JweEnc = "A256CBC_HS512"
	JWEENC_A128_GCM       JweEnc = "A128GCM"
	JWEENC_A192_GCM       JweEnc = "A192GCM"
	JWEENC_A256_GCM       JweEnc = "A256GCM"
)

List of jwe_enc

func NewJweEncFromValue

func NewJweEncFromValue(v string) (*JweEnc, error)

NewJweEncFromValue returns a pointer to a valid JweEnc for the value passed as argument, or an error if the value passed is not allowed by the enum

func (JweEnc) IsValid

func (v JweEnc) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (JweEnc) Ptr

func (v JweEnc) Ptr() *JweEnc

Ptr returns reference to jwe_enc value

func (*JweEnc) UnmarshalJSON

func (v *JweEnc) UnmarshalJSON(src []byte) error

type JwsAlg

type JwsAlg string

JwsAlg The signature algorithm for JWT. This value is represented on 'alg' attribute of the header of JWT. it's semantics depends upon where is this defined, for instance: - as service accessTokenSignAlg value, it defines that access token are JWT and the algorithm used to sign it. Check your [KB article](https://kb.authlete.com/en/s/oauth-and-openid-connect/a/jwt-based-access-token). - as client authorizationSignAlg value, it represents the signature algorithm used when [creating a JARM response](https://kb.authlete.com/en/s/oauth-and-openid-connect/a/enabling-jarm). - or as client requestSignAlg value, it specifies which is the expected signature used by [client on a Request Object](https://kb.authlete.com/en/s/oauth-and-openid-connect/a/request-objects).

const (
	JWSALG_NONE    JwsAlg = "NONE"
	JWSALG_HS256   JwsAlg = "HS256"
	JWSALG_HS384   JwsAlg = "HS384"
	JWSALG_HS512   JwsAlg = "HS512"
	JWSALG_RS256   JwsAlg = "RS256"
	JWSALG_RS384   JwsAlg = "RS384"
	JWSALG_RS512   JwsAlg = "RS512"
	JWSALG_ES256   JwsAlg = "ES256"
	JWSALG_ES384   JwsAlg = "ES384"
	JWSALG_ES512   JwsAlg = "ES512"
	JWSALG_PS256   JwsAlg = "PS256"
	JWSALG_PS384   JwsAlg = "PS384"
	JWSALG_PS512   JwsAlg = "PS512"
	JWSALG_ES256_K JwsAlg = "ES256K"
	JWSALG_ED_DSA  JwsAlg = "EdDSA"
)

List of jws_alg

func NewJwsAlgFromValue

func NewJwsAlgFromValue(v string) (*JwsAlg, error)

NewJwsAlgFromValue returns a pointer to a valid JwsAlg for the value passed as argument, or an error if the value passed is not allowed by the enum

func (JwsAlg) IsValid

func (v JwsAlg) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (JwsAlg) Ptr

func (v JwsAlg) Ptr() *JwsAlg

Ptr returns reference to jws_alg value

func (*JwsAlg) UnmarshalJSON

func (v *JwsAlg) UnmarshalJSON(src []byte) error

type MappedNullable added in v1.1.1

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NamedUri

type NamedUri struct {
	Name *string `json:"name,omitempty"`
	Uri  *string `json:"uri,omitempty"`
}

NamedUri struct for NamedUri

func NewNamedUri

func NewNamedUri() *NamedUri

NewNamedUri instantiates a new NamedUri object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNamedUriWithDefaults

func NewNamedUriWithDefaults() *NamedUri

NewNamedUriWithDefaults instantiates a new NamedUri object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NamedUri) GetName

func (o *NamedUri) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NamedUri) GetNameOk

func (o *NamedUri) 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 (*NamedUri) GetUri

func (o *NamedUri) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*NamedUri) GetUriOk

func (o *NamedUri) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NamedUri) HasName

func (o *NamedUri) HasName() bool

HasName returns a boolean if a field has been set.

func (*NamedUri) HasUri

func (o *NamedUri) HasUri() bool

HasUri returns a boolean if a field has been set.

func (NamedUri) MarshalJSON

func (o NamedUri) MarshalJSON() ([]byte, error)

func (*NamedUri) SetName

func (o *NamedUri) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NamedUri) SetUri

func (o *NamedUri) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (NamedUri) ToMap added in v1.1.1

func (o NamedUri) ToMap() (map[string]interface{}, error)

type NullableAccessToken

type NullableAccessToken struct {
	// contains filtered or unexported fields
}

func NewNullableAccessToken

func NewNullableAccessToken(val *AccessToken) *NullableAccessToken

func (NullableAccessToken) Get

func (NullableAccessToken) IsSet

func (v NullableAccessToken) IsSet() bool

func (NullableAccessToken) MarshalJSON

func (v NullableAccessToken) MarshalJSON() ([]byte, error)

func (*NullableAccessToken) Set

func (v *NullableAccessToken) Set(val *AccessToken)

func (*NullableAccessToken) UnmarshalJSON

func (v *NullableAccessToken) UnmarshalJSON(src []byte) error

func (*NullableAccessToken) Unset

func (v *NullableAccessToken) Unset()

type NullableApplicationType

type NullableApplicationType struct {
	// contains filtered or unexported fields
}

func NewNullableApplicationType

func NewNullableApplicationType(val *ApplicationType) *NullableApplicationType

func (NullableApplicationType) Get

func (NullableApplicationType) IsSet

func (v NullableApplicationType) IsSet() bool

func (NullableApplicationType) MarshalJSON

func (v NullableApplicationType) MarshalJSON() ([]byte, error)

func (*NullableApplicationType) Set

func (*NullableApplicationType) UnmarshalJSON

func (v *NullableApplicationType) UnmarshalJSON(src []byte) error

func (*NullableApplicationType) Unset

func (v *NullableApplicationType) Unset()

type NullableAttachmentType added in v1.1.1

type NullableAttachmentType struct {
	// contains filtered or unexported fields
}

func NewNullableAttachmentType added in v1.1.1

func NewNullableAttachmentType(val *AttachmentType) *NullableAttachmentType

func (NullableAttachmentType) Get added in v1.1.1

func (NullableAttachmentType) IsSet added in v1.1.1

func (v NullableAttachmentType) IsSet() bool

func (NullableAttachmentType) MarshalJSON added in v1.1.1

func (v NullableAttachmentType) MarshalJSON() ([]byte, error)

func (*NullableAttachmentType) Set added in v1.1.1

func (*NullableAttachmentType) UnmarshalJSON added in v1.1.1

func (v *NullableAttachmentType) UnmarshalJSON(src []byte) error

func (*NullableAttachmentType) Unset added in v1.1.1

func (v *NullableAttachmentType) Unset()

type NullableAuthorizationDetails

type NullableAuthorizationDetails struct {
	// contains filtered or unexported fields
}

func NewNullableAuthorizationDetails

func NewNullableAuthorizationDetails(val *AuthorizationDetails) *NullableAuthorizationDetails

func (NullableAuthorizationDetails) Get

func (NullableAuthorizationDetails) IsSet

func (NullableAuthorizationDetails) MarshalJSON

func (v NullableAuthorizationDetails) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationDetails) Set

func (*NullableAuthorizationDetails) UnmarshalJSON

func (v *NullableAuthorizationDetails) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationDetails) Unset

func (v *NullableAuthorizationDetails) Unset()

type NullableAuthorizationDetailsElement

type NullableAuthorizationDetailsElement struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizationDetailsElement) Get

func (NullableAuthorizationDetailsElement) IsSet

func (NullableAuthorizationDetailsElement) MarshalJSON

func (v NullableAuthorizationDetailsElement) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationDetailsElement) Set

func (*NullableAuthorizationDetailsElement) UnmarshalJSON

func (v *NullableAuthorizationDetailsElement) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationDetailsElement) Unset

type NullableAuthorizationFailRequest

type NullableAuthorizationFailRequest struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizationFailRequest) Get

func (NullableAuthorizationFailRequest) IsSet

func (NullableAuthorizationFailRequest) MarshalJSON

func (v NullableAuthorizationFailRequest) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationFailRequest) Set

func (*NullableAuthorizationFailRequest) UnmarshalJSON

func (v *NullableAuthorizationFailRequest) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationFailRequest) Unset

type NullableAuthorizationFailResponse

type NullableAuthorizationFailResponse struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizationFailResponse) Get

func (NullableAuthorizationFailResponse) IsSet

func (NullableAuthorizationFailResponse) MarshalJSON

func (v NullableAuthorizationFailResponse) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationFailResponse) Set

func (*NullableAuthorizationFailResponse) UnmarshalJSON

func (v *NullableAuthorizationFailResponse) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationFailResponse) Unset

type NullableAuthorizationIssueRequest

type NullableAuthorizationIssueRequest struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizationIssueRequest) Get

func (NullableAuthorizationIssueRequest) IsSet

func (NullableAuthorizationIssueRequest) MarshalJSON

func (v NullableAuthorizationIssueRequest) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationIssueRequest) Set

func (*NullableAuthorizationIssueRequest) UnmarshalJSON

func (v *NullableAuthorizationIssueRequest) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationIssueRequest) Unset

type NullableAuthorizationIssueResponse

type NullableAuthorizationIssueResponse struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizationIssueResponse) Get

func (NullableAuthorizationIssueResponse) IsSet

func (NullableAuthorizationIssueResponse) MarshalJSON

func (v NullableAuthorizationIssueResponse) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationIssueResponse) Set

func (*NullableAuthorizationIssueResponse) UnmarshalJSON

func (v *NullableAuthorizationIssueResponse) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationIssueResponse) Unset

type NullableAuthorizationRequest

type NullableAuthorizationRequest struct {
	// contains filtered or unexported fields
}

func NewNullableAuthorizationRequest

func NewNullableAuthorizationRequest(val *AuthorizationRequest) *NullableAuthorizationRequest

func (NullableAuthorizationRequest) Get

func (NullableAuthorizationRequest) IsSet

func (NullableAuthorizationRequest) MarshalJSON

func (v NullableAuthorizationRequest) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationRequest) Set

func (*NullableAuthorizationRequest) UnmarshalJSON

func (v *NullableAuthorizationRequest) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationRequest) Unset

func (v *NullableAuthorizationRequest) Unset()

type NullableAuthorizationResponse

type NullableAuthorizationResponse struct {
	// contains filtered or unexported fields
}

func (NullableAuthorizationResponse) Get

func (NullableAuthorizationResponse) IsSet

func (NullableAuthorizationResponse) MarshalJSON

func (v NullableAuthorizationResponse) MarshalJSON() ([]byte, error)

func (*NullableAuthorizationResponse) Set

func (*NullableAuthorizationResponse) UnmarshalJSON

func (v *NullableAuthorizationResponse) UnmarshalJSON(src []byte) error

func (*NullableAuthorizationResponse) Unset

func (v *NullableAuthorizationResponse) Unset()

type NullableBackchannelAuthenticationCompleteRequest

type NullableBackchannelAuthenticationCompleteRequest struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationCompleteRequest) Get

func (NullableBackchannelAuthenticationCompleteRequest) IsSet

func (NullableBackchannelAuthenticationCompleteRequest) MarshalJSON

func (*NullableBackchannelAuthenticationCompleteRequest) Set

func (*NullableBackchannelAuthenticationCompleteRequest) UnmarshalJSON

func (*NullableBackchannelAuthenticationCompleteRequest) Unset

type NullableBackchannelAuthenticationCompleteResponse

type NullableBackchannelAuthenticationCompleteResponse struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationCompleteResponse) Get

func (NullableBackchannelAuthenticationCompleteResponse) IsSet

func (NullableBackchannelAuthenticationCompleteResponse) MarshalJSON

func (*NullableBackchannelAuthenticationCompleteResponse) Set

func (*NullableBackchannelAuthenticationCompleteResponse) UnmarshalJSON

func (*NullableBackchannelAuthenticationCompleteResponse) Unset

type NullableBackchannelAuthenticationFailRequest

type NullableBackchannelAuthenticationFailRequest struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationFailRequest) Get

func (NullableBackchannelAuthenticationFailRequest) IsSet

func (NullableBackchannelAuthenticationFailRequest) MarshalJSON

func (*NullableBackchannelAuthenticationFailRequest) Set

func (*NullableBackchannelAuthenticationFailRequest) UnmarshalJSON

func (*NullableBackchannelAuthenticationFailRequest) Unset

type NullableBackchannelAuthenticationFailResponse

type NullableBackchannelAuthenticationFailResponse struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationFailResponse) Get

func (NullableBackchannelAuthenticationFailResponse) IsSet

func (NullableBackchannelAuthenticationFailResponse) MarshalJSON

func (*NullableBackchannelAuthenticationFailResponse) Set

func (*NullableBackchannelAuthenticationFailResponse) UnmarshalJSON

func (*NullableBackchannelAuthenticationFailResponse) Unset

type NullableBackchannelAuthenticationIssueRequest

type NullableBackchannelAuthenticationIssueRequest struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationIssueRequest) Get

func (NullableBackchannelAuthenticationIssueRequest) IsSet

func (NullableBackchannelAuthenticationIssueRequest) MarshalJSON

func (*NullableBackchannelAuthenticationIssueRequest) Set

func (*NullableBackchannelAuthenticationIssueRequest) UnmarshalJSON

func (*NullableBackchannelAuthenticationIssueRequest) Unset

type NullableBackchannelAuthenticationIssueResponse

type NullableBackchannelAuthenticationIssueResponse struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationIssueResponse) Get

func (NullableBackchannelAuthenticationIssueResponse) IsSet

func (NullableBackchannelAuthenticationIssueResponse) MarshalJSON

func (*NullableBackchannelAuthenticationIssueResponse) Set

func (*NullableBackchannelAuthenticationIssueResponse) UnmarshalJSON

func (*NullableBackchannelAuthenticationIssueResponse) Unset

type NullableBackchannelAuthenticationRequest

type NullableBackchannelAuthenticationRequest struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationRequest) Get

func (NullableBackchannelAuthenticationRequest) IsSet

func (NullableBackchannelAuthenticationRequest) MarshalJSON

func (*NullableBackchannelAuthenticationRequest) Set

func (*NullableBackchannelAuthenticationRequest) UnmarshalJSON

func (v *NullableBackchannelAuthenticationRequest) UnmarshalJSON(src []byte) error

func (*NullableBackchannelAuthenticationRequest) Unset

type NullableBackchannelAuthenticationResponse

type NullableBackchannelAuthenticationResponse struct {
	// contains filtered or unexported fields
}

func (NullableBackchannelAuthenticationResponse) Get

func (NullableBackchannelAuthenticationResponse) IsSet

func (NullableBackchannelAuthenticationResponse) MarshalJSON

func (*NullableBackchannelAuthenticationResponse) Set

func (*NullableBackchannelAuthenticationResponse) UnmarshalJSON

func (v *NullableBackchannelAuthenticationResponse) UnmarshalJSON(src []byte) error

func (*NullableBackchannelAuthenticationResponse) 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 NullableClaimType

type NullableClaimType struct {
	// contains filtered or unexported fields
}

func NewNullableClaimType

func NewNullableClaimType(val *ClaimType) *NullableClaimType

func (NullableClaimType) Get

func (v NullableClaimType) Get() *ClaimType

func (NullableClaimType) IsSet

func (v NullableClaimType) IsSet() bool

func (NullableClaimType) MarshalJSON

func (v NullableClaimType) MarshalJSON() ([]byte, error)

func (*NullableClaimType) Set

func (v *NullableClaimType) Set(val *ClaimType)

func (*NullableClaimType) UnmarshalJSON

func (v *NullableClaimType) UnmarshalJSON(src []byte) error

func (*NullableClaimType) Unset

func (v *NullableClaimType) Unset()

type NullableClient

type NullableClient struct {
	// contains filtered or unexported fields
}

func NewNullableClient

func NewNullableClient(val *Client) *NullableClient

func (NullableClient) Get

func (v NullableClient) Get() *Client

func (NullableClient) IsSet

func (v NullableClient) IsSet() bool

func (NullableClient) MarshalJSON

func (v NullableClient) MarshalJSON() ([]byte, error)

func (*NullableClient) Set

func (v *NullableClient) Set(val *Client)

func (*NullableClient) UnmarshalJSON

func (v *NullableClient) UnmarshalJSON(src []byte) error

func (*NullableClient) Unset

func (v *NullableClient) Unset()

type NullableClientAuthenticationMethod

type NullableClientAuthenticationMethod struct {
	// contains filtered or unexported fields
}

func (NullableClientAuthenticationMethod) Get

func (NullableClientAuthenticationMethod) IsSet

func (NullableClientAuthenticationMethod) MarshalJSON

func (v NullableClientAuthenticationMethod) MarshalJSON() ([]byte, error)

func (*NullableClientAuthenticationMethod) Set

func (*NullableClientAuthenticationMethod) UnmarshalJSON

func (v *NullableClientAuthenticationMethod) UnmarshalJSON(src []byte) error

func (*NullableClientAuthenticationMethod) Unset

type NullableClientAuthorizationDeleteResponse

type NullableClientAuthorizationDeleteResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientAuthorizationDeleteResponse) Get

func (NullableClientAuthorizationDeleteResponse) IsSet

func (NullableClientAuthorizationDeleteResponse) MarshalJSON

func (*NullableClientAuthorizationDeleteResponse) Set

func (*NullableClientAuthorizationDeleteResponse) UnmarshalJSON

func (v *NullableClientAuthorizationDeleteResponse) UnmarshalJSON(src []byte) error

func (*NullableClientAuthorizationDeleteResponse) Unset

type NullableClientAuthorizationGetListResponse

type NullableClientAuthorizationGetListResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientAuthorizationGetListResponse) Get

func (NullableClientAuthorizationGetListResponse) IsSet

func (NullableClientAuthorizationGetListResponse) MarshalJSON

func (*NullableClientAuthorizationGetListResponse) Set

func (*NullableClientAuthorizationGetListResponse) UnmarshalJSON

func (v *NullableClientAuthorizationGetListResponse) UnmarshalJSON(src []byte) error

func (*NullableClientAuthorizationGetListResponse) Unset

type NullableClientAuthorizationUpdateRequest

type NullableClientAuthorizationUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableClientAuthorizationUpdateRequest) Get

func (NullableClientAuthorizationUpdateRequest) IsSet

func (NullableClientAuthorizationUpdateRequest) MarshalJSON

func (*NullableClientAuthorizationUpdateRequest) Set

func (*NullableClientAuthorizationUpdateRequest) UnmarshalJSON

func (v *NullableClientAuthorizationUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableClientAuthorizationUpdateRequest) Unset

type NullableClientAuthorizationUpdateResponse

type NullableClientAuthorizationUpdateResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientAuthorizationUpdateResponse) Get

func (NullableClientAuthorizationUpdateResponse) IsSet

func (NullableClientAuthorizationUpdateResponse) MarshalJSON

func (*NullableClientAuthorizationUpdateResponse) Set

func (*NullableClientAuthorizationUpdateResponse) UnmarshalJSON

func (v *NullableClientAuthorizationUpdateResponse) UnmarshalJSON(src []byte) error

func (*NullableClientAuthorizationUpdateResponse) Unset

type NullableClientExtension

type NullableClientExtension struct {
	// contains filtered or unexported fields
}

func NewNullableClientExtension

func NewNullableClientExtension(val *ClientExtension) *NullableClientExtension

func (NullableClientExtension) Get

func (NullableClientExtension) IsSet

func (v NullableClientExtension) IsSet() bool

func (NullableClientExtension) MarshalJSON

func (v NullableClientExtension) MarshalJSON() ([]byte, error)

func (*NullableClientExtension) Set

func (*NullableClientExtension) UnmarshalJSON

func (v *NullableClientExtension) UnmarshalJSON(src []byte) error

func (*NullableClientExtension) Unset

func (v *NullableClientExtension) Unset()

type NullableClientFlagUpdateRequest added in v1.2.0

type NullableClientFlagUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableClientFlagUpdateRequest added in v1.2.0

func NewNullableClientFlagUpdateRequest(val *ClientFlagUpdateRequest) *NullableClientFlagUpdateRequest

func (NullableClientFlagUpdateRequest) Get added in v1.2.0

func (NullableClientFlagUpdateRequest) IsSet added in v1.2.0

func (NullableClientFlagUpdateRequest) MarshalJSON added in v1.2.0

func (v NullableClientFlagUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableClientFlagUpdateRequest) Set added in v1.2.0

func (*NullableClientFlagUpdateRequest) UnmarshalJSON added in v1.2.0

func (v *NullableClientFlagUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableClientFlagUpdateRequest) Unset added in v1.2.0

type NullableClientFlagUpdateResponse added in v1.2.0

type NullableClientFlagUpdateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableClientFlagUpdateResponse added in v1.2.0

func NewNullableClientFlagUpdateResponse(val *ClientFlagUpdateResponse) *NullableClientFlagUpdateResponse

func (NullableClientFlagUpdateResponse) Get added in v1.2.0

func (NullableClientFlagUpdateResponse) IsSet added in v1.2.0

func (NullableClientFlagUpdateResponse) MarshalJSON added in v1.2.0

func (v NullableClientFlagUpdateResponse) MarshalJSON() ([]byte, error)

func (*NullableClientFlagUpdateResponse) Set added in v1.2.0

func (*NullableClientFlagUpdateResponse) UnmarshalJSON added in v1.2.0

func (v *NullableClientFlagUpdateResponse) UnmarshalJSON(src []byte) error

func (*NullableClientFlagUpdateResponse) Unset added in v1.2.0

type NullableClientGetListResponse

type NullableClientGetListResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientGetListResponse) Get

func (NullableClientGetListResponse) IsSet

func (NullableClientGetListResponse) MarshalJSON

func (v NullableClientGetListResponse) MarshalJSON() ([]byte, error)

func (*NullableClientGetListResponse) Set

func (*NullableClientGetListResponse) UnmarshalJSON

func (v *NullableClientGetListResponse) UnmarshalJSON(src []byte) error

func (*NullableClientGetListResponse) Unset

func (v *NullableClientGetListResponse) Unset()

type NullableClientGrantedScopesDeleteResponse

type NullableClientGrantedScopesDeleteResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientGrantedScopesDeleteResponse) Get

func (NullableClientGrantedScopesDeleteResponse) IsSet

func (NullableClientGrantedScopesDeleteResponse) MarshalJSON

func (*NullableClientGrantedScopesDeleteResponse) Set

func (*NullableClientGrantedScopesDeleteResponse) UnmarshalJSON

func (v *NullableClientGrantedScopesDeleteResponse) UnmarshalJSON(src []byte) error

func (*NullableClientGrantedScopesDeleteResponse) Unset

type NullableClientGrantedScopesGetResponse added in v1.2.0

type NullableClientGrantedScopesGetResponse struct {
	// contains filtered or unexported fields
}

func NewNullableClientGrantedScopesGetResponse added in v1.2.0

func NewNullableClientGrantedScopesGetResponse(val *ClientGrantedScopesGetResponse) *NullableClientGrantedScopesGetResponse

func (NullableClientGrantedScopesGetResponse) Get added in v1.2.0

func (NullableClientGrantedScopesGetResponse) IsSet added in v1.2.0

func (NullableClientGrantedScopesGetResponse) MarshalJSON added in v1.2.0

func (v NullableClientGrantedScopesGetResponse) MarshalJSON() ([]byte, error)

func (*NullableClientGrantedScopesGetResponse) Set added in v1.2.0

func (*NullableClientGrantedScopesGetResponse) UnmarshalJSON added in v1.2.0

func (v *NullableClientGrantedScopesGetResponse) UnmarshalJSON(src []byte) error

func (*NullableClientGrantedScopesGetResponse) Unset added in v1.2.0

type NullableClientRegistrationDeleteRequest

type NullableClientRegistrationDeleteRequest struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationDeleteRequest) Get

func (NullableClientRegistrationDeleteRequest) IsSet

func (NullableClientRegistrationDeleteRequest) MarshalJSON

func (v NullableClientRegistrationDeleteRequest) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationDeleteRequest) Set

func (*NullableClientRegistrationDeleteRequest) UnmarshalJSON

func (v *NullableClientRegistrationDeleteRequest) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationDeleteRequest) Unset

type NullableClientRegistrationDeleteResponse

type NullableClientRegistrationDeleteResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationDeleteResponse) Get

func (NullableClientRegistrationDeleteResponse) IsSet

func (NullableClientRegistrationDeleteResponse) MarshalJSON

func (*NullableClientRegistrationDeleteResponse) Set

func (*NullableClientRegistrationDeleteResponse) UnmarshalJSON

func (v *NullableClientRegistrationDeleteResponse) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationDeleteResponse) Unset

type NullableClientRegistrationGetRequest

type NullableClientRegistrationGetRequest struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationGetRequest) Get

func (NullableClientRegistrationGetRequest) IsSet

func (NullableClientRegistrationGetRequest) MarshalJSON

func (v NullableClientRegistrationGetRequest) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationGetRequest) Set

func (*NullableClientRegistrationGetRequest) UnmarshalJSON

func (v *NullableClientRegistrationGetRequest) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationGetRequest) Unset

type NullableClientRegistrationGetResponse

type NullableClientRegistrationGetResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationGetResponse) Get

func (NullableClientRegistrationGetResponse) IsSet

func (NullableClientRegistrationGetResponse) MarshalJSON

func (v NullableClientRegistrationGetResponse) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationGetResponse) Set

func (*NullableClientRegistrationGetResponse) UnmarshalJSON

func (v *NullableClientRegistrationGetResponse) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationGetResponse) Unset

type NullableClientRegistrationRequest

type NullableClientRegistrationRequest struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationRequest) Get

func (NullableClientRegistrationRequest) IsSet

func (NullableClientRegistrationRequest) MarshalJSON

func (v NullableClientRegistrationRequest) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationRequest) Set

func (*NullableClientRegistrationRequest) UnmarshalJSON

func (v *NullableClientRegistrationRequest) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationRequest) Unset

type NullableClientRegistrationResponse

type NullableClientRegistrationResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationResponse) Get

func (NullableClientRegistrationResponse) IsSet

func (NullableClientRegistrationResponse) MarshalJSON

func (v NullableClientRegistrationResponse) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationResponse) Set

func (*NullableClientRegistrationResponse) UnmarshalJSON

func (v *NullableClientRegistrationResponse) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationResponse) Unset

type NullableClientRegistrationType added in v1.1.1

type NullableClientRegistrationType struct {
	// contains filtered or unexported fields
}

func NewNullableClientRegistrationType added in v1.1.1

func NewNullableClientRegistrationType(val *ClientRegistrationType) *NullableClientRegistrationType

func (NullableClientRegistrationType) Get added in v1.1.1

func (NullableClientRegistrationType) IsSet added in v1.1.1

func (NullableClientRegistrationType) MarshalJSON added in v1.1.1

func (v NullableClientRegistrationType) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationType) Set added in v1.1.1

func (*NullableClientRegistrationType) UnmarshalJSON added in v1.1.1

func (v *NullableClientRegistrationType) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationType) Unset added in v1.1.1

func (v *NullableClientRegistrationType) Unset()

type NullableClientRegistrationUpdateRequest

type NullableClientRegistrationUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationUpdateRequest) Get

func (NullableClientRegistrationUpdateRequest) IsSet

func (NullableClientRegistrationUpdateRequest) MarshalJSON

func (v NullableClientRegistrationUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableClientRegistrationUpdateRequest) Set

func (*NullableClientRegistrationUpdateRequest) UnmarshalJSON

func (v *NullableClientRegistrationUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationUpdateRequest) Unset

type NullableClientRegistrationUpdateResponse

type NullableClientRegistrationUpdateResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientRegistrationUpdateResponse) Get

func (NullableClientRegistrationUpdateResponse) IsSet

func (NullableClientRegistrationUpdateResponse) MarshalJSON

func (*NullableClientRegistrationUpdateResponse) Set

func (*NullableClientRegistrationUpdateResponse) UnmarshalJSON

func (v *NullableClientRegistrationUpdateResponse) UnmarshalJSON(src []byte) error

func (*NullableClientRegistrationUpdateResponse) Unset

type NullableClientSecretRefreshResponse

type NullableClientSecretRefreshResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientSecretRefreshResponse) Get

func (NullableClientSecretRefreshResponse) IsSet

func (NullableClientSecretRefreshResponse) MarshalJSON

func (v NullableClientSecretRefreshResponse) MarshalJSON() ([]byte, error)

func (*NullableClientSecretRefreshResponse) Set

func (*NullableClientSecretRefreshResponse) UnmarshalJSON

func (v *NullableClientSecretRefreshResponse) UnmarshalJSON(src []byte) error

func (*NullableClientSecretRefreshResponse) Unset

type NullableClientSecretUpdateRequest

type NullableClientSecretUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableClientSecretUpdateRequest) Get

func (NullableClientSecretUpdateRequest) IsSet

func (NullableClientSecretUpdateRequest) MarshalJSON

func (v NullableClientSecretUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableClientSecretUpdateRequest) Set

func (*NullableClientSecretUpdateRequest) UnmarshalJSON

func (v *NullableClientSecretUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableClientSecretUpdateRequest) Unset

type NullableClientSecretUpdateResponse

type NullableClientSecretUpdateResponse struct {
	// contains filtered or unexported fields
}

func (NullableClientSecretUpdateResponse) Get

func (NullableClientSecretUpdateResponse) IsSet

func (NullableClientSecretUpdateResponse) MarshalJSON

func (v NullableClientSecretUpdateResponse) MarshalJSON() ([]byte, error)

func (*NullableClientSecretUpdateResponse) Set

func (*NullableClientSecretUpdateResponse) UnmarshalJSON

func (v *NullableClientSecretUpdateResponse) UnmarshalJSON(src []byte) error

func (*NullableClientSecretUpdateResponse) Unset

type NullableClientType

type NullableClientType struct {
	// contains filtered or unexported fields
}

func NewNullableClientType

func NewNullableClientType(val *ClientType) *NullableClientType

func (NullableClientType) Get

func (v NullableClientType) Get() *ClientType

func (NullableClientType) IsSet

func (v NullableClientType) IsSet() bool

func (NullableClientType) MarshalJSON

func (v NullableClientType) MarshalJSON() ([]byte, error)

func (*NullableClientType) Set

func (v *NullableClientType) Set(val *ClientType)

func (*NullableClientType) UnmarshalJSON

func (v *NullableClientType) UnmarshalJSON(src []byte) error

func (*NullableClientType) Unset

func (v *NullableClientType) Unset()

type NullableDeliveryMode

type NullableDeliveryMode struct {
	// contains filtered or unexported fields
}

func NewNullableDeliveryMode

func NewNullableDeliveryMode(val *DeliveryMode) *NullableDeliveryMode

func (NullableDeliveryMode) Get

func (NullableDeliveryMode) IsSet

func (v NullableDeliveryMode) IsSet() bool

func (NullableDeliveryMode) MarshalJSON

func (v NullableDeliveryMode) MarshalJSON() ([]byte, error)

func (*NullableDeliveryMode) Set

func (v *NullableDeliveryMode) Set(val *DeliveryMode)

func (*NullableDeliveryMode) UnmarshalJSON

func (v *NullableDeliveryMode) UnmarshalJSON(src []byte) error

func (*NullableDeliveryMode) Unset

func (v *NullableDeliveryMode) Unset()

type NullableDeviceAuthorizationRequest

type NullableDeviceAuthorizationRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeviceAuthorizationRequest) Get

func (NullableDeviceAuthorizationRequest) IsSet

func (NullableDeviceAuthorizationRequest) MarshalJSON

func (v NullableDeviceAuthorizationRequest) MarshalJSON() ([]byte, error)

func (*NullableDeviceAuthorizationRequest) Set

func (*NullableDeviceAuthorizationRequest) UnmarshalJSON

func (v *NullableDeviceAuthorizationRequest) UnmarshalJSON(src []byte) error

func (*NullableDeviceAuthorizationRequest) Unset

type NullableDeviceAuthorizationResponse

type NullableDeviceAuthorizationResponse struct {
	// contains filtered or unexported fields
}

func (NullableDeviceAuthorizationResponse) Get

func (NullableDeviceAuthorizationResponse) IsSet

func (NullableDeviceAuthorizationResponse) MarshalJSON

func (v NullableDeviceAuthorizationResponse) MarshalJSON() ([]byte, error)

func (*NullableDeviceAuthorizationResponse) Set

func (*NullableDeviceAuthorizationResponse) UnmarshalJSON

func (v *NullableDeviceAuthorizationResponse) UnmarshalJSON(src []byte) error

func (*NullableDeviceAuthorizationResponse) Unset

type NullableDeviceCompleteRequest

type NullableDeviceCompleteRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeviceCompleteRequest) Get

func (NullableDeviceCompleteRequest) IsSet

func (NullableDeviceCompleteRequest) MarshalJSON

func (v NullableDeviceCompleteRequest) MarshalJSON() ([]byte, error)

func (*NullableDeviceCompleteRequest) Set

func (*NullableDeviceCompleteRequest) UnmarshalJSON

func (v *NullableDeviceCompleteRequest) UnmarshalJSON(src []byte) error

func (*NullableDeviceCompleteRequest) Unset

func (v *NullableDeviceCompleteRequest) Unset()

type NullableDeviceCompleteResponse

type NullableDeviceCompleteResponse struct {
	// contains filtered or unexported fields
}

func (NullableDeviceCompleteResponse) Get

func (NullableDeviceCompleteResponse) IsSet

func (NullableDeviceCompleteResponse) MarshalJSON

func (v NullableDeviceCompleteResponse) MarshalJSON() ([]byte, error)

func (*NullableDeviceCompleteResponse) Set

func (*NullableDeviceCompleteResponse) UnmarshalJSON

func (v *NullableDeviceCompleteResponse) UnmarshalJSON(src []byte) error

func (*NullableDeviceCompleteResponse) Unset

func (v *NullableDeviceCompleteResponse) Unset()

type NullableDeviceVerificationRequest

type NullableDeviceVerificationRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeviceVerificationRequest) Get

func (NullableDeviceVerificationRequest) IsSet

func (NullableDeviceVerificationRequest) MarshalJSON

func (v NullableDeviceVerificationRequest) MarshalJSON() ([]byte, error)

func (*NullableDeviceVerificationRequest) Set

func (*NullableDeviceVerificationRequest) UnmarshalJSON

func (v *NullableDeviceVerificationRequest) UnmarshalJSON(src []byte) error

func (*NullableDeviceVerificationRequest) Unset

type NullableDeviceVerificationResponse

type NullableDeviceVerificationResponse struct {
	// contains filtered or unexported fields
}

func (NullableDeviceVerificationResponse) Get

func (NullableDeviceVerificationResponse) IsSet

func (NullableDeviceVerificationResponse) MarshalJSON

func (v NullableDeviceVerificationResponse) MarshalJSON() ([]byte, error)

func (*NullableDeviceVerificationResponse) Set

func (*NullableDeviceVerificationResponse) UnmarshalJSON

func (v *NullableDeviceVerificationResponse) UnmarshalJSON(src []byte) error

func (*NullableDeviceVerificationResponse) Unset

type NullableDisplay

type NullableDisplay struct {
	// contains filtered or unexported fields
}

func NewNullableDisplay

func NewNullableDisplay(val *Display) *NullableDisplay

func (NullableDisplay) Get

func (v NullableDisplay) Get() *Display

func (NullableDisplay) IsSet

func (v NullableDisplay) IsSet() bool

func (NullableDisplay) MarshalJSON

func (v NullableDisplay) MarshalJSON() ([]byte, error)

func (*NullableDisplay) Set

func (v *NullableDisplay) Set(val *Display)

func (*NullableDisplay) UnmarshalJSON

func (v *NullableDisplay) UnmarshalJSON(src []byte) error

func (*NullableDisplay) Unset

func (v *NullableDisplay) Unset()

type NullableDynamicScope

type NullableDynamicScope struct {
	// contains filtered or unexported fields
}

func NewNullableDynamicScope

func NewNullableDynamicScope(val *DynamicScope) *NullableDynamicScope

func (NullableDynamicScope) Get

func (NullableDynamicScope) IsSet

func (v NullableDynamicScope) IsSet() bool

func (NullableDynamicScope) MarshalJSON

func (v NullableDynamicScope) MarshalJSON() ([]byte, error)

func (*NullableDynamicScope) Set

func (v *NullableDynamicScope) Set(val *DynamicScope)

func (*NullableDynamicScope) UnmarshalJSON

func (v *NullableDynamicScope) UnmarshalJSON(src []byte) error

func (*NullableDynamicScope) Unset

func (v *NullableDynamicScope) Unset()

type NullableFederationConfigurationResponse added in v1.1.1

type NullableFederationConfigurationResponse struct {
	// contains filtered or unexported fields
}

func NewNullableFederationConfigurationResponse added in v1.1.1

func NewNullableFederationConfigurationResponse(val *FederationConfigurationResponse) *NullableFederationConfigurationResponse

func (NullableFederationConfigurationResponse) Get added in v1.1.1

func (NullableFederationConfigurationResponse) IsSet added in v1.1.1

func (NullableFederationConfigurationResponse) MarshalJSON added in v1.1.1

func (v NullableFederationConfigurationResponse) MarshalJSON() ([]byte, error)

func (*NullableFederationConfigurationResponse) Set added in v1.1.1

func (*NullableFederationConfigurationResponse) UnmarshalJSON added in v1.1.1

func (v *NullableFederationConfigurationResponse) UnmarshalJSON(src []byte) error

func (*NullableFederationConfigurationResponse) Unset added in v1.1.1

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 NullableGMRequest added in v1.1.1

type NullableGMRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGMRequest added in v1.1.1

func NewNullableGMRequest(val *GMRequest) *NullableGMRequest

func (NullableGMRequest) Get added in v1.1.1

func (v NullableGMRequest) Get() *GMRequest

func (NullableGMRequest) IsSet added in v1.1.1

func (v NullableGMRequest) IsSet() bool

func (NullableGMRequest) MarshalJSON added in v1.1.1

func (v NullableGMRequest) MarshalJSON() ([]byte, error)

func (*NullableGMRequest) Set added in v1.1.1

func (v *NullableGMRequest) Set(val *GMRequest)

func (*NullableGMRequest) UnmarshalJSON added in v1.1.1

func (v *NullableGMRequest) UnmarshalJSON(src []byte) error

func (*NullableGMRequest) Unset added in v1.1.1

func (v *NullableGMRequest) Unset()

type NullableGMResponse added in v1.1.1

type NullableGMResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGMResponse added in v1.1.1

func NewNullableGMResponse(val *GMResponse) *NullableGMResponse

func (NullableGMResponse) Get added in v1.1.1

func (v NullableGMResponse) Get() *GMResponse

func (NullableGMResponse) IsSet added in v1.1.1

func (v NullableGMResponse) IsSet() bool

func (NullableGMResponse) MarshalJSON added in v1.1.1

func (v NullableGMResponse) MarshalJSON() ([]byte, error)

func (*NullableGMResponse) Set added in v1.1.1

func (v *NullableGMResponse) Set(val *GMResponse)

func (*NullableGMResponse) UnmarshalJSON added in v1.1.1

func (v *NullableGMResponse) UnmarshalJSON(src []byte) error

func (*NullableGMResponse) Unset added in v1.1.1

func (v *NullableGMResponse) Unset()

type NullableGrant added in v1.1.1

type NullableGrant struct {
	// contains filtered or unexported fields
}

func NewNullableGrant added in v1.1.1

func NewNullableGrant(val *Grant) *NullableGrant

func (NullableGrant) Get added in v1.1.1

func (v NullableGrant) Get() *Grant

func (NullableGrant) IsSet added in v1.1.1

func (v NullableGrant) IsSet() bool

func (NullableGrant) MarshalJSON added in v1.1.1

func (v NullableGrant) MarshalJSON() ([]byte, error)

func (*NullableGrant) Set added in v1.1.1

func (v *NullableGrant) Set(val *Grant)

func (*NullableGrant) UnmarshalJSON added in v1.1.1

func (v *NullableGrant) UnmarshalJSON(src []byte) error

func (*NullableGrant) Unset added in v1.1.1

func (v *NullableGrant) Unset()

type NullableGrantManagementAction added in v1.1.1

type NullableGrantManagementAction struct {
	// contains filtered or unexported fields
}

func NewNullableGrantManagementAction added in v1.1.1

func NewNullableGrantManagementAction(val *GrantManagementAction) *NullableGrantManagementAction

func (NullableGrantManagementAction) Get added in v1.1.1

func (NullableGrantManagementAction) IsSet added in v1.1.1

func (NullableGrantManagementAction) MarshalJSON added in v1.1.1

func (v NullableGrantManagementAction) MarshalJSON() ([]byte, error)

func (*NullableGrantManagementAction) Set added in v1.1.1

func (*NullableGrantManagementAction) UnmarshalJSON added in v1.1.1

func (v *NullableGrantManagementAction) UnmarshalJSON(src []byte) error

func (*NullableGrantManagementAction) Unset added in v1.1.1

func (v *NullableGrantManagementAction) Unset()

type NullableGrantScope added in v1.1.1

type NullableGrantScope struct {
	// contains filtered or unexported fields
}

func NewNullableGrantScope added in v1.1.1

func NewNullableGrantScope(val *GrantScope) *NullableGrantScope

func (NullableGrantScope) Get added in v1.1.1

func (v NullableGrantScope) Get() *GrantScope

func (NullableGrantScope) IsSet added in v1.1.1

func (v NullableGrantScope) IsSet() bool

func (NullableGrantScope) MarshalJSON added in v1.1.1

func (v NullableGrantScope) MarshalJSON() ([]byte, error)

func (*NullableGrantScope) Set added in v1.1.1

func (v *NullableGrantScope) Set(val *GrantScope)

func (*NullableGrantScope) UnmarshalJSON added in v1.1.1

func (v *NullableGrantScope) UnmarshalJSON(src []byte) error

func (*NullableGrantScope) Unset added in v1.1.1

func (v *NullableGrantScope) Unset()

type NullableGrantType

type NullableGrantType struct {
	// contains filtered or unexported fields
}

func NewNullableGrantType

func NewNullableGrantType(val *GrantType) *NullableGrantType

func (NullableGrantType) Get

func (v NullableGrantType) Get() *GrantType

func (NullableGrantType) IsSet

func (v NullableGrantType) IsSet() bool

func (NullableGrantType) MarshalJSON

func (v NullableGrantType) MarshalJSON() ([]byte, error)

func (*NullableGrantType) Set

func (v *NullableGrantType) Set(val *GrantType)

func (*NullableGrantType) UnmarshalJSON

func (v *NullableGrantType) UnmarshalJSON(src []byte) error

func (*NullableGrantType) Unset

func (v *NullableGrantType) Unset()

type NullableInfoResponse added in v1.2.0

type NullableInfoResponse struct {
	// contains filtered or unexported fields
}

func NewNullableInfoResponse added in v1.2.0

func NewNullableInfoResponse(val *InfoResponse) *NullableInfoResponse

func (NullableInfoResponse) Get added in v1.2.0

func (NullableInfoResponse) IsSet added in v1.2.0

func (v NullableInfoResponse) IsSet() bool

func (NullableInfoResponse) MarshalJSON added in v1.2.0

func (v NullableInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableInfoResponse) Set added in v1.2.0

func (v *NullableInfoResponse) Set(val *InfoResponse)

func (*NullableInfoResponse) UnmarshalJSON added in v1.2.0

func (v *NullableInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableInfoResponse) Unset added in v1.2.0

func (v *NullableInfoResponse) 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 NullableIntrospectionRequest

type NullableIntrospectionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIntrospectionRequest

func NewNullableIntrospectionRequest(val *IntrospectionRequest) *NullableIntrospectionRequest

func (NullableIntrospectionRequest) Get

func (NullableIntrospectionRequest) IsSet

func (NullableIntrospectionRequest) MarshalJSON

func (v NullableIntrospectionRequest) MarshalJSON() ([]byte, error)

func (*NullableIntrospectionRequest) Set

func (*NullableIntrospectionRequest) UnmarshalJSON

func (v *NullableIntrospectionRequest) UnmarshalJSON(src []byte) error

func (*NullableIntrospectionRequest) Unset

func (v *NullableIntrospectionRequest) Unset()

type NullableIntrospectionResponse

type NullableIntrospectionResponse struct {
	// contains filtered or unexported fields
}

func (NullableIntrospectionResponse) Get

func (NullableIntrospectionResponse) IsSet

func (NullableIntrospectionResponse) MarshalJSON

func (v NullableIntrospectionResponse) MarshalJSON() ([]byte, error)

func (*NullableIntrospectionResponse) Set

func (*NullableIntrospectionResponse) UnmarshalJSON

func (v *NullableIntrospectionResponse) UnmarshalJSON(src []byte) error

func (*NullableIntrospectionResponse) Unset

func (v *NullableIntrospectionResponse) Unset()

type NullableJoseVerifyRequest

type NullableJoseVerifyRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJoseVerifyRequest

func NewNullableJoseVerifyRequest(val *JoseVerifyRequest) *NullableJoseVerifyRequest

func (NullableJoseVerifyRequest) Get

func (NullableJoseVerifyRequest) IsSet

func (v NullableJoseVerifyRequest) IsSet() bool

func (NullableJoseVerifyRequest) MarshalJSON

func (v NullableJoseVerifyRequest) MarshalJSON() ([]byte, error)

func (*NullableJoseVerifyRequest) Set

func (*NullableJoseVerifyRequest) UnmarshalJSON

func (v *NullableJoseVerifyRequest) UnmarshalJSON(src []byte) error

func (*NullableJoseVerifyRequest) Unset

func (v *NullableJoseVerifyRequest) Unset()

type NullableJoseVerifyResponse

type NullableJoseVerifyResponse struct {
	// contains filtered or unexported fields
}

func NewNullableJoseVerifyResponse

func NewNullableJoseVerifyResponse(val *JoseVerifyResponse) *NullableJoseVerifyResponse

func (NullableJoseVerifyResponse) Get

func (NullableJoseVerifyResponse) IsSet

func (v NullableJoseVerifyResponse) IsSet() bool

func (NullableJoseVerifyResponse) MarshalJSON

func (v NullableJoseVerifyResponse) MarshalJSON() ([]byte, error)

func (*NullableJoseVerifyResponse) Set

func (*NullableJoseVerifyResponse) UnmarshalJSON

func (v *NullableJoseVerifyResponse) UnmarshalJSON(src []byte) error

func (*NullableJoseVerifyResponse) Unset

func (v *NullableJoseVerifyResponse) Unset()

type NullableJweAlg

type NullableJweAlg struct {
	// contains filtered or unexported fields
}

func NewNullableJweAlg

func NewNullableJweAlg(val *JweAlg) *NullableJweAlg

func (NullableJweAlg) Get

func (v NullableJweAlg) Get() *JweAlg

func (NullableJweAlg) IsSet

func (v NullableJweAlg) IsSet() bool

func (NullableJweAlg) MarshalJSON

func (v NullableJweAlg) MarshalJSON() ([]byte, error)

func (*NullableJweAlg) Set

func (v *NullableJweAlg) Set(val *JweAlg)

func (*NullableJweAlg) UnmarshalJSON

func (v *NullableJweAlg) UnmarshalJSON(src []byte) error

func (*NullableJweAlg) Unset

func (v *NullableJweAlg) Unset()

type NullableJweEnc

type NullableJweEnc struct {
	// contains filtered or unexported fields
}

func NewNullableJweEnc

func NewNullableJweEnc(val *JweEnc) *NullableJweEnc

func (NullableJweEnc) Get

func (v NullableJweEnc) Get() *JweEnc

func (NullableJweEnc) IsSet

func (v NullableJweEnc) IsSet() bool

func (NullableJweEnc) MarshalJSON

func (v NullableJweEnc) MarshalJSON() ([]byte, error)

func (*NullableJweEnc) Set

func (v *NullableJweEnc) Set(val *JweEnc)

func (*NullableJweEnc) UnmarshalJSON

func (v *NullableJweEnc) UnmarshalJSON(src []byte) error

func (*NullableJweEnc) Unset

func (v *NullableJweEnc) Unset()

type NullableJwsAlg

type NullableJwsAlg struct {
	// contains filtered or unexported fields
}

func NewNullableJwsAlg

func NewNullableJwsAlg(val *JwsAlg) *NullableJwsAlg

func (NullableJwsAlg) Get

func (v NullableJwsAlg) Get() *JwsAlg

func (NullableJwsAlg) IsSet

func (v NullableJwsAlg) IsSet() bool

func (NullableJwsAlg) MarshalJSON

func (v NullableJwsAlg) MarshalJSON() ([]byte, error)

func (*NullableJwsAlg) Set

func (v *NullableJwsAlg) Set(val *JwsAlg)

func (*NullableJwsAlg) UnmarshalJSON

func (v *NullableJwsAlg) UnmarshalJSON(src []byte) error

func (*NullableJwsAlg) Unset

func (v *NullableJwsAlg) Unset()

type NullableNamedUri

type NullableNamedUri struct {
	// contains filtered or unexported fields
}

func NewNullableNamedUri

func NewNullableNamedUri(val *NamedUri) *NullableNamedUri

func (NullableNamedUri) Get

func (v NullableNamedUri) Get() *NamedUri

func (NullableNamedUri) IsSet

func (v NullableNamedUri) IsSet() bool

func (NullableNamedUri) MarshalJSON

func (v NullableNamedUri) MarshalJSON() ([]byte, error)

func (*NullableNamedUri) Set

func (v *NullableNamedUri) Set(val *NamedUri)

func (*NullableNamedUri) UnmarshalJSON

func (v *NullableNamedUri) UnmarshalJSON(src []byte) error

func (*NullableNamedUri) Unset

func (v *NullableNamedUri) Unset()

type NullablePair

type NullablePair struct {
	// contains filtered or unexported fields
}

func NewNullablePair

func NewNullablePair(val *Pair) *NullablePair

func (NullablePair) Get

func (v NullablePair) Get() *Pair

func (NullablePair) IsSet

func (v NullablePair) IsSet() bool

func (NullablePair) MarshalJSON

func (v NullablePair) MarshalJSON() ([]byte, error)

func (*NullablePair) Set

func (v *NullablePair) Set(val *Pair)

func (*NullablePair) UnmarshalJSON

func (v *NullablePair) UnmarshalJSON(src []byte) error

func (*NullablePair) Unset

func (v *NullablePair) Unset()

type NullablePrompt

type NullablePrompt struct {
	// contains filtered or unexported fields
}

func NewNullablePrompt

func NewNullablePrompt(val *Prompt) *NullablePrompt

func (NullablePrompt) Get

func (v NullablePrompt) Get() *Prompt

func (NullablePrompt) IsSet

func (v NullablePrompt) IsSet() bool

func (NullablePrompt) MarshalJSON

func (v NullablePrompt) MarshalJSON() ([]byte, error)

func (*NullablePrompt) Set

func (v *NullablePrompt) Set(val *Prompt)

func (*NullablePrompt) UnmarshalJSON

func (v *NullablePrompt) UnmarshalJSON(src []byte) error

func (*NullablePrompt) Unset

func (v *NullablePrompt) Unset()

type NullableProperty

type NullableProperty struct {
	// contains filtered or unexported fields
}

func NewNullableProperty

func NewNullableProperty(val *Property) *NullableProperty

func (NullableProperty) Get

func (v NullableProperty) Get() *Property

func (NullableProperty) IsSet

func (v NullableProperty) IsSet() bool

func (NullableProperty) MarshalJSON

func (v NullableProperty) MarshalJSON() ([]byte, error)

func (*NullableProperty) Set

func (v *NullableProperty) Set(val *Property)

func (*NullableProperty) UnmarshalJSON

func (v *NullableProperty) UnmarshalJSON(src []byte) error

func (*NullableProperty) Unset

func (v *NullableProperty) Unset()

type NullablePushedAuthReqRequest added in v1.2.0

type NullablePushedAuthReqRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePushedAuthReqRequest added in v1.2.0

func NewNullablePushedAuthReqRequest(val *PushedAuthReqRequest) *NullablePushedAuthReqRequest

func (NullablePushedAuthReqRequest) Get added in v1.2.0

func (NullablePushedAuthReqRequest) IsSet added in v1.2.0

func (NullablePushedAuthReqRequest) MarshalJSON added in v1.2.0

func (v NullablePushedAuthReqRequest) MarshalJSON() ([]byte, error)

func (*NullablePushedAuthReqRequest) Set added in v1.2.0

func (*NullablePushedAuthReqRequest) UnmarshalJSON added in v1.2.0

func (v *NullablePushedAuthReqRequest) UnmarshalJSON(src []byte) error

func (*NullablePushedAuthReqRequest) Unset added in v1.2.0

func (v *NullablePushedAuthReqRequest) Unset()

type NullablePushedAuthReqResponse added in v1.2.0

type NullablePushedAuthReqResponse struct {
	// contains filtered or unexported fields
}

func NewNullablePushedAuthReqResponse added in v1.2.0

func NewNullablePushedAuthReqResponse(val *PushedAuthReqResponse) *NullablePushedAuthReqResponse

func (NullablePushedAuthReqResponse) Get added in v1.2.0

func (NullablePushedAuthReqResponse) IsSet added in v1.2.0

func (NullablePushedAuthReqResponse) MarshalJSON added in v1.2.0

func (v NullablePushedAuthReqResponse) MarshalJSON() ([]byte, error)

func (*NullablePushedAuthReqResponse) Set added in v1.2.0

func (*NullablePushedAuthReqResponse) UnmarshalJSON added in v1.2.0

func (v *NullablePushedAuthReqResponse) UnmarshalJSON(src []byte) error

func (*NullablePushedAuthReqResponse) Unset added in v1.2.0

func (v *NullablePushedAuthReqResponse) Unset()

type NullablePushedAuthorizationRequest

type NullablePushedAuthorizationRequest struct {
	// contains filtered or unexported fields
}

func (NullablePushedAuthorizationRequest) Get

func (NullablePushedAuthorizationRequest) IsSet

func (NullablePushedAuthorizationRequest) MarshalJSON

func (v NullablePushedAuthorizationRequest) MarshalJSON() ([]byte, error)

func (*NullablePushedAuthorizationRequest) Set

func (*NullablePushedAuthorizationRequest) UnmarshalJSON

func (v *NullablePushedAuthorizationRequest) UnmarshalJSON(src []byte) error

func (*NullablePushedAuthorizationRequest) Unset

type NullablePushedAuthorizationResponse

type NullablePushedAuthorizationResponse struct {
	// contains filtered or unexported fields
}

func (NullablePushedAuthorizationResponse) Get

func (NullablePushedAuthorizationResponse) IsSet

func (NullablePushedAuthorizationResponse) MarshalJSON

func (v NullablePushedAuthorizationResponse) MarshalJSON() ([]byte, error)

func (*NullablePushedAuthorizationResponse) Set

func (*NullablePushedAuthorizationResponse) UnmarshalJSON

func (v *NullablePushedAuthorizationResponse) UnmarshalJSON(src []byte) error

func (*NullablePushedAuthorizationResponse) Unset

type NullableResponseType

type NullableResponseType struct {
	// contains filtered or unexported fields
}

func NewNullableResponseType

func NewNullableResponseType(val *ResponseType) *NullableResponseType

func (NullableResponseType) Get

func (NullableResponseType) IsSet

func (v NullableResponseType) IsSet() bool

func (NullableResponseType) MarshalJSON

func (v NullableResponseType) MarshalJSON() ([]byte, error)

func (*NullableResponseType) Set

func (v *NullableResponseType) Set(val *ResponseType)

func (*NullableResponseType) UnmarshalJSON

func (v *NullableResponseType) UnmarshalJSON(src []byte) error

func (*NullableResponseType) Unset

func (v *NullableResponseType) Unset()

type NullableResult

type NullableResult struct {
	// contains filtered or unexported fields
}

func NewNullableResult

func NewNullableResult(val *Result) *NullableResult

func (NullableResult) Get

func (v NullableResult) Get() *Result

func (NullableResult) IsSet

func (v NullableResult) IsSet() bool

func (NullableResult) MarshalJSON

func (v NullableResult) MarshalJSON() ([]byte, error)

func (*NullableResult) Set

func (v *NullableResult) Set(val *Result)

func (*NullableResult) UnmarshalJSON

func (v *NullableResult) UnmarshalJSON(src []byte) error

func (*NullableResult) Unset

func (v *NullableResult) Unset()

type NullableRevocationRequest

type NullableRevocationRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRevocationRequest

func NewNullableRevocationRequest(val *RevocationRequest) *NullableRevocationRequest

func (NullableRevocationRequest) Get

func (NullableRevocationRequest) IsSet

func (v NullableRevocationRequest) IsSet() bool

func (NullableRevocationRequest) MarshalJSON

func (v NullableRevocationRequest) MarshalJSON() ([]byte, error)

func (*NullableRevocationRequest) Set

func (*NullableRevocationRequest) UnmarshalJSON

func (v *NullableRevocationRequest) UnmarshalJSON(src []byte) error

func (*NullableRevocationRequest) Unset

func (v *NullableRevocationRequest) Unset()

type NullableRevocationResponse

type NullableRevocationResponse struct {
	// contains filtered or unexported fields
}

func NewNullableRevocationResponse

func NewNullableRevocationResponse(val *RevocationResponse) *NullableRevocationResponse

func (NullableRevocationResponse) Get

func (NullableRevocationResponse) IsSet

func (v NullableRevocationResponse) IsSet() bool

func (NullableRevocationResponse) MarshalJSON

func (v NullableRevocationResponse) MarshalJSON() ([]byte, error)

func (*NullableRevocationResponse) Set

func (*NullableRevocationResponse) UnmarshalJSON

func (v *NullableRevocationResponse) UnmarshalJSON(src []byte) error

func (*NullableRevocationResponse) Unset

func (v *NullableRevocationResponse) Unset()

type NullableScope

type NullableScope struct {
	// contains filtered or unexported fields
}

func NewNullableScope

func NewNullableScope(val *Scope) *NullableScope

func (NullableScope) Get

func (v NullableScope) Get() *Scope

func (NullableScope) IsSet

func (v NullableScope) IsSet() bool

func (NullableScope) MarshalJSON

func (v NullableScope) MarshalJSON() ([]byte, error)

func (*NullableScope) Set

func (v *NullableScope) Set(val *Scope)

func (*NullableScope) UnmarshalJSON

func (v *NullableScope) UnmarshalJSON(src []byte) error

func (*NullableScope) Unset

func (v *NullableScope) Unset()

type NullableService

type NullableService struct {
	// contains filtered or unexported fields
}

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

func (v NullableService) MarshalJSON() ([]byte, error)

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

func (v *NullableService) UnmarshalJSON(src []byte) error

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableServiceGetListResponse

type NullableServiceGetListResponse struct {
	// contains filtered or unexported fields
}

func (NullableServiceGetListResponse) Get

func (NullableServiceGetListResponse) IsSet

func (NullableServiceGetListResponse) MarshalJSON

func (v NullableServiceGetListResponse) MarshalJSON() ([]byte, error)

func (*NullableServiceGetListResponse) Set

func (*NullableServiceGetListResponse) UnmarshalJSON

func (v *NullableServiceGetListResponse) UnmarshalJSON(src []byte) error

func (*NullableServiceGetListResponse) Unset

func (v *NullableServiceGetListResponse) Unset()

type NullableServiceJwksGetResponse

type NullableServiceJwksGetResponse struct {
	// contains filtered or unexported fields
}

func (NullableServiceJwksGetResponse) Get

func (NullableServiceJwksGetResponse) IsSet

func (NullableServiceJwksGetResponse) MarshalJSON

func (v NullableServiceJwksGetResponse) MarshalJSON() ([]byte, error)

func (*NullableServiceJwksGetResponse) Set

func (*NullableServiceJwksGetResponse) UnmarshalJSON

func (v *NullableServiceJwksGetResponse) UnmarshalJSON(src []byte) error

func (*NullableServiceJwksGetResponse) Unset

func (v *NullableServiceJwksGetResponse) Unset()

type NullableServiceProfile

type NullableServiceProfile struct {
	// contains filtered or unexported fields
}

func NewNullableServiceProfile

func NewNullableServiceProfile(val *ServiceProfile) *NullableServiceProfile

func (NullableServiceProfile) Get

func (NullableServiceProfile) IsSet

func (v NullableServiceProfile) IsSet() bool

func (NullableServiceProfile) MarshalJSON

func (v NullableServiceProfile) MarshalJSON() ([]byte, error)

func (*NullableServiceProfile) Set

func (*NullableServiceProfile) UnmarshalJSON

func (v *NullableServiceProfile) UnmarshalJSON(src []byte) error

func (*NullableServiceProfile) Unset

func (v *NullableServiceProfile) Unset()

type NullableSns

type NullableSns struct {
	// contains filtered or unexported fields
}

func NewNullableSns

func NewNullableSns(val *Sns) *NullableSns

func (NullableSns) Get

func (v NullableSns) Get() *Sns

func (NullableSns) IsSet

func (v NullableSns) IsSet() bool

func (NullableSns) MarshalJSON

func (v NullableSns) MarshalJSON() ([]byte, error)

func (*NullableSns) Set

func (v *NullableSns) Set(val *Sns)

func (*NullableSns) UnmarshalJSON

func (v *NullableSns) UnmarshalJSON(src []byte) error

func (*NullableSns) Unset

func (v *NullableSns) Unset()

type NullableSnsCredentials

type NullableSnsCredentials struct {
	// contains filtered or unexported fields
}

func NewNullableSnsCredentials

func NewNullableSnsCredentials(val *SnsCredentials) *NullableSnsCredentials

func (NullableSnsCredentials) Get

func (NullableSnsCredentials) IsSet

func (v NullableSnsCredentials) IsSet() bool

func (NullableSnsCredentials) MarshalJSON

func (v NullableSnsCredentials) MarshalJSON() ([]byte, error)

func (*NullableSnsCredentials) Set

func (*NullableSnsCredentials) UnmarshalJSON

func (v *NullableSnsCredentials) UnmarshalJSON(src []byte) error

func (*NullableSnsCredentials) Unset

func (v *NullableSnsCredentials) Unset()

type NullableStandardIntrospectionRequest

type NullableStandardIntrospectionRequest struct {
	// contains filtered or unexported fields
}

func (NullableStandardIntrospectionRequest) Get

func (NullableStandardIntrospectionRequest) IsSet

func (NullableStandardIntrospectionRequest) MarshalJSON

func (v NullableStandardIntrospectionRequest) MarshalJSON() ([]byte, error)

func (*NullableStandardIntrospectionRequest) Set

func (*NullableStandardIntrospectionRequest) UnmarshalJSON

func (v *NullableStandardIntrospectionRequest) UnmarshalJSON(src []byte) error

func (*NullableStandardIntrospectionRequest) Unset

type NullableStandardIntrospectionResponse

type NullableStandardIntrospectionResponse struct {
	// contains filtered or unexported fields
}

func (NullableStandardIntrospectionResponse) Get

func (NullableStandardIntrospectionResponse) IsSet

func (NullableStandardIntrospectionResponse) MarshalJSON

func (v NullableStandardIntrospectionResponse) MarshalJSON() ([]byte, error)

func (*NullableStandardIntrospectionResponse) Set

func (*NullableStandardIntrospectionResponse) UnmarshalJSON

func (v *NullableStandardIntrospectionResponse) UnmarshalJSON(src []byte) error

func (*NullableStandardIntrospectionResponse) 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 NullableSubjectType

type NullableSubjectType struct {
	// contains filtered or unexported fields
}

func NewNullableSubjectType

func NewNullableSubjectType(val *SubjectType) *NullableSubjectType

func (NullableSubjectType) Get

func (NullableSubjectType) IsSet

func (v NullableSubjectType) IsSet() bool

func (NullableSubjectType) MarshalJSON

func (v NullableSubjectType) MarshalJSON() ([]byte, error)

func (*NullableSubjectType) Set

func (v *NullableSubjectType) Set(val *SubjectType)

func (*NullableSubjectType) UnmarshalJSON

func (v *NullableSubjectType) UnmarshalJSON(src []byte) error

func (*NullableSubjectType) Unset

func (v *NullableSubjectType) Unset()

type NullableTaggedValue

type NullableTaggedValue struct {
	// contains filtered or unexported fields
}

func NewNullableTaggedValue

func NewNullableTaggedValue(val *TaggedValue) *NullableTaggedValue

func (NullableTaggedValue) Get

func (NullableTaggedValue) IsSet

func (v NullableTaggedValue) IsSet() bool

func (NullableTaggedValue) MarshalJSON

func (v NullableTaggedValue) MarshalJSON() ([]byte, error)

func (*NullableTaggedValue) Set

func (v *NullableTaggedValue) Set(val *TaggedValue)

func (*NullableTaggedValue) UnmarshalJSON

func (v *NullableTaggedValue) UnmarshalJSON(src []byte) error

func (*NullableTaggedValue) Unset

func (v *NullableTaggedValue) 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 NullableTokenCreateRequest

type NullableTokenCreateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenCreateRequest

func NewNullableTokenCreateRequest(val *TokenCreateRequest) *NullableTokenCreateRequest

func (NullableTokenCreateRequest) Get

func (NullableTokenCreateRequest) IsSet

func (v NullableTokenCreateRequest) IsSet() bool

func (NullableTokenCreateRequest) MarshalJSON

func (v NullableTokenCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenCreateRequest) Set

func (*NullableTokenCreateRequest) UnmarshalJSON

func (v *NullableTokenCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenCreateRequest) Unset

func (v *NullableTokenCreateRequest) Unset()

type NullableTokenCreateResponse

type NullableTokenCreateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenCreateResponse

func NewNullableTokenCreateResponse(val *TokenCreateResponse) *NullableTokenCreateResponse

func (NullableTokenCreateResponse) Get

func (NullableTokenCreateResponse) IsSet

func (NullableTokenCreateResponse) MarshalJSON

func (v NullableTokenCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenCreateResponse) Set

func (*NullableTokenCreateResponse) UnmarshalJSON

func (v *NullableTokenCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenCreateResponse) Unset

func (v *NullableTokenCreateResponse) Unset()

type NullableTokenFailRequest

type NullableTokenFailRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenFailRequest

func NewNullableTokenFailRequest(val *TokenFailRequest) *NullableTokenFailRequest

func (NullableTokenFailRequest) Get

func (NullableTokenFailRequest) IsSet

func (v NullableTokenFailRequest) IsSet() bool

func (NullableTokenFailRequest) MarshalJSON

func (v NullableTokenFailRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenFailRequest) Set

func (*NullableTokenFailRequest) UnmarshalJSON

func (v *NullableTokenFailRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenFailRequest) Unset

func (v *NullableTokenFailRequest) Unset()

type NullableTokenFailResponse

type NullableTokenFailResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenFailResponse

func NewNullableTokenFailResponse(val *TokenFailResponse) *NullableTokenFailResponse

func (NullableTokenFailResponse) Get

func (NullableTokenFailResponse) IsSet

func (v NullableTokenFailResponse) IsSet() bool

func (NullableTokenFailResponse) MarshalJSON

func (v NullableTokenFailResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenFailResponse) Set

func (*NullableTokenFailResponse) UnmarshalJSON

func (v *NullableTokenFailResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenFailResponse) Unset

func (v *NullableTokenFailResponse) Unset()

type NullableTokenGetListResponse

type NullableTokenGetListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenGetListResponse

func NewNullableTokenGetListResponse(val *TokenGetListResponse) *NullableTokenGetListResponse

func (NullableTokenGetListResponse) Get

func (NullableTokenGetListResponse) IsSet

func (NullableTokenGetListResponse) MarshalJSON

func (v NullableTokenGetListResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenGetListResponse) Set

func (*NullableTokenGetListResponse) UnmarshalJSON

func (v *NullableTokenGetListResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenGetListResponse) Unset

func (v *NullableTokenGetListResponse) Unset()

type NullableTokenInfo added in v1.1.1

type NullableTokenInfo struct {
	// contains filtered or unexported fields
}

func NewNullableTokenInfo added in v1.1.1

func NewNullableTokenInfo(val *TokenInfo) *NullableTokenInfo

func (NullableTokenInfo) Get added in v1.1.1

func (v NullableTokenInfo) Get() *TokenInfo

func (NullableTokenInfo) IsSet added in v1.1.1

func (v NullableTokenInfo) IsSet() bool

func (NullableTokenInfo) MarshalJSON added in v1.1.1

func (v NullableTokenInfo) MarshalJSON() ([]byte, error)

func (*NullableTokenInfo) Set added in v1.1.1

func (v *NullableTokenInfo) Set(val *TokenInfo)

func (*NullableTokenInfo) UnmarshalJSON added in v1.1.1

func (v *NullableTokenInfo) UnmarshalJSON(src []byte) error

func (*NullableTokenInfo) Unset added in v1.1.1

func (v *NullableTokenInfo) Unset()

type NullableTokenIssueRequest

type NullableTokenIssueRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenIssueRequest

func NewNullableTokenIssueRequest(val *TokenIssueRequest) *NullableTokenIssueRequest

func (NullableTokenIssueRequest) Get

func (NullableTokenIssueRequest) IsSet

func (v NullableTokenIssueRequest) IsSet() bool

func (NullableTokenIssueRequest) MarshalJSON

func (v NullableTokenIssueRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenIssueRequest) Set

func (*NullableTokenIssueRequest) UnmarshalJSON

func (v *NullableTokenIssueRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenIssueRequest) Unset

func (v *NullableTokenIssueRequest) Unset()

type NullableTokenIssueResponse

type NullableTokenIssueResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenIssueResponse

func NewNullableTokenIssueResponse(val *TokenIssueResponse) *NullableTokenIssueResponse

func (NullableTokenIssueResponse) Get

func (NullableTokenIssueResponse) IsSet

func (v NullableTokenIssueResponse) IsSet() bool

func (NullableTokenIssueResponse) MarshalJSON

func (v NullableTokenIssueResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenIssueResponse) Set

func (*NullableTokenIssueResponse) UnmarshalJSON

func (v *NullableTokenIssueResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenIssueResponse) Unset

func (v *NullableTokenIssueResponse) Unset()

type NullableTokenRequest

type NullableTokenRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenRequest

func NewNullableTokenRequest(val *TokenRequest) *NullableTokenRequest

func (NullableTokenRequest) Get

func (NullableTokenRequest) IsSet

func (v NullableTokenRequest) IsSet() bool

func (NullableTokenRequest) MarshalJSON

func (v NullableTokenRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenRequest) Set

func (v *NullableTokenRequest) Set(val *TokenRequest)

func (*NullableTokenRequest) UnmarshalJSON

func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenRequest) Unset

func (v *NullableTokenRequest) Unset()

type NullableTokenResponse

type NullableTokenResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenResponse

func NewNullableTokenResponse(val *TokenResponse) *NullableTokenResponse

func (NullableTokenResponse) Get

func (NullableTokenResponse) IsSet

func (v NullableTokenResponse) IsSet() bool

func (NullableTokenResponse) MarshalJSON

func (v NullableTokenResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenResponse) Set

func (v *NullableTokenResponse) Set(val *TokenResponse)

func (*NullableTokenResponse) UnmarshalJSON

func (v *NullableTokenResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenResponse) Unset

func (v *NullableTokenResponse) Unset()

type NullableTokenRevokeRequest added in v1.1.1

type NullableTokenRevokeRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenRevokeRequest added in v1.1.1

func NewNullableTokenRevokeRequest(val *TokenRevokeRequest) *NullableTokenRevokeRequest

func (NullableTokenRevokeRequest) Get added in v1.1.1

func (NullableTokenRevokeRequest) IsSet added in v1.1.1

func (v NullableTokenRevokeRequest) IsSet() bool

func (NullableTokenRevokeRequest) MarshalJSON added in v1.1.1

func (v NullableTokenRevokeRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenRevokeRequest) Set added in v1.1.1

func (*NullableTokenRevokeRequest) UnmarshalJSON added in v1.1.1

func (v *NullableTokenRevokeRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenRevokeRequest) Unset added in v1.1.1

func (v *NullableTokenRevokeRequest) Unset()

type NullableTokenRevokeResponse added in v1.1.1

type NullableTokenRevokeResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenRevokeResponse added in v1.1.1

func NewNullableTokenRevokeResponse(val *TokenRevokeResponse) *NullableTokenRevokeResponse

func (NullableTokenRevokeResponse) Get added in v1.1.1

func (NullableTokenRevokeResponse) IsSet added in v1.1.1

func (NullableTokenRevokeResponse) MarshalJSON added in v1.1.1

func (v NullableTokenRevokeResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenRevokeResponse) Set added in v1.1.1

func (*NullableTokenRevokeResponse) UnmarshalJSON added in v1.1.1

func (v *NullableTokenRevokeResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenRevokeResponse) Unset added in v1.1.1

func (v *NullableTokenRevokeResponse) Unset()

type NullableTokenType added in v1.1.1

type NullableTokenType struct {
	// contains filtered or unexported fields
}

func NewNullableTokenType added in v1.1.1

func NewNullableTokenType(val *TokenType) *NullableTokenType

func (NullableTokenType) Get added in v1.1.1

func (v NullableTokenType) Get() *TokenType

func (NullableTokenType) IsSet added in v1.1.1

func (v NullableTokenType) IsSet() bool

func (NullableTokenType) MarshalJSON added in v1.1.1

func (v NullableTokenType) MarshalJSON() ([]byte, error)

func (*NullableTokenType) Set added in v1.1.1

func (v *NullableTokenType) Set(val *TokenType)

func (*NullableTokenType) UnmarshalJSON added in v1.1.1

func (v *NullableTokenType) UnmarshalJSON(src []byte) error

func (*NullableTokenType) Unset added in v1.1.1

func (v *NullableTokenType) Unset()

type NullableTokenUpdateRequest

type NullableTokenUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenUpdateRequest

func NewNullableTokenUpdateRequest(val *TokenUpdateRequest) *NullableTokenUpdateRequest

func (NullableTokenUpdateRequest) Get

func (NullableTokenUpdateRequest) IsSet

func (v NullableTokenUpdateRequest) IsSet() bool

func (NullableTokenUpdateRequest) MarshalJSON

func (v NullableTokenUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenUpdateRequest) Set

func (*NullableTokenUpdateRequest) UnmarshalJSON

func (v *NullableTokenUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenUpdateRequest) Unset

func (v *NullableTokenUpdateRequest) Unset()

type NullableTokenUpdateResponse

type NullableTokenUpdateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenUpdateResponse

func NewNullableTokenUpdateResponse(val *TokenUpdateResponse) *NullableTokenUpdateResponse

func (NullableTokenUpdateResponse) Get

func (NullableTokenUpdateResponse) IsSet

func (NullableTokenUpdateResponse) MarshalJSON

func (v NullableTokenUpdateResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenUpdateResponse) Set

func (*NullableTokenUpdateResponse) UnmarshalJSON

func (v *NullableTokenUpdateResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenUpdateResponse) Unset

func (v *NullableTokenUpdateResponse) Unset()

type NullableTrustAnchor added in v1.1.1

type NullableTrustAnchor struct {
	// contains filtered or unexported fields
}

func NewNullableTrustAnchor added in v1.1.1

func NewNullableTrustAnchor(val *TrustAnchor) *NullableTrustAnchor

func (NullableTrustAnchor) Get added in v1.1.1

func (NullableTrustAnchor) IsSet added in v1.1.1

func (v NullableTrustAnchor) IsSet() bool

func (NullableTrustAnchor) MarshalJSON added in v1.1.1

func (v NullableTrustAnchor) MarshalJSON() ([]byte, error)

func (*NullableTrustAnchor) Set added in v1.1.1

func (v *NullableTrustAnchor) Set(val *TrustAnchor)

func (*NullableTrustAnchor) UnmarshalJSON added in v1.1.1

func (v *NullableTrustAnchor) UnmarshalJSON(src []byte) error

func (*NullableTrustAnchor) Unset added in v1.1.1

func (v *NullableTrustAnchor) Unset()

type NullableUserCodeCharset

type NullableUserCodeCharset struct {
	// contains filtered or unexported fields
}

func NewNullableUserCodeCharset

func NewNullableUserCodeCharset(val *UserCodeCharset) *NullableUserCodeCharset

func (NullableUserCodeCharset) Get

func (NullableUserCodeCharset) IsSet

func (v NullableUserCodeCharset) IsSet() bool

func (NullableUserCodeCharset) MarshalJSON

func (v NullableUserCodeCharset) MarshalJSON() ([]byte, error)

func (*NullableUserCodeCharset) Set

func (*NullableUserCodeCharset) UnmarshalJSON

func (v *NullableUserCodeCharset) UnmarshalJSON(src []byte) error

func (*NullableUserCodeCharset) Unset

func (v *NullableUserCodeCharset) Unset()

type NullableUserinfoIssueRequest

type NullableUserinfoIssueRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUserinfoIssueRequest

func NewNullableUserinfoIssueRequest(val *UserinfoIssueRequest) *NullableUserinfoIssueRequest

func (NullableUserinfoIssueRequest) Get

func (NullableUserinfoIssueRequest) IsSet

func (NullableUserinfoIssueRequest) MarshalJSON

func (v NullableUserinfoIssueRequest) MarshalJSON() ([]byte, error)

func (*NullableUserinfoIssueRequest) Set

func (*NullableUserinfoIssueRequest) UnmarshalJSON

func (v *NullableUserinfoIssueRequest) UnmarshalJSON(src []byte) error

func (*NullableUserinfoIssueRequest) Unset

func (v *NullableUserinfoIssueRequest) Unset()

type NullableUserinfoIssueResponse

type NullableUserinfoIssueResponse struct {
	// contains filtered or unexported fields
}

func (NullableUserinfoIssueResponse) Get

func (NullableUserinfoIssueResponse) IsSet

func (NullableUserinfoIssueResponse) MarshalJSON

func (v NullableUserinfoIssueResponse) MarshalJSON() ([]byte, error)

func (*NullableUserinfoIssueResponse) Set

func (*NullableUserinfoIssueResponse) UnmarshalJSON

func (v *NullableUserinfoIssueResponse) UnmarshalJSON(src []byte) error

func (*NullableUserinfoIssueResponse) Unset

func (v *NullableUserinfoIssueResponse) Unset()

type NullableUserinfoRequest

type NullableUserinfoRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUserinfoRequest

func NewNullableUserinfoRequest(val *UserinfoRequest) *NullableUserinfoRequest

func (NullableUserinfoRequest) Get

func (NullableUserinfoRequest) IsSet

func (v NullableUserinfoRequest) IsSet() bool

func (NullableUserinfoRequest) MarshalJSON

func (v NullableUserinfoRequest) MarshalJSON() ([]byte, error)

func (*NullableUserinfoRequest) Set

func (*NullableUserinfoRequest) UnmarshalJSON

func (v *NullableUserinfoRequest) UnmarshalJSON(src []byte) error

func (*NullableUserinfoRequest) Unset

func (v *NullableUserinfoRequest) Unset()

type NullableUserinfoResponse

type NullableUserinfoResponse struct {
	// contains filtered or unexported fields
}

func NewNullableUserinfoResponse

func NewNullableUserinfoResponse(val *UserinfoResponse) *NullableUserinfoResponse

func (NullableUserinfoResponse) Get

func (NullableUserinfoResponse) IsSet

func (v NullableUserinfoResponse) IsSet() bool

func (NullableUserinfoResponse) MarshalJSON

func (v NullableUserinfoResponse) MarshalJSON() ([]byte, error)

func (*NullableUserinfoResponse) Set

func (*NullableUserinfoResponse) UnmarshalJSON

func (v *NullableUserinfoResponse) UnmarshalJSON(src []byte) error

func (*NullableUserinfoResponse) Unset

func (v *NullableUserinfoResponse) Unset()

type NullableVerifiedClaimsValidationSchema added in v1.2.3

type NullableVerifiedClaimsValidationSchema struct {
	// contains filtered or unexported fields
}

func NewNullableVerifiedClaimsValidationSchema added in v1.2.3

func NewNullableVerifiedClaimsValidationSchema(val *VerifiedClaimsValidationSchema) *NullableVerifiedClaimsValidationSchema

func (NullableVerifiedClaimsValidationSchema) Get added in v1.2.3

func (NullableVerifiedClaimsValidationSchema) IsSet added in v1.2.3

func (NullableVerifiedClaimsValidationSchema) MarshalJSON added in v1.2.3

func (v NullableVerifiedClaimsValidationSchema) MarshalJSON() ([]byte, error)

func (*NullableVerifiedClaimsValidationSchema) Set added in v1.2.3

func (*NullableVerifiedClaimsValidationSchema) UnmarshalJSON added in v1.2.3

func (v *NullableVerifiedClaimsValidationSchema) UnmarshalJSON(src []byte) error

func (*NullableVerifiedClaimsValidationSchema) Unset added in v1.2.3

type Pair

type Pair struct {
	// The key part.
	Key *string `json:"key,omitempty"`
	// The value part.
	Value *string `json:"value,omitempty"`
}

Pair struct for Pair

func NewPair

func NewPair() *Pair

NewPair instantiates a new Pair object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPairWithDefaults

func NewPairWithDefaults() *Pair

NewPairWithDefaults instantiates a new Pair object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Pair) GetKey

func (o *Pair) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Pair) GetKeyOk

func (o *Pair) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pair) GetValue

func (o *Pair) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Pair) GetValueOk

func (o *Pair) GetValueOk() (*string, 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.

func (*Pair) HasKey

func (o *Pair) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Pair) HasValue

func (o *Pair) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Pair) MarshalJSON

func (o Pair) MarshalJSON() ([]byte, error)

func (*Pair) SetKey

func (o *Pair) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*Pair) SetValue

func (o *Pair) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (Pair) ToMap added in v1.1.1

func (o Pair) ToMap() (map[string]interface{}, error)

type Prompt

type Prompt string

Prompt The prompt that the UI displayed to the end-user must satisfy as the minimum level. This value comes from `prompt` request parameter. When the authorization request does not contain `prompt` request parameter, `CONSENT` is used as the default value. See \"[OpenID Connect Core 1.0, 3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), prompt\" for `prompt` request parameter.

const (
	PROMPT_NONE           Prompt = "NONE"
	PROMPT_LOGIN          Prompt = "LOGIN"
	PROMPT_CONSENT        Prompt = "CONSENT"
	PROMPT_SELECT_ACCOUNT Prompt = "SELECT_ACCOUNT"
)

List of Prompt

func NewPromptFromValue

func NewPromptFromValue(v string) (*Prompt, error)

NewPromptFromValue returns a pointer to a valid Prompt for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Prompt) IsValid

func (v Prompt) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Prompt) Ptr

func (v Prompt) Ptr() *Prompt

Ptr returns reference to Prompt value

func (*Prompt) UnmarshalJSON

func (v *Prompt) UnmarshalJSON(src []byte) error

type Property

type Property struct {
	// The key part.
	Key *string `json:"key,omitempty"`
	// The value part.
	Value *string `json:"value,omitempty"`
	// The flag to indicate whether this property hidden from or visible to client applications. If `true`, this property is hidden from client applications. Otherwise, this property is visible to client applications.
	Hidden *bool `json:"hidden,omitempty"`
}

Property struct for Property

func NewProperty

func NewProperty() *Property

NewProperty instantiates a new Property object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPropertyWithDefaults

func NewPropertyWithDefaults() *Property

NewPropertyWithDefaults instantiates a new Property object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Property) GetHidden

func (o *Property) GetHidden() bool

GetHidden returns the Hidden field value if set, zero value otherwise.

func (*Property) GetHiddenOk

func (o *Property) GetHiddenOk() (*bool, bool)

GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetKey

func (o *Property) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Property) GetKeyOk

func (o *Property) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Property) GetValue

func (o *Property) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Property) GetValueOk

func (o *Property) GetValueOk() (*string, 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.

func (*Property) HasHidden

func (o *Property) HasHidden() bool

HasHidden returns a boolean if a field has been set.

func (*Property) HasKey

func (o *Property) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Property) HasValue

func (o *Property) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Property) MarshalJSON

func (o Property) MarshalJSON() ([]byte, error)

func (*Property) SetHidden

func (o *Property) SetHidden(v bool)

SetHidden gets a reference to the given bool and assigns it to the Hidden field.

func (*Property) SetKey

func (o *Property) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*Property) SetValue

func (o *Property) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (Property) ToMap added in v1.1.1

func (o Property) ToMap() (map[string]interface{}, error)

type PushedAuthReqRequest added in v1.2.0

type PushedAuthReqRequest struct {
	// The pushed authorization request body received from the client application.  The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
	Parameters string `json:"parameters"`
	// The client ID extracted from `Authorization` header of the pushed request from the client application.
	ClientId *string `json:"clientId,omitempty"`
	// The client secret extracted from `Authorization` header of the pushed authorization request from the client application.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The client certificate from the MTLS connection to pushed authorization endpoint from the client application.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// The certificate path presented by the client during client authentication. These certificates are strings in PEM format.
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty"`
}

PushedAuthReqRequest struct for PushedAuthReqRequest

func NewPushedAuthReqRequest added in v1.2.0

func NewPushedAuthReqRequest(parameters string) *PushedAuthReqRequest

NewPushedAuthReqRequest instantiates a new PushedAuthReqRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushedAuthReqRequestWithDefaults added in v1.2.0

func NewPushedAuthReqRequestWithDefaults() *PushedAuthReqRequest

NewPushedAuthReqRequestWithDefaults instantiates a new PushedAuthReqRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushedAuthReqRequest) GetClientCertificate added in v1.2.0

func (o *PushedAuthReqRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*PushedAuthReqRequest) GetClientCertificateOk added in v1.2.0

func (o *PushedAuthReqRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqRequest) GetClientCertificatePath added in v1.2.0

func (o *PushedAuthReqRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field value if set, zero value otherwise.

func (*PushedAuthReqRequest) GetClientCertificatePathOk added in v1.2.0

func (o *PushedAuthReqRequest) GetClientCertificatePathOk() (*string, bool)

GetClientCertificatePathOk returns a tuple with the ClientCertificatePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqRequest) GetClientId added in v1.2.0

func (o *PushedAuthReqRequest) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*PushedAuthReqRequest) GetClientIdOk added in v1.2.0

func (o *PushedAuthReqRequest) 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 (*PushedAuthReqRequest) GetClientSecret added in v1.2.0

func (o *PushedAuthReqRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*PushedAuthReqRequest) GetClientSecretOk added in v1.2.0

func (o *PushedAuthReqRequest) 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 (*PushedAuthReqRequest) GetParameters added in v1.2.0

func (o *PushedAuthReqRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*PushedAuthReqRequest) GetParametersOk added in v1.2.0

func (o *PushedAuthReqRequest) GetParametersOk() (*string, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*PushedAuthReqRequest) HasClientCertificate added in v1.2.0

func (o *PushedAuthReqRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*PushedAuthReqRequest) HasClientCertificatePath added in v1.2.0

func (o *PushedAuthReqRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

func (*PushedAuthReqRequest) HasClientId added in v1.2.0

func (o *PushedAuthReqRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*PushedAuthReqRequest) HasClientSecret added in v1.2.0

func (o *PushedAuthReqRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (PushedAuthReqRequest) MarshalJSON added in v1.2.0

func (o PushedAuthReqRequest) MarshalJSON() ([]byte, error)

func (*PushedAuthReqRequest) SetClientCertificate added in v1.2.0

func (o *PushedAuthReqRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*PushedAuthReqRequest) SetClientCertificatePath added in v1.2.0

func (o *PushedAuthReqRequest) SetClientCertificatePath(v string)

SetClientCertificatePath gets a reference to the given string and assigns it to the ClientCertificatePath field.

func (*PushedAuthReqRequest) SetClientId added in v1.2.0

func (o *PushedAuthReqRequest) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*PushedAuthReqRequest) SetClientSecret added in v1.2.0

func (o *PushedAuthReqRequest) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*PushedAuthReqRequest) SetParameters added in v1.2.0

func (o *PushedAuthReqRequest) SetParameters(v string)

SetParameters sets field value

func (PushedAuthReqRequest) ToMap added in v1.2.0

func (o PushedAuthReqRequest) ToMap() (map[string]interface{}, error)

type PushedAuthReqResponse added in v1.2.0

type PushedAuthReqResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take. Any other value other than `CREATED` should be handled as unsuccessful result.
	Action *string `json:"action,omitempty"`
	// The request_uri created to the client to be used as request_uri on the authorize call.
	RequestUri *string `json:"requestUri,omitempty"`
	// The content that the authorization server implementation is to return to the client application.
	ResponseContent *string `json:"responseContent,omitempty"`
}

PushedAuthReqResponse struct for PushedAuthReqResponse

func NewPushedAuthReqResponse added in v1.2.0

func NewPushedAuthReqResponse() *PushedAuthReqResponse

NewPushedAuthReqResponse instantiates a new PushedAuthReqResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushedAuthReqResponseWithDefaults added in v1.2.0

func NewPushedAuthReqResponseWithDefaults() *PushedAuthReqResponse

NewPushedAuthReqResponseWithDefaults instantiates a new PushedAuthReqResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushedAuthReqResponse) GetAction added in v1.2.0

func (o *PushedAuthReqResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*PushedAuthReqResponse) GetActionOk added in v1.2.0

func (o *PushedAuthReqResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqResponse) GetRequestUri added in v1.2.0

func (o *PushedAuthReqResponse) GetRequestUri() string

GetRequestUri returns the RequestUri field value if set, zero value otherwise.

func (*PushedAuthReqResponse) GetRequestUriOk added in v1.2.0

func (o *PushedAuthReqResponse) GetRequestUriOk() (*string, bool)

GetRequestUriOk returns a tuple with the RequestUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqResponse) GetResponseContent added in v1.2.0

func (o *PushedAuthReqResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*PushedAuthReqResponse) GetResponseContentOk added in v1.2.0

func (o *PushedAuthReqResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqResponse) GetResultCode added in v1.2.0

func (o *PushedAuthReqResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*PushedAuthReqResponse) GetResultCodeOk added in v1.2.0

func (o *PushedAuthReqResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqResponse) GetResultMessage added in v1.2.0

func (o *PushedAuthReqResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*PushedAuthReqResponse) GetResultMessageOk added in v1.2.0

func (o *PushedAuthReqResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthReqResponse) HasAction added in v1.2.0

func (o *PushedAuthReqResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*PushedAuthReqResponse) HasRequestUri added in v1.2.0

func (o *PushedAuthReqResponse) HasRequestUri() bool

HasRequestUri returns a boolean if a field has been set.

func (*PushedAuthReqResponse) HasResponseContent added in v1.2.0

func (o *PushedAuthReqResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*PushedAuthReqResponse) HasResultCode added in v1.2.0

func (o *PushedAuthReqResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*PushedAuthReqResponse) HasResultMessage added in v1.2.0

func (o *PushedAuthReqResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (PushedAuthReqResponse) MarshalJSON added in v1.2.0

func (o PushedAuthReqResponse) MarshalJSON() ([]byte, error)

func (*PushedAuthReqResponse) SetAction added in v1.2.0

func (o *PushedAuthReqResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*PushedAuthReqResponse) SetRequestUri added in v1.2.0

func (o *PushedAuthReqResponse) SetRequestUri(v string)

SetRequestUri gets a reference to the given string and assigns it to the RequestUri field.

func (*PushedAuthReqResponse) SetResponseContent added in v1.2.0

func (o *PushedAuthReqResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*PushedAuthReqResponse) SetResultCode added in v1.2.0

func (o *PushedAuthReqResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*PushedAuthReqResponse) SetResultMessage added in v1.2.0

func (o *PushedAuthReqResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (PushedAuthReqResponse) ToMap added in v1.2.0

func (o PushedAuthReqResponse) ToMap() (map[string]interface{}, error)

type PushedAuthorizationEndpointApi

type PushedAuthorizationEndpointApi interface {

	/*
		PushedAuthReqApi /api/pushed_auth_req API

		This API creates a pushed request authorization. It authenticates the client and creates a authorization_uri to be returned by the authorization server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiPushedAuthReqApiRequest
	*/
	PushedAuthReqApi(ctx context.Context) ApiPushedAuthReqApiRequest

	// PushedAuthReqApiExecute executes the request
	//  @return PushedAuthorizationResponse
	PushedAuthReqApiExecute(r ApiPushedAuthReqApiRequest) (*PushedAuthorizationResponse, *http.Response, error)
}

type PushedAuthorizationEndpointApiService

type PushedAuthorizationEndpointApiService service

PushedAuthorizationEndpointApiService PushedAuthorizationEndpointApi service

func (*PushedAuthorizationEndpointApiService) PushedAuthReqApi added in v1.2.0

PushedAuthReqApi /api/pushed_auth_req API

This API creates a pushed request authorization. It authenticates the client and creates a authorization_uri to be returned by the authorization server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPushedAuthReqApiRequest

func (*PushedAuthorizationEndpointApiService) PushedAuthReqApiExecute added in v1.2.0

Execute executes the request

@return PushedAuthorizationResponse

type PushedAuthorizationRequest

type PushedAuthorizationRequest struct {
	// The pushed authorization request body received from the client application.  The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
	Parameters string `json:"parameters"`
	// The client ID extracted from `Authorization` header of the pushed request from the client application.
	ClientId *string `json:"clientId,omitempty"`
	// The client secret extracted from `Authorization` header of the pushed authorization request from the client application.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The client certificate from the MTLS connection to pushed authorization endpoint from the client application.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// The certificate path presented by the client during client authentication. These certificates are strings in PEM format.
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty"`
	// DPoP Header
	Dpop *string `json:"dpop,omitempty"`
	// HTTP Method (for DPoP validation).
	Htm *string `json:"htm,omitempty"`
	// HTTP URL base (for DPoP validation).
	Htu *string `json:"htu,omitempty"`
}

PushedAuthorizationRequest struct for PushedAuthorizationRequest

func NewPushedAuthorizationRequest

func NewPushedAuthorizationRequest(parameters string) *PushedAuthorizationRequest

NewPushedAuthorizationRequest instantiates a new PushedAuthorizationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushedAuthorizationRequestWithDefaults

func NewPushedAuthorizationRequestWithDefaults() *PushedAuthorizationRequest

NewPushedAuthorizationRequestWithDefaults instantiates a new PushedAuthorizationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushedAuthorizationRequest) GetClientCertificate

func (o *PushedAuthorizationRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetClientCertificateOk

func (o *PushedAuthorizationRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationRequest) GetClientCertificatePath

func (o *PushedAuthorizationRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetClientCertificatePathOk

func (o *PushedAuthorizationRequest) GetClientCertificatePathOk() (*string, bool)

GetClientCertificatePathOk returns a tuple with the ClientCertificatePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationRequest) GetClientId

func (o *PushedAuthorizationRequest) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetClientIdOk

func (o *PushedAuthorizationRequest) 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 (*PushedAuthorizationRequest) GetClientSecret

func (o *PushedAuthorizationRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetClientSecretOk

func (o *PushedAuthorizationRequest) 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 (*PushedAuthorizationRequest) GetDpop added in v1.2.0

func (o *PushedAuthorizationRequest) GetDpop() string

GetDpop returns the Dpop field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetDpopOk added in v1.2.0

func (o *PushedAuthorizationRequest) GetDpopOk() (*string, bool)

GetDpopOk returns a tuple with the Dpop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationRequest) GetHtm added in v1.2.0

func (o *PushedAuthorizationRequest) GetHtm() string

GetHtm returns the Htm field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetHtmOk added in v1.2.0

func (o *PushedAuthorizationRequest) GetHtmOk() (*string, bool)

GetHtmOk returns a tuple with the Htm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationRequest) GetHtu added in v1.2.0

func (o *PushedAuthorizationRequest) GetHtu() string

GetHtu returns the Htu field value if set, zero value otherwise.

func (*PushedAuthorizationRequest) GetHtuOk added in v1.2.0

func (o *PushedAuthorizationRequest) GetHtuOk() (*string, bool)

GetHtuOk returns a tuple with the Htu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationRequest) GetParameters

func (o *PushedAuthorizationRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*PushedAuthorizationRequest) GetParametersOk

func (o *PushedAuthorizationRequest) GetParametersOk() (*string, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*PushedAuthorizationRequest) HasClientCertificate

func (o *PushedAuthorizationRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*PushedAuthorizationRequest) HasClientCertificatePath

func (o *PushedAuthorizationRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

func (*PushedAuthorizationRequest) HasClientId

func (o *PushedAuthorizationRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*PushedAuthorizationRequest) HasClientSecret

func (o *PushedAuthorizationRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*PushedAuthorizationRequest) HasDpop added in v1.2.0

func (o *PushedAuthorizationRequest) HasDpop() bool

HasDpop returns a boolean if a field has been set.

func (*PushedAuthorizationRequest) HasHtm added in v1.2.0

func (o *PushedAuthorizationRequest) HasHtm() bool

HasHtm returns a boolean if a field has been set.

func (*PushedAuthorizationRequest) HasHtu added in v1.2.0

func (o *PushedAuthorizationRequest) HasHtu() bool

HasHtu returns a boolean if a field has been set.

func (PushedAuthorizationRequest) MarshalJSON

func (o PushedAuthorizationRequest) MarshalJSON() ([]byte, error)

func (*PushedAuthorizationRequest) SetClientCertificate

func (o *PushedAuthorizationRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*PushedAuthorizationRequest) SetClientCertificatePath

func (o *PushedAuthorizationRequest) SetClientCertificatePath(v string)

SetClientCertificatePath gets a reference to the given string and assigns it to the ClientCertificatePath field.

func (*PushedAuthorizationRequest) SetClientId

func (o *PushedAuthorizationRequest) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*PushedAuthorizationRequest) SetClientSecret

func (o *PushedAuthorizationRequest) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*PushedAuthorizationRequest) SetDpop added in v1.2.0

func (o *PushedAuthorizationRequest) SetDpop(v string)

SetDpop gets a reference to the given string and assigns it to the Dpop field.

func (*PushedAuthorizationRequest) SetHtm added in v1.2.0

func (o *PushedAuthorizationRequest) SetHtm(v string)

SetHtm gets a reference to the given string and assigns it to the Htm field.

func (*PushedAuthorizationRequest) SetHtu added in v1.2.0

func (o *PushedAuthorizationRequest) SetHtu(v string)

SetHtu gets a reference to the given string and assigns it to the Htu field.

func (*PushedAuthorizationRequest) SetParameters

func (o *PushedAuthorizationRequest) SetParameters(v string)

SetParameters sets field value

func (PushedAuthorizationRequest) ToMap added in v1.1.1

func (o PushedAuthorizationRequest) ToMap() (map[string]interface{}, error)

type PushedAuthorizationResponse

type PushedAuthorizationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take. Any other value other than \"CREATED\" should be handled as unsuccessful result.
	Action *string `json:"action,omitempty"`
	// The request_uri created to the client to be used as request_uri on the authorize call.
	RequestUri *string `json:"requestUri,omitempty"`
	// The content that the authorization server implementation is to return to the client application.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The client authentication method that the client application declares that it uses at the token endpoint. This property corresponds to `token_endpoint_auth_method` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
	ClientAuthMethod *string `json:"clientAuthMethod,omitempty"`
}

PushedAuthorizationResponse struct for PushedAuthorizationResponse

func NewPushedAuthorizationResponse

func NewPushedAuthorizationResponse() *PushedAuthorizationResponse

NewPushedAuthorizationResponse instantiates a new PushedAuthorizationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushedAuthorizationResponseWithDefaults

func NewPushedAuthorizationResponseWithDefaults() *PushedAuthorizationResponse

NewPushedAuthorizationResponseWithDefaults instantiates a new PushedAuthorizationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushedAuthorizationResponse) GetAction

func (o *PushedAuthorizationResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*PushedAuthorizationResponse) GetActionOk

func (o *PushedAuthorizationResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationResponse) GetClientAuthMethod

func (o *PushedAuthorizationResponse) GetClientAuthMethod() string

GetClientAuthMethod returns the ClientAuthMethod field value if set, zero value otherwise.

func (*PushedAuthorizationResponse) GetClientAuthMethodOk

func (o *PushedAuthorizationResponse) GetClientAuthMethodOk() (*string, bool)

GetClientAuthMethodOk returns a tuple with the ClientAuthMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationResponse) GetRequestUri

func (o *PushedAuthorizationResponse) GetRequestUri() string

GetRequestUri returns the RequestUri field value if set, zero value otherwise.

func (*PushedAuthorizationResponse) GetRequestUriOk

func (o *PushedAuthorizationResponse) GetRequestUriOk() (*string, bool)

GetRequestUriOk returns a tuple with the RequestUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationResponse) GetResponseContent

func (o *PushedAuthorizationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*PushedAuthorizationResponse) GetResponseContentOk

func (o *PushedAuthorizationResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationResponse) GetResultCode

func (o *PushedAuthorizationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*PushedAuthorizationResponse) GetResultCodeOk

func (o *PushedAuthorizationResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationResponse) GetResultMessage

func (o *PushedAuthorizationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*PushedAuthorizationResponse) GetResultMessageOk

func (o *PushedAuthorizationResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushedAuthorizationResponse) HasAction

func (o *PushedAuthorizationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*PushedAuthorizationResponse) HasClientAuthMethod

func (o *PushedAuthorizationResponse) HasClientAuthMethod() bool

HasClientAuthMethod returns a boolean if a field has been set.

func (*PushedAuthorizationResponse) HasRequestUri

func (o *PushedAuthorizationResponse) HasRequestUri() bool

HasRequestUri returns a boolean if a field has been set.

func (*PushedAuthorizationResponse) HasResponseContent

func (o *PushedAuthorizationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*PushedAuthorizationResponse) HasResultCode

func (o *PushedAuthorizationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*PushedAuthorizationResponse) HasResultMessage

func (o *PushedAuthorizationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (PushedAuthorizationResponse) MarshalJSON

func (o PushedAuthorizationResponse) MarshalJSON() ([]byte, error)

func (*PushedAuthorizationResponse) SetAction

func (o *PushedAuthorizationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*PushedAuthorizationResponse) SetClientAuthMethod

func (o *PushedAuthorizationResponse) SetClientAuthMethod(v string)

SetClientAuthMethod gets a reference to the given string and assigns it to the ClientAuthMethod field.

func (*PushedAuthorizationResponse) SetRequestUri

func (o *PushedAuthorizationResponse) SetRequestUri(v string)

SetRequestUri gets a reference to the given string and assigns it to the RequestUri field.

func (*PushedAuthorizationResponse) SetResponseContent

func (o *PushedAuthorizationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*PushedAuthorizationResponse) SetResultCode

func (o *PushedAuthorizationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*PushedAuthorizationResponse) SetResultMessage

func (o *PushedAuthorizationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (PushedAuthorizationResponse) ToMap added in v1.1.1

func (o PushedAuthorizationResponse) ToMap() (map[string]interface{}, error)

type ResponseType

type ResponseType string

ResponseType the model 'ResponseType'

const (
	RESPONSETYPE_NONE                ResponseType = "NONE"
	RESPONSETYPE_CODE                ResponseType = "CODE"
	RESPONSETYPE_TOKEN               ResponseType = "TOKEN"
	RESPONSETYPE_ID_TOKEN            ResponseType = "ID_TOKEN"
	RESPONSETYPE_CODE_TOKEN          ResponseType = "CODE_TOKEN"
	RESPONSETYPE_CODE_ID_TOKEN       ResponseType = "CODE_ID_TOKEN"
	RESPONSETYPE_ID_TOKEN_TOKEN      ResponseType = "ID_TOKEN_TOKEN"
	RESPONSETYPE_CODE_ID_TOKEN_TOKEN ResponseType = "CODE_ID_TOKEN_TOKEN"
)

List of response_type

func NewResponseTypeFromValue

func NewResponseTypeFromValue(v string) (*ResponseType, error)

NewResponseTypeFromValue returns a pointer to a valid ResponseType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ResponseType) IsValid

func (v ResponseType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ResponseType) Ptr

func (v ResponseType) Ptr() *ResponseType

Ptr returns reference to response_type value

func (*ResponseType) UnmarshalJSON

func (v *ResponseType) UnmarshalJSON(src []byte) error

type Result

type Result struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
}

Result struct for Result

func NewResult

func NewResult() *Result

NewResult instantiates a new Result object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResultWithDefaults

func NewResultWithDefaults() *Result

NewResultWithDefaults instantiates a new Result object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Result) GetResultCode

func (o *Result) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*Result) GetResultCodeOk

func (o *Result) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Result) GetResultMessage

func (o *Result) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*Result) GetResultMessageOk

func (o *Result) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Result) HasResultCode

func (o *Result) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*Result) HasResultMessage

func (o *Result) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (Result) MarshalJSON

func (o Result) MarshalJSON() ([]byte, error)

func (*Result) SetResultCode

func (o *Result) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*Result) SetResultMessage

func (o *Result) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (Result) ToMap added in v1.1.1

func (o Result) ToMap() (map[string]interface{}, error)

type RevocationEndpointApi

type RevocationEndpointApi interface {

	/*
		AuthRevocationApi /api/auth/revocation API

		This API revokes access tokens and refresh tokens.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the revocation endpoint ([RFC
	7009](tools.ietf.org/html/rfc7009)) of the authorization server implementation in order to revoke
	access tokens and refresh tokens.

	The response from `/auth/revocation` API has some parameters. Among them, it is `action` parameter
	that the authorization server implementation should check first because it denotes the next action
	that the authorization server implementation should take. According to the value of `action`, the
	authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error".

	The value of `responseContent` is a JSON string which describes the error, so it can be
	used as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**INVALID_CLIENT**

	When the value of `action` is `INVALID_CLIENT`, it means that authentication of the client failed.
	In this case, the HTTP status of the response to the client application is either "400 Bad Request"
	or "401 Unauthorized". The description about `invalid_client` shown below is an excerpt from [RFC
	6749](https://datatracker.ietf.org/doc/html/rfc6749).

	`invalid_client`

	> Client authentication failed (e.g., unknown client, no client authentication included, or unsupported
	authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code
	to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate
	via the `Authorization` request header field, the authorization server MUST respond with an HTTP
	401 (Unauthorized) status code and include the `WWW-Authenticate` response header field matching
	the authentication scheme used by the client.

	In either case, the value of `responseContent` is a JSON string which can be used as the entity
	body of the response to the client application.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	<br>

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: {challenge}
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	is invalid.

	The HTTP status of the response returned to the client application must be "400 Bad Request" and
	the content type must be `application/json`. [RFC 7009](https://datatracker.ietf.org/doc/html/rfc7009),
	[2.2.1. Error Respons](https://datatracker.ietf.org/doc/html/rfc7009#section-2.2.1) states "The
	error presentation conforms to the definition in [Section 5.2](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2)
	of [[RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749)]."

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the authorization server implementation should generate
	and return to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**OK**

	When the value of `action` is `OK`, it means that the request from the client application is valid
	and the presented token has been revoked successfully or if the client submitted an invalid token.
	Note that invalid tokens do not cause an error. See [2.2. Revocation Response](https://datatracker.ietf.org/doc/html/rfc7009#section-2.2) for details.

	The HTTP status of the response returned to the client application must be 200 OK.

	If the original request from the client application contains callback request parameter and its
	value is not empty, the content type should be `application/javascript` and the content should be
	a JavaScript snippet for JSONP.

	The value of `responseContent` is JavaScript snippet if the original request from the client application
	contains callback request parameter and its value is not empty. Otherwise, the value of `responseContent`
	is `null`.

	“`
	HTTP/1.1 200 OK
	Content-Type: application/javascript
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthRevocationApiRequest
	*/
	AuthRevocationApi(ctx context.Context) ApiAuthRevocationApiRequest

	// AuthRevocationApiExecute executes the request
	//  @return RevocationResponse
	AuthRevocationApiExecute(r ApiAuthRevocationApiRequest) (*RevocationResponse, *http.Response, error)
}

type RevocationEndpointApiService

type RevocationEndpointApiService service

RevocationEndpointApiService RevocationEndpointApi service

func (*RevocationEndpointApiService) AuthRevocationApi

AuthRevocationApi /api/auth/revocation API

This API revokes access tokens and refresh tokens.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the revocation endpoint ([RFC 7009](tools.ietf.org/html/rfc7009)) of the authorization server implementation in order to revoke access tokens and refresh tokens.

The response from `/auth/revocation` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**INVALID_CLIENT**

When the value of `action` is `INVALID_CLIENT`, it means that authentication of the client failed. In this case, the HTTP status of the response to the client application is either "400 Bad Request" or "401 Unauthorized". The description about `invalid_client` shown below is an excerpt from [RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749).

`invalid_client`

> Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the `Authorization` request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code and include the `WWW-Authenticate` response header field matching the authentication scheme used by the client.

In either case, the value of `responseContent` is a JSON string which can be used as the entity body of the response to the client application.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

<br>

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: {challenge} Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application is invalid.

The HTTP status of the response returned to the client application must be "400 Bad Request" and the content type must be `application/json`. [RFC 7009](https://datatracker.ietf.org/doc/html/rfc7009), [2.2.1. Error Respons](https://datatracker.ietf.org/doc/html/rfc7009#section-2.2.1) states "The error presentation conforms to the definition in [Section 5.2](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2) of [[RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749)]."

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the authorization server implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**OK**

When the value of `action` is `OK`, it means that the request from the client application is valid and the presented token has been revoked successfully or if the client submitted an invalid token. Note that invalid tokens do not cause an error. See [2.2. Revocation Response](https://datatracker.ietf.org/doc/html/rfc7009#section-2.2) for details.

The HTTP status of the response returned to the client application must be 200 OK.

If the original request from the client application contains callback request parameter and its value is not empty, the content type should be `application/javascript` and the content should be a JavaScript snippet for JSONP.

The value of `responseContent` is JavaScript snippet if the original request from the client application contains callback request parameter and its value is not empty. Otherwise, the value of `responseContent` is `null`.

``` HTTP/1.1 200 OK Content-Type: application/javascript Cache-Control: no-store Pragma: no-cache

{responseContent} ``` </details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthRevocationApiRequest

func (*RevocationEndpointApiService) AuthRevocationApiExecute

Execute executes the request

@return RevocationResponse

type RevocationRequest

type RevocationRequest struct {
	// OAuth 2.0 token revocation request parameters which are the request parameters that the OAuth 2.0 token revocation endpoint ([RFC 7009](https://datatracker.ietf.org/doc/html/rfc7009)) of the authorization server implementation received from the client application.  The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
	Parameters string `json:"parameters"`
	// The client ID extracted from `Authorization` header of the revocation request from the client application.  If the revocation endpoint of the authorization server implementation supports Basic Authentication as a means of client authentication, and the request from the client application contains its client ID in `Authorization` header, the value should be extracted and set to this parameter.
	ClientId *string `json:"clientId,omitempty"`
	// The client secret extracted from `Authorization` header of the revocation request from the client application.  If the revocation endpoint of the authorization server implementation supports basic authentication as a means of client authentication, and the request from the client application contained its client secret in `Authorization` header, the value should be extracted and set to this parameter.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The client certificate used in the TLS connection between the client application and the revocation endpoint.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// The certificate path presented by the client during client authentication.
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty"`
}

RevocationRequest struct for RevocationRequest

func NewRevocationRequest

func NewRevocationRequest(parameters string) *RevocationRequest

NewRevocationRequest instantiates a new RevocationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRevocationRequestWithDefaults

func NewRevocationRequestWithDefaults() *RevocationRequest

NewRevocationRequestWithDefaults instantiates a new RevocationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RevocationRequest) GetClientCertificate

func (o *RevocationRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*RevocationRequest) GetClientCertificateOk

func (o *RevocationRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevocationRequest) GetClientCertificatePath

func (o *RevocationRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field value if set, zero value otherwise.

func (*RevocationRequest) GetClientCertificatePathOk

func (o *RevocationRequest) GetClientCertificatePathOk() (*string, bool)

GetClientCertificatePathOk returns a tuple with the ClientCertificatePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevocationRequest) GetClientId

func (o *RevocationRequest) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*RevocationRequest) GetClientIdOk

func (o *RevocationRequest) 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 (*RevocationRequest) GetClientSecret

func (o *RevocationRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*RevocationRequest) GetClientSecretOk

func (o *RevocationRequest) 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 (*RevocationRequest) GetParameters

func (o *RevocationRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*RevocationRequest) GetParametersOk

func (o *RevocationRequest) GetParametersOk() (*string, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*RevocationRequest) HasClientCertificate

func (o *RevocationRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*RevocationRequest) HasClientCertificatePath

func (o *RevocationRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

func (*RevocationRequest) HasClientId

func (o *RevocationRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*RevocationRequest) HasClientSecret

func (o *RevocationRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (RevocationRequest) MarshalJSON

func (o RevocationRequest) MarshalJSON() ([]byte, error)

func (*RevocationRequest) SetClientCertificate

func (o *RevocationRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*RevocationRequest) SetClientCertificatePath

func (o *RevocationRequest) SetClientCertificatePath(v string)

SetClientCertificatePath gets a reference to the given string and assigns it to the ClientCertificatePath field.

func (*RevocationRequest) SetClientId

func (o *RevocationRequest) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*RevocationRequest) SetClientSecret

func (o *RevocationRequest) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*RevocationRequest) SetParameters

func (o *RevocationRequest) SetParameters(v string)

SetParameters sets field value

func (RevocationRequest) ToMap added in v1.1.1

func (o RevocationRequest) ToMap() (map[string]interface{}, error)

type RevocationResponse

type RevocationResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
}

RevocationResponse struct for RevocationResponse

func NewRevocationResponse

func NewRevocationResponse() *RevocationResponse

NewRevocationResponse instantiates a new RevocationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRevocationResponseWithDefaults

func NewRevocationResponseWithDefaults() *RevocationResponse

NewRevocationResponseWithDefaults instantiates a new RevocationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RevocationResponse) GetAction

func (o *RevocationResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*RevocationResponse) GetActionOk

func (o *RevocationResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevocationResponse) GetResponseContent

func (o *RevocationResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*RevocationResponse) GetResponseContentOk

func (o *RevocationResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevocationResponse) GetResultCode

func (o *RevocationResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*RevocationResponse) GetResultCodeOk

func (o *RevocationResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevocationResponse) GetResultMessage

func (o *RevocationResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*RevocationResponse) GetResultMessageOk

func (o *RevocationResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RevocationResponse) HasAction

func (o *RevocationResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*RevocationResponse) HasResponseContent

func (o *RevocationResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*RevocationResponse) HasResultCode

func (o *RevocationResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*RevocationResponse) HasResultMessage

func (o *RevocationResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (RevocationResponse) MarshalJSON

func (o RevocationResponse) MarshalJSON() ([]byte, error)

func (*RevocationResponse) SetAction

func (o *RevocationResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*RevocationResponse) SetResponseContent

func (o *RevocationResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*RevocationResponse) SetResultCode

func (o *RevocationResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*RevocationResponse) SetResultMessage

func (o *RevocationResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (RevocationResponse) ToMap added in v1.1.1

func (o RevocationResponse) ToMap() (map[string]interface{}, error)

type Scope

type Scope struct {
	// The name of the scope.
	Name *string `json:"name,omitempty"`
	// `true` to mark the scope as default. Scopes marked as default are regarded as requested when an authorization request from a client application does not contain scope request parameter.
	DefaultEntry *bool `json:"defaultEntry,omitempty"`
	// The description about the scope.
	Description *string `json:"description,omitempty"`
	// The descriptions about this scope in multiple languages.
	Descriptions []TaggedValue `json:"descriptions,omitempty"`
	// The attributes of the scope.
	Attributes []Pair `json:"attributes,omitempty"`
}

Scope struct for Scope

func NewScope

func NewScope() *Scope

NewScope instantiates a new Scope object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewScopeWithDefaults

func NewScopeWithDefaults() *Scope

NewScopeWithDefaults instantiates a new Scope object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Scope) GetAttributes

func (o *Scope) GetAttributes() []Pair

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Scope) GetAttributesOk

func (o *Scope) GetAttributesOk() ([]Pair, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Scope) GetDefaultEntry

func (o *Scope) GetDefaultEntry() bool

GetDefaultEntry returns the DefaultEntry field value if set, zero value otherwise.

func (*Scope) GetDefaultEntryOk

func (o *Scope) GetDefaultEntryOk() (*bool, bool)

GetDefaultEntryOk returns a tuple with the DefaultEntry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Scope) GetDescription

func (o *Scope) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Scope) GetDescriptionOk

func (o *Scope) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Scope) GetDescriptions

func (o *Scope) GetDescriptions() []TaggedValue

GetDescriptions returns the Descriptions field value if set, zero value otherwise.

func (*Scope) GetDescriptionsOk

func (o *Scope) GetDescriptionsOk() ([]TaggedValue, bool)

GetDescriptionsOk returns a tuple with the Descriptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Scope) GetName

func (o *Scope) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Scope) GetNameOk

func (o *Scope) 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 (*Scope) HasAttributes

func (o *Scope) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Scope) HasDefaultEntry

func (o *Scope) HasDefaultEntry() bool

HasDefaultEntry returns a boolean if a field has been set.

func (*Scope) HasDescription

func (o *Scope) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Scope) HasDescriptions

func (o *Scope) HasDescriptions() bool

HasDescriptions returns a boolean if a field has been set.

func (*Scope) HasName

func (o *Scope) HasName() bool

HasName returns a boolean if a field has been set.

func (Scope) MarshalJSON

func (o Scope) MarshalJSON() ([]byte, error)

func (*Scope) SetAttributes

func (o *Scope) SetAttributes(v []Pair)

SetAttributes gets a reference to the given []Pair and assigns it to the Attributes field.

func (*Scope) SetDefaultEntry

func (o *Scope) SetDefaultEntry(v bool)

SetDefaultEntry gets a reference to the given bool and assigns it to the DefaultEntry field.

func (*Scope) SetDescription

func (o *Scope) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Scope) SetDescriptions

func (o *Scope) SetDescriptions(v []TaggedValue)

SetDescriptions gets a reference to the given []TaggedValue and assigns it to the Descriptions field.

func (*Scope) SetName

func (o *Scope) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Scope) ToMap added in v1.1.1

func (o Scope) ToMap() (map[string]interface{}, 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 ServerMetadataApi added in v1.2.0

type ServerMetadataApi interface {

	/*
		InfoApi /api/info API

		get the server version and enabled features


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiInfoApiRequest
	*/
	InfoApi(ctx context.Context) ApiInfoApiRequest

	// InfoApiExecute executes the request
	//  @return InfoResponse
	InfoApiExecute(r ApiInfoApiRequest) (*InfoResponse, *http.Response, error)
}

type ServerMetadataApiService added in v1.2.0

type ServerMetadataApiService service

ServerMetadataApiService ServerMetadataApi service

func (*ServerMetadataApiService) InfoApi added in v1.2.0

InfoApi /api/info API

get the server version and enabled features

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiInfoApiRequest

func (*ServerMetadataApiService) InfoApiExecute added in v1.2.0

Execute executes the request

@return InfoResponse

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Service

type Service struct {
	// The sequential number of the service. The value of this property is assigned by Authlete.
	Number *int32 `json:"number,omitempty"`
	// The sequential number of the service owner of the service. The value of this property is assigned by Authlete.
	ServiceOwnerNumber *int32 `json:"serviceOwnerNumber,omitempty"`
	// The name of this service.
	ServiceName *string `json:"serviceName,omitempty"`
	// The issuer identifier of the service.  A URL that starts with  https:// and has no query or fragment component.  The value of this property is used as `iss` claim in an [ID token](https://openid.net/specs/openid-connect-core-1_0.html#IDToken) and `issuer` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	Issuer *string `json:"issuer,omitempty"`
	// The description about the service.
	Description *string `json:"description,omitempty"`
	// The API key. The value of this property is assigned by Authlete.
	ApiKey *int64 `json:"apiKey,omitempty"`
	// The API secret. A random 256-bit value encoded by base64url (43 letters). The value of this property is assigned by Authlete.
	ApiSecret *string `json:"apiSecret,omitempty"`
	// The maximum number of client applications that a developer is allowed to create. `0` means no limit.
	ClientsPerDeveloper *int32 `json:"clientsPerDeveloper,omitempty"`
	// The flag to indicate whether the 'Client ID Alias' feature is enabled or not. When a new client is created, Authlete generates a numeric value and assigns it as a client ID to the newly created client. In addition to the client ID, each client can have a client ID alias. The client ID alias is, however, recognized only when this property (`clientIdAliasEnabled`) is set to `true`.
	ClientIdAliasEnabled *bool `json:"clientIdAliasEnabled,omitempty"`
	// The `metadata` of the service. The content of the returned array depends on contexts. The predefined service metadata is listed in the following table.    | Key | Description |   | --- | --- |   | `clientCount` | The number of client applications which belong to this service.  |
	Metadata []Pair `json:"metadata,omitempty"`
	// The time at which this service was created. The value is represented as milliseconds since the UNIX epoch (`1970-01-01`).
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// The time at which this service was last modified. The value is represented as milliseconds since the UNIX epoch (1970-01-01).
	ModifiedAt *int64 `json:"modifiedAt,omitempty"`
	// A Web API endpoint for user authentication which is to be prepared on the service side.  The endpoint must be implemented if you do not implement the UI at the authorization endpoint but use the one provided by Authlete.  The user authentication at the authorization endpoint provided by Authlete is performed by making a `POST` request to this endpoint.
	AuthenticationCallbackEndpoint *string `json:"authenticationCallbackEndpoint,omitempty"`
	// API key for basic authentication at the authentication callback endpoint.  If the value is not empty, Authlete generates Authorization header for Basic authentication when making a request to the authentication callback endpoint.
	AuthenticationCallbackApiKey *string `json:"authenticationCallbackApiKey,omitempty"`
	// API secret for `basic` authentication at the authentication callback endpoint.
	AuthenticationCallbackApiSecret *string `json:"authenticationCallbackApiSecret,omitempty"`
	// SNSes you want to support 'social login' in the UI at the authorization endpoint provided by Authlete.  You need to register a `client` application in each SNS that is set as this parameter and set Authlete server's `/api/sns/redirection` as the redirection endpoint of the client application.
	SupportedSnses []Sns `json:"supportedSnses,omitempty"`
	// `SNS` credentials which Authlete uses to make requests to SNSes. The format is JSON.
	SnsCredentials []SnsCredentials `json:"snsCredentials,omitempty"`
	// Values of acrs (authentication context class references) that the service supports.  The value of this property is used as `acr_values_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedAcrs []string `json:"supportedAcrs,omitempty"`
	// A Web API endpoint for developer authentication which is to be prepared on the server side.  The endpoint must be implemented if you use Developer Console.  The developer authentication at the login page of Developer Console is performed by making a `POST` request to this endpoint.
	DeveloperAuthenticationCallbackEndpoint *string `json:"developerAuthenticationCallbackEndpoint,omitempty"`
	// API key for basic authentication at the developer authentication callback endpoint.  If the value is not empty, Authlete generates Authorization header for Basic authentication when making a request to the developer authentication callback endpoint.
	DeveloperAuthenticationCallbackApiKey *string `json:"developerAuthenticationCallbackApiKey,omitempty"`
	// API secret for basic authentication at the developer authentication callback endpoint.
	DeveloperAuthenticationCallbackApiSecret *string `json:"developerAuthenticationCallbackApiSecret,omitempty"`
	// SNSes you want to support 'social login' in the login page of Developer Console provided by Authlete.  You need to register a client application in each SNS checked here and set Authlete server's `/api/developer/sns/redirection` as the redirection endpoint of the client application.
	SupportedDeveloperSnses []Sns `json:"supportedDeveloperSnses,omitempty"`
	// SNS credentials which Authlete uses to make requests to SNSes. The format is JSON.
	DeveloperSnsCredentials *string `json:"developerSnsCredentials,omitempty"`
	// Values of `grant_type` request parameter that the service supports.  The value of this property is used as `grant_types_supported property` in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedGrantTypes []GrantType `json:"supportedGrantTypes,omitempty"`
	// Values of `response_type` request parameter that the service supports. Valid values are listed in Response Type.  The value of this property is used as `response_types_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedResponseTypes []ResponseType `json:"supportedResponseTypes,omitempty"`
	// The supported data types that can be used as values of the type field in `authorization_details`.  This property corresponds to the `authorization_details_types_supported` metadata. See \"OAuth 2.0 Rich Authorization Requests\" (RAR) for details.
	SupportedAuthorizationDetailsTypes []string `json:"supportedAuthorizationDetailsTypes,omitempty"`
	// The profiles that this service supports.
	SupportedServiceProfiles []ServiceProfile `json:"supportedServiceProfiles,omitempty"`
	// The flag to indicate whether the `error_description` response parameter is omitted.  According to [RFC 6749](https://tools.ietf.org/html/rfc6749), an authorization server may include the `error_description` response parameter in error responses.  If `true`, Authlete does not embed the `error_description` response parameter in error responses.
	ErrorDescriptionOmitted *bool `json:"errorDescriptionOmitted,omitempty"`
	// The flag to indicate whether the `error_uri` response parameter is omitted.  According to [RFC 6749](https://tools.ietf.org/html/rfc6749), an authorization server may include the `error_uri` response parameter in error responses.  If `true`, Authlete does not embed the `error_uri` response parameter in error responses.
	ErrorUriOmitted *bool `json:"errorUriOmitted,omitempty"`
	// The authorization endpoint of the service.  A URL that starts with `https://` and has no fragment component. For example, `https://example.com/auth/authorization`.  The value of this property is used as `authorization_endpoint` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"`
	// The flag to indicate whether the direct authorization endpoint is enabled or not.  The path of the endpoint is `/api/auth/authorization/direct/service-api-key`.
	DirectAuthorizationEndpointEnabled *bool `json:"directAuthorizationEndpointEnabled,omitempty"`
	// UI locales that the service supports.  Each element is a language tag defined in [RFC 5646](https://tools.ietf.org/html/rfc5646). For example, `en-US` and `ja-JP`.  The value of this property is used as `ui_locales_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedUiLocales []string `json:"supportedUiLocales,omitempty"`
	// Values of `display` request parameter that service supports.  The value of this property is used as `display_values_supported` property in the Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedDisplays []Display `json:"supportedDisplays,omitempty"`
	// The flag to indicate whether the use of Proof Key for Code Exchange (PKCE) is always required for authorization requests by Authorization Code Flow.  If `true`, `code_challenge` request parameter is always required for authorization requests using Authorization Code Flow.  See [RFC 7636](https://tools.ietf.org/html/rfc7636) (Proof Key for Code Exchange by OAuth Public Clients) for details about `code_challenge` request parameter.
	PkceRequired *bool `json:"pkceRequired,omitempty"`
	// The flag to indicate whether `S256` is always required as the code challenge method whenever [PKCE (RFC 7636)](https://tools.ietf.org/html/rfc7636) is used.  If this flag is set to `true`, `code_challenge_method=S256` must be included in the authorization request whenever it includes the `code_challenge` request parameter. Neither omission of the `code_challenge_method` request parameter nor use of plain (`code_challenge_method=plain`) is allowed.
	PkceS256Required *bool `json:"pkceS256Required,omitempty"`
	// The duration of authorization response JWTs in seconds.  [Financial-grade API: JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)](https://openid.net/specs/openid-financial-api-jarm.html) defines new values for the `response_mode` request parameter. They are `query.jwt`, `fragment.jwt`, `form_post.jwt` and `jwt`. If one of them is specified as the response mode, response parameters from the authorization endpoint will be packed into a JWT. This property is used to compute the value of the `exp` claim of the JWT.
	AuthorizationResponseDuration *int64 `json:"authorizationResponseDuration,omitempty"`
	// The [token endpoint](https://tools.ietf.org/html/rfc6749#section-3.2) of the service.  A URL that starts with `https://` and has not fragment component. For example, `https://example.com/auth/token`.  The value of this property is used as `token_endpoint` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	TokenEndpoint *string `json:"tokenEndpoint,omitempty"`
	// The flag to indicate whether the direct token endpoint is enabled or not. The path of the endpoint is `/api/auth/token/direct/service-api-key`.
	DirectTokenEndpointEnabled *bool `json:"directTokenEndpointEnabled,omitempty"`
	// Client authentication methods supported by the token endpoint of the service.  The value of this property is used as `token_endpoint_auth_methods_supports` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedTokenAuthMethods []ClientAuthenticationMethod `json:"supportedTokenAuthMethods,omitempty"`
	// The flag to indicate token requests from public clients without the `client_id` request parameter are allowed when the client can be guessed from `authorization_code` or `refresh_token`.  This flag should not be set unless you have special reasons.
	MissingClientIdAllowed *bool `json:"missingClientIdAllowed,omitempty"`
	// The [revocation endpoint](https://tools.ietf.org/html/rfc7009) of the service.  A URL that starts with `https://`. For example, `https://example.com/auth/revocation`.
	RevocationEndpoint *string `json:"revocationEndpoint,omitempty"`
	// The flag to indicate whether the direct revocation endpoint is enabled or not. The URL of the endpoint is `/api/auth/revocation/direct/service-api-key`.
	DirectRevocationEndpointEnabled *bool `json:"directRevocationEndpointEnabled,omitempty"`
	// Client authentication methods supported at the revocation endpoint.
	SupportedRevocationAuthMethods []ClientAuthenticationMethod `json:"supportedRevocationAuthMethods,omitempty"`
	// The URI of the introspection endpoint.
	IntrospectionEndpoint *string `json:"introspectionEndpoint,omitempty"`
	// The flag to indicate whether the direct userinfo endpoint is enabled or not. The path of the endpoint is `/api/auth/userinfo/direct/{serviceApiKey}`.
	DirectIntrospectionEndpointEnabled *bool `json:"directIntrospectionEndpointEnabled,omitempty"`
	// Client authentication methods supported at the introspection endpoint.
	SupportedIntrospectionAuthMethods []ClientAuthenticationMethod `json:"supportedIntrospectionAuthMethods,omitempty"`
	// The URI of the pushed authorization request endpoint.  This property corresponds to the `pushed_authorization_request_endpoint` metadata defined in \"[5. Authorization Server Metadata](https://tools.ietf.org/html/draft-lodderstedt-oauth-par#section-5)\" of OAuth 2.0 Pushed Authorization Requests.
	PushedAuthReqEndpoint *string `json:"pushedAuthReqEndpoint,omitempty"`
	// The duration of pushed authorization requests in seconds.  [OAuth 2.0 Pushed Authorization Requests](https://tools.ietf.org/html/draft-lodderstedt-oauth-par) defines an endpoint (called \"pushed authorization request endpoint\") which client applications can register authorization requests into and get corresponding URIs (called \"request URIs\") from. The issued URIs represent the registered authorization requests. The client applications can use the URIs as the value of the `request_uri` request parameter in an authorization request.  The property represents the duration of registered authorization requests and is used as the value of the `expires_in` parameter in responses from the pushed authorization request endpoint.
	PushedAuthReqDuration *int64 `json:"pushedAuthReqDuration,omitempty"`
	// The flag to indicate whether this service requires that clients use the pushed authorization request endpoint.  This property corresponds to the `require_pushed_authorization_requests` server metadata defined in [OAuth 2.0 Pushed Authorization Requests](https://tools.ietf.org/html/draft-lodderstedt-oauth-par).
	ParRequired *bool `json:"parRequired,omitempty"`
	// The flag to indicate whether this service requires that authorization requests always utilize a request object by using either request or `request_uri` request parameter.  If this flag is set to `true` and the value of `traditionalRequestObjectProcessingApplied` is `false`, the value of `require_signed_request_object` server metadata of this service is reported as `true` in the discovery document. The metadata is defined in JAR (JWT Secured Authorization Request). That `require_signed_request_object` is `true` means that authorization requests which don't conform to the JAR specification are rejected.
	RequestObjectRequired *bool `json:"requestObjectRequired,omitempty"`
	// The flag to indicate whether a request object is processed based on rules defined in [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html) or JAR (JWT Secured Authorization Request).  Differences between rules in OpenID Connect Core 1.0 and ones in JAR are as follows.   - JAR requires that a request object be always -signed.   - JAR does not allow request parameters outside a request object to be referred to.   - OIDC Core 1.0 requires that response_type request parameter exist outside a request object even if the request object includes the request parameter.   - OIDC Core 1.0 requires that scope request parameter exist outside a request object if the authorization request is an   - OIDC request even if the request object includes the request parameter.  If this flag is set to `false` and the value of `requestObjectRequired` is `true`, the value of `require_signed_request_object` server metadata of this service is reported as `true` in the discovery document. The metadata is defined in JAR (JWT Secured Authorization Request). That `require_signed_request_object` is `true` means that authorization requests which don't conform to the JAR specification are rejected.
	TraditionalRequestObjectProcessingApplied *bool `json:"traditionalRequestObjectProcessingApplied,omitempty"`
	// The flag to indicate whether this service validates certificate chains during PKI-based client mutual TLS authentication.
	MutualTlsValidatePkiCertChain *bool `json:"mutualTlsValidatePkiCertChain,omitempty"`
	// The list of root certificates trusted by this service for PKI-based client mutual TLS authentication.
	TrustedRootCertificates []string `json:"trustedRootCertificates,omitempty"`
	// The MTLS endpoint aliases.  This property corresponds to the mtls_endpoint_aliases metadata defined in \"5. Metadata for Mutual TLS Endpoint Aliases\" of [OAuth 2.0 Mutual TLS Client Authentication and Certificate-Bound Access Tokens](https://datatracker.ietf.org/doc/rfc8705/).  The aliases will be embedded in the response from the discovery endpoint like the following.  “`json {   ......,   \"mtls_endpoint_aliases\": {     \"token_endpoint\":         \"https://mtls.example.com/token\",     \"revocation_endpoint\":    \"https://mtls.example.com/revo\",     \"introspection_endpoint\": \"https://mtls.example.com/introspect\"   } } “`
	MtlsEndpointAliases []NamedUri `json:"mtlsEndpointAliases,omitempty"`
	// The access token type.  This value is used as the value of `token_type` property in access token responses. If this service complies with [RFC 6750](https://tools.ietf.org/html/rfc6750), the value of this property should be `Bearer`.  See [RFC 6749 (OAuth 2.0), 7.1. Access Token Types](https://tools.ietf.org/html/rfc6749#section-7.1) for details.
	AccessTokenType *string `json:"accessTokenType,omitempty"`
	// The flag to indicate whether this service supports issuing TLS client certificate bound access tokens.
	TlsClientCertificateBoundAccessTokens *bool `json:"tlsClientCertificateBoundAccessTokens,omitempty"`
	// The duration of access tokens in seconds. This value is used as the value of `expires_in` property in access token responses. `expires_in` is defined [RFC 6749, 5.1. Successful Response](https://tools.ietf.org/html/rfc6749#section-5.1).
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The flag to indicate whether the number of access tokens per subject (and per client) is at most one or can be more.  If `true`, an attempt to issue a new access token invalidates existing access tokens that are associated with the same subject and the same client.  Note that, however, attempts by [Client Credentials Flow](https://tools.ietf.org/html/rfc6749#section-4.4) do not invalidate existing access tokens because access tokens issued by Client Credentials Flow are not associated with any end-user's subject. Also note that an attempt by [Refresh Token Flow](https://tools.ietf.org/html/rfc6749#section-6) invalidates the coupled access token only and this invalidation is always performed regardless of whether the value of this setting item is `true` or `false`.
	SingleAccessTokenPerSubject *bool   `json:"singleAccessTokenPerSubject,omitempty"`
	AccessTokenSignAlg          *JwsAlg `json:"accessTokenSignAlg,omitempty"`
	// The key ID to identify a JWK used for signing access tokens.  A JWK Set can be registered as a property of a service. A JWK Set can contain 0 or more JWKs. Authlete Server has to pick up one JWK for signing from the JWK Set when it generates a JWT-based access token. Authlete Server searches the registered JWK Set for a JWK which satisfies conditions for access token signature. If the number of JWK candidates which satisfy the conditions is 1, there is no problem. On the other hand, if there exist multiple candidates, a Key ID is needed to be specified so that Authlete Server can pick up one JWK from among the JWK candidates.
	AccessTokenSignatureKeyId *string `json:"accessTokenSignatureKeyId,omitempty"`
	// The duration of refresh tokens in seconds. The related specifications have no requirements on refresh token duration, but Authlete sets expiration for refresh tokens.
	RefreshTokenDuration *int64 `json:"refreshTokenDuration,omitempty"`
	// The flag to indicate whether the remaining duration of the used refresh token is taken over to the newly issued refresh token.
	RefreshTokenDurationKept *bool `json:"refreshTokenDurationKept,omitempty"`
	// The flag which indicates whether duration of refresh tokens are reset when they are used even if the `refreshTokenKept` property of this service set to is `true` (= even if \"Refresh Token Continuous Use\" is \"Kept\").  This flag has no effect when the `refreshTokenKept` property is set to `false`. In other words, if this service issues a new refresh token on every refresh token request, the refresh token will have fresh duration (unless `refreshTokenDurationKept` is set to `true`) and this `refreshTokenDurationReset` property is not referenced.
	RefreshTokenDurationReset *bool `json:"refreshTokenDurationReset,omitempty"`
	// The flag to indicate whether a refresh token remains unchanged or gets renewed after its use.  If `true`, a refresh token used to get a new access token remains valid after its use. Otherwise, if `false`, a refresh token is invalidated after its use and a new refresh token is issued.  See [RFC 6749 6. Refreshing an Access Token](https://tools.ietf.org/html/rfc6749#section-6), as to how to get a new access token using a refresh token.
	RefreshTokenKept *bool `json:"refreshTokenKept,omitempty"`
	// Scopes supported by the service.  Authlete strongly recommends that the service register at least the following scopes.  | Name | Description | | --- | --- | | openid | A permission to get an ID token of an end-user. The `openid` scope appears in [OpenID Connect Core 1.0, 3.1.2.1. Authentication Request, scope](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest). Without this scope, Authlete does not allow `response_type` request parameter to have values other than code and token. | | profile | A permission to get information about `name`, `family_name`, `given_name`, `middle_name`, `nickname`, `preferred_username`, `profile`, `picture`, `website`, `gender`, `birthdate`, `zoneinfo`, `locale` and `updated_at` from the user info endpoint. See [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) for details. | | email | A permission to get information about `email` and `email_verified` from the user info endpoint. See [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) for details. | | address | A permission to get information about address from the user info endpoint. See [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) and [5.1.1. Address Claim](https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim) for details. | | phone | A permission to get information about `phone_number` and `phone_number_verified` from the user info endpoint. See [OpenID Connect Core 1.0, 5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) for details. | | offline_access | A permission to get information from the user info endpoint even when the end-user is not present. See [OpenID Connect Core 1.0, 11. Offline Access](https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess) for details. |  The value of this property is used as `scopes_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedScopes []Scope `json:"supportedScopes,omitempty"`
	// The flag to indicate whether requests that request no scope are rejected or not.  When a request has no explicit `scope` parameter and the service's pre-defined default scope set is empty, the authorization server regards the request requests no scope. When this flag is set to `true`, requests that request no scope are rejected.  The requirement below excerpted from [RFC 6749 Section 3.3](https://tools.ietf.org/html/rfc6749#section-3.3) does not explicitly mention the case where the default scope set is empty.  > If the client omits the scope parameter when requesting authorization, the authorization server MUST either process the request using a pre-defined default value or fail the request indicating an invalid scope.  However, if you interpret *\"the default scope set exists but is empty\"* as *\"the default scope set does not exist\"* and want to strictly conform to the requirement above, this flag has to be `true`.
	ScopeRequired *bool `json:"scopeRequired,omitempty"`
	// 'The duration of [ID token](https://openid.net/specs/openid-connect-core-1_0.html#IDToken)s in seconds. This value is used to calculate the value of `exp` claim in an ID token.'
	IdTokenDuration *int64 `json:"idTokenDuration,omitempty"`
	// The allowable clock skew between the server and clients in seconds.  The clock skew is taken into consideration when time-related claims in a JWT (e.g. `exp`, `iat`, `nbf`) are verified.
	AllowableClockSkew *int32 `json:"allowableClockSkew,omitempty"`
	// Claim types supported by the service. Valid values are listed in Claim Type. Note that Authlete currently doesn't provide any API to help implementations for `AGGREGATED` and `DISTRIBUTED`.  The value of this property is used as `claim_types_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedClaimTypes []ClaimType `json:"supportedClaimTypes,omitempty"`
	// Claim locales that the service supports. Each element is a language tag defined in [RFC 5646](https://tools.ietf.org/html/rfc5646). For example, `en-US` and `ja-JP`. See [OpenID Connect Core 1.0, 5.2. Languages and Scripts](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsLanguagesAndScripts) for details.  The value of this property is used as `claims_locales_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	SupportedClaimLocales []string `json:"supportedClaimLocales,omitempty"`
	// Claim names that the service supports. The standard claim names listed in [OpenID Connect Core 1.0, 5.1. Standard Claim](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) should be supported. The following is the list of standard claims.  - `sub` - `name` - `given_name` - `family_name` - `middle_name` - `nickname` - `preferred_username` - `profile` - `picture` - `website` - `email` - `email_verified` - `gender` - `birthdate` - `zoneinfo` - `locale` - `phone_number` - `phone_number_verified` - `address` - `updated_at`  The value of this property is used as `claims_supported` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).  The service may support its original claim names. See [OpenID Connect Core 1.0, 5.1.2. Additional Claims](https://openid.net/specs/openid-connect-core-1_0.html#AdditionalClaims).
	SupportedClaims []string `json:"supportedClaims,omitempty"`
	// The flag indicating whether claims specified by shortcut scopes (e.g. `profile`) are included in the issued ID token only when no access token is issued.  To strictly conform to the description below excerpted from [OpenID Connect Core 1.0 Section 5.4](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims), this flag has to be `true`.  > The Claims requested by the profile, email, address, and phone scope values are returned from the UserInfo Endpoint, as described in Section 5.3.2, when a response_type value is used that results in an Access Token being issued. However, when no Access Token is issued (which is the case for the response_type value id_token), the resulting Claims are returned in the ID Token.
	ClaimShortcutRestrictive *bool `json:"claimShortcutRestrictive,omitempty"`
	// The URL of the service's [JSON Web Key Set](https://tools.ietf.org/html/rfc7517) document. For example, `http://example.com/auth/jwks`.  Client applications accesses this URL (1) to get the public key of the service to validate the signature of an ID token issued by the service and (2) to get the public key of the service to encrypt an request object of the client application. See [OpenID Connect Core 1.0, 10. Signatures and Encryption](https://openid.net/specs/openid-connect-core-1_0.html#SigEnc) for details.  The value of this property is used as `jwks_uri` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	JwksUri *string `json:"jwksUri,omitempty"`
	// 'The flag to indicate whether the direct jwks endpoint is enabled or not. The path of the endpoint is `/api/service/jwks/get/direct/service-api-key`. '
	DirectJwksEndpointEnabled *bool `json:"directJwksEndpointEnabled,omitempty"`
	// The content of the service's [JSON Web Key Set](https://tools.ietf.org/html/rfc7517) document.  If this property is not `null` in a `/service/create` request or a `/service/update` request, Authlete hosts the content in the database. This property must not be `null` and must contain pairs of public/private keys if the service wants to support asymmetric signatures for ID tokens and asymmetric encryption for request objects. See [OpenID Connect Core 1.0, 10. Signatures and Encryption](https://openid.net/specs/openid-connect-core-1_0.html#SigEnc) for details.
	Jwks *string `json:"jwks,omitempty"`
	// The key ID to identify a JWK used for ID token signature using an asymmetric key.  A JWK Set can be registered as a property of a Service. A JWK Set can contain 0 or more JWKs (See [RFC 7517](https://tools.ietf.org/html/rfc7517) for details about JWK). Authlete Server has to pick up one JWK for signature from the JWK Set when it generates an ID token and signature using an asymmetric key is required. Authlete Server searches the registered JWK Set for a JWK which satisfies conditions for ID token signature. If the number of JWK candidates which satisfy the conditions is 1, there is no problem. On the other hand, if there exist multiple candidates, a [Key ID](https://tools.ietf.org/html/rfc7517#section-4.5) is needed to be specified so that Authlete Server can pick up one JWK from among the JWK candidates.  This `idTokenSignatureKeyId` property exists for the purpose described above. For key rotation (OpenID Connect Core 1.0, [10.1.1. Rotation of Asymmetric Signing Keys](http://openid.net/specs/openid-connect-core-1_0.html#RotateSigKeys)), this mechanism is needed.
	IdTokenSignatureKeyId *string `json:"idTokenSignatureKeyId,omitempty"`
	// The key ID to identify a JWK used for user info signature using an asymmetric key.  A JWK Set can be registered as a property of a Service. A JWK Set can contain 0 or more JWKs (See [RFC 7517](https://tools.ietf.org/html/rfc7517) for details about JWK). Authlete Server has to pick up one JWK for signature from the JWK Set when it is required to sign user info (which is returned from [userinfo endpoint](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo)) using an asymmetric key. Authlete Server searches the registered JWK Set for a JWK which satisfies conditions for user info signature. If the number of JWK candidates which satisfy the conditions is 1, there is no problem. On the other hand, if there exist multiple candidates, a [Key ID](https://tools.ietf.org/html/rfc7517#section-4.5) is needed to be specified so that Authlete Server can pick up one JWK from among the JWK candidates.  This `userInfoSignatureKeyId` property exists for the purpose described above. For key rotation (OpenID Connect Core 1.0, [10.1.1. Rotation of Asymmetric Signing Keys](http://openid.net/specs/openid-connect-core-1_0.html#RotateSigKeys)), this mechanism is needed.
	UserInfoSignatureKeyId *string `json:"userInfoSignatureKeyId,omitempty"`
	// The key ID to identify a JWK used for signing authorization responses using an asymmetric key.  [Financial-grade API: JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)](https://openid.net/specs/openid-financial-api-jarm.html) defines new values for the `response_mode` request parameter. They are `query.jwt`, `fragment.jwt`, `form_post.jwt` and `jwt`. If one of them is specified as the response mode, response parameters from the authorization endpoint will be packed into a JWT. This property is used to compute the value of the `exp` claim of the JWT.  Authlete Server searches the JWK Set for a JWK which satisfies conditions for authorization response signature. If the number of JWK candidates which satisfy the conditions is 1, there is no problem. On the other hand, if there exist multiple candidates, a Key ID is needed to be specified so that Authlete Server can pick up one JWK from among the JWK candidates. This property exists to specify the key ID.
	AuthorizationSignatureKeyId *string `json:"authorizationSignatureKeyId,omitempty"`
	// The [user info endpoint](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo) of the service. A URL that starts with `https://`. For example, `https://example.com/auth/userinfo`.  The value of this property is used as `userinfo_endpoint` property in the [OpenID Provider Metadata](http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	UserInfoEndpoint *string `json:"userInfoEndpoint,omitempty"`
	// The flag to indicate whether the direct userinfo endpoint is enabled or not. The path of the endpoint is `/api/auth/userinfo/direct/service-api-key`.
	DirectUserInfoEndpointEnabled *bool `json:"directUserInfoEndpointEnabled,omitempty"`
	// The boolean flag which indicates whether the [OAuth 2.0 Dynamic Client Registration Protocol](https://tools.ietf.org/html/rfc7591) is supported.
	DynamicRegistrationSupported *bool `json:"dynamicRegistrationSupported,omitempty"`
	// The [registration endpoint](http://openid.net/specs/openid-connect-registration-1_0.html#ClientRegistration) of the service. A URL that starts with `https://`. For example, `https://example.com/auth/registration`.  The value of this property is used as `registration_endpoint` property in the [OpenID Provider Metadata](http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	RegistrationEndpoint *string `json:"registrationEndpoint,omitempty"`
	// The URI of the registration management endpoint. If dynamic client registration is supported, and this is set, this URI will be used as the basis of the client's management endpoint by appending `/clientid}/` to it as a path element. If this is unset, the value of `registrationEndpoint` will be used as the URI base instead.
	RegistrationManagementEndpoint *string `json:"registrationManagementEndpoint,omitempty"`
	// The URL of the \"Policy\" of the service.  The value of this property is used as `op_policy_uri` property in the [OpenID Provider Metadata](http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	PolicyUri *string `json:"policyUri,omitempty"`
	// The URL of the \"Terms Of Service\" of the service.  The value of this property is used as `op_tos_uri` property in the [OpenID Provider Metadata](http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	TosUri *string `json:"tosUri,omitempty"`
	// The URL of a page where documents for developers can be found.  The value of this property is used as `service_documentation` property in the [OpenID Provider Metadata](http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	ServiceDocumentation *string `json:"serviceDocumentation,omitempty"`
	// The URI of backchannel authentication endpoint, which is defined in the specification of [CIBA (Client Initiated Backchannel Authentication)](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html).
	BackchannelAuthenticationEndpoint *string `json:"backchannelAuthenticationEndpoint,omitempty"`
	// The supported backchannel token delivery modes. This property corresponds to the `backchannel_token_delivery_modes_supported` metadata.  Backchannel token delivery modes are defined in the specification of [CIBA (Client Initiated Backchannel Authentication)](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html).
	SupportedBackchannelTokenDeliveryModes []DeliveryMode `json:"supportedBackchannelTokenDeliveryModes,omitempty"`
	// The duration of backchannel authentication request IDs issued from the backchannel authentication endpoint in seconds. This is used as the value of the `expires_in` property in responses from the backchannel authentication endpoint.
	BackchannelAuthReqIdDuration *int32 `json:"backchannelAuthReqIdDuration,omitempty"`
	// The minimum interval between polling requests to the token endpoint from client applications in seconds. This is used as the value of the `interval` property in responses from the backchannel authentication endpoint.
	BackchannelPollingInterval *int32 `json:"backchannelPollingInterval,omitempty"`
	// The boolean flag which indicates whether the `user_code` request parameter is supported at the backchannel authentication endpoint. This property corresponds to the `backchannel_user_code_parameter_supported` metadata.
	BackchannelUserCodeParameterSupported *bool `json:"backchannelUserCodeParameterSupported,omitempty"`
	// The flag to indicate whether the `binding_message` request parameter is always required whenever a backchannel authentication request is judged as a request for Financial-grade API.  The FAPI-CIBA profile requires that the authorization server _\"shall ensure unique authorization context exists in the authorization request or require a `binding_message` in the authorization request\"_ (FAPI-CIBA, 5.2.2, 2). The simplest way to fulfill this requirement is to set this property to `true`.  If this property is set to `false`, the `binding_message` request parameter remains optional even in FAPI context, but in exchange, your authorization server must implement a custom mechanism that ensures each backchannel authentication request has unique context.
	BackchannelBindingMessageRequiredInFapi *bool `json:"backchannelBindingMessageRequiredInFapi,omitempty"`
	// The URI of the device authorization endpoint.  Device authorization endpoint is defined in the specification of OAuth 2.0 Device Authorization Grant.
	DeviceAuthorizationEndpoint *string `json:"deviceAuthorizationEndpoint,omitempty"`
	// The verification URI for the device flow. This URI is used as the value of the `verification_uri` parameter in responses from the device authorization endpoint.
	DeviceVerificationUri *string `json:"deviceVerificationUri,omitempty"`
	// The verification URI for the device flow with a placeholder for a user code. This URI is used to build the value of the `verification_uri_complete` parameter in responses from the device authorization endpoint.  It is expected that the URI contains a fixed string `USER_CODE` somewhere as a placeholder for a user code. For example, like the following.  `https://example.com/device?user\\_code=USER\\_CODE`  The fixed string is replaced with an actual user code when Authlete builds a verification URI with a user code for the `verification_uri_complete` parameter.  If this URI is not set, the `verification_uri_complete` parameter won't appear in device authorization responses.
	DeviceVerificationUriComplete *string `json:"deviceVerificationUriComplete,omitempty"`
	// The duration of device verification codes and end-user verification codes issued from the device authorization endpoint in seconds. This is used as the value of the `expires_in` property in responses from the device authorization endpoint.
	DeviceFlowCodeDuration *int32 `json:"deviceFlowCodeDuration,omitempty"`
	// The minimum interval between polling requests to the token endpoint from client applications in seconds in device flow. This is used as the value of the `interval` property in responses from the device authorization endpoint.
	DeviceFlowPollingInterval *int32           `json:"deviceFlowPollingInterval,omitempty"`
	UserCodeCharset           *UserCodeCharset `json:"userCodeCharset,omitempty"`
	// The length of end-user verification codes (`user_code`) for Device Flow.
	UserCodeLength *int32 `json:"userCodeLength,omitempty"`
	// Trust frameworks supported by this service. This corresponds to the `trust_frameworks_supported` [metadata](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.7).
	SupportedTrustFrameworks []string `json:"supportedTrustFrameworks,omitempty"`
	// Evidence supported by this service. This corresponds to the `evidence_supported` [metadata](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.7).
	SupportedEvidence []string `json:"supportedEvidence,omitempty"`
	// Identity documents supported by this service. This corresponds to the `id_documents_supported` [metadata](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.7).
	SupportedIdentityDocuments []string `json:"supportedIdentityDocuments,omitempty"`
	// Verification methods supported by this service. This corresponds to the `id_documents_verification_methods_supported` [metadata](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.7).
	SupportedVerificationMethods []string `json:"supportedVerificationMethods,omitempty"`
	// Verified claims supported by this service. This corresponds to the `claims_in_verified_claims_supported` [metadata](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html#rfc.section.7).
	SupportedVerifiedClaims []string `json:"supportedVerifiedClaims,omitempty"`
	// OIDC4IDA / verifiedClaimsValidationSchemaSet
	VerifiedClaimsValidationSchemaSet NullableVerifiedClaimsValidationSchema `json:"verifiedClaimsValidationSchemaSet,omitempty"`
	// The attributes of this service.
	Attributes []Pair `json:"attributes,omitempty"`
	// The flag indicating whether the nbf claim in the request object is optional even when the authorization request is regarded as a FAPI-Part2 request.  The final version of Financial-grade API was approved in January, 2021. The Part 2 of the final version has new requirements on lifetime of request objects. They require that request objects contain an `nbf` claim and the lifetime computed by `exp` - `nbf` be no longer than 60 minutes.  Therefore, when an authorization request is regarded as a FAPI-Part2 request, the request object used in the authorization request must contain an nbf claim. Otherwise, the authorization server rejects the authorization request.  When this flag is `true`, the `nbf` claim is treated as an optional claim even when the authorization request is regarded as a FAPI-Part2 request. That is, the authorization server does not perform the validation on lifetime of the request object.  Skipping the validation is a violation of the FAPI specification. The reason why this flag has been prepared nevertheless is that the new requirements (which do not exist in the Implementer's Draft 2 released in October, 2018) have big impacts on deployed implementations of client applications and Authlete thinks there should be a mechanism whereby to make the migration from ID2 to Final smooth without breaking live systems.
	NbfOptional *bool `json:"nbfOptional,omitempty"`
	// The flag indicating whether generation of the iss response parameter is suppressed.  \"OAuth 2.0 Authorization Server Issuer Identifier in Authorization Response\" has defined a new authorization response parameter, `iss`, as a countermeasure for a certain type of mix-up attacks.  The specification requires that the `iss` response parameter always be included in authorization responses unless JARM (JWT Secured Authorization Response Mode) is used.  When this flag is `true`, the authorization server does not include the `iss` response parameter in authorization responses. By turning this flag on and off, developers of client applications can experiment the mix-up attack and the effect of the `iss` response parameter.  Note that this flag should not be `true` in production environment unless there are special reasons for it.
	IssSuppressed *bool `json:"issSuppressed,omitempty"`
	// custom client metadata supported by this service.  Standard specifications define client metadata as necessary. The following are such examples.  * [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) * [RFC 7591 OAuth 2.0 Dynamic Client Registration Protocol](https://www.rfc-editor.org/rfc/rfc7591.html) * [RFC 8705 OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens](https://www.rfc-editor.org/rfc/rfc8705.html) * [OpenID Connect Client-Initiated Backchannel Authentication Flow - Core 1.0](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html) * [The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR)](https://datatracker.ietf.org/doc/draft-ietf-oauth-jwsreq/) * [Financial-grade API: JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)](https://openid.net/specs/openid-financial-api-jarm.html) * [OAuth 2.0 Pushed Authorization Requests (PAR)](https://datatracker.ietf.org/doc/rfc9126/) * [OAuth 2.0 Rich Authorization Requests (RAR)](https://datatracker.ietf.org/doc/draft-ietf-oauth-rar/)  Standard client metadata included in Client Registration Request and Client Update Request (cf. [OIDC DynReg](https://openid.net/specs/openid-connect-registration-1_0.html), [RFC 7591](https://www.rfc-editor.org/rfc/rfc7591.html) and [RFC 7592](https://www.rfc-editor.org/rfc/rfc7592.html)) are, if supported by Authlete, stored into Authlete database. On the other hand, unrecognized client metadata are discarded.  By listing up custom client metadata in advance by using this property (`supportedCustomClientMetadata`), Authlete can recognize them and stores their values into the database. The stored custom client metadata values can be referenced by `customMetadata`.
	SupportedCustomClientMetadata []string `json:"supportedCustomClientMetadata,omitempty"`
	// The flag indicating whether the expiration date of an access token never exceeds that of the corresponding refresh token.  When a new access token is issued by a refresh token request (= a token request with `grant_type=refresh_token`), the expiration date of the access token may exceed the expiration date of the corresponding refresh token. This behavior itself is not wrong and may happen when `refreshTokenKept` is `true` and/or when `refreshTokenDurationKept` is `true`.  When this flag is `true`, the expiration date of an access token never exceeds that of the corresponding refresh token regardless of the calculated duration based on other settings such as `accessTokenDuration`, `accessTokenDuration` in `extension` and `access_token.duration` scope attribute.  It is technically possible to set a value which is bigger than the duration of refresh tokens as the duration of access tokens although it is strange. In the case, the duration of an access token becomes longer than the duration of the refresh token which is issued together with the access token. Even if the duration values are configured so, if this flag is `true`, the expiration date of the access token does not exceed that of the refresh token. That is, the duration of the access token will be shortened, and as a result, the access token and the refresh token will have the same expiration date.
	TokenExpirationLinked *bool `json:"tokenExpirationLinked,omitempty"`
	// The flag indicating whether encryption of request object is required when the request object is passed through the front channel.  This flag does not affect the processing of request objects at the Pushed Authorization Request Endpoint, which is defined in [OAuth 2.0 Pushed Authorization Requests](https://datatracker.ietf.org/doc/rfc9126/). Unecrypted request objects are accepted at the endpoint even if this flag is `true`.  This flag does not indicate whether a request object is always required. There is a different flag, `requestObjectRequired`, for the purpose. See the description of `requestObjectRequired` for details.  Even if this flag is `false`, encryption of request object is required if the `frontChannelRequestObjectEncryptionRequired` flag of the client is `true`.
	FrontChannelRequestObjectEncryptionRequired *bool `json:"frontChannelRequestObjectEncryptionRequired,omitempty"`
	// The flag indicating whether the JWE alg of encrypted request object must match the `request_object_encryption_alg` client metadata of the client that has sent the request object.  The request_object_encryption_alg client metadata itself is defined in [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) as follows.  > request_object_encryption_alg > > OPTIONAL. JWE [JWE] alg algorithm [JWA] the RP is declaring that it may use for encrypting Request Objects sent to the OP. This parameter SHOULD be included when symmetric encryption will be used, since this signals to the OP that a client_secret value needs to be returned from which the symmetric key will be derived, that might not otherwise be returned. The RP MAY still use other supported encryption algorithms or send unencrypted Request Objects, even when this parameter is present. If both signing and encryption are requested, the Request Object will be signed then encrypted, with the result being a Nested JWT, as defined in [JWT]. The default, if omitted, is that the RP is not declaring whether it might encrypt any Request Objects.  The point here is \"The RP MAY still use other supported encryption algorithms or send unencrypted Request Objects, even when this parameter is present.\"  The Client's property that represents the client metadata is `requestEncryptionAlg`. See the description of `requestEncryptionAlg` for details.  Even if this flag is `false`, the match is required if the `requestObjectEncryptionAlgMatchRequired` flag of the client is `true`.
	RequestObjectEncryptionAlgMatchRequired *bool `json:"requestObjectEncryptionAlgMatchRequired,omitempty"`
	// The flag indicating whether the JWE `enc` of encrypted request object must match the `request_object_encryption_enc` client metadata of the client that has sent the request object.  The `request_object_encryption_enc` client metadata itself is defined in [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) as follows.  > request_object_encryption_enc > > OPTIONAL. JWE enc algorithm [JWA] the RP is declaring that it may use for encrypting Request Objects sent to the OP. If request_object_encryption_alg is specified, the default for this value is A128CBC-HS256. When request_object_encryption_enc is included, request_object_encryption_alg MUST also be provided.  The Client's property that represents the client metadata is `requestEncryptionEnc`. See the description of `requestEncryptionEnc` for details.  Even if this flag is false, the match is required if the `requestObjectEncryptionEncMatchRequired` flag is `true`.
	RequestObjectEncryptionEncMatchRequired *bool `json:"requestObjectEncryptionEncMatchRequired,omitempty"`
	// The flag indicating whether HSM (Hardware Security Module) support is enabled for this service.  When this flag is `false`, keys managed in HSMs are not used even if they exist. In addition, `/api/hsk/_*` APIs reject all requests.  Even if this flag is `true`, HSM-related features do not work if the configuration of the Authlete server you are using does not support HSM.
	HsmEnabled *bool `json:"hsmEnabled,omitempty"`
	// The information about keys managed on HSMs (Hardware Security Modules).  This `hsks` property is output only, meaning that `hsks` in requests to `/api/service/create` API and `/api/service/update` API do not have any effect. The contents of this property is controlled only by `/api/hsk/_*` APIs.
	Hsks []Pair `json:"hsks,omitempty"`
	// The URL of the grant management endpoint.
	GrantManagementEndpoint *string `json:"grantManagementEndpoint,omitempty"`
	// The flag indicating whether every authorization request (and any request serving as an authorization request such as CIBA backchannel authentication request and device authorization request) must include the `grant_management_action` request parameter.  This property corresponds to the `grant_management_action_required` server metadata defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html).  Note that setting true to this property will result in blocking all public clients because the specification requires that grant management be usable only by confidential clients for security reasons.
	GrantManagementActionRequired *bool `json:"grantManagementActionRequired,omitempty"`
	// The flag indicating whether Authlete's `/api/client/registration` API uses `UNAUTHORIZED` as a value of the `action` response parameter when appropriate.  The `UNAUTHORIZED` enum value was initially not defined as a possible value of the `action` parameter in an `/api/client/registration` API response. This means that implementations of client `configuration` endpoint were not able to conform to [RFC 7592](https://www.rfc-editor.org/rfc/rfc7592.html) strictly.  For backward compatibility (to avoid breaking running systems), Authlete's `/api/client/registration` API does not return the `UNAUTHORIZED` enum value if this flag is not turned on.  The steps an existing implementation of client configuration endpoint has to do in order to conform to the requirement related to \"401 Unauthorized\" are as follows.  1. Update the Authlete library (e.g. authlete-java-common) your system is using. 2. Update your implementation of client configuration endpoint so that it can handle the `UNAUTHORIZED` action. 3. Turn on this `unauthorizedOnClientConfigSupported` flag.
	UnauthorizedOnClientConfigSupported *bool `json:"unauthorizedOnClientConfigSupported,omitempty"`
	// The flag indicating whether the `scope` request parameter in dynamic client registration and update requests (RFC 7591 and RFC 7592) is used as scopes that the client can request.  Limiting the range of scopes that a client can request is achieved by listing scopes in the `client.extension.requestableScopes` property and setting the `client.extension.requestableScopesEnabled` property to `true`. This feature is called \"requestable scopes\".  This property affects behaviors of `/api/client/registration` and other family APIs.
	DcrScopeUsedAsRequestable *bool `json:"dcrScopeUsedAsRequestable,omitempty"`
	// The endpoint for clients ending the sessions.  A URL that starts with `https://` and has no fragment component. For example, `https://example.com/auth/endSession`.  The value of this property is used as `end_session_endpoint` property in the [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
	EndSessionEndpoint *string `json:"endSessionEndpoint,omitempty"`
	// The flag indicating whether the port number component of redirection URIs can be variable when the host component indicates loopback.  When this flag is `true`, if the host component of a redirection URI specified in an authorization request indicates loopback (to be precise, when the host component is localhost, `127.0.0.1` or `::1`), the port number component is ignored when the specified redirection URI is compared to pre-registered ones. This behavior is described in [7.3. Loopback Interface Redirection]( https://www.rfc-editor.org/rfc/rfc8252.html#section-7.3) of [RFC 8252 OAuth 2.0](https://www.rfc-editor.org/rfc/rfc8252.html) for Native Apps.  [3.1.2.3. Dynamic Configuration](https://www.rfc-editor.org/rfc/rfc6749.html#section-3.1.2.3) of [RFC 6749](https://www.rfc-editor.org/rfc/rfc6749.html) states _\"If the client registration included the full redirection URI, the authorization server MUST compare the two URIs using simple string comparison as defined in [RFC3986] Section 6.2.1.\"_ Also, the description of `redirect_uri` in [3.1.2.1. Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest) of [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html) states _\"This URI MUST exactly match one of the Redirection URI values for the Client pre-registered at the OpenID Provider, with the matching performed as described in Section 6.2.1 of [RFC3986] (**Simple String Comparison**).\"_ These \"Simple String Comparison\" requirements are preceded by this flag. That is, even when the conditions described in RFC 6749 and OpenID Connect Core 1.0 are satisfied, the port number component of loopback redirection URIs can be variable when this flag is `true`.  [8.3. Loopback Redirect Considerations](https://www.rfc-editor.org/rfc/rfc8252.html#section-8.3) of [RFC 8252](https://www.rfc-editor.org/rfc/rfc8252.html) states as follows.  > While redirect URIs using localhost (i.e., `\"http://localhost:{port}/{path}\"`) function similarly to loopback IP redirects described in Section 7.3, the use of localhost is NOT RECOMMENDED. Specifying a redirect URI with the loopback IP literal rather than localhost avoids inadvertently listening on network interfaces other than the loopback interface. It is also less susceptible to client-side firewalls and misconfigured host name resolution on the user's device.  However, Authlete allows the port number component to be variable in the case of `localhost`, too. It is left to client applications whether they use `localhost` or a literal loopback IP address (`127.0.0.1` for IPv4 or `::1` for IPv6).  Section 7.3 and Section 8.3 of [RFC 8252](https://www.rfc-editor.org/rfc/rfc8252.html) state that loopback redirection URIs use the `\"http\"` scheme, but Authlete allows the port number component to be variable in other cases (e.g. in the case of the `\"https\"` scheme), too.
	LoopbackRedirectionUriVariable *bool `json:"loopbackRedirectionUriVariable,omitempty"`
	// The flag indicating whether Authlete checks whether the `aud` claim of request objects matches the issuer identifier of this service.  [Section 6.1. Passing a Request Object by Value](https://openid.net/specs/openid-connect-core-1_0.html#JWTRequests) of [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html) has the following statement.  > The `aud` value SHOULD be or include the OP's Issuer Identifier URL.  Likewise, [Section 4. Request Object](https://www.rfc-editor.org/rfc/rfc9101.html#section-4) of [RFC 9101](https://www.rfc-editor.org/rfc/rfc9101.html) (The OAuth 2.0 Authorization Framework: JWT-Secured Authorization Request (JAR)) has the following statement.  > The value of aud should be the value of the authorization server (AS) issuer, as defined in [RFC 8414](https://www.rfc-editor.org/rfc/rfc8414.html).  As excerpted above, validation on the `aud` claim of request objects is optional. However, if this flag is turned on, Authlete checks whether the `aud` claim of request objects matches the issuer identifier of this service and raises an error if they are different.
	RequestObjectAudienceChecked *bool `json:"requestObjectAudienceChecked,omitempty"`
	// The flag indicating whether Authlete generates access tokens for external attachments and embeds them in ID tokens and userinfo responses.
	AccessTokenForExternalAttachmentEmbedded *bool `json:"accessTokenForExternalAttachmentEmbedded,omitempty"`
	// Identifiers of entities that can issue entity statements for this service. This property corresponds to the `authority_hints` property that appears in a self-signed entity statement that is defined in OpenID Connect Federation 1.0.
	AuthorityHints []string `json:"authorityHints,omitempty"`
	// flag indicating whether this service supports OpenID Connect Federation 1
	FederationEnabled *bool `json:"federationEnabled,omitempty"`
	// JWK Set document containing keys that are used to sign (1) self-signed entity statement of this service and (2) the response from `signed_jwks_uri`.
	FederationJwks *string `json:"federationJwks,omitempty"`
	// A key ID to identify a JWK used to sign the entity configuration and the signed JWK Set.
	FederationSignatureKeyId *string `json:"federationSignatureKeyId,omitempty"`
	// The duration of the entity configuration in seconds.
	FederationConfigurationDuration *int32 `json:"federationConfigurationDuration,omitempty"`
	// The URI of the federation registration endpoint. This property corresponds to the `federation_registration_endpoint` server metadata that is defined in OpenID Connect Federation 1.0.
	FederationRegistrationEndpoint *string `json:"federationRegistrationEndpoint,omitempty"`
	// The human-readable name representing the organization that operates this service. This property corresponds to the {@code organization_name} server metadata that is defined in OpenID Connect Federation 1.0.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The transformed claims predefined by this service in JSON format. This property corresponds to the {@code transformed_claims_predefined} server metadata.
	PredefinedTransformedClaims *string `json:"predefinedTransformedClaims,omitempty"`
	// flag indicating whether refresh token requests with the same refresh token can be made multiple times in quick succession and they can obtain the same renewed refresh token within the short period.
	RefreshTokenIdempotent *bool `json:"refreshTokenIdempotent,omitempty"`
	// The URI of the endpoint that returns this service's JWK Set document in the JWT format. This property corresponds to the `signed_jwks_uri` server metadata defined in OpenID Connect Federation 1.0.
	SignedJwksUri *string `json:"signedJwksUri,omitempty"`
	// Supported attachment types. This property corresponds to the {@code attachments_supported} server metadata which was added by the third implementer's draft of OpenID Connect for Identity Assurance 1.0.
	SupportedAttachments []AttachmentType `json:"supportedAttachments,omitempty"`
	// Supported algorithms used to compute digest values of external attachments. This property corresponds to the `digest_algorithms_supported` server metadata which was added by the third implementer's draft of OpenID Connect for Identity Assurance 1.0.
	SupportedDigestAlgorithms []string `json:"supportedDigestAlgorithms,omitempty"`
	// Document types supported by this service. This property corresponds to the `documents_supported` server metadata.
	SupportedDocuments []string `json:"supportedDocuments,omitempty"`
	// validation and verification processes supported by this service. This property corresponds to the `documents_methods_supported` server metadata.  The third implementer's draft of [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html) renamed the `id_documents_verification_methods_supported` server metadata to `documents_methods_supported`.
	SupportedDocumentsMethods []string `json:"supportedDocumentsMethods,omitempty"`
	// Document validation methods supported by this service. This property corresponds to the `documents_validation_methods_supported` server metadata which was added by the third implementer's draft of <a href= [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html)
	SupportedDocumentsValidationMethods []string `json:"supportedDocumentsValidationMethods,omitempty"`
	// Document verification methods supported by this service. This property corresponds to the `documents_verification_methods_supported` server metadata which was added by the third implementer's draft of [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html)
	SupportedDocumentsVerificationMethods []string `json:"supportedDocumentsVerificationMethods,omitempty"`
	// Electronic record types supported by this service. This property corresponds to the `electronic_records_supported` server metadata which was added by the third implementer's draft of [OpenID Connect for Identity Assurance 1.0](https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html)
	SupportedElectronicRecords       []string                 `json:"supportedElectronicRecords,omitempty"`
	SupportedClientRegistrationTypes []ClientRegistrationType `json:"supportedClientRegistrationTypes,omitempty"`
	// The flag indicating whether to prohibit unidentifiable clients from making token exchange requests.
	TokenExchangeByIdentifiableClientsOnly *bool `json:"tokenExchangeByIdentifiableClientsOnly,omitempty"`
	// The flag indicating whether to prohibit public clients from making token exchange requests.
	TokenExchangeByConfidentialClientsOnly *bool `json:"tokenExchangeByConfidentialClientsOnly,omitempty"`
	// The flag indicating whether to prohibit clients that have no explicit permission from making token exchange requests.
	TokenExchangeByPermittedClientsOnly *bool `json:"tokenExchangeByPermittedClientsOnly,omitempty"`
	// The flag indicating whether to reject token exchange requests which use encrypted JWTs as input tokens.
	TokenExchangeEncryptedJwtRejected *bool `json:"tokenExchangeEncryptedJwtRejected,omitempty"`
	// The flag indicating whether to reject token exchange requests which use unsigned JWTs as input tokens.
	TokenExchangeUnsignedJwtRejected *bool `json:"tokenExchangeUnsignedJwtRejected,omitempty"`
	// The flag indicating whether to prohibit unidentifiable clients from using the grant type \"urn:ietf:params:oauth:grant-type:jwt-bearer\".
	JwtGrantByIdentifiableClientsOnly *bool `json:"jwtGrantByIdentifiableClientsOnly,omitempty"`
	// The flag indicating whether to reject token requests that use an encrypted JWT as an authorization grant with the grant type \"urn:ietf:params:oauth:grant-type:jwt-bearer\".
	JwtGrantEncryptedJwtRejected *bool `json:"jwtGrantEncryptedJwtRejected,omitempty"`
	// The flag indicating whether to reject token requests that use an unsigned JWT as an authorization grant with the grant type \"urn:ietf:params:oauth:grant-type:jwt-bearer\".
	JwtGrantUnsignedJwtRejected *bool `json:"jwtGrantUnsignedJwtRejected,omitempty"`
	// The flag indicating whether to block DCR (Dynamic Client Registration) requests whose \"software_id\" has already been used previously.
	DcrDuplicateSoftwareIdBlocked *bool `json:"dcrDuplicateSoftwareIdBlocked,omitempty"`
	// The trust anchors that are referenced when this service resolves trust chains of relying parties.  If this property is empty, client registration fails regardless of whether its type is `automatic` or `explicit`. It means that OpenID Connect Federation 1.0 does not work.
	TrustAnchors []TrustAnchor `json:"trustAnchors,omitempty"`
	// The flag indicating whether the openid scope should be dropped from  scopes list assigned to access token issued when a refresh token grant  is used.
	OpenidDroppedOnRefreshWithoutOfflineAccess *bool `json:"openidDroppedOnRefreshWithoutOfflineAccess,omitempty"`
	// Supported document check methods. This property corresponds to the `documents_check_methods_supported` server metadata which was added by the fourth implementer's draft of OpenID Connect for Identity Assurance 1.0.
	SupportedDocumentsCheckMethods []string `json:"supportedDocumentsCheckMethods,omitempty"`
	// The flag indicating whether this service signs responses from the resource server.
	RsResponseSigned *bool `json:"rsResponseSigned,omitempty"`
	// Get the key ID of a JWK containing the public key used by this client to sign requests to the resource server.
	RsSignedRequestKeyId *string `json:"rsSignedRequestKeyId,omitempty"`
}

Service struct for Service

func NewService

func NewService() *Service

NewService instantiates a new Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceWithDefaults

func NewServiceWithDefaults() *Service

NewServiceWithDefaults instantiates a new Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Service) GetAccessTokenDuration

func (o *Service) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*Service) GetAccessTokenDurationOk

func (o *Service) GetAccessTokenDurationOk() (*int64, bool)

GetAccessTokenDurationOk returns a tuple with the AccessTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAccessTokenForExternalAttachmentEmbedded added in v1.1.1

func (o *Service) GetAccessTokenForExternalAttachmentEmbedded() bool

GetAccessTokenForExternalAttachmentEmbedded returns the AccessTokenForExternalAttachmentEmbedded field value if set, zero value otherwise.

func (*Service) GetAccessTokenForExternalAttachmentEmbeddedOk added in v1.1.1

func (o *Service) GetAccessTokenForExternalAttachmentEmbeddedOk() (*bool, bool)

GetAccessTokenForExternalAttachmentEmbeddedOk returns a tuple with the AccessTokenForExternalAttachmentEmbedded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAccessTokenSignAlg

func (o *Service) GetAccessTokenSignAlg() JwsAlg

GetAccessTokenSignAlg returns the AccessTokenSignAlg field value if set, zero value otherwise.

func (*Service) GetAccessTokenSignAlgOk

func (o *Service) GetAccessTokenSignAlgOk() (*JwsAlg, bool)

GetAccessTokenSignAlgOk returns a tuple with the AccessTokenSignAlg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAccessTokenSignatureKeyId

func (o *Service) GetAccessTokenSignatureKeyId() string

GetAccessTokenSignatureKeyId returns the AccessTokenSignatureKeyId field value if set, zero value otherwise.

func (*Service) GetAccessTokenSignatureKeyIdOk

func (o *Service) GetAccessTokenSignatureKeyIdOk() (*string, bool)

GetAccessTokenSignatureKeyIdOk returns a tuple with the AccessTokenSignatureKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAccessTokenType

func (o *Service) GetAccessTokenType() string

GetAccessTokenType returns the AccessTokenType field value if set, zero value otherwise.

func (*Service) GetAccessTokenTypeOk

func (o *Service) GetAccessTokenTypeOk() (*string, bool)

GetAccessTokenTypeOk returns a tuple with the AccessTokenType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAllowableClockSkew

func (o *Service) GetAllowableClockSkew() int32

GetAllowableClockSkew returns the AllowableClockSkew field value if set, zero value otherwise.

func (*Service) GetAllowableClockSkewOk

func (o *Service) GetAllowableClockSkewOk() (*int32, bool)

GetAllowableClockSkewOk returns a tuple with the AllowableClockSkew field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetApiKey

func (o *Service) GetApiKey() int64

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*Service) GetApiKeyOk

func (o *Service) GetApiKeyOk() (*int64, bool)

GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetApiSecret

func (o *Service) GetApiSecret() string

GetApiSecret returns the ApiSecret field value if set, zero value otherwise.

func (*Service) GetApiSecretOk

func (o *Service) GetApiSecretOk() (*string, bool)

GetApiSecretOk returns a tuple with the ApiSecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAttributes

func (o *Service) GetAttributes() []Pair

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Service) GetAttributesOk

func (o *Service) GetAttributesOk() ([]Pair, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthenticationCallbackApiKey

func (o *Service) GetAuthenticationCallbackApiKey() string

GetAuthenticationCallbackApiKey returns the AuthenticationCallbackApiKey field value if set, zero value otherwise.

func (*Service) GetAuthenticationCallbackApiKeyOk

func (o *Service) GetAuthenticationCallbackApiKeyOk() (*string, bool)

GetAuthenticationCallbackApiKeyOk returns a tuple with the AuthenticationCallbackApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthenticationCallbackApiSecret

func (o *Service) GetAuthenticationCallbackApiSecret() string

GetAuthenticationCallbackApiSecret returns the AuthenticationCallbackApiSecret field value if set, zero value otherwise.

func (*Service) GetAuthenticationCallbackApiSecretOk

func (o *Service) GetAuthenticationCallbackApiSecretOk() (*string, bool)

GetAuthenticationCallbackApiSecretOk returns a tuple with the AuthenticationCallbackApiSecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthenticationCallbackEndpoint

func (o *Service) GetAuthenticationCallbackEndpoint() string

GetAuthenticationCallbackEndpoint returns the AuthenticationCallbackEndpoint field value if set, zero value otherwise.

func (*Service) GetAuthenticationCallbackEndpointOk

func (o *Service) GetAuthenticationCallbackEndpointOk() (*string, bool)

GetAuthenticationCallbackEndpointOk returns a tuple with the AuthenticationCallbackEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthorityHints added in v1.1.1

func (o *Service) GetAuthorityHints() []string

GetAuthorityHints returns the AuthorityHints field value if set, zero value otherwise.

func (*Service) GetAuthorityHintsOk added in v1.1.1

func (o *Service) GetAuthorityHintsOk() ([]string, bool)

GetAuthorityHintsOk returns a tuple with the AuthorityHints field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthorizationEndpoint

func (o *Service) GetAuthorizationEndpoint() string

GetAuthorizationEndpoint returns the AuthorizationEndpoint field value if set, zero value otherwise.

func (*Service) GetAuthorizationEndpointOk

func (o *Service) GetAuthorizationEndpointOk() (*string, bool)

GetAuthorizationEndpointOk returns a tuple with the AuthorizationEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthorizationResponseDuration

func (o *Service) GetAuthorizationResponseDuration() int64

GetAuthorizationResponseDuration returns the AuthorizationResponseDuration field value if set, zero value otherwise.

func (*Service) GetAuthorizationResponseDurationOk

func (o *Service) GetAuthorizationResponseDurationOk() (*int64, bool)

GetAuthorizationResponseDurationOk returns a tuple with the AuthorizationResponseDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetAuthorizationSignatureKeyId

func (o *Service) GetAuthorizationSignatureKeyId() string

GetAuthorizationSignatureKeyId returns the AuthorizationSignatureKeyId field value if set, zero value otherwise.

func (*Service) GetAuthorizationSignatureKeyIdOk

func (o *Service) GetAuthorizationSignatureKeyIdOk() (*string, bool)

GetAuthorizationSignatureKeyIdOk returns a tuple with the AuthorizationSignatureKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetBackchannelAuthReqIdDuration

func (o *Service) GetBackchannelAuthReqIdDuration() int32

GetBackchannelAuthReqIdDuration returns the BackchannelAuthReqIdDuration field value if set, zero value otherwise.

func (*Service) GetBackchannelAuthReqIdDurationOk

func (o *Service) GetBackchannelAuthReqIdDurationOk() (*int32, bool)

GetBackchannelAuthReqIdDurationOk returns a tuple with the BackchannelAuthReqIdDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetBackchannelAuthenticationEndpoint

func (o *Service) GetBackchannelAuthenticationEndpoint() string

GetBackchannelAuthenticationEndpoint returns the BackchannelAuthenticationEndpoint field value if set, zero value otherwise.

func (*Service) GetBackchannelAuthenticationEndpointOk

func (o *Service) GetBackchannelAuthenticationEndpointOk() (*string, bool)

GetBackchannelAuthenticationEndpointOk returns a tuple with the BackchannelAuthenticationEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetBackchannelBindingMessageRequiredInFapi

func (o *Service) GetBackchannelBindingMessageRequiredInFapi() bool

GetBackchannelBindingMessageRequiredInFapi returns the BackchannelBindingMessageRequiredInFapi field value if set, zero value otherwise.

func (*Service) GetBackchannelBindingMessageRequiredInFapiOk

func (o *Service) GetBackchannelBindingMessageRequiredInFapiOk() (*bool, bool)

GetBackchannelBindingMessageRequiredInFapiOk returns a tuple with the BackchannelBindingMessageRequiredInFapi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetBackchannelPollingInterval

func (o *Service) GetBackchannelPollingInterval() int32

GetBackchannelPollingInterval returns the BackchannelPollingInterval field value if set, zero value otherwise.

func (*Service) GetBackchannelPollingIntervalOk

func (o *Service) GetBackchannelPollingIntervalOk() (*int32, bool)

GetBackchannelPollingIntervalOk returns a tuple with the BackchannelPollingInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetBackchannelUserCodeParameterSupported

func (o *Service) GetBackchannelUserCodeParameterSupported() bool

GetBackchannelUserCodeParameterSupported returns the BackchannelUserCodeParameterSupported field value if set, zero value otherwise.

func (*Service) GetBackchannelUserCodeParameterSupportedOk

func (o *Service) GetBackchannelUserCodeParameterSupportedOk() (*bool, bool)

GetBackchannelUserCodeParameterSupportedOk returns a tuple with the BackchannelUserCodeParameterSupported field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetClaimShortcutRestrictive

func (o *Service) GetClaimShortcutRestrictive() bool

GetClaimShortcutRestrictive returns the ClaimShortcutRestrictive field value if set, zero value otherwise.

func (*Service) GetClaimShortcutRestrictiveOk

func (o *Service) GetClaimShortcutRestrictiveOk() (*bool, bool)

GetClaimShortcutRestrictiveOk returns a tuple with the ClaimShortcutRestrictive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetClientIdAliasEnabled

func (o *Service) GetClientIdAliasEnabled() bool

GetClientIdAliasEnabled returns the ClientIdAliasEnabled field value if set, zero value otherwise.

func (*Service) GetClientIdAliasEnabledOk

func (o *Service) GetClientIdAliasEnabledOk() (*bool, bool)

GetClientIdAliasEnabledOk returns a tuple with the ClientIdAliasEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetClientsPerDeveloper

func (o *Service) GetClientsPerDeveloper() int32

GetClientsPerDeveloper returns the ClientsPerDeveloper field value if set, zero value otherwise.

func (*Service) GetClientsPerDeveloperOk

func (o *Service) GetClientsPerDeveloperOk() (*int32, bool)

GetClientsPerDeveloperOk returns a tuple with the ClientsPerDeveloper field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetCreatedAt

func (o *Service) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Service) GetCreatedAtOk

func (o *Service) GetCreatedAtOk() (*int64, 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 (*Service) GetDcrDuplicateSoftwareIdBlocked added in v1.1.0

func (o *Service) GetDcrDuplicateSoftwareIdBlocked() bool

GetDcrDuplicateSoftwareIdBlocked returns the DcrDuplicateSoftwareIdBlocked field value if set, zero value otherwise.

func (*Service) GetDcrDuplicateSoftwareIdBlockedOk added in v1.1.0

func (o *Service) GetDcrDuplicateSoftwareIdBlockedOk() (*bool, bool)

GetDcrDuplicateSoftwareIdBlockedOk returns a tuple with the DcrDuplicateSoftwareIdBlocked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDcrScopeUsedAsRequestable

func (o *Service) GetDcrScopeUsedAsRequestable() bool

GetDcrScopeUsedAsRequestable returns the DcrScopeUsedAsRequestable field value if set, zero value otherwise.

func (*Service) GetDcrScopeUsedAsRequestableOk

func (o *Service) GetDcrScopeUsedAsRequestableOk() (*bool, bool)

GetDcrScopeUsedAsRequestableOk returns a tuple with the DcrScopeUsedAsRequestable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDescription

func (o *Service) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Service) GetDescriptionOk

func (o *Service) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeveloperAuthenticationCallbackApiKey

func (o *Service) GetDeveloperAuthenticationCallbackApiKey() string

GetDeveloperAuthenticationCallbackApiKey returns the DeveloperAuthenticationCallbackApiKey field value if set, zero value otherwise.

func (*Service) GetDeveloperAuthenticationCallbackApiKeyOk

func (o *Service) GetDeveloperAuthenticationCallbackApiKeyOk() (*string, bool)

GetDeveloperAuthenticationCallbackApiKeyOk returns a tuple with the DeveloperAuthenticationCallbackApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeveloperAuthenticationCallbackApiSecret

func (o *Service) GetDeveloperAuthenticationCallbackApiSecret() string

GetDeveloperAuthenticationCallbackApiSecret returns the DeveloperAuthenticationCallbackApiSecret field value if set, zero value otherwise.

func (*Service) GetDeveloperAuthenticationCallbackApiSecretOk

func (o *Service) GetDeveloperAuthenticationCallbackApiSecretOk() (*string, bool)

GetDeveloperAuthenticationCallbackApiSecretOk returns a tuple with the DeveloperAuthenticationCallbackApiSecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeveloperAuthenticationCallbackEndpoint

func (o *Service) GetDeveloperAuthenticationCallbackEndpoint() string

GetDeveloperAuthenticationCallbackEndpoint returns the DeveloperAuthenticationCallbackEndpoint field value if set, zero value otherwise.

func (*Service) GetDeveloperAuthenticationCallbackEndpointOk

func (o *Service) GetDeveloperAuthenticationCallbackEndpointOk() (*string, bool)

GetDeveloperAuthenticationCallbackEndpointOk returns a tuple with the DeveloperAuthenticationCallbackEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeveloperSnsCredentials

func (o *Service) GetDeveloperSnsCredentials() string

GetDeveloperSnsCredentials returns the DeveloperSnsCredentials field value if set, zero value otherwise.

func (*Service) GetDeveloperSnsCredentialsOk

func (o *Service) GetDeveloperSnsCredentialsOk() (*string, bool)

GetDeveloperSnsCredentialsOk returns a tuple with the DeveloperSnsCredentials field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeviceAuthorizationEndpoint

func (o *Service) GetDeviceAuthorizationEndpoint() string

GetDeviceAuthorizationEndpoint returns the DeviceAuthorizationEndpoint field value if set, zero value otherwise.

func (*Service) GetDeviceAuthorizationEndpointOk

func (o *Service) GetDeviceAuthorizationEndpointOk() (*string, bool)

GetDeviceAuthorizationEndpointOk returns a tuple with the DeviceAuthorizationEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeviceFlowCodeDuration

func (o *Service) GetDeviceFlowCodeDuration() int32

GetDeviceFlowCodeDuration returns the DeviceFlowCodeDuration field value if set, zero value otherwise.

func (*Service) GetDeviceFlowCodeDurationOk

func (o *Service) GetDeviceFlowCodeDurationOk() (*int32, bool)

GetDeviceFlowCodeDurationOk returns a tuple with the DeviceFlowCodeDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeviceFlowPollingInterval

func (o *Service) GetDeviceFlowPollingInterval() int32

GetDeviceFlowPollingInterval returns the DeviceFlowPollingInterval field value if set, zero value otherwise.

func (*Service) GetDeviceFlowPollingIntervalOk

func (o *Service) GetDeviceFlowPollingIntervalOk() (*int32, bool)

GetDeviceFlowPollingIntervalOk returns a tuple with the DeviceFlowPollingInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeviceVerificationUri

func (o *Service) GetDeviceVerificationUri() string

GetDeviceVerificationUri returns the DeviceVerificationUri field value if set, zero value otherwise.

func (*Service) GetDeviceVerificationUriComplete

func (o *Service) GetDeviceVerificationUriComplete() string

GetDeviceVerificationUriComplete returns the DeviceVerificationUriComplete field value if set, zero value otherwise.

func (*Service) GetDeviceVerificationUriCompleteOk

func (o *Service) GetDeviceVerificationUriCompleteOk() (*string, bool)

GetDeviceVerificationUriCompleteOk returns a tuple with the DeviceVerificationUriComplete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDeviceVerificationUriOk

func (o *Service) GetDeviceVerificationUriOk() (*string, bool)

GetDeviceVerificationUriOk returns a tuple with the DeviceVerificationUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDirectAuthorizationEndpointEnabled

func (o *Service) GetDirectAuthorizationEndpointEnabled() bool

GetDirectAuthorizationEndpointEnabled returns the DirectAuthorizationEndpointEnabled field value if set, zero value otherwise.

func (*Service) GetDirectAuthorizationEndpointEnabledOk

func (o *Service) GetDirectAuthorizationEndpointEnabledOk() (*bool, bool)

GetDirectAuthorizationEndpointEnabledOk returns a tuple with the DirectAuthorizationEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDirectIntrospectionEndpointEnabled

func (o *Service) GetDirectIntrospectionEndpointEnabled() bool

GetDirectIntrospectionEndpointEnabled returns the DirectIntrospectionEndpointEnabled field value if set, zero value otherwise.

func (*Service) GetDirectIntrospectionEndpointEnabledOk

func (o *Service) GetDirectIntrospectionEndpointEnabledOk() (*bool, bool)

GetDirectIntrospectionEndpointEnabledOk returns a tuple with the DirectIntrospectionEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDirectJwksEndpointEnabled

func (o *Service) GetDirectJwksEndpointEnabled() bool

GetDirectJwksEndpointEnabled returns the DirectJwksEndpointEnabled field value if set, zero value otherwise.

func (*Service) GetDirectJwksEndpointEnabledOk

func (o *Service) GetDirectJwksEndpointEnabledOk() (*bool, bool)

GetDirectJwksEndpointEnabledOk returns a tuple with the DirectJwksEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDirectRevocationEndpointEnabled

func (o *Service) GetDirectRevocationEndpointEnabled() bool

GetDirectRevocationEndpointEnabled returns the DirectRevocationEndpointEnabled field value if set, zero value otherwise.

func (*Service) GetDirectRevocationEndpointEnabledOk

func (o *Service) GetDirectRevocationEndpointEnabledOk() (*bool, bool)

GetDirectRevocationEndpointEnabledOk returns a tuple with the DirectRevocationEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDirectTokenEndpointEnabled

func (o *Service) GetDirectTokenEndpointEnabled() bool

GetDirectTokenEndpointEnabled returns the DirectTokenEndpointEnabled field value if set, zero value otherwise.

func (*Service) GetDirectTokenEndpointEnabledOk

func (o *Service) GetDirectTokenEndpointEnabledOk() (*bool, bool)

GetDirectTokenEndpointEnabledOk returns a tuple with the DirectTokenEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDirectUserInfoEndpointEnabled

func (o *Service) GetDirectUserInfoEndpointEnabled() bool

GetDirectUserInfoEndpointEnabled returns the DirectUserInfoEndpointEnabled field value if set, zero value otherwise.

func (*Service) GetDirectUserInfoEndpointEnabledOk

func (o *Service) GetDirectUserInfoEndpointEnabledOk() (*bool, bool)

GetDirectUserInfoEndpointEnabledOk returns a tuple with the DirectUserInfoEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetDynamicRegistrationSupported

func (o *Service) GetDynamicRegistrationSupported() bool

GetDynamicRegistrationSupported returns the DynamicRegistrationSupported field value if set, zero value otherwise.

func (*Service) GetDynamicRegistrationSupportedOk

func (o *Service) GetDynamicRegistrationSupportedOk() (*bool, bool)

GetDynamicRegistrationSupportedOk returns a tuple with the DynamicRegistrationSupported field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetEndSessionEndpoint

func (o *Service) GetEndSessionEndpoint() string

GetEndSessionEndpoint returns the EndSessionEndpoint field value if set, zero value otherwise.

func (*Service) GetEndSessionEndpointOk

func (o *Service) 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 (*Service) GetErrorDescriptionOmitted

func (o *Service) GetErrorDescriptionOmitted() bool

GetErrorDescriptionOmitted returns the ErrorDescriptionOmitted field value if set, zero value otherwise.

func (*Service) GetErrorDescriptionOmittedOk

func (o *Service) GetErrorDescriptionOmittedOk() (*bool, bool)

GetErrorDescriptionOmittedOk returns a tuple with the ErrorDescriptionOmitted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetErrorUriOmitted

func (o *Service) GetErrorUriOmitted() bool

GetErrorUriOmitted returns the ErrorUriOmitted field value if set, zero value otherwise.

func (*Service) GetErrorUriOmittedOk

func (o *Service) GetErrorUriOmittedOk() (*bool, bool)

GetErrorUriOmittedOk returns a tuple with the ErrorUriOmitted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetFederationConfigurationDuration added in v1.1.1

func (o *Service) GetFederationConfigurationDuration() int32

GetFederationConfigurationDuration returns the FederationConfigurationDuration field value if set, zero value otherwise.

func (*Service) GetFederationConfigurationDurationOk added in v1.1.1

func (o *Service) GetFederationConfigurationDurationOk() (*int32, bool)

GetFederationConfigurationDurationOk returns a tuple with the FederationConfigurationDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetFederationEnabled added in v1.1.1

func (o *Service) GetFederationEnabled() bool

GetFederationEnabled returns the FederationEnabled field value if set, zero value otherwise.

func (*Service) GetFederationEnabledOk added in v1.1.1

func (o *Service) GetFederationEnabledOk() (*bool, bool)

GetFederationEnabledOk returns a tuple with the FederationEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetFederationJwks added in v1.1.1

func (o *Service) GetFederationJwks() string

GetFederationJwks returns the FederationJwks field value if set, zero value otherwise.

func (*Service) GetFederationJwksOk added in v1.1.1

func (o *Service) GetFederationJwksOk() (*string, bool)

GetFederationJwksOk returns a tuple with the FederationJwks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetFederationRegistrationEndpoint added in v1.1.1

func (o *Service) GetFederationRegistrationEndpoint() string

GetFederationRegistrationEndpoint returns the FederationRegistrationEndpoint field value if set, zero value otherwise.

func (*Service) GetFederationRegistrationEndpointOk added in v1.1.1

func (o *Service) GetFederationRegistrationEndpointOk() (*string, bool)

GetFederationRegistrationEndpointOk returns a tuple with the FederationRegistrationEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetFederationSignatureKeyId added in v1.1.1

func (o *Service) GetFederationSignatureKeyId() string

GetFederationSignatureKeyId returns the FederationSignatureKeyId field value if set, zero value otherwise.

func (*Service) GetFederationSignatureKeyIdOk added in v1.1.1

func (o *Service) GetFederationSignatureKeyIdOk() (*string, bool)

GetFederationSignatureKeyIdOk returns a tuple with the FederationSignatureKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetFrontChannelRequestObjectEncryptionRequired

func (o *Service) GetFrontChannelRequestObjectEncryptionRequired() bool

GetFrontChannelRequestObjectEncryptionRequired returns the FrontChannelRequestObjectEncryptionRequired field value if set, zero value otherwise.

func (*Service) GetFrontChannelRequestObjectEncryptionRequiredOk

func (o *Service) GetFrontChannelRequestObjectEncryptionRequiredOk() (*bool, bool)

GetFrontChannelRequestObjectEncryptionRequiredOk returns a tuple with the FrontChannelRequestObjectEncryptionRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetGrantManagementActionRequired

func (o *Service) GetGrantManagementActionRequired() bool

GetGrantManagementActionRequired returns the GrantManagementActionRequired field value if set, zero value otherwise.

func (*Service) GetGrantManagementActionRequiredOk

func (o *Service) GetGrantManagementActionRequiredOk() (*bool, bool)

GetGrantManagementActionRequiredOk returns a tuple with the GrantManagementActionRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetGrantManagementEndpoint

func (o *Service) GetGrantManagementEndpoint() string

GetGrantManagementEndpoint returns the GrantManagementEndpoint field value if set, zero value otherwise.

func (*Service) GetGrantManagementEndpointOk

func (o *Service) GetGrantManagementEndpointOk() (*string, bool)

GetGrantManagementEndpointOk returns a tuple with the GrantManagementEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetHsks

func (o *Service) GetHsks() []Pair

GetHsks returns the Hsks field value if set, zero value otherwise.

func (*Service) GetHsksOk

func (o *Service) GetHsksOk() ([]Pair, bool)

GetHsksOk returns a tuple with the Hsks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetHsmEnabled

func (o *Service) GetHsmEnabled() bool

GetHsmEnabled returns the HsmEnabled field value if set, zero value otherwise.

func (*Service) GetHsmEnabledOk

func (o *Service) GetHsmEnabledOk() (*bool, bool)

GetHsmEnabledOk returns a tuple with the HsmEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetIdTokenDuration

func (o *Service) GetIdTokenDuration() int64

GetIdTokenDuration returns the IdTokenDuration field value if set, zero value otherwise.

func (*Service) GetIdTokenDurationOk

func (o *Service) GetIdTokenDurationOk() (*int64, bool)

GetIdTokenDurationOk returns a tuple with the IdTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetIdTokenSignatureKeyId

func (o *Service) GetIdTokenSignatureKeyId() string

GetIdTokenSignatureKeyId returns the IdTokenSignatureKeyId field value if set, zero value otherwise.

func (*Service) GetIdTokenSignatureKeyIdOk

func (o *Service) GetIdTokenSignatureKeyIdOk() (*string, bool)

GetIdTokenSignatureKeyIdOk returns a tuple with the IdTokenSignatureKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetIntrospectionEndpoint

func (o *Service) GetIntrospectionEndpoint() string

GetIntrospectionEndpoint returns the IntrospectionEndpoint field value if set, zero value otherwise.

func (*Service) GetIntrospectionEndpointOk

func (o *Service) GetIntrospectionEndpointOk() (*string, bool)

GetIntrospectionEndpointOk returns a tuple with the IntrospectionEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetIssSuppressed

func (o *Service) GetIssSuppressed() bool

GetIssSuppressed returns the IssSuppressed field value if set, zero value otherwise.

func (*Service) GetIssSuppressedOk

func (o *Service) GetIssSuppressedOk() (*bool, bool)

GetIssSuppressedOk returns a tuple with the IssSuppressed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetIssuer

func (o *Service) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*Service) GetIssuerOk

func (o *Service) 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 (*Service) GetJwks

func (o *Service) GetJwks() string

GetJwks returns the Jwks field value if set, zero value otherwise.

func (*Service) GetJwksOk

func (o *Service) GetJwksOk() (*string, bool)

GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetJwksUri

func (o *Service) GetJwksUri() string

GetJwksUri returns the JwksUri field value if set, zero value otherwise.

func (*Service) GetJwksUriOk

func (o *Service) 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 (*Service) GetJwtGrantByIdentifiableClientsOnly added in v1.1.1

func (o *Service) GetJwtGrantByIdentifiableClientsOnly() bool

GetJwtGrantByIdentifiableClientsOnly returns the JwtGrantByIdentifiableClientsOnly field value if set, zero value otherwise.

func (*Service) GetJwtGrantByIdentifiableClientsOnlyOk added in v1.1.1

func (o *Service) GetJwtGrantByIdentifiableClientsOnlyOk() (*bool, bool)

GetJwtGrantByIdentifiableClientsOnlyOk returns a tuple with the JwtGrantByIdentifiableClientsOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetJwtGrantEncryptedJwtRejected added in v1.1.1

func (o *Service) GetJwtGrantEncryptedJwtRejected() bool

GetJwtGrantEncryptedJwtRejected returns the JwtGrantEncryptedJwtRejected field value if set, zero value otherwise.

func (*Service) GetJwtGrantEncryptedJwtRejectedOk added in v1.1.1

func (o *Service) GetJwtGrantEncryptedJwtRejectedOk() (*bool, bool)

GetJwtGrantEncryptedJwtRejectedOk returns a tuple with the JwtGrantEncryptedJwtRejected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetJwtGrantUnsignedJwtRejected added in v1.1.1

func (o *Service) GetJwtGrantUnsignedJwtRejected() bool

GetJwtGrantUnsignedJwtRejected returns the JwtGrantUnsignedJwtRejected field value if set, zero value otherwise.

func (*Service) GetJwtGrantUnsignedJwtRejectedOk added in v1.1.1

func (o *Service) GetJwtGrantUnsignedJwtRejectedOk() (*bool, bool)

GetJwtGrantUnsignedJwtRejectedOk returns a tuple with the JwtGrantUnsignedJwtRejected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetLoopbackRedirectionUriVariable added in v0.2.0

func (o *Service) GetLoopbackRedirectionUriVariable() bool

GetLoopbackRedirectionUriVariable returns the LoopbackRedirectionUriVariable field value if set, zero value otherwise.

func (*Service) GetLoopbackRedirectionUriVariableOk added in v0.2.0

func (o *Service) GetLoopbackRedirectionUriVariableOk() (*bool, bool)

GetLoopbackRedirectionUriVariableOk returns a tuple with the LoopbackRedirectionUriVariable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetMetadata

func (o *Service) GetMetadata() []Pair

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Service) GetMetadataOk

func (o *Service) GetMetadataOk() ([]Pair, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetMissingClientIdAllowed

func (o *Service) GetMissingClientIdAllowed() bool

GetMissingClientIdAllowed returns the MissingClientIdAllowed field value if set, zero value otherwise.

func (*Service) GetMissingClientIdAllowedOk

func (o *Service) GetMissingClientIdAllowedOk() (*bool, bool)

GetMissingClientIdAllowedOk returns a tuple with the MissingClientIdAllowed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetModifiedAt

func (o *Service) GetModifiedAt() int64

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*Service) GetModifiedAtOk

func (o *Service) GetModifiedAtOk() (*int64, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetMtlsEndpointAliases

func (o *Service) GetMtlsEndpointAliases() []NamedUri

GetMtlsEndpointAliases returns the MtlsEndpointAliases field value if set, zero value otherwise.

func (*Service) GetMtlsEndpointAliasesOk

func (o *Service) GetMtlsEndpointAliasesOk() ([]NamedUri, bool)

GetMtlsEndpointAliasesOk returns a tuple with the MtlsEndpointAliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetMutualTlsValidatePkiCertChain

func (o *Service) GetMutualTlsValidatePkiCertChain() bool

GetMutualTlsValidatePkiCertChain returns the MutualTlsValidatePkiCertChain field value if set, zero value otherwise.

func (*Service) GetMutualTlsValidatePkiCertChainOk

func (o *Service) GetMutualTlsValidatePkiCertChainOk() (*bool, bool)

GetMutualTlsValidatePkiCertChainOk returns a tuple with the MutualTlsValidatePkiCertChain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetNbfOptional

func (o *Service) GetNbfOptional() bool

GetNbfOptional returns the NbfOptional field value if set, zero value otherwise.

func (*Service) GetNbfOptionalOk

func (o *Service) GetNbfOptionalOk() (*bool, bool)

GetNbfOptionalOk returns a tuple with the NbfOptional field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetNumber

func (o *Service) GetNumber() int32

GetNumber returns the Number field value if set, zero value otherwise.

func (*Service) GetNumberOk

func (o *Service) GetNumberOk() (*int32, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetOpenidDroppedOnRefreshWithoutOfflineAccess added in v1.1.1

func (o *Service) GetOpenidDroppedOnRefreshWithoutOfflineAccess() bool

GetOpenidDroppedOnRefreshWithoutOfflineAccess returns the OpenidDroppedOnRefreshWithoutOfflineAccess field value if set, zero value otherwise.

func (*Service) GetOpenidDroppedOnRefreshWithoutOfflineAccessOk added in v1.1.1

func (o *Service) GetOpenidDroppedOnRefreshWithoutOfflineAccessOk() (*bool, bool)

GetOpenidDroppedOnRefreshWithoutOfflineAccessOk returns a tuple with the OpenidDroppedOnRefreshWithoutOfflineAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetOrganizationName added in v1.1.1

func (o *Service) GetOrganizationName() string

GetOrganizationName returns the OrganizationName field value if set, zero value otherwise.

func (*Service) GetOrganizationNameOk added in v1.1.1

func (o *Service) GetOrganizationNameOk() (*string, bool)

GetOrganizationNameOk returns a tuple with the OrganizationName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetParRequired

func (o *Service) GetParRequired() bool

GetParRequired returns the ParRequired field value if set, zero value otherwise.

func (*Service) GetParRequiredOk

func (o *Service) GetParRequiredOk() (*bool, bool)

GetParRequiredOk returns a tuple with the ParRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetPkceRequired

func (o *Service) GetPkceRequired() bool

GetPkceRequired returns the PkceRequired field value if set, zero value otherwise.

func (*Service) GetPkceRequiredOk

func (o *Service) GetPkceRequiredOk() (*bool, bool)

GetPkceRequiredOk returns a tuple with the PkceRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetPkceS256Required

func (o *Service) GetPkceS256Required() bool

GetPkceS256Required returns the PkceS256Required field value if set, zero value otherwise.

func (*Service) GetPkceS256RequiredOk

func (o *Service) GetPkceS256RequiredOk() (*bool, bool)

GetPkceS256RequiredOk returns a tuple with the PkceS256Required field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetPolicyUri

func (o *Service) GetPolicyUri() string

GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.

func (*Service) GetPolicyUriOk

func (o *Service) 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 (*Service) GetPredefinedTransformedClaims added in v1.1.1

func (o *Service) GetPredefinedTransformedClaims() string

GetPredefinedTransformedClaims returns the PredefinedTransformedClaims field value if set, zero value otherwise.

func (*Service) GetPredefinedTransformedClaimsOk added in v1.1.1

func (o *Service) GetPredefinedTransformedClaimsOk() (*string, bool)

GetPredefinedTransformedClaimsOk returns a tuple with the PredefinedTransformedClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetPushedAuthReqDuration

func (o *Service) GetPushedAuthReqDuration() int64

GetPushedAuthReqDuration returns the PushedAuthReqDuration field value if set, zero value otherwise.

func (*Service) GetPushedAuthReqDurationOk

func (o *Service) GetPushedAuthReqDurationOk() (*int64, bool)

GetPushedAuthReqDurationOk returns a tuple with the PushedAuthReqDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetPushedAuthReqEndpoint

func (o *Service) GetPushedAuthReqEndpoint() string

GetPushedAuthReqEndpoint returns the PushedAuthReqEndpoint field value if set, zero value otherwise.

func (*Service) GetPushedAuthReqEndpointOk

func (o *Service) GetPushedAuthReqEndpointOk() (*string, bool)

GetPushedAuthReqEndpointOk returns a tuple with the PushedAuthReqEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRefreshTokenDuration

func (o *Service) GetRefreshTokenDuration() int64

GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.

func (*Service) GetRefreshTokenDurationKept

func (o *Service) GetRefreshTokenDurationKept() bool

GetRefreshTokenDurationKept returns the RefreshTokenDurationKept field value if set, zero value otherwise.

func (*Service) GetRefreshTokenDurationKeptOk

func (o *Service) GetRefreshTokenDurationKeptOk() (*bool, bool)

GetRefreshTokenDurationKeptOk returns a tuple with the RefreshTokenDurationKept field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRefreshTokenDurationOk

func (o *Service) GetRefreshTokenDurationOk() (*int64, bool)

GetRefreshTokenDurationOk returns a tuple with the RefreshTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRefreshTokenDurationReset

func (o *Service) GetRefreshTokenDurationReset() bool

GetRefreshTokenDurationReset returns the RefreshTokenDurationReset field value if set, zero value otherwise.

func (*Service) GetRefreshTokenDurationResetOk

func (o *Service) GetRefreshTokenDurationResetOk() (*bool, bool)

GetRefreshTokenDurationResetOk returns a tuple with the RefreshTokenDurationReset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRefreshTokenIdempotent added in v1.1.1

func (o *Service) GetRefreshTokenIdempotent() bool

GetRefreshTokenIdempotent returns the RefreshTokenIdempotent field value if set, zero value otherwise.

func (*Service) GetRefreshTokenIdempotentOk added in v1.1.1

func (o *Service) GetRefreshTokenIdempotentOk() (*bool, bool)

GetRefreshTokenIdempotentOk returns a tuple with the RefreshTokenIdempotent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRefreshTokenKept

func (o *Service) GetRefreshTokenKept() bool

GetRefreshTokenKept returns the RefreshTokenKept field value if set, zero value otherwise.

func (*Service) GetRefreshTokenKeptOk

func (o *Service) GetRefreshTokenKeptOk() (*bool, bool)

GetRefreshTokenKeptOk returns a tuple with the RefreshTokenKept field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRegistrationEndpoint

func (o *Service) GetRegistrationEndpoint() string

GetRegistrationEndpoint returns the RegistrationEndpoint field value if set, zero value otherwise.

func (*Service) GetRegistrationEndpointOk

func (o *Service) 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 (*Service) GetRegistrationManagementEndpoint

func (o *Service) GetRegistrationManagementEndpoint() string

GetRegistrationManagementEndpoint returns the RegistrationManagementEndpoint field value if set, zero value otherwise.

func (*Service) GetRegistrationManagementEndpointOk

func (o *Service) GetRegistrationManagementEndpointOk() (*string, bool)

GetRegistrationManagementEndpointOk returns a tuple with the RegistrationManagementEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRequestObjectAudienceChecked added in v1.0.0

func (o *Service) GetRequestObjectAudienceChecked() bool

GetRequestObjectAudienceChecked returns the RequestObjectAudienceChecked field value if set, zero value otherwise.

func (*Service) GetRequestObjectAudienceCheckedOk added in v1.0.0

func (o *Service) GetRequestObjectAudienceCheckedOk() (*bool, bool)

GetRequestObjectAudienceCheckedOk returns a tuple with the RequestObjectAudienceChecked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRequestObjectEncryptionAlgMatchRequired

func (o *Service) GetRequestObjectEncryptionAlgMatchRequired() bool

GetRequestObjectEncryptionAlgMatchRequired returns the RequestObjectEncryptionAlgMatchRequired field value if set, zero value otherwise.

func (*Service) GetRequestObjectEncryptionAlgMatchRequiredOk

func (o *Service) GetRequestObjectEncryptionAlgMatchRequiredOk() (*bool, bool)

GetRequestObjectEncryptionAlgMatchRequiredOk returns a tuple with the RequestObjectEncryptionAlgMatchRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRequestObjectEncryptionEncMatchRequired

func (o *Service) GetRequestObjectEncryptionEncMatchRequired() bool

GetRequestObjectEncryptionEncMatchRequired returns the RequestObjectEncryptionEncMatchRequired field value if set, zero value otherwise.

func (*Service) GetRequestObjectEncryptionEncMatchRequiredOk

func (o *Service) GetRequestObjectEncryptionEncMatchRequiredOk() (*bool, bool)

GetRequestObjectEncryptionEncMatchRequiredOk returns a tuple with the RequestObjectEncryptionEncMatchRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRequestObjectRequired

func (o *Service) GetRequestObjectRequired() bool

GetRequestObjectRequired returns the RequestObjectRequired field value if set, zero value otherwise.

func (*Service) GetRequestObjectRequiredOk

func (o *Service) GetRequestObjectRequiredOk() (*bool, bool)

GetRequestObjectRequiredOk returns a tuple with the RequestObjectRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRevocationEndpoint

func (o *Service) GetRevocationEndpoint() string

GetRevocationEndpoint returns the RevocationEndpoint field value if set, zero value otherwise.

func (*Service) GetRevocationEndpointOk

func (o *Service) 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 (*Service) GetRsResponseSigned added in v1.2.0

func (o *Service) GetRsResponseSigned() bool

GetRsResponseSigned returns the RsResponseSigned field value if set, zero value otherwise.

func (*Service) GetRsResponseSignedOk added in v1.2.0

func (o *Service) GetRsResponseSignedOk() (*bool, bool)

GetRsResponseSignedOk returns a tuple with the RsResponseSigned field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetRsSignedRequestKeyId added in v1.2.0

func (o *Service) GetRsSignedRequestKeyId() string

GetRsSignedRequestKeyId returns the RsSignedRequestKeyId field value if set, zero value otherwise.

func (*Service) GetRsSignedRequestKeyIdOk added in v1.2.0

func (o *Service) GetRsSignedRequestKeyIdOk() (*string, bool)

GetRsSignedRequestKeyIdOk returns a tuple with the RsSignedRequestKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetScopeRequired

func (o *Service) GetScopeRequired() bool

GetScopeRequired returns the ScopeRequired field value if set, zero value otherwise.

func (*Service) GetScopeRequiredOk

func (o *Service) GetScopeRequiredOk() (*bool, bool)

GetScopeRequiredOk returns a tuple with the ScopeRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetServiceDocumentation

func (o *Service) GetServiceDocumentation() string

GetServiceDocumentation returns the ServiceDocumentation field value if set, zero value otherwise.

func (*Service) GetServiceDocumentationOk

func (o *Service) GetServiceDocumentationOk() (*string, bool)

GetServiceDocumentationOk returns a tuple with the ServiceDocumentation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetServiceName

func (o *Service) GetServiceName() string

GetServiceName returns the ServiceName field value if set, zero value otherwise.

func (*Service) GetServiceNameOk

func (o *Service) GetServiceNameOk() (*string, bool)

GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetServiceOwnerNumber

func (o *Service) GetServiceOwnerNumber() int32

GetServiceOwnerNumber returns the ServiceOwnerNumber field value if set, zero value otherwise.

func (*Service) GetServiceOwnerNumberOk

func (o *Service) GetServiceOwnerNumberOk() (*int32, bool)

GetServiceOwnerNumberOk returns a tuple with the ServiceOwnerNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSignedJwksUri added in v1.1.1

func (o *Service) GetSignedJwksUri() string

GetSignedJwksUri returns the SignedJwksUri field value if set, zero value otherwise.

func (*Service) GetSignedJwksUriOk added in v1.1.1

func (o *Service) GetSignedJwksUriOk() (*string, bool)

GetSignedJwksUriOk returns a tuple with the SignedJwksUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSingleAccessTokenPerSubject

func (o *Service) GetSingleAccessTokenPerSubject() bool

GetSingleAccessTokenPerSubject returns the SingleAccessTokenPerSubject field value if set, zero value otherwise.

func (*Service) GetSingleAccessTokenPerSubjectOk

func (o *Service) GetSingleAccessTokenPerSubjectOk() (*bool, bool)

GetSingleAccessTokenPerSubjectOk returns a tuple with the SingleAccessTokenPerSubject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSnsCredentials

func (o *Service) GetSnsCredentials() []SnsCredentials

GetSnsCredentials returns the SnsCredentials field value if set, zero value otherwise.

func (*Service) GetSnsCredentialsOk

func (o *Service) GetSnsCredentialsOk() ([]SnsCredentials, bool)

GetSnsCredentialsOk returns a tuple with the SnsCredentials field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedAcrs

func (o *Service) GetSupportedAcrs() []string

GetSupportedAcrs returns the SupportedAcrs field value if set, zero value otherwise.

func (*Service) GetSupportedAcrsOk

func (o *Service) GetSupportedAcrsOk() ([]string, bool)

GetSupportedAcrsOk returns a tuple with the SupportedAcrs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedAttachments added in v1.1.1

func (o *Service) GetSupportedAttachments() []AttachmentType

GetSupportedAttachments returns the SupportedAttachments field value if set, zero value otherwise.

func (*Service) GetSupportedAttachmentsOk added in v1.1.1

func (o *Service) GetSupportedAttachmentsOk() ([]AttachmentType, bool)

GetSupportedAttachmentsOk returns a tuple with the SupportedAttachments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedAuthorizationDetailsTypes

func (o *Service) GetSupportedAuthorizationDetailsTypes() []string

GetSupportedAuthorizationDetailsTypes returns the SupportedAuthorizationDetailsTypes field value if set, zero value otherwise.

func (*Service) GetSupportedAuthorizationDetailsTypesOk

func (o *Service) GetSupportedAuthorizationDetailsTypesOk() ([]string, bool)

GetSupportedAuthorizationDetailsTypesOk returns a tuple with the SupportedAuthorizationDetailsTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedBackchannelTokenDeliveryModes

func (o *Service) GetSupportedBackchannelTokenDeliveryModes() []DeliveryMode

GetSupportedBackchannelTokenDeliveryModes returns the SupportedBackchannelTokenDeliveryModes field value if set, zero value otherwise.

func (*Service) GetSupportedBackchannelTokenDeliveryModesOk

func (o *Service) GetSupportedBackchannelTokenDeliveryModesOk() ([]DeliveryMode, bool)

GetSupportedBackchannelTokenDeliveryModesOk returns a tuple with the SupportedBackchannelTokenDeliveryModes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedClaimLocales

func (o *Service) GetSupportedClaimLocales() []string

GetSupportedClaimLocales returns the SupportedClaimLocales field value if set, zero value otherwise.

func (*Service) GetSupportedClaimLocalesOk

func (o *Service) GetSupportedClaimLocalesOk() ([]string, bool)

GetSupportedClaimLocalesOk returns a tuple with the SupportedClaimLocales field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedClaimTypes

func (o *Service) GetSupportedClaimTypes() []ClaimType

GetSupportedClaimTypes returns the SupportedClaimTypes field value if set, zero value otherwise.

func (*Service) GetSupportedClaimTypesOk

func (o *Service) GetSupportedClaimTypesOk() ([]ClaimType, bool)

GetSupportedClaimTypesOk returns a tuple with the SupportedClaimTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedClaims

func (o *Service) GetSupportedClaims() []string

GetSupportedClaims returns the SupportedClaims field value if set, zero value otherwise.

func (*Service) GetSupportedClaimsOk

func (o *Service) GetSupportedClaimsOk() ([]string, bool)

GetSupportedClaimsOk returns a tuple with the SupportedClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedClientRegistrationTypes added in v1.1.1

func (o *Service) GetSupportedClientRegistrationTypes() []ClientRegistrationType

GetSupportedClientRegistrationTypes returns the SupportedClientRegistrationTypes field value if set, zero value otherwise.

func (*Service) GetSupportedClientRegistrationTypesOk added in v1.1.1

func (o *Service) GetSupportedClientRegistrationTypesOk() ([]ClientRegistrationType, bool)

GetSupportedClientRegistrationTypesOk returns a tuple with the SupportedClientRegistrationTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedCustomClientMetadata

func (o *Service) GetSupportedCustomClientMetadata() []string

GetSupportedCustomClientMetadata returns the SupportedCustomClientMetadata field value if set, zero value otherwise.

func (*Service) GetSupportedCustomClientMetadataOk

func (o *Service) GetSupportedCustomClientMetadataOk() ([]string, bool)

GetSupportedCustomClientMetadataOk returns a tuple with the SupportedCustomClientMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDeveloperSnses

func (o *Service) GetSupportedDeveloperSnses() []Sns

GetSupportedDeveloperSnses returns the SupportedDeveloperSnses field value if set, zero value otherwise.

func (*Service) GetSupportedDeveloperSnsesOk

func (o *Service) GetSupportedDeveloperSnsesOk() ([]Sns, bool)

GetSupportedDeveloperSnsesOk returns a tuple with the SupportedDeveloperSnses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDigestAlgorithms added in v1.1.1

func (o *Service) GetSupportedDigestAlgorithms() []string

GetSupportedDigestAlgorithms returns the SupportedDigestAlgorithms field value if set, zero value otherwise.

func (*Service) GetSupportedDigestAlgorithmsOk added in v1.1.1

func (o *Service) GetSupportedDigestAlgorithmsOk() ([]string, bool)

GetSupportedDigestAlgorithmsOk returns a tuple with the SupportedDigestAlgorithms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDisplays

func (o *Service) GetSupportedDisplays() []Display

GetSupportedDisplays returns the SupportedDisplays field value if set, zero value otherwise.

func (*Service) GetSupportedDisplaysOk

func (o *Service) GetSupportedDisplaysOk() ([]Display, bool)

GetSupportedDisplaysOk returns a tuple with the SupportedDisplays field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDocuments added in v1.1.1

func (o *Service) GetSupportedDocuments() []string

GetSupportedDocuments returns the SupportedDocuments field value if set, zero value otherwise.

func (*Service) GetSupportedDocumentsCheckMethods added in v1.2.0

func (o *Service) GetSupportedDocumentsCheckMethods() []string

GetSupportedDocumentsCheckMethods returns the SupportedDocumentsCheckMethods field value if set, zero value otherwise.

func (*Service) GetSupportedDocumentsCheckMethodsOk added in v1.2.0

func (o *Service) GetSupportedDocumentsCheckMethodsOk() ([]string, bool)

GetSupportedDocumentsCheckMethodsOk returns a tuple with the SupportedDocumentsCheckMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDocumentsMethods added in v1.1.1

func (o *Service) GetSupportedDocumentsMethods() []string

GetSupportedDocumentsMethods returns the SupportedDocumentsMethods field value if set, zero value otherwise.

func (*Service) GetSupportedDocumentsMethodsOk added in v1.1.1

func (o *Service) GetSupportedDocumentsMethodsOk() ([]string, bool)

GetSupportedDocumentsMethodsOk returns a tuple with the SupportedDocumentsMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDocumentsOk added in v1.1.1

func (o *Service) GetSupportedDocumentsOk() ([]string, bool)

GetSupportedDocumentsOk returns a tuple with the SupportedDocuments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDocumentsValidationMethods added in v1.1.1

func (o *Service) GetSupportedDocumentsValidationMethods() []string

GetSupportedDocumentsValidationMethods returns the SupportedDocumentsValidationMethods field value if set, zero value otherwise.

func (*Service) GetSupportedDocumentsValidationMethodsOk added in v1.1.1

func (o *Service) GetSupportedDocumentsValidationMethodsOk() ([]string, bool)

GetSupportedDocumentsValidationMethodsOk returns a tuple with the SupportedDocumentsValidationMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedDocumentsVerificationMethods added in v1.1.1

func (o *Service) GetSupportedDocumentsVerificationMethods() []string

GetSupportedDocumentsVerificationMethods returns the SupportedDocumentsVerificationMethods field value if set, zero value otherwise.

func (*Service) GetSupportedDocumentsVerificationMethodsOk added in v1.1.1

func (o *Service) GetSupportedDocumentsVerificationMethodsOk() ([]string, bool)

GetSupportedDocumentsVerificationMethodsOk returns a tuple with the SupportedDocumentsVerificationMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedElectronicRecords added in v1.1.1

func (o *Service) GetSupportedElectronicRecords() []string

GetSupportedElectronicRecords returns the SupportedElectronicRecords field value if set, zero value otherwise.

func (*Service) GetSupportedElectronicRecordsOk added in v1.1.1

func (o *Service) GetSupportedElectronicRecordsOk() ([]string, bool)

GetSupportedElectronicRecordsOk returns a tuple with the SupportedElectronicRecords field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedEvidence

func (o *Service) GetSupportedEvidence() []string

GetSupportedEvidence returns the SupportedEvidence field value if set, zero value otherwise.

func (*Service) GetSupportedEvidenceOk

func (o *Service) GetSupportedEvidenceOk() ([]string, bool)

GetSupportedEvidenceOk returns a tuple with the SupportedEvidence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedGrantTypes

func (o *Service) GetSupportedGrantTypes() []GrantType

GetSupportedGrantTypes returns the SupportedGrantTypes field value if set, zero value otherwise.

func (*Service) GetSupportedGrantTypesOk

func (o *Service) GetSupportedGrantTypesOk() ([]GrantType, bool)

GetSupportedGrantTypesOk returns a tuple with the SupportedGrantTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedIdentityDocuments

func (o *Service) GetSupportedIdentityDocuments() []string

GetSupportedIdentityDocuments returns the SupportedIdentityDocuments field value if set, zero value otherwise.

func (*Service) GetSupportedIdentityDocumentsOk

func (o *Service) GetSupportedIdentityDocumentsOk() ([]string, bool)

GetSupportedIdentityDocumentsOk returns a tuple with the SupportedIdentityDocuments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedIntrospectionAuthMethods

func (o *Service) GetSupportedIntrospectionAuthMethods() []ClientAuthenticationMethod

GetSupportedIntrospectionAuthMethods returns the SupportedIntrospectionAuthMethods field value if set, zero value otherwise.

func (*Service) GetSupportedIntrospectionAuthMethodsOk

func (o *Service) GetSupportedIntrospectionAuthMethodsOk() ([]ClientAuthenticationMethod, bool)

GetSupportedIntrospectionAuthMethodsOk returns a tuple with the SupportedIntrospectionAuthMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedResponseTypes

func (o *Service) GetSupportedResponseTypes() []ResponseType

GetSupportedResponseTypes returns the SupportedResponseTypes field value if set, zero value otherwise.

func (*Service) GetSupportedResponseTypesOk

func (o *Service) GetSupportedResponseTypesOk() ([]ResponseType, bool)

GetSupportedResponseTypesOk returns a tuple with the SupportedResponseTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedRevocationAuthMethods

func (o *Service) GetSupportedRevocationAuthMethods() []ClientAuthenticationMethod

GetSupportedRevocationAuthMethods returns the SupportedRevocationAuthMethods field value if set, zero value otherwise.

func (*Service) GetSupportedRevocationAuthMethodsOk

func (o *Service) GetSupportedRevocationAuthMethodsOk() ([]ClientAuthenticationMethod, bool)

GetSupportedRevocationAuthMethodsOk returns a tuple with the SupportedRevocationAuthMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedScopes

func (o *Service) GetSupportedScopes() []Scope

GetSupportedScopes returns the SupportedScopes field value if set, zero value otherwise.

func (*Service) GetSupportedScopesOk

func (o *Service) GetSupportedScopesOk() ([]Scope, bool)

GetSupportedScopesOk returns a tuple with the SupportedScopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedServiceProfiles

func (o *Service) GetSupportedServiceProfiles() []ServiceProfile

GetSupportedServiceProfiles returns the SupportedServiceProfiles field value if set, zero value otherwise.

func (*Service) GetSupportedServiceProfilesOk

func (o *Service) GetSupportedServiceProfilesOk() ([]ServiceProfile, bool)

GetSupportedServiceProfilesOk returns a tuple with the SupportedServiceProfiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedSnses

func (o *Service) GetSupportedSnses() []Sns

GetSupportedSnses returns the SupportedSnses field value if set, zero value otherwise.

func (*Service) GetSupportedSnsesOk

func (o *Service) GetSupportedSnsesOk() ([]Sns, bool)

GetSupportedSnsesOk returns a tuple with the SupportedSnses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedTokenAuthMethods

func (o *Service) GetSupportedTokenAuthMethods() []ClientAuthenticationMethod

GetSupportedTokenAuthMethods returns the SupportedTokenAuthMethods field value if set, zero value otherwise.

func (*Service) GetSupportedTokenAuthMethodsOk

func (o *Service) GetSupportedTokenAuthMethodsOk() ([]ClientAuthenticationMethod, bool)

GetSupportedTokenAuthMethodsOk returns a tuple with the SupportedTokenAuthMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedTrustFrameworks

func (o *Service) GetSupportedTrustFrameworks() []string

GetSupportedTrustFrameworks returns the SupportedTrustFrameworks field value if set, zero value otherwise.

func (*Service) GetSupportedTrustFrameworksOk

func (o *Service) GetSupportedTrustFrameworksOk() ([]string, bool)

GetSupportedTrustFrameworksOk returns a tuple with the SupportedTrustFrameworks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedUiLocales

func (o *Service) GetSupportedUiLocales() []string

GetSupportedUiLocales returns the SupportedUiLocales field value if set, zero value otherwise.

func (*Service) GetSupportedUiLocalesOk

func (o *Service) GetSupportedUiLocalesOk() ([]string, bool)

GetSupportedUiLocalesOk returns a tuple with the SupportedUiLocales field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedVerificationMethods

func (o *Service) GetSupportedVerificationMethods() []string

GetSupportedVerificationMethods returns the SupportedVerificationMethods field value if set, zero value otherwise.

func (*Service) GetSupportedVerificationMethodsOk

func (o *Service) GetSupportedVerificationMethodsOk() ([]string, bool)

GetSupportedVerificationMethodsOk returns a tuple with the SupportedVerificationMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetSupportedVerifiedClaims

func (o *Service) GetSupportedVerifiedClaims() []string

GetSupportedVerifiedClaims returns the SupportedVerifiedClaims field value if set, zero value otherwise.

func (*Service) GetSupportedVerifiedClaimsOk

func (o *Service) GetSupportedVerifiedClaimsOk() ([]string, bool)

GetSupportedVerifiedClaimsOk returns a tuple with the SupportedVerifiedClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTlsClientCertificateBoundAccessTokens

func (o *Service) GetTlsClientCertificateBoundAccessTokens() bool

GetTlsClientCertificateBoundAccessTokens returns the TlsClientCertificateBoundAccessTokens field value if set, zero value otherwise.

func (*Service) GetTlsClientCertificateBoundAccessTokensOk

func (o *Service) GetTlsClientCertificateBoundAccessTokensOk() (*bool, bool)

GetTlsClientCertificateBoundAccessTokensOk returns a tuple with the TlsClientCertificateBoundAccessTokens field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenEndpoint

func (o *Service) GetTokenEndpoint() string

GetTokenEndpoint returns the TokenEndpoint field value if set, zero value otherwise.

func (*Service) GetTokenEndpointOk

func (o *Service) GetTokenEndpointOk() (*string, bool)

GetTokenEndpointOk returns a tuple with the TokenEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenExchangeByConfidentialClientsOnly added in v1.1.1

func (o *Service) GetTokenExchangeByConfidentialClientsOnly() bool

GetTokenExchangeByConfidentialClientsOnly returns the TokenExchangeByConfidentialClientsOnly field value if set, zero value otherwise.

func (*Service) GetTokenExchangeByConfidentialClientsOnlyOk added in v1.1.1

func (o *Service) GetTokenExchangeByConfidentialClientsOnlyOk() (*bool, bool)

GetTokenExchangeByConfidentialClientsOnlyOk returns a tuple with the TokenExchangeByConfidentialClientsOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenExchangeByIdentifiableClientsOnly added in v1.1.1

func (o *Service) GetTokenExchangeByIdentifiableClientsOnly() bool

GetTokenExchangeByIdentifiableClientsOnly returns the TokenExchangeByIdentifiableClientsOnly field value if set, zero value otherwise.

func (*Service) GetTokenExchangeByIdentifiableClientsOnlyOk added in v1.1.1

func (o *Service) GetTokenExchangeByIdentifiableClientsOnlyOk() (*bool, bool)

GetTokenExchangeByIdentifiableClientsOnlyOk returns a tuple with the TokenExchangeByIdentifiableClientsOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenExchangeByPermittedClientsOnly added in v1.1.1

func (o *Service) GetTokenExchangeByPermittedClientsOnly() bool

GetTokenExchangeByPermittedClientsOnly returns the TokenExchangeByPermittedClientsOnly field value if set, zero value otherwise.

func (*Service) GetTokenExchangeByPermittedClientsOnlyOk added in v1.1.1

func (o *Service) GetTokenExchangeByPermittedClientsOnlyOk() (*bool, bool)

GetTokenExchangeByPermittedClientsOnlyOk returns a tuple with the TokenExchangeByPermittedClientsOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenExchangeEncryptedJwtRejected added in v1.1.1

func (o *Service) GetTokenExchangeEncryptedJwtRejected() bool

GetTokenExchangeEncryptedJwtRejected returns the TokenExchangeEncryptedJwtRejected field value if set, zero value otherwise.

func (*Service) GetTokenExchangeEncryptedJwtRejectedOk added in v1.1.1

func (o *Service) GetTokenExchangeEncryptedJwtRejectedOk() (*bool, bool)

GetTokenExchangeEncryptedJwtRejectedOk returns a tuple with the TokenExchangeEncryptedJwtRejected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenExchangeUnsignedJwtRejected added in v1.1.1

func (o *Service) GetTokenExchangeUnsignedJwtRejected() bool

GetTokenExchangeUnsignedJwtRejected returns the TokenExchangeUnsignedJwtRejected field value if set, zero value otherwise.

func (*Service) GetTokenExchangeUnsignedJwtRejectedOk added in v1.1.1

func (o *Service) GetTokenExchangeUnsignedJwtRejectedOk() (*bool, bool)

GetTokenExchangeUnsignedJwtRejectedOk returns a tuple with the TokenExchangeUnsignedJwtRejected field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTokenExpirationLinked

func (o *Service) GetTokenExpirationLinked() bool

GetTokenExpirationLinked returns the TokenExpirationLinked field value if set, zero value otherwise.

func (*Service) GetTokenExpirationLinkedOk

func (o *Service) GetTokenExpirationLinkedOk() (*bool, bool)

GetTokenExpirationLinkedOk returns a tuple with the TokenExpirationLinked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTosUri

func (o *Service) GetTosUri() string

GetTosUri returns the TosUri field value if set, zero value otherwise.

func (*Service) GetTosUriOk

func (o *Service) 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 (*Service) GetTraditionalRequestObjectProcessingApplied

func (o *Service) GetTraditionalRequestObjectProcessingApplied() bool

GetTraditionalRequestObjectProcessingApplied returns the TraditionalRequestObjectProcessingApplied field value if set, zero value otherwise.

func (*Service) GetTraditionalRequestObjectProcessingAppliedOk

func (o *Service) GetTraditionalRequestObjectProcessingAppliedOk() (*bool, bool)

GetTraditionalRequestObjectProcessingAppliedOk returns a tuple with the TraditionalRequestObjectProcessingApplied field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTrustAnchors added in v1.1.1

func (o *Service) GetTrustAnchors() []TrustAnchor

GetTrustAnchors returns the TrustAnchors field value if set, zero value otherwise.

func (*Service) GetTrustAnchorsOk added in v1.1.1

func (o *Service) GetTrustAnchorsOk() ([]TrustAnchor, bool)

GetTrustAnchorsOk returns a tuple with the TrustAnchors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetTrustedRootCertificates

func (o *Service) GetTrustedRootCertificates() []string

GetTrustedRootCertificates returns the TrustedRootCertificates field value if set, zero value otherwise.

func (*Service) GetTrustedRootCertificatesOk

func (o *Service) GetTrustedRootCertificatesOk() ([]string, bool)

GetTrustedRootCertificatesOk returns a tuple with the TrustedRootCertificates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetUnauthorizedOnClientConfigSupported

func (o *Service) GetUnauthorizedOnClientConfigSupported() bool

GetUnauthorizedOnClientConfigSupported returns the UnauthorizedOnClientConfigSupported field value if set, zero value otherwise.

func (*Service) GetUnauthorizedOnClientConfigSupportedOk

func (o *Service) GetUnauthorizedOnClientConfigSupportedOk() (*bool, bool)

GetUnauthorizedOnClientConfigSupportedOk returns a tuple with the UnauthorizedOnClientConfigSupported field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetUserCodeCharset

func (o *Service) GetUserCodeCharset() UserCodeCharset

GetUserCodeCharset returns the UserCodeCharset field value if set, zero value otherwise.

func (*Service) GetUserCodeCharsetOk

func (o *Service) GetUserCodeCharsetOk() (*UserCodeCharset, bool)

GetUserCodeCharsetOk returns a tuple with the UserCodeCharset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetUserCodeLength

func (o *Service) GetUserCodeLength() int32

GetUserCodeLength returns the UserCodeLength field value if set, zero value otherwise.

func (*Service) GetUserCodeLengthOk

func (o *Service) GetUserCodeLengthOk() (*int32, bool)

GetUserCodeLengthOk returns a tuple with the UserCodeLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetUserInfoEndpoint

func (o *Service) GetUserInfoEndpoint() string

GetUserInfoEndpoint returns the UserInfoEndpoint field value if set, zero value otherwise.

func (*Service) GetUserInfoEndpointOk

func (o *Service) 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 (*Service) GetUserInfoSignatureKeyId

func (o *Service) GetUserInfoSignatureKeyId() string

GetUserInfoSignatureKeyId returns the UserInfoSignatureKeyId field value if set, zero value otherwise.

func (*Service) GetUserInfoSignatureKeyIdOk

func (o *Service) GetUserInfoSignatureKeyIdOk() (*string, bool)

GetUserInfoSignatureKeyIdOk returns a tuple with the UserInfoSignatureKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Service) GetVerifiedClaimsValidationSchemaSet added in v1.2.3

func (o *Service) GetVerifiedClaimsValidationSchemaSet() VerifiedClaimsValidationSchema

GetVerifiedClaimsValidationSchemaSet returns the VerifiedClaimsValidationSchemaSet field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Service) GetVerifiedClaimsValidationSchemaSetOk added in v1.2.3

func (o *Service) GetVerifiedClaimsValidationSchemaSetOk() (*VerifiedClaimsValidationSchema, bool)

GetVerifiedClaimsValidationSchemaSetOk returns a tuple with the VerifiedClaimsValidationSchemaSet 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 (*Service) HasAccessTokenDuration

func (o *Service) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*Service) HasAccessTokenForExternalAttachmentEmbedded added in v1.1.1

func (o *Service) HasAccessTokenForExternalAttachmentEmbedded() bool

HasAccessTokenForExternalAttachmentEmbedded returns a boolean if a field has been set.

func (*Service) HasAccessTokenSignAlg

func (o *Service) HasAccessTokenSignAlg() bool

HasAccessTokenSignAlg returns a boolean if a field has been set.

func (*Service) HasAccessTokenSignatureKeyId

func (o *Service) HasAccessTokenSignatureKeyId() bool

HasAccessTokenSignatureKeyId returns a boolean if a field has been set.

func (*Service) HasAccessTokenType

func (o *Service) HasAccessTokenType() bool

HasAccessTokenType returns a boolean if a field has been set.

func (*Service) HasAllowableClockSkew

func (o *Service) HasAllowableClockSkew() bool

HasAllowableClockSkew returns a boolean if a field has been set.

func (*Service) HasApiKey

func (o *Service) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*Service) HasApiSecret

func (o *Service) HasApiSecret() bool

HasApiSecret returns a boolean if a field has been set.

func (*Service) HasAttributes

func (o *Service) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Service) HasAuthenticationCallbackApiKey

func (o *Service) HasAuthenticationCallbackApiKey() bool

HasAuthenticationCallbackApiKey returns a boolean if a field has been set.

func (*Service) HasAuthenticationCallbackApiSecret

func (o *Service) HasAuthenticationCallbackApiSecret() bool

HasAuthenticationCallbackApiSecret returns a boolean if a field has been set.

func (*Service) HasAuthenticationCallbackEndpoint

func (o *Service) HasAuthenticationCallbackEndpoint() bool

HasAuthenticationCallbackEndpoint returns a boolean if a field has been set.

func (*Service) HasAuthorityHints added in v1.1.1

func (o *Service) HasAuthorityHints() bool

HasAuthorityHints returns a boolean if a field has been set.

func (*Service) HasAuthorizationEndpoint

func (o *Service) HasAuthorizationEndpoint() bool

HasAuthorizationEndpoint returns a boolean if a field has been set.

func (*Service) HasAuthorizationResponseDuration

func (o *Service) HasAuthorizationResponseDuration() bool

HasAuthorizationResponseDuration returns a boolean if a field has been set.

func (*Service) HasAuthorizationSignatureKeyId

func (o *Service) HasAuthorizationSignatureKeyId() bool

HasAuthorizationSignatureKeyId returns a boolean if a field has been set.

func (*Service) HasBackchannelAuthReqIdDuration

func (o *Service) HasBackchannelAuthReqIdDuration() bool

HasBackchannelAuthReqIdDuration returns a boolean if a field has been set.

func (*Service) HasBackchannelAuthenticationEndpoint

func (o *Service) HasBackchannelAuthenticationEndpoint() bool

HasBackchannelAuthenticationEndpoint returns a boolean if a field has been set.

func (*Service) HasBackchannelBindingMessageRequiredInFapi

func (o *Service) HasBackchannelBindingMessageRequiredInFapi() bool

HasBackchannelBindingMessageRequiredInFapi returns a boolean if a field has been set.

func (*Service) HasBackchannelPollingInterval

func (o *Service) HasBackchannelPollingInterval() bool

HasBackchannelPollingInterval returns a boolean if a field has been set.

func (*Service) HasBackchannelUserCodeParameterSupported

func (o *Service) HasBackchannelUserCodeParameterSupported() bool

HasBackchannelUserCodeParameterSupported returns a boolean if a field has been set.

func (*Service) HasClaimShortcutRestrictive

func (o *Service) HasClaimShortcutRestrictive() bool

HasClaimShortcutRestrictive returns a boolean if a field has been set.

func (*Service) HasClientIdAliasEnabled

func (o *Service) HasClientIdAliasEnabled() bool

HasClientIdAliasEnabled returns a boolean if a field has been set.

func (*Service) HasClientsPerDeveloper

func (o *Service) HasClientsPerDeveloper() bool

HasClientsPerDeveloper returns a boolean if a field has been set.

func (*Service) HasCreatedAt

func (o *Service) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Service) HasDcrDuplicateSoftwareIdBlocked added in v1.1.0

func (o *Service) HasDcrDuplicateSoftwareIdBlocked() bool

HasDcrDuplicateSoftwareIdBlocked returns a boolean if a field has been set.

func (*Service) HasDcrScopeUsedAsRequestable

func (o *Service) HasDcrScopeUsedAsRequestable() bool

HasDcrScopeUsedAsRequestable returns a boolean if a field has been set.

func (*Service) HasDescription

func (o *Service) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Service) HasDeveloperAuthenticationCallbackApiKey

func (o *Service) HasDeveloperAuthenticationCallbackApiKey() bool

HasDeveloperAuthenticationCallbackApiKey returns a boolean if a field has been set.

func (*Service) HasDeveloperAuthenticationCallbackApiSecret

func (o *Service) HasDeveloperAuthenticationCallbackApiSecret() bool

HasDeveloperAuthenticationCallbackApiSecret returns a boolean if a field has been set.

func (*Service) HasDeveloperAuthenticationCallbackEndpoint

func (o *Service) HasDeveloperAuthenticationCallbackEndpoint() bool

HasDeveloperAuthenticationCallbackEndpoint returns a boolean if a field has been set.

func (*Service) HasDeveloperSnsCredentials

func (o *Service) HasDeveloperSnsCredentials() bool

HasDeveloperSnsCredentials returns a boolean if a field has been set.

func (*Service) HasDeviceAuthorizationEndpoint

func (o *Service) HasDeviceAuthorizationEndpoint() bool

HasDeviceAuthorizationEndpoint returns a boolean if a field has been set.

func (*Service) HasDeviceFlowCodeDuration

func (o *Service) HasDeviceFlowCodeDuration() bool

HasDeviceFlowCodeDuration returns a boolean if a field has been set.

func (*Service) HasDeviceFlowPollingInterval

func (o *Service) HasDeviceFlowPollingInterval() bool

HasDeviceFlowPollingInterval returns a boolean if a field has been set.

func (*Service) HasDeviceVerificationUri

func (o *Service) HasDeviceVerificationUri() bool

HasDeviceVerificationUri returns a boolean if a field has been set.

func (*Service) HasDeviceVerificationUriComplete

func (o *Service) HasDeviceVerificationUriComplete() bool

HasDeviceVerificationUriComplete returns a boolean if a field has been set.

func (*Service) HasDirectAuthorizationEndpointEnabled

func (o *Service) HasDirectAuthorizationEndpointEnabled() bool

HasDirectAuthorizationEndpointEnabled returns a boolean if a field has been set.

func (*Service) HasDirectIntrospectionEndpointEnabled

func (o *Service) HasDirectIntrospectionEndpointEnabled() bool

HasDirectIntrospectionEndpointEnabled returns a boolean if a field has been set.

func (*Service) HasDirectJwksEndpointEnabled

func (o *Service) HasDirectJwksEndpointEnabled() bool

HasDirectJwksEndpointEnabled returns a boolean if a field has been set.

func (*Service) HasDirectRevocationEndpointEnabled

func (o *Service) HasDirectRevocationEndpointEnabled() bool

HasDirectRevocationEndpointEnabled returns a boolean if a field has been set.

func (*Service) HasDirectTokenEndpointEnabled

func (o *Service) HasDirectTokenEndpointEnabled() bool

HasDirectTokenEndpointEnabled returns a boolean if a field has been set.

func (*Service) HasDirectUserInfoEndpointEnabled

func (o *Service) HasDirectUserInfoEndpointEnabled() bool

HasDirectUserInfoEndpointEnabled returns a boolean if a field has been set.

func (*Service) HasDynamicRegistrationSupported

func (o *Service) HasDynamicRegistrationSupported() bool

HasDynamicRegistrationSupported returns a boolean if a field has been set.

func (*Service) HasEndSessionEndpoint

func (o *Service) HasEndSessionEndpoint() bool

HasEndSessionEndpoint returns a boolean if a field has been set.

func (*Service) HasErrorDescriptionOmitted

func (o *Service) HasErrorDescriptionOmitted() bool

HasErrorDescriptionOmitted returns a boolean if a field has been set.

func (*Service) HasErrorUriOmitted

func (o *Service) HasErrorUriOmitted() bool

HasErrorUriOmitted returns a boolean if a field has been set.

func (*Service) HasFederationConfigurationDuration added in v1.1.1

func (o *Service) HasFederationConfigurationDuration() bool

HasFederationConfigurationDuration returns a boolean if a field has been set.

func (*Service) HasFederationEnabled added in v1.1.1

func (o *Service) HasFederationEnabled() bool

HasFederationEnabled returns a boolean if a field has been set.

func (*Service) HasFederationJwks added in v1.1.1

func (o *Service) HasFederationJwks() bool

HasFederationJwks returns a boolean if a field has been set.

func (*Service) HasFederationRegistrationEndpoint added in v1.1.1

func (o *Service) HasFederationRegistrationEndpoint() bool

HasFederationRegistrationEndpoint returns a boolean if a field has been set.

func (*Service) HasFederationSignatureKeyId added in v1.1.1

func (o *Service) HasFederationSignatureKeyId() bool

HasFederationSignatureKeyId returns a boolean if a field has been set.

func (*Service) HasFrontChannelRequestObjectEncryptionRequired

func (o *Service) HasFrontChannelRequestObjectEncryptionRequired() bool

HasFrontChannelRequestObjectEncryptionRequired returns a boolean if a field has been set.

func (*Service) HasGrantManagementActionRequired

func (o *Service) HasGrantManagementActionRequired() bool

HasGrantManagementActionRequired returns a boolean if a field has been set.

func (*Service) HasGrantManagementEndpoint

func (o *Service) HasGrantManagementEndpoint() bool

HasGrantManagementEndpoint returns a boolean if a field has been set.

func (*Service) HasHsks

func (o *Service) HasHsks() bool

HasHsks returns a boolean if a field has been set.

func (*Service) HasHsmEnabled

func (o *Service) HasHsmEnabled() bool

HasHsmEnabled returns a boolean if a field has been set.

func (*Service) HasIdTokenDuration

func (o *Service) HasIdTokenDuration() bool

HasIdTokenDuration returns a boolean if a field has been set.

func (*Service) HasIdTokenSignatureKeyId

func (o *Service) HasIdTokenSignatureKeyId() bool

HasIdTokenSignatureKeyId returns a boolean if a field has been set.

func (*Service) HasIntrospectionEndpoint

func (o *Service) HasIntrospectionEndpoint() bool

HasIntrospectionEndpoint returns a boolean if a field has been set.

func (*Service) HasIssSuppressed

func (o *Service) HasIssSuppressed() bool

HasIssSuppressed returns a boolean if a field has been set.

func (*Service) HasIssuer

func (o *Service) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*Service) HasJwks

func (o *Service) HasJwks() bool

HasJwks returns a boolean if a field has been set.

func (*Service) HasJwksUri

func (o *Service) HasJwksUri() bool

HasJwksUri returns a boolean if a field has been set.

func (*Service) HasJwtGrantByIdentifiableClientsOnly added in v1.1.1

func (o *Service) HasJwtGrantByIdentifiableClientsOnly() bool

HasJwtGrantByIdentifiableClientsOnly returns a boolean if a field has been set.

func (*Service) HasJwtGrantEncryptedJwtRejected added in v1.1.1

func (o *Service) HasJwtGrantEncryptedJwtRejected() bool

HasJwtGrantEncryptedJwtRejected returns a boolean if a field has been set.

func (*Service) HasJwtGrantUnsignedJwtRejected added in v1.1.1

func (o *Service) HasJwtGrantUnsignedJwtRejected() bool

HasJwtGrantUnsignedJwtRejected returns a boolean if a field has been set.

func (*Service) HasLoopbackRedirectionUriVariable added in v0.2.0

func (o *Service) HasLoopbackRedirectionUriVariable() bool

HasLoopbackRedirectionUriVariable returns a boolean if a field has been set.

func (*Service) HasMetadata

func (o *Service) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Service) HasMissingClientIdAllowed

func (o *Service) HasMissingClientIdAllowed() bool

HasMissingClientIdAllowed returns a boolean if a field has been set.

func (*Service) HasModifiedAt

func (o *Service) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*Service) HasMtlsEndpointAliases

func (o *Service) HasMtlsEndpointAliases() bool

HasMtlsEndpointAliases returns a boolean if a field has been set.

func (*Service) HasMutualTlsValidatePkiCertChain

func (o *Service) HasMutualTlsValidatePkiCertChain() bool

HasMutualTlsValidatePkiCertChain returns a boolean if a field has been set.

func (*Service) HasNbfOptional

func (o *Service) HasNbfOptional() bool

HasNbfOptional returns a boolean if a field has been set.

func (*Service) HasNumber

func (o *Service) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*Service) HasOpenidDroppedOnRefreshWithoutOfflineAccess added in v1.1.1

func (o *Service) HasOpenidDroppedOnRefreshWithoutOfflineAccess() bool

HasOpenidDroppedOnRefreshWithoutOfflineAccess returns a boolean if a field has been set.

func (*Service) HasOrganizationName added in v1.1.1

func (o *Service) HasOrganizationName() bool

HasOrganizationName returns a boolean if a field has been set.

func (*Service) HasParRequired

func (o *Service) HasParRequired() bool

HasParRequired returns a boolean if a field has been set.

func (*Service) HasPkceRequired

func (o *Service) HasPkceRequired() bool

HasPkceRequired returns a boolean if a field has been set.

func (*Service) HasPkceS256Required

func (o *Service) HasPkceS256Required() bool

HasPkceS256Required returns a boolean if a field has been set.

func (*Service) HasPolicyUri

func (o *Service) HasPolicyUri() bool

HasPolicyUri returns a boolean if a field has been set.

func (*Service) HasPredefinedTransformedClaims added in v1.1.1

func (o *Service) HasPredefinedTransformedClaims() bool

HasPredefinedTransformedClaims returns a boolean if a field has been set.

func (*Service) HasPushedAuthReqDuration

func (o *Service) HasPushedAuthReqDuration() bool

HasPushedAuthReqDuration returns a boolean if a field has been set.

func (*Service) HasPushedAuthReqEndpoint

func (o *Service) HasPushedAuthReqEndpoint() bool

HasPushedAuthReqEndpoint returns a boolean if a field has been set.

func (*Service) HasRefreshTokenDuration

func (o *Service) HasRefreshTokenDuration() bool

HasRefreshTokenDuration returns a boolean if a field has been set.

func (*Service) HasRefreshTokenDurationKept

func (o *Service) HasRefreshTokenDurationKept() bool

HasRefreshTokenDurationKept returns a boolean if a field has been set.

func (*Service) HasRefreshTokenDurationReset

func (o *Service) HasRefreshTokenDurationReset() bool

HasRefreshTokenDurationReset returns a boolean if a field has been set.

func (*Service) HasRefreshTokenIdempotent added in v1.1.1

func (o *Service) HasRefreshTokenIdempotent() bool

HasRefreshTokenIdempotent returns a boolean if a field has been set.

func (*Service) HasRefreshTokenKept

func (o *Service) HasRefreshTokenKept() bool

HasRefreshTokenKept returns a boolean if a field has been set.

func (*Service) HasRegistrationEndpoint

func (o *Service) HasRegistrationEndpoint() bool

HasRegistrationEndpoint returns a boolean if a field has been set.

func (*Service) HasRegistrationManagementEndpoint

func (o *Service) HasRegistrationManagementEndpoint() bool

HasRegistrationManagementEndpoint returns a boolean if a field has been set.

func (*Service) HasRequestObjectAudienceChecked added in v1.0.0

func (o *Service) HasRequestObjectAudienceChecked() bool

HasRequestObjectAudienceChecked returns a boolean if a field has been set.

func (*Service) HasRequestObjectEncryptionAlgMatchRequired

func (o *Service) HasRequestObjectEncryptionAlgMatchRequired() bool

HasRequestObjectEncryptionAlgMatchRequired returns a boolean if a field has been set.

func (*Service) HasRequestObjectEncryptionEncMatchRequired

func (o *Service) HasRequestObjectEncryptionEncMatchRequired() bool

HasRequestObjectEncryptionEncMatchRequired returns a boolean if a field has been set.

func (*Service) HasRequestObjectRequired

func (o *Service) HasRequestObjectRequired() bool

HasRequestObjectRequired returns a boolean if a field has been set.

func (*Service) HasRevocationEndpoint

func (o *Service) HasRevocationEndpoint() bool

HasRevocationEndpoint returns a boolean if a field has been set.

func (*Service) HasRsResponseSigned added in v1.2.0

func (o *Service) HasRsResponseSigned() bool

HasRsResponseSigned returns a boolean if a field has been set.

func (*Service) HasRsSignedRequestKeyId added in v1.2.0

func (o *Service) HasRsSignedRequestKeyId() bool

HasRsSignedRequestKeyId returns a boolean if a field has been set.

func (*Service) HasScopeRequired

func (o *Service) HasScopeRequired() bool

HasScopeRequired returns a boolean if a field has been set.

func (*Service) HasServiceDocumentation

func (o *Service) HasServiceDocumentation() bool

HasServiceDocumentation returns a boolean if a field has been set.

func (*Service) HasServiceName

func (o *Service) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*Service) HasServiceOwnerNumber

func (o *Service) HasServiceOwnerNumber() bool

HasServiceOwnerNumber returns a boolean if a field has been set.

func (*Service) HasSignedJwksUri added in v1.1.1

func (o *Service) HasSignedJwksUri() bool

HasSignedJwksUri returns a boolean if a field has been set.

func (*Service) HasSingleAccessTokenPerSubject

func (o *Service) HasSingleAccessTokenPerSubject() bool

HasSingleAccessTokenPerSubject returns a boolean if a field has been set.

func (*Service) HasSnsCredentials

func (o *Service) HasSnsCredentials() bool

HasSnsCredentials returns a boolean if a field has been set.

func (*Service) HasSupportedAcrs

func (o *Service) HasSupportedAcrs() bool

HasSupportedAcrs returns a boolean if a field has been set.

func (*Service) HasSupportedAttachments added in v1.1.1

func (o *Service) HasSupportedAttachments() bool

HasSupportedAttachments returns a boolean if a field has been set.

func (*Service) HasSupportedAuthorizationDetailsTypes

func (o *Service) HasSupportedAuthorizationDetailsTypes() bool

HasSupportedAuthorizationDetailsTypes returns a boolean if a field has been set.

func (*Service) HasSupportedBackchannelTokenDeliveryModes

func (o *Service) HasSupportedBackchannelTokenDeliveryModes() bool

HasSupportedBackchannelTokenDeliveryModes returns a boolean if a field has been set.

func (*Service) HasSupportedClaimLocales

func (o *Service) HasSupportedClaimLocales() bool

HasSupportedClaimLocales returns a boolean if a field has been set.

func (*Service) HasSupportedClaimTypes

func (o *Service) HasSupportedClaimTypes() bool

HasSupportedClaimTypes returns a boolean if a field has been set.

func (*Service) HasSupportedClaims

func (o *Service) HasSupportedClaims() bool

HasSupportedClaims returns a boolean if a field has been set.

func (*Service) HasSupportedClientRegistrationTypes added in v1.1.1

func (o *Service) HasSupportedClientRegistrationTypes() bool

HasSupportedClientRegistrationTypes returns a boolean if a field has been set.

func (*Service) HasSupportedCustomClientMetadata

func (o *Service) HasSupportedCustomClientMetadata() bool

HasSupportedCustomClientMetadata returns a boolean if a field has been set.

func (*Service) HasSupportedDeveloperSnses

func (o *Service) HasSupportedDeveloperSnses() bool

HasSupportedDeveloperSnses returns a boolean if a field has been set.

func (*Service) HasSupportedDigestAlgorithms added in v1.1.1

func (o *Service) HasSupportedDigestAlgorithms() bool

HasSupportedDigestAlgorithms returns a boolean if a field has been set.

func (*Service) HasSupportedDisplays

func (o *Service) HasSupportedDisplays() bool

HasSupportedDisplays returns a boolean if a field has been set.

func (*Service) HasSupportedDocuments added in v1.1.1

func (o *Service) HasSupportedDocuments() bool

HasSupportedDocuments returns a boolean if a field has been set.

func (*Service) HasSupportedDocumentsCheckMethods added in v1.2.0

func (o *Service) HasSupportedDocumentsCheckMethods() bool

HasSupportedDocumentsCheckMethods returns a boolean if a field has been set.

func (*Service) HasSupportedDocumentsMethods added in v1.1.1

func (o *Service) HasSupportedDocumentsMethods() bool

HasSupportedDocumentsMethods returns a boolean if a field has been set.

func (*Service) HasSupportedDocumentsValidationMethods added in v1.1.1

func (o *Service) HasSupportedDocumentsValidationMethods() bool

HasSupportedDocumentsValidationMethods returns a boolean if a field has been set.

func (*Service) HasSupportedDocumentsVerificationMethods added in v1.1.1

func (o *Service) HasSupportedDocumentsVerificationMethods() bool

HasSupportedDocumentsVerificationMethods returns a boolean if a field has been set.

func (*Service) HasSupportedElectronicRecords added in v1.1.1

func (o *Service) HasSupportedElectronicRecords() bool

HasSupportedElectronicRecords returns a boolean if a field has been set.

func (*Service) HasSupportedEvidence

func (o *Service) HasSupportedEvidence() bool

HasSupportedEvidence returns a boolean if a field has been set.

func (*Service) HasSupportedGrantTypes

func (o *Service) HasSupportedGrantTypes() bool

HasSupportedGrantTypes returns a boolean if a field has been set.

func (*Service) HasSupportedIdentityDocuments

func (o *Service) HasSupportedIdentityDocuments() bool

HasSupportedIdentityDocuments returns a boolean if a field has been set.

func (*Service) HasSupportedIntrospectionAuthMethods

func (o *Service) HasSupportedIntrospectionAuthMethods() bool

HasSupportedIntrospectionAuthMethods returns a boolean if a field has been set.

func (*Service) HasSupportedResponseTypes

func (o *Service) HasSupportedResponseTypes() bool

HasSupportedResponseTypes returns a boolean if a field has been set.

func (*Service) HasSupportedRevocationAuthMethods

func (o *Service) HasSupportedRevocationAuthMethods() bool

HasSupportedRevocationAuthMethods returns a boolean if a field has been set.

func (*Service) HasSupportedScopes

func (o *Service) HasSupportedScopes() bool

HasSupportedScopes returns a boolean if a field has been set.

func (*Service) HasSupportedServiceProfiles

func (o *Service) HasSupportedServiceProfiles() bool

HasSupportedServiceProfiles returns a boolean if a field has been set.

func (*Service) HasSupportedSnses

func (o *Service) HasSupportedSnses() bool

HasSupportedSnses returns a boolean if a field has been set.

func (*Service) HasSupportedTokenAuthMethods

func (o *Service) HasSupportedTokenAuthMethods() bool

HasSupportedTokenAuthMethods returns a boolean if a field has been set.

func (*Service) HasSupportedTrustFrameworks

func (o *Service) HasSupportedTrustFrameworks() bool

HasSupportedTrustFrameworks returns a boolean if a field has been set.

func (*Service) HasSupportedUiLocales

func (o *Service) HasSupportedUiLocales() bool

HasSupportedUiLocales returns a boolean if a field has been set.

func (*Service) HasSupportedVerificationMethods

func (o *Service) HasSupportedVerificationMethods() bool

HasSupportedVerificationMethods returns a boolean if a field has been set.

func (*Service) HasSupportedVerifiedClaims

func (o *Service) HasSupportedVerifiedClaims() bool

HasSupportedVerifiedClaims returns a boolean if a field has been set.

func (*Service) HasTlsClientCertificateBoundAccessTokens

func (o *Service) HasTlsClientCertificateBoundAccessTokens() bool

HasTlsClientCertificateBoundAccessTokens returns a boolean if a field has been set.

func (*Service) HasTokenEndpoint

func (o *Service) HasTokenEndpoint() bool

HasTokenEndpoint returns a boolean if a field has been set.

func (*Service) HasTokenExchangeByConfidentialClientsOnly added in v1.1.1

func (o *Service) HasTokenExchangeByConfidentialClientsOnly() bool

HasTokenExchangeByConfidentialClientsOnly returns a boolean if a field has been set.

func (*Service) HasTokenExchangeByIdentifiableClientsOnly added in v1.1.1

func (o *Service) HasTokenExchangeByIdentifiableClientsOnly() bool

HasTokenExchangeByIdentifiableClientsOnly returns a boolean if a field has been set.

func (*Service) HasTokenExchangeByPermittedClientsOnly added in v1.1.1

func (o *Service) HasTokenExchangeByPermittedClientsOnly() bool

HasTokenExchangeByPermittedClientsOnly returns a boolean if a field has been set.

func (*Service) HasTokenExchangeEncryptedJwtRejected added in v1.1.1

func (o *Service) HasTokenExchangeEncryptedJwtRejected() bool

HasTokenExchangeEncryptedJwtRejected returns a boolean if a field has been set.

func (*Service) HasTokenExchangeUnsignedJwtRejected added in v1.1.1

func (o *Service) HasTokenExchangeUnsignedJwtRejected() bool

HasTokenExchangeUnsignedJwtRejected returns a boolean if a field has been set.

func (*Service) HasTokenExpirationLinked

func (o *Service) HasTokenExpirationLinked() bool

HasTokenExpirationLinked returns a boolean if a field has been set.

func (*Service) HasTosUri

func (o *Service) HasTosUri() bool

HasTosUri returns a boolean if a field has been set.

func (*Service) HasTraditionalRequestObjectProcessingApplied

func (o *Service) HasTraditionalRequestObjectProcessingApplied() bool

HasTraditionalRequestObjectProcessingApplied returns a boolean if a field has been set.

func (*Service) HasTrustAnchors added in v1.1.1

func (o *Service) HasTrustAnchors() bool

HasTrustAnchors returns a boolean if a field has been set.

func (*Service) HasTrustedRootCertificates

func (o *Service) HasTrustedRootCertificates() bool

HasTrustedRootCertificates returns a boolean if a field has been set.

func (*Service) HasUnauthorizedOnClientConfigSupported

func (o *Service) HasUnauthorizedOnClientConfigSupported() bool

HasUnauthorizedOnClientConfigSupported returns a boolean if a field has been set.

func (*Service) HasUserCodeCharset

func (o *Service) HasUserCodeCharset() bool

HasUserCodeCharset returns a boolean if a field has been set.

func (*Service) HasUserCodeLength

func (o *Service) HasUserCodeLength() bool

HasUserCodeLength returns a boolean if a field has been set.

func (*Service) HasUserInfoEndpoint

func (o *Service) HasUserInfoEndpoint() bool

HasUserInfoEndpoint returns a boolean if a field has been set.

func (*Service) HasUserInfoSignatureKeyId

func (o *Service) HasUserInfoSignatureKeyId() bool

HasUserInfoSignatureKeyId returns a boolean if a field has been set.

func (*Service) HasVerifiedClaimsValidationSchemaSet added in v1.2.3

func (o *Service) HasVerifiedClaimsValidationSchemaSet() bool

HasVerifiedClaimsValidationSchemaSet returns a boolean if a field has been set.

func (Service) MarshalJSON

func (o Service) MarshalJSON() ([]byte, error)

func (*Service) SetAccessTokenDuration

func (o *Service) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*Service) SetAccessTokenForExternalAttachmentEmbedded added in v1.1.1

func (o *Service) SetAccessTokenForExternalAttachmentEmbedded(v bool)

SetAccessTokenForExternalAttachmentEmbedded gets a reference to the given bool and assigns it to the AccessTokenForExternalAttachmentEmbedded field.

func (*Service) SetAccessTokenSignAlg

func (o *Service) SetAccessTokenSignAlg(v JwsAlg)

SetAccessTokenSignAlg gets a reference to the given JwsAlg and assigns it to the AccessTokenSignAlg field.

func (*Service) SetAccessTokenSignatureKeyId

func (o *Service) SetAccessTokenSignatureKeyId(v string)

SetAccessTokenSignatureKeyId gets a reference to the given string and assigns it to the AccessTokenSignatureKeyId field.

func (*Service) SetAccessTokenType

func (o *Service) SetAccessTokenType(v string)

SetAccessTokenType gets a reference to the given string and assigns it to the AccessTokenType field.

func (*Service) SetAllowableClockSkew

func (o *Service) SetAllowableClockSkew(v int32)

SetAllowableClockSkew gets a reference to the given int32 and assigns it to the AllowableClockSkew field.

func (*Service) SetApiKey

func (o *Service) SetApiKey(v int64)

SetApiKey gets a reference to the given int64 and assigns it to the ApiKey field.

func (*Service) SetApiSecret

func (o *Service) SetApiSecret(v string)

SetApiSecret gets a reference to the given string and assigns it to the ApiSecret field.

func (*Service) SetAttributes

func (o *Service) SetAttributes(v []Pair)

SetAttributes gets a reference to the given []Pair and assigns it to the Attributes field.

func (*Service) SetAuthenticationCallbackApiKey

func (o *Service) SetAuthenticationCallbackApiKey(v string)

SetAuthenticationCallbackApiKey gets a reference to the given string and assigns it to the AuthenticationCallbackApiKey field.

func (*Service) SetAuthenticationCallbackApiSecret

func (o *Service) SetAuthenticationCallbackApiSecret(v string)

SetAuthenticationCallbackApiSecret gets a reference to the given string and assigns it to the AuthenticationCallbackApiSecret field.

func (*Service) SetAuthenticationCallbackEndpoint

func (o *Service) SetAuthenticationCallbackEndpoint(v string)

SetAuthenticationCallbackEndpoint gets a reference to the given string and assigns it to the AuthenticationCallbackEndpoint field.

func (*Service) SetAuthorityHints added in v1.1.1

func (o *Service) SetAuthorityHints(v []string)

SetAuthorityHints gets a reference to the given []string and assigns it to the AuthorityHints field.

func (*Service) SetAuthorizationEndpoint

func (o *Service) SetAuthorizationEndpoint(v string)

SetAuthorizationEndpoint gets a reference to the given string and assigns it to the AuthorizationEndpoint field.

func (*Service) SetAuthorizationResponseDuration

func (o *Service) SetAuthorizationResponseDuration(v int64)

SetAuthorizationResponseDuration gets a reference to the given int64 and assigns it to the AuthorizationResponseDuration field.

func (*Service) SetAuthorizationSignatureKeyId

func (o *Service) SetAuthorizationSignatureKeyId(v string)

SetAuthorizationSignatureKeyId gets a reference to the given string and assigns it to the AuthorizationSignatureKeyId field.

func (*Service) SetBackchannelAuthReqIdDuration

func (o *Service) SetBackchannelAuthReqIdDuration(v int32)

SetBackchannelAuthReqIdDuration gets a reference to the given int32 and assigns it to the BackchannelAuthReqIdDuration field.

func (*Service) SetBackchannelAuthenticationEndpoint

func (o *Service) SetBackchannelAuthenticationEndpoint(v string)

SetBackchannelAuthenticationEndpoint gets a reference to the given string and assigns it to the BackchannelAuthenticationEndpoint field.

func (*Service) SetBackchannelBindingMessageRequiredInFapi

func (o *Service) SetBackchannelBindingMessageRequiredInFapi(v bool)

SetBackchannelBindingMessageRequiredInFapi gets a reference to the given bool and assigns it to the BackchannelBindingMessageRequiredInFapi field.

func (*Service) SetBackchannelPollingInterval

func (o *Service) SetBackchannelPollingInterval(v int32)

SetBackchannelPollingInterval gets a reference to the given int32 and assigns it to the BackchannelPollingInterval field.

func (*Service) SetBackchannelUserCodeParameterSupported

func (o *Service) SetBackchannelUserCodeParameterSupported(v bool)

SetBackchannelUserCodeParameterSupported gets a reference to the given bool and assigns it to the BackchannelUserCodeParameterSupported field.

func (*Service) SetClaimShortcutRestrictive

func (o *Service) SetClaimShortcutRestrictive(v bool)

SetClaimShortcutRestrictive gets a reference to the given bool and assigns it to the ClaimShortcutRestrictive field.

func (*Service) SetClientIdAliasEnabled

func (o *Service) SetClientIdAliasEnabled(v bool)

SetClientIdAliasEnabled gets a reference to the given bool and assigns it to the ClientIdAliasEnabled field.

func (*Service) SetClientsPerDeveloper

func (o *Service) SetClientsPerDeveloper(v int32)

SetClientsPerDeveloper gets a reference to the given int32 and assigns it to the ClientsPerDeveloper field.

func (*Service) SetCreatedAt

func (o *Service) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*Service) SetDcrDuplicateSoftwareIdBlocked added in v1.1.0

func (o *Service) SetDcrDuplicateSoftwareIdBlocked(v bool)

SetDcrDuplicateSoftwareIdBlocked gets a reference to the given bool and assigns it to the DcrDuplicateSoftwareIdBlocked field.

func (*Service) SetDcrScopeUsedAsRequestable

func (o *Service) SetDcrScopeUsedAsRequestable(v bool)

SetDcrScopeUsedAsRequestable gets a reference to the given bool and assigns it to the DcrScopeUsedAsRequestable field.

func (*Service) SetDescription

func (o *Service) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Service) SetDeveloperAuthenticationCallbackApiKey

func (o *Service) SetDeveloperAuthenticationCallbackApiKey(v string)

SetDeveloperAuthenticationCallbackApiKey gets a reference to the given string and assigns it to the DeveloperAuthenticationCallbackApiKey field.

func (*Service) SetDeveloperAuthenticationCallbackApiSecret

func (o *Service) SetDeveloperAuthenticationCallbackApiSecret(v string)

SetDeveloperAuthenticationCallbackApiSecret gets a reference to the given string and assigns it to the DeveloperAuthenticationCallbackApiSecret field.

func (*Service) SetDeveloperAuthenticationCallbackEndpoint

func (o *Service) SetDeveloperAuthenticationCallbackEndpoint(v string)

SetDeveloperAuthenticationCallbackEndpoint gets a reference to the given string and assigns it to the DeveloperAuthenticationCallbackEndpoint field.

func (*Service) SetDeveloperSnsCredentials

func (o *Service) SetDeveloperSnsCredentials(v string)

SetDeveloperSnsCredentials gets a reference to the given string and assigns it to the DeveloperSnsCredentials field.

func (*Service) SetDeviceAuthorizationEndpoint

func (o *Service) SetDeviceAuthorizationEndpoint(v string)

SetDeviceAuthorizationEndpoint gets a reference to the given string and assigns it to the DeviceAuthorizationEndpoint field.

func (*Service) SetDeviceFlowCodeDuration

func (o *Service) SetDeviceFlowCodeDuration(v int32)

SetDeviceFlowCodeDuration gets a reference to the given int32 and assigns it to the DeviceFlowCodeDuration field.

func (*Service) SetDeviceFlowPollingInterval

func (o *Service) SetDeviceFlowPollingInterval(v int32)

SetDeviceFlowPollingInterval gets a reference to the given int32 and assigns it to the DeviceFlowPollingInterval field.

func (*Service) SetDeviceVerificationUri

func (o *Service) SetDeviceVerificationUri(v string)

SetDeviceVerificationUri gets a reference to the given string and assigns it to the DeviceVerificationUri field.

func (*Service) SetDeviceVerificationUriComplete

func (o *Service) SetDeviceVerificationUriComplete(v string)

SetDeviceVerificationUriComplete gets a reference to the given string and assigns it to the DeviceVerificationUriComplete field.

func (*Service) SetDirectAuthorizationEndpointEnabled

func (o *Service) SetDirectAuthorizationEndpointEnabled(v bool)

SetDirectAuthorizationEndpointEnabled gets a reference to the given bool and assigns it to the DirectAuthorizationEndpointEnabled field.

func (*Service) SetDirectIntrospectionEndpointEnabled

func (o *Service) SetDirectIntrospectionEndpointEnabled(v bool)

SetDirectIntrospectionEndpointEnabled gets a reference to the given bool and assigns it to the DirectIntrospectionEndpointEnabled field.

func (*Service) SetDirectJwksEndpointEnabled

func (o *Service) SetDirectJwksEndpointEnabled(v bool)

SetDirectJwksEndpointEnabled gets a reference to the given bool and assigns it to the DirectJwksEndpointEnabled field.

func (*Service) SetDirectRevocationEndpointEnabled

func (o *Service) SetDirectRevocationEndpointEnabled(v bool)

SetDirectRevocationEndpointEnabled gets a reference to the given bool and assigns it to the DirectRevocationEndpointEnabled field.

func (*Service) SetDirectTokenEndpointEnabled

func (o *Service) SetDirectTokenEndpointEnabled(v bool)

SetDirectTokenEndpointEnabled gets a reference to the given bool and assigns it to the DirectTokenEndpointEnabled field.

func (*Service) SetDirectUserInfoEndpointEnabled

func (o *Service) SetDirectUserInfoEndpointEnabled(v bool)

SetDirectUserInfoEndpointEnabled gets a reference to the given bool and assigns it to the DirectUserInfoEndpointEnabled field.

func (*Service) SetDynamicRegistrationSupported

func (o *Service) SetDynamicRegistrationSupported(v bool)

SetDynamicRegistrationSupported gets a reference to the given bool and assigns it to the DynamicRegistrationSupported field.

func (*Service) SetEndSessionEndpoint

func (o *Service) SetEndSessionEndpoint(v string)

SetEndSessionEndpoint gets a reference to the given string and assigns it to the EndSessionEndpoint field.

func (*Service) SetErrorDescriptionOmitted

func (o *Service) SetErrorDescriptionOmitted(v bool)

SetErrorDescriptionOmitted gets a reference to the given bool and assigns it to the ErrorDescriptionOmitted field.

func (*Service) SetErrorUriOmitted

func (o *Service) SetErrorUriOmitted(v bool)

SetErrorUriOmitted gets a reference to the given bool and assigns it to the ErrorUriOmitted field.

func (*Service) SetFederationConfigurationDuration added in v1.1.1

func (o *Service) SetFederationConfigurationDuration(v int32)

SetFederationConfigurationDuration gets a reference to the given int32 and assigns it to the FederationConfigurationDuration field.

func (*Service) SetFederationEnabled added in v1.1.1

func (o *Service) SetFederationEnabled(v bool)

SetFederationEnabled gets a reference to the given bool and assigns it to the FederationEnabled field.

func (*Service) SetFederationJwks added in v1.1.1

func (o *Service) SetFederationJwks(v string)

SetFederationJwks gets a reference to the given string and assigns it to the FederationJwks field.

func (*Service) SetFederationRegistrationEndpoint added in v1.1.1

func (o *Service) SetFederationRegistrationEndpoint(v string)

SetFederationRegistrationEndpoint gets a reference to the given string and assigns it to the FederationRegistrationEndpoint field.

func (*Service) SetFederationSignatureKeyId added in v1.1.1

func (o *Service) SetFederationSignatureKeyId(v string)

SetFederationSignatureKeyId gets a reference to the given string and assigns it to the FederationSignatureKeyId field.

func (*Service) SetFrontChannelRequestObjectEncryptionRequired

func (o *Service) SetFrontChannelRequestObjectEncryptionRequired(v bool)

SetFrontChannelRequestObjectEncryptionRequired gets a reference to the given bool and assigns it to the FrontChannelRequestObjectEncryptionRequired field.

func (*Service) SetGrantManagementActionRequired

func (o *Service) SetGrantManagementActionRequired(v bool)

SetGrantManagementActionRequired gets a reference to the given bool and assigns it to the GrantManagementActionRequired field.

func (*Service) SetGrantManagementEndpoint

func (o *Service) SetGrantManagementEndpoint(v string)

SetGrantManagementEndpoint gets a reference to the given string and assigns it to the GrantManagementEndpoint field.

func (*Service) SetHsks

func (o *Service) SetHsks(v []Pair)

SetHsks gets a reference to the given []Pair and assigns it to the Hsks field.

func (*Service) SetHsmEnabled

func (o *Service) SetHsmEnabled(v bool)

SetHsmEnabled gets a reference to the given bool and assigns it to the HsmEnabled field.

func (*Service) SetIdTokenDuration

func (o *Service) SetIdTokenDuration(v int64)

SetIdTokenDuration gets a reference to the given int64 and assigns it to the IdTokenDuration field.

func (*Service) SetIdTokenSignatureKeyId

func (o *Service) SetIdTokenSignatureKeyId(v string)

SetIdTokenSignatureKeyId gets a reference to the given string and assigns it to the IdTokenSignatureKeyId field.

func (*Service) SetIntrospectionEndpoint

func (o *Service) SetIntrospectionEndpoint(v string)

SetIntrospectionEndpoint gets a reference to the given string and assigns it to the IntrospectionEndpoint field.

func (*Service) SetIssSuppressed

func (o *Service) SetIssSuppressed(v bool)

SetIssSuppressed gets a reference to the given bool and assigns it to the IssSuppressed field.

func (*Service) SetIssuer

func (o *Service) SetIssuer(v string)

SetIssuer gets a reference to the given string and assigns it to the Issuer field.

func (*Service) SetJwks

func (o *Service) SetJwks(v string)

SetJwks gets a reference to the given string and assigns it to the Jwks field.

func (*Service) SetJwksUri

func (o *Service) SetJwksUri(v string)

SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.

func (*Service) SetJwtGrantByIdentifiableClientsOnly added in v1.1.1

func (o *Service) SetJwtGrantByIdentifiableClientsOnly(v bool)

SetJwtGrantByIdentifiableClientsOnly gets a reference to the given bool and assigns it to the JwtGrantByIdentifiableClientsOnly field.

func (*Service) SetJwtGrantEncryptedJwtRejected added in v1.1.1

func (o *Service) SetJwtGrantEncryptedJwtRejected(v bool)

SetJwtGrantEncryptedJwtRejected gets a reference to the given bool and assigns it to the JwtGrantEncryptedJwtRejected field.

func (*Service) SetJwtGrantUnsignedJwtRejected added in v1.1.1

func (o *Service) SetJwtGrantUnsignedJwtRejected(v bool)

SetJwtGrantUnsignedJwtRejected gets a reference to the given bool and assigns it to the JwtGrantUnsignedJwtRejected field.

func (*Service) SetLoopbackRedirectionUriVariable added in v0.2.0

func (o *Service) SetLoopbackRedirectionUriVariable(v bool)

SetLoopbackRedirectionUriVariable gets a reference to the given bool and assigns it to the LoopbackRedirectionUriVariable field.

func (*Service) SetMetadata

func (o *Service) SetMetadata(v []Pair)

SetMetadata gets a reference to the given []Pair and assigns it to the Metadata field.

func (*Service) SetMissingClientIdAllowed

func (o *Service) SetMissingClientIdAllowed(v bool)

SetMissingClientIdAllowed gets a reference to the given bool and assigns it to the MissingClientIdAllowed field.

func (*Service) SetModifiedAt

func (o *Service) SetModifiedAt(v int64)

SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.

func (*Service) SetMtlsEndpointAliases

func (o *Service) SetMtlsEndpointAliases(v []NamedUri)

SetMtlsEndpointAliases gets a reference to the given []NamedUri and assigns it to the MtlsEndpointAliases field.

func (*Service) SetMutualTlsValidatePkiCertChain

func (o *Service) SetMutualTlsValidatePkiCertChain(v bool)

SetMutualTlsValidatePkiCertChain gets a reference to the given bool and assigns it to the MutualTlsValidatePkiCertChain field.

func (*Service) SetNbfOptional

func (o *Service) SetNbfOptional(v bool)

SetNbfOptional gets a reference to the given bool and assigns it to the NbfOptional field.

func (*Service) SetNumber

func (o *Service) SetNumber(v int32)

SetNumber gets a reference to the given int32 and assigns it to the Number field.

func (*Service) SetOpenidDroppedOnRefreshWithoutOfflineAccess added in v1.1.1

func (o *Service) SetOpenidDroppedOnRefreshWithoutOfflineAccess(v bool)

SetOpenidDroppedOnRefreshWithoutOfflineAccess gets a reference to the given bool and assigns it to the OpenidDroppedOnRefreshWithoutOfflineAccess field.

func (*Service) SetOrganizationName added in v1.1.1

func (o *Service) SetOrganizationName(v string)

SetOrganizationName gets a reference to the given string and assigns it to the OrganizationName field.

func (*Service) SetParRequired

func (o *Service) SetParRequired(v bool)

SetParRequired gets a reference to the given bool and assigns it to the ParRequired field.

func (*Service) SetPkceRequired

func (o *Service) SetPkceRequired(v bool)

SetPkceRequired gets a reference to the given bool and assigns it to the PkceRequired field.

func (*Service) SetPkceS256Required

func (o *Service) SetPkceS256Required(v bool)

SetPkceS256Required gets a reference to the given bool and assigns it to the PkceS256Required field.

func (*Service) SetPolicyUri

func (o *Service) SetPolicyUri(v string)

SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.

func (*Service) SetPredefinedTransformedClaims added in v1.1.1

func (o *Service) SetPredefinedTransformedClaims(v string)

SetPredefinedTransformedClaims gets a reference to the given string and assigns it to the PredefinedTransformedClaims field.

func (*Service) SetPushedAuthReqDuration

func (o *Service) SetPushedAuthReqDuration(v int64)

SetPushedAuthReqDuration gets a reference to the given int64 and assigns it to the PushedAuthReqDuration field.

func (*Service) SetPushedAuthReqEndpoint

func (o *Service) SetPushedAuthReqEndpoint(v string)

SetPushedAuthReqEndpoint gets a reference to the given string and assigns it to the PushedAuthReqEndpoint field.

func (*Service) SetRefreshTokenDuration

func (o *Service) SetRefreshTokenDuration(v int64)

SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.

func (*Service) SetRefreshTokenDurationKept

func (o *Service) SetRefreshTokenDurationKept(v bool)

SetRefreshTokenDurationKept gets a reference to the given bool and assigns it to the RefreshTokenDurationKept field.

func (*Service) SetRefreshTokenDurationReset

func (o *Service) SetRefreshTokenDurationReset(v bool)

SetRefreshTokenDurationReset gets a reference to the given bool and assigns it to the RefreshTokenDurationReset field.

func (*Service) SetRefreshTokenIdempotent added in v1.1.1

func (o *Service) SetRefreshTokenIdempotent(v bool)

SetRefreshTokenIdempotent gets a reference to the given bool and assigns it to the RefreshTokenIdempotent field.

func (*Service) SetRefreshTokenKept

func (o *Service) SetRefreshTokenKept(v bool)

SetRefreshTokenKept gets a reference to the given bool and assigns it to the RefreshTokenKept field.

func (*Service) SetRegistrationEndpoint

func (o *Service) SetRegistrationEndpoint(v string)

SetRegistrationEndpoint gets a reference to the given string and assigns it to the RegistrationEndpoint field.

func (*Service) SetRegistrationManagementEndpoint

func (o *Service) SetRegistrationManagementEndpoint(v string)

SetRegistrationManagementEndpoint gets a reference to the given string and assigns it to the RegistrationManagementEndpoint field.

func (*Service) SetRequestObjectAudienceChecked added in v1.0.0

func (o *Service) SetRequestObjectAudienceChecked(v bool)

SetRequestObjectAudienceChecked gets a reference to the given bool and assigns it to the RequestObjectAudienceChecked field.

func (*Service) SetRequestObjectEncryptionAlgMatchRequired

func (o *Service) SetRequestObjectEncryptionAlgMatchRequired(v bool)

SetRequestObjectEncryptionAlgMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionAlgMatchRequired field.

func (*Service) SetRequestObjectEncryptionEncMatchRequired

func (o *Service) SetRequestObjectEncryptionEncMatchRequired(v bool)

SetRequestObjectEncryptionEncMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionEncMatchRequired field.

func (*Service) SetRequestObjectRequired

func (o *Service) SetRequestObjectRequired(v bool)

SetRequestObjectRequired gets a reference to the given bool and assigns it to the RequestObjectRequired field.

func (*Service) SetRevocationEndpoint

func (o *Service) SetRevocationEndpoint(v string)

SetRevocationEndpoint gets a reference to the given string and assigns it to the RevocationEndpoint field.

func (*Service) SetRsResponseSigned added in v1.2.0

func (o *Service) SetRsResponseSigned(v bool)

SetRsResponseSigned gets a reference to the given bool and assigns it to the RsResponseSigned field.

func (*Service) SetRsSignedRequestKeyId added in v1.2.0

func (o *Service) SetRsSignedRequestKeyId(v string)

SetRsSignedRequestKeyId gets a reference to the given string and assigns it to the RsSignedRequestKeyId field.

func (*Service) SetScopeRequired

func (o *Service) SetScopeRequired(v bool)

SetScopeRequired gets a reference to the given bool and assigns it to the ScopeRequired field.

func (*Service) SetServiceDocumentation

func (o *Service) SetServiceDocumentation(v string)

SetServiceDocumentation gets a reference to the given string and assigns it to the ServiceDocumentation field.

func (*Service) SetServiceName

func (o *Service) SetServiceName(v string)

SetServiceName gets a reference to the given string and assigns it to the ServiceName field.

func (*Service) SetServiceOwnerNumber

func (o *Service) SetServiceOwnerNumber(v int32)

SetServiceOwnerNumber gets a reference to the given int32 and assigns it to the ServiceOwnerNumber field.

func (*Service) SetSignedJwksUri added in v1.1.1

func (o *Service) SetSignedJwksUri(v string)

SetSignedJwksUri gets a reference to the given string and assigns it to the SignedJwksUri field.

func (*Service) SetSingleAccessTokenPerSubject

func (o *Service) SetSingleAccessTokenPerSubject(v bool)

SetSingleAccessTokenPerSubject gets a reference to the given bool and assigns it to the SingleAccessTokenPerSubject field.

func (*Service) SetSnsCredentials

func (o *Service) SetSnsCredentials(v []SnsCredentials)

SetSnsCredentials gets a reference to the given []SnsCredentials and assigns it to the SnsCredentials field.

func (*Service) SetSupportedAcrs

func (o *Service) SetSupportedAcrs(v []string)

SetSupportedAcrs gets a reference to the given []string and assigns it to the SupportedAcrs field.

func (*Service) SetSupportedAttachments added in v1.1.1

func (o *Service) SetSupportedAttachments(v []AttachmentType)

SetSupportedAttachments gets a reference to the given []AttachmentType and assigns it to the SupportedAttachments field.

func (*Service) SetSupportedAuthorizationDetailsTypes

func (o *Service) SetSupportedAuthorizationDetailsTypes(v []string)

SetSupportedAuthorizationDetailsTypes gets a reference to the given []string and assigns it to the SupportedAuthorizationDetailsTypes field.

func (*Service) SetSupportedBackchannelTokenDeliveryModes

func (o *Service) SetSupportedBackchannelTokenDeliveryModes(v []DeliveryMode)

SetSupportedBackchannelTokenDeliveryModes gets a reference to the given []DeliveryMode and assigns it to the SupportedBackchannelTokenDeliveryModes field.

func (*Service) SetSupportedClaimLocales

func (o *Service) SetSupportedClaimLocales(v []string)

SetSupportedClaimLocales gets a reference to the given []string and assigns it to the SupportedClaimLocales field.

func (*Service) SetSupportedClaimTypes

func (o *Service) SetSupportedClaimTypes(v []ClaimType)

SetSupportedClaimTypes gets a reference to the given []ClaimType and assigns it to the SupportedClaimTypes field.

func (*Service) SetSupportedClaims

func (o *Service) SetSupportedClaims(v []string)

SetSupportedClaims gets a reference to the given []string and assigns it to the SupportedClaims field.

func (*Service) SetSupportedClientRegistrationTypes added in v1.1.1

func (o *Service) SetSupportedClientRegistrationTypes(v []ClientRegistrationType)

SetSupportedClientRegistrationTypes gets a reference to the given []ClientRegistrationType and assigns it to the SupportedClientRegistrationTypes field.

func (*Service) SetSupportedCustomClientMetadata

func (o *Service) SetSupportedCustomClientMetadata(v []string)

SetSupportedCustomClientMetadata gets a reference to the given []string and assigns it to the SupportedCustomClientMetadata field.

func (*Service) SetSupportedDeveloperSnses

func (o *Service) SetSupportedDeveloperSnses(v []Sns)

SetSupportedDeveloperSnses gets a reference to the given []Sns and assigns it to the SupportedDeveloperSnses field.

func (*Service) SetSupportedDigestAlgorithms added in v1.1.1

func (o *Service) SetSupportedDigestAlgorithms(v []string)

SetSupportedDigestAlgorithms gets a reference to the given []string and assigns it to the SupportedDigestAlgorithms field.

func (*Service) SetSupportedDisplays

func (o *Service) SetSupportedDisplays(v []Display)

SetSupportedDisplays gets a reference to the given []Display and assigns it to the SupportedDisplays field.

func (*Service) SetSupportedDocuments added in v1.1.1

func (o *Service) SetSupportedDocuments(v []string)

SetSupportedDocuments gets a reference to the given []string and assigns it to the SupportedDocuments field.

func (*Service) SetSupportedDocumentsCheckMethods added in v1.2.0

func (o *Service) SetSupportedDocumentsCheckMethods(v []string)

SetSupportedDocumentsCheckMethods gets a reference to the given []string and assigns it to the SupportedDocumentsCheckMethods field.

func (*Service) SetSupportedDocumentsMethods added in v1.1.1

func (o *Service) SetSupportedDocumentsMethods(v []string)

SetSupportedDocumentsMethods gets a reference to the given []string and assigns it to the SupportedDocumentsMethods field.

func (*Service) SetSupportedDocumentsValidationMethods added in v1.1.1

func (o *Service) SetSupportedDocumentsValidationMethods(v []string)

SetSupportedDocumentsValidationMethods gets a reference to the given []string and assigns it to the SupportedDocumentsValidationMethods field.

func (*Service) SetSupportedDocumentsVerificationMethods added in v1.1.1

func (o *Service) SetSupportedDocumentsVerificationMethods(v []string)

SetSupportedDocumentsVerificationMethods gets a reference to the given []string and assigns it to the SupportedDocumentsVerificationMethods field.

func (*Service) SetSupportedElectronicRecords added in v1.1.1

func (o *Service) SetSupportedElectronicRecords(v []string)

SetSupportedElectronicRecords gets a reference to the given []string and assigns it to the SupportedElectronicRecords field.

func (*Service) SetSupportedEvidence

func (o *Service) SetSupportedEvidence(v []string)

SetSupportedEvidence gets a reference to the given []string and assigns it to the SupportedEvidence field.

func (*Service) SetSupportedGrantTypes

func (o *Service) SetSupportedGrantTypes(v []GrantType)

SetSupportedGrantTypes gets a reference to the given []GrantType and assigns it to the SupportedGrantTypes field.

func (*Service) SetSupportedIdentityDocuments

func (o *Service) SetSupportedIdentityDocuments(v []string)

SetSupportedIdentityDocuments gets a reference to the given []string and assigns it to the SupportedIdentityDocuments field.

func (*Service) SetSupportedIntrospectionAuthMethods

func (o *Service) SetSupportedIntrospectionAuthMethods(v []ClientAuthenticationMethod)

SetSupportedIntrospectionAuthMethods gets a reference to the given []ClientAuthenticationMethod and assigns it to the SupportedIntrospectionAuthMethods field.

func (*Service) SetSupportedResponseTypes

func (o *Service) SetSupportedResponseTypes(v []ResponseType)

SetSupportedResponseTypes gets a reference to the given []ResponseType and assigns it to the SupportedResponseTypes field.

func (*Service) SetSupportedRevocationAuthMethods

func (o *Service) SetSupportedRevocationAuthMethods(v []ClientAuthenticationMethod)

SetSupportedRevocationAuthMethods gets a reference to the given []ClientAuthenticationMethod and assigns it to the SupportedRevocationAuthMethods field.

func (*Service) SetSupportedScopes

func (o *Service) SetSupportedScopes(v []Scope)

SetSupportedScopes gets a reference to the given []Scope and assigns it to the SupportedScopes field.

func (*Service) SetSupportedServiceProfiles

func (o *Service) SetSupportedServiceProfiles(v []ServiceProfile)

SetSupportedServiceProfiles gets a reference to the given []ServiceProfile and assigns it to the SupportedServiceProfiles field.

func (*Service) SetSupportedSnses

func (o *Service) SetSupportedSnses(v []Sns)

SetSupportedSnses gets a reference to the given []Sns and assigns it to the SupportedSnses field.

func (*Service) SetSupportedTokenAuthMethods

func (o *Service) SetSupportedTokenAuthMethods(v []ClientAuthenticationMethod)

SetSupportedTokenAuthMethods gets a reference to the given []ClientAuthenticationMethod and assigns it to the SupportedTokenAuthMethods field.

func (*Service) SetSupportedTrustFrameworks

func (o *Service) SetSupportedTrustFrameworks(v []string)

SetSupportedTrustFrameworks gets a reference to the given []string and assigns it to the SupportedTrustFrameworks field.

func (*Service) SetSupportedUiLocales

func (o *Service) SetSupportedUiLocales(v []string)

SetSupportedUiLocales gets a reference to the given []string and assigns it to the SupportedUiLocales field.

func (*Service) SetSupportedVerificationMethods

func (o *Service) SetSupportedVerificationMethods(v []string)

SetSupportedVerificationMethods gets a reference to the given []string and assigns it to the SupportedVerificationMethods field.

func (*Service) SetSupportedVerifiedClaims

func (o *Service) SetSupportedVerifiedClaims(v []string)

SetSupportedVerifiedClaims gets a reference to the given []string and assigns it to the SupportedVerifiedClaims field.

func (*Service) SetTlsClientCertificateBoundAccessTokens

func (o *Service) SetTlsClientCertificateBoundAccessTokens(v bool)

SetTlsClientCertificateBoundAccessTokens gets a reference to the given bool and assigns it to the TlsClientCertificateBoundAccessTokens field.

func (*Service) SetTokenEndpoint

func (o *Service) SetTokenEndpoint(v string)

SetTokenEndpoint gets a reference to the given string and assigns it to the TokenEndpoint field.

func (*Service) SetTokenExchangeByConfidentialClientsOnly added in v1.1.1

func (o *Service) SetTokenExchangeByConfidentialClientsOnly(v bool)

SetTokenExchangeByConfidentialClientsOnly gets a reference to the given bool and assigns it to the TokenExchangeByConfidentialClientsOnly field.

func (*Service) SetTokenExchangeByIdentifiableClientsOnly added in v1.1.1

func (o *Service) SetTokenExchangeByIdentifiableClientsOnly(v bool)

SetTokenExchangeByIdentifiableClientsOnly gets a reference to the given bool and assigns it to the TokenExchangeByIdentifiableClientsOnly field.

func (*Service) SetTokenExchangeByPermittedClientsOnly added in v1.1.1

func (o *Service) SetTokenExchangeByPermittedClientsOnly(v bool)

SetTokenExchangeByPermittedClientsOnly gets a reference to the given bool and assigns it to the TokenExchangeByPermittedClientsOnly field.

func (*Service) SetTokenExchangeEncryptedJwtRejected added in v1.1.1

func (o *Service) SetTokenExchangeEncryptedJwtRejected(v bool)

SetTokenExchangeEncryptedJwtRejected gets a reference to the given bool and assigns it to the TokenExchangeEncryptedJwtRejected field.

func (*Service) SetTokenExchangeUnsignedJwtRejected added in v1.1.1

func (o *Service) SetTokenExchangeUnsignedJwtRejected(v bool)

SetTokenExchangeUnsignedJwtRejected gets a reference to the given bool and assigns it to the TokenExchangeUnsignedJwtRejected field.

func (*Service) SetTokenExpirationLinked

func (o *Service) SetTokenExpirationLinked(v bool)

SetTokenExpirationLinked gets a reference to the given bool and assigns it to the TokenExpirationLinked field.

func (*Service) SetTosUri

func (o *Service) SetTosUri(v string)

SetTosUri gets a reference to the given string and assigns it to the TosUri field.

func (*Service) SetTraditionalRequestObjectProcessingApplied

func (o *Service) SetTraditionalRequestObjectProcessingApplied(v bool)

SetTraditionalRequestObjectProcessingApplied gets a reference to the given bool and assigns it to the TraditionalRequestObjectProcessingApplied field.

func (*Service) SetTrustAnchors added in v1.1.1

func (o *Service) SetTrustAnchors(v []TrustAnchor)

SetTrustAnchors gets a reference to the given []TrustAnchor and assigns it to the TrustAnchors field.

func (*Service) SetTrustedRootCertificates

func (o *Service) SetTrustedRootCertificates(v []string)

SetTrustedRootCertificates gets a reference to the given []string and assigns it to the TrustedRootCertificates field.

func (*Service) SetUnauthorizedOnClientConfigSupported

func (o *Service) SetUnauthorizedOnClientConfigSupported(v bool)

SetUnauthorizedOnClientConfigSupported gets a reference to the given bool and assigns it to the UnauthorizedOnClientConfigSupported field.

func (*Service) SetUserCodeCharset

func (o *Service) SetUserCodeCharset(v UserCodeCharset)

SetUserCodeCharset gets a reference to the given UserCodeCharset and assigns it to the UserCodeCharset field.

func (*Service) SetUserCodeLength

func (o *Service) SetUserCodeLength(v int32)

SetUserCodeLength gets a reference to the given int32 and assigns it to the UserCodeLength field.

func (*Service) SetUserInfoEndpoint

func (o *Service) SetUserInfoEndpoint(v string)

SetUserInfoEndpoint gets a reference to the given string and assigns it to the UserInfoEndpoint field.

func (*Service) SetUserInfoSignatureKeyId

func (o *Service) SetUserInfoSignatureKeyId(v string)

SetUserInfoSignatureKeyId gets a reference to the given string and assigns it to the UserInfoSignatureKeyId field.

func (*Service) SetVerifiedClaimsValidationSchemaSet added in v1.2.3

func (o *Service) SetVerifiedClaimsValidationSchemaSet(v VerifiedClaimsValidationSchema)

SetVerifiedClaimsValidationSchemaSet gets a reference to the given NullableVerifiedClaimsValidationSchema and assigns it to the VerifiedClaimsValidationSchemaSet field.

func (*Service) SetVerifiedClaimsValidationSchemaSetNil added in v1.2.3

func (o *Service) SetVerifiedClaimsValidationSchemaSetNil()

SetVerifiedClaimsValidationSchemaSetNil sets the value for VerifiedClaimsValidationSchemaSet to be an explicit nil

func (Service) ToMap added in v1.1.1

func (o Service) ToMap() (map[string]interface{}, error)

func (*Service) UnsetVerifiedClaimsValidationSchemaSet added in v1.2.3

func (o *Service) UnsetVerifiedClaimsValidationSchemaSet()

UnsetVerifiedClaimsValidationSchemaSet ensures that no value is present for VerifiedClaimsValidationSchemaSet, not even an explicit nil

type ServiceGetListResponse

type ServiceGetListResponse struct {
	// Start index (inclusive) of the result set. The default value is 0. Must not be a negative number.
	Start *int32 `json:"start,omitempty"`
	// Start index (inclusive) of the result set. The default value is 0. Must not be a negative number.
	End *int32 `json:"end,omitempty"`
	// Total number of services owned by the service owner. This doesn't mean the number of services contained in the response.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// An array of services.
	Services []Service `json:"services,omitempty"`
}

ServiceGetListResponse struct for ServiceGetListResponse

func NewServiceGetListResponse

func NewServiceGetListResponse() *ServiceGetListResponse

NewServiceGetListResponse instantiates a new ServiceGetListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceGetListResponseWithDefaults

func NewServiceGetListResponseWithDefaults() *ServiceGetListResponse

NewServiceGetListResponseWithDefaults instantiates a new ServiceGetListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceGetListResponse) GetEnd

func (o *ServiceGetListResponse) GetEnd() int32

GetEnd returns the End field value if set, zero value otherwise.

func (*ServiceGetListResponse) GetEndOk

func (o *ServiceGetListResponse) GetEndOk() (*int32, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceGetListResponse) GetServices

func (o *ServiceGetListResponse) GetServices() []Service

GetServices returns the Services field value if set, zero value otherwise.

func (*ServiceGetListResponse) GetServicesOk

func (o *ServiceGetListResponse) GetServicesOk() ([]Service, bool)

GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceGetListResponse) GetStart

func (o *ServiceGetListResponse) GetStart() int32

GetStart returns the Start field value if set, zero value otherwise.

func (*ServiceGetListResponse) GetStartOk

func (o *ServiceGetListResponse) GetStartOk() (*int32, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceGetListResponse) GetTotalCount

func (o *ServiceGetListResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ServiceGetListResponse) GetTotalCountOk

func (o *ServiceGetListResponse) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceGetListResponse) HasEnd

func (o *ServiceGetListResponse) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*ServiceGetListResponse) HasServices

func (o *ServiceGetListResponse) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*ServiceGetListResponse) HasStart

func (o *ServiceGetListResponse) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*ServiceGetListResponse) HasTotalCount

func (o *ServiceGetListResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (ServiceGetListResponse) MarshalJSON

func (o ServiceGetListResponse) MarshalJSON() ([]byte, error)

func (*ServiceGetListResponse) SetEnd

func (o *ServiceGetListResponse) SetEnd(v int32)

SetEnd gets a reference to the given int32 and assigns it to the End field.

func (*ServiceGetListResponse) SetServices

func (o *ServiceGetListResponse) SetServices(v []Service)

SetServices gets a reference to the given []Service and assigns it to the Services field.

func (*ServiceGetListResponse) SetStart

func (o *ServiceGetListResponse) SetStart(v int32)

SetStart gets a reference to the given int32 and assigns it to the Start field.

func (*ServiceGetListResponse) SetTotalCount

func (o *ServiceGetListResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (ServiceGetListResponse) ToMap added in v1.1.1

func (o ServiceGetListResponse) ToMap() (map[string]interface{}, error)

type ServiceJwksGetResponse

type ServiceJwksGetResponse struct {
	// An array of [JWK](https://datatracker.ietf.org/doc/html/rfc7517)s.
	Keys []map[string]interface{} `json:"keys,omitempty"`
}

ServiceJwksGetResponse struct for ServiceJwksGetResponse

func NewServiceJwksGetResponse

func NewServiceJwksGetResponse() *ServiceJwksGetResponse

NewServiceJwksGetResponse instantiates a new ServiceJwksGetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceJwksGetResponseWithDefaults

func NewServiceJwksGetResponseWithDefaults() *ServiceJwksGetResponse

NewServiceJwksGetResponseWithDefaults instantiates a new ServiceJwksGetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceJwksGetResponse) GetKeys

func (o *ServiceJwksGetResponse) GetKeys() []map[string]interface{}

GetKeys returns the Keys field value if set, zero value otherwise.

func (*ServiceJwksGetResponse) GetKeysOk

func (o *ServiceJwksGetResponse) GetKeysOk() ([]map[string]interface{}, 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 (*ServiceJwksGetResponse) HasKeys

func (o *ServiceJwksGetResponse) HasKeys() bool

HasKeys returns a boolean if a field has been set.

func (ServiceJwksGetResponse) MarshalJSON

func (o ServiceJwksGetResponse) MarshalJSON() ([]byte, error)

func (*ServiceJwksGetResponse) SetKeys

func (o *ServiceJwksGetResponse) SetKeys(v []map[string]interface{})

SetKeys gets a reference to the given []map[string]interface{} and assigns it to the Keys field.

func (ServiceJwksGetResponse) ToMap added in v1.1.1

func (o ServiceJwksGetResponse) ToMap() (map[string]interface{}, error)

type ServiceManagementApi

type ServiceManagementApi interface {

	/*
		ServiceCreateApi /api/service/create API

		Create a new service.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiServiceCreateApiRequest
	*/
	ServiceCreateApi(ctx context.Context) ApiServiceCreateApiRequest

	// ServiceCreateApiExecute executes the request
	//  @return Service
	ServiceCreateApiExecute(r ApiServiceCreateApiRequest) (*Service, *http.Response, error)

	/*
		ServiceDeleteApi /api/service/delete/{serviceApiKey} API

		Delete a service.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serviceApiKey The API key of the target service.
		@return ApiServiceDeleteApiRequest
	*/
	ServiceDeleteApi(ctx context.Context, serviceApiKey string) ApiServiceDeleteApiRequest

	// ServiceDeleteApiExecute executes the request
	ServiceDeleteApiExecute(r ApiServiceDeleteApiRequest) (*http.Response, error)

	/*
		ServiceGetApi /api/service/get/{serviceApiKey} API

		Get a service.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serviceApiKey The API key of a service.
		@return ApiServiceGetApiRequest
	*/
	ServiceGetApi(ctx context.Context, serviceApiKey string) ApiServiceGetApiRequest

	// ServiceGetApiExecute executes the request
	//  @return Service
	ServiceGetApiExecute(r ApiServiceGetApiRequest) (*Service, *http.Response, error)

	/*
		ServiceGetListApi /api/service/get/list API

		Get a list of services.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiServiceGetListApiRequest
	*/
	ServiceGetListApi(ctx context.Context) ApiServiceGetListApiRequest

	// ServiceGetListApiExecute executes the request
	//  @return ServiceGetListResponse
	ServiceGetListApiExecute(r ApiServiceGetListApiRequest) (*ServiceGetListResponse, *http.Response, error)

	/*
		ServiceUpdateApi /api/service/update/{serviceApiKey} API

		Update a service.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serviceApiKey The API key of the target service.
		@return ApiServiceUpdateApiRequest
	*/
	ServiceUpdateApi(ctx context.Context, serviceApiKey string) ApiServiceUpdateApiRequest

	// ServiceUpdateApiExecute executes the request
	//  @return Service
	ServiceUpdateApiExecute(r ApiServiceUpdateApiRequest) (*Service, *http.Response, error)
}

type ServiceManagementApiService

type ServiceManagementApiService service

ServiceManagementApiService ServiceManagementApi service

func (*ServiceManagementApiService) ServiceCreateApi

ServiceCreateApi /api/service/create API

Create a new service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiServiceCreateApiRequest

func (*ServiceManagementApiService) ServiceCreateApiExecute

Execute executes the request

@return Service

func (*ServiceManagementApiService) ServiceDeleteApi

func (a *ServiceManagementApiService) ServiceDeleteApi(ctx context.Context, serviceApiKey string) ApiServiceDeleteApiRequest

ServiceDeleteApi /api/service/delete/{serviceApiKey} API

Delete a service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serviceApiKey The API key of the target service.
@return ApiServiceDeleteApiRequest

func (*ServiceManagementApiService) ServiceDeleteApiExecute

func (a *ServiceManagementApiService) ServiceDeleteApiExecute(r ApiServiceDeleteApiRequest) (*http.Response, error)

Execute executes the request

func (*ServiceManagementApiService) ServiceGetApi

func (a *ServiceManagementApiService) ServiceGetApi(ctx context.Context, serviceApiKey string) ApiServiceGetApiRequest

ServiceGetApi /api/service/get/{serviceApiKey} API

Get a service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serviceApiKey The API key of a service.
@return ApiServiceGetApiRequest

func (*ServiceManagementApiService) ServiceGetApiExecute

Execute executes the request

@return Service

func (*ServiceManagementApiService) ServiceGetListApi

ServiceGetListApi /api/service/get/list API

Get a list of services.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiServiceGetListApiRequest

func (*ServiceManagementApiService) ServiceGetListApiExecute

Execute executes the request

@return ServiceGetListResponse

func (*ServiceManagementApiService) ServiceUpdateApi

func (a *ServiceManagementApiService) ServiceUpdateApi(ctx context.Context, serviceApiKey string) ApiServiceUpdateApiRequest

ServiceUpdateApi /api/service/update/{serviceApiKey} API

Update a service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serviceApiKey The API key of the target service.
@return ApiServiceUpdateApiRequest

func (*ServiceManagementApiService) ServiceUpdateApiExecute

Execute executes the request

@return Service

type ServiceProfile

type ServiceProfile string

ServiceProfile the model 'ServiceProfile'

const (
	SERVICEPROFILE_FAPI         ServiceProfile = "FAPI"
	SERVICEPROFILE_OPEN_BANKING ServiceProfile = "OPEN_BANKING"
)

List of service_profile

func NewServiceProfileFromValue

func NewServiceProfileFromValue(v string) (*ServiceProfile, error)

NewServiceProfileFromValue returns a pointer to a valid ServiceProfile for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ServiceProfile) IsValid

func (v ServiceProfile) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ServiceProfile) Ptr

func (v ServiceProfile) Ptr() *ServiceProfile

Ptr returns reference to service_profile value

func (*ServiceProfile) UnmarshalJSON

func (v *ServiceProfile) UnmarshalJSON(src []byte) error

type Sns

type Sns string

Sns the model 'Sns'

const (
	SNS_FACEBOOK Sns = "FACEBOOK"
)

List of Sns

func NewSnsFromValue

func NewSnsFromValue(v string) (*Sns, error)

NewSnsFromValue returns a pointer to a valid Sns for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Sns) IsValid

func (v Sns) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Sns) Ptr

func (v Sns) Ptr() *Sns

Ptr returns reference to Sns value

func (*Sns) UnmarshalJSON

func (v *Sns) UnmarshalJSON(src []byte) error

type SnsCredentials

type SnsCredentials struct {
	// SNS.
	Sns *string `json:"sns,omitempty"`
	// API key.
	ApiKey *string `json:"apiKey,omitempty"`
	// API secret.
	ApiSecret *string `json:"apiSecret,omitempty"`
}

SnsCredentials struct for SnsCredentials

func NewSnsCredentials

func NewSnsCredentials() *SnsCredentials

NewSnsCredentials instantiates a new SnsCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnsCredentialsWithDefaults

func NewSnsCredentialsWithDefaults() *SnsCredentials

NewSnsCredentialsWithDefaults instantiates a new SnsCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SnsCredentials) GetApiKey

func (o *SnsCredentials) GetApiKey() string

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*SnsCredentials) GetApiKeyOk

func (o *SnsCredentials) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnsCredentials) GetApiSecret

func (o *SnsCredentials) GetApiSecret() string

GetApiSecret returns the ApiSecret field value if set, zero value otherwise.

func (*SnsCredentials) GetApiSecretOk

func (o *SnsCredentials) GetApiSecretOk() (*string, bool)

GetApiSecretOk returns a tuple with the ApiSecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnsCredentials) GetSns

func (o *SnsCredentials) GetSns() string

GetSns returns the Sns field value if set, zero value otherwise.

func (*SnsCredentials) GetSnsOk

func (o *SnsCredentials) GetSnsOk() (*string, bool)

GetSnsOk returns a tuple with the Sns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnsCredentials) HasApiKey

func (o *SnsCredentials) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*SnsCredentials) HasApiSecret

func (o *SnsCredentials) HasApiSecret() bool

HasApiSecret returns a boolean if a field has been set.

func (*SnsCredentials) HasSns

func (o *SnsCredentials) HasSns() bool

HasSns returns a boolean if a field has been set.

func (SnsCredentials) MarshalJSON

func (o SnsCredentials) MarshalJSON() ([]byte, error)

func (*SnsCredentials) SetApiKey

func (o *SnsCredentials) SetApiKey(v string)

SetApiKey gets a reference to the given string and assigns it to the ApiKey field.

func (*SnsCredentials) SetApiSecret

func (o *SnsCredentials) SetApiSecret(v string)

SetApiSecret gets a reference to the given string and assigns it to the ApiSecret field.

func (*SnsCredentials) SetSns

func (o *SnsCredentials) SetSns(v string)

SetSns gets a reference to the given string and assigns it to the Sns field.

func (SnsCredentials) ToMap added in v1.1.1

func (o SnsCredentials) ToMap() (map[string]interface{}, error)

type StandardIntrospectionRequest

type StandardIntrospectionRequest struct {
	// Request parameters which comply with the introspection request defined in \"[2.1. Introspection Request](https://datatracker.ietf.org/doc/html/rfc7662#section-2.1)\" in RFC 7662.  The implementation of the introspection endpoint of your authorization server will receive an HTTP POST [[RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231)] request with parameters in the `application/x-www-form-urlencoded` format. It is the entity body of the request that Authlete's  `/api/auth/introspection/standard` API expects as the value of `parameters`.
	Parameters string `json:"parameters"`
	// Flag indicating whether to include hidden properties in the output.  Authlete has a mechanism whereby to associate arbitrary key-value pairs with an access token. Each key-value pair has a hidden attribute. By default, key-value pairs whose hidden attribute is set to `true` are not embedded in the standard introspection output.  If the `withHiddenProperties` request parameter is given and its value is `true`, `/api/auth/introspection/standard API includes all the associated key-value pairs into the output regardless of the value of the hidden attribute.
	WithHiddenProperties *string `json:"withHiddenProperties,omitempty"`
}

StandardIntrospectionRequest struct for StandardIntrospectionRequest

func NewStandardIntrospectionRequest

func NewStandardIntrospectionRequest(parameters string) *StandardIntrospectionRequest

NewStandardIntrospectionRequest instantiates a new StandardIntrospectionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStandardIntrospectionRequestWithDefaults

func NewStandardIntrospectionRequestWithDefaults() *StandardIntrospectionRequest

NewStandardIntrospectionRequestWithDefaults instantiates a new StandardIntrospectionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StandardIntrospectionRequest) GetParameters

func (o *StandardIntrospectionRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*StandardIntrospectionRequest) GetParametersOk

func (o *StandardIntrospectionRequest) GetParametersOk() (*string, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*StandardIntrospectionRequest) GetWithHiddenProperties

func (o *StandardIntrospectionRequest) GetWithHiddenProperties() string

GetWithHiddenProperties returns the WithHiddenProperties field value if set, zero value otherwise.

func (*StandardIntrospectionRequest) GetWithHiddenPropertiesOk

func (o *StandardIntrospectionRequest) GetWithHiddenPropertiesOk() (*string, bool)

GetWithHiddenPropertiesOk returns a tuple with the WithHiddenProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StandardIntrospectionRequest) HasWithHiddenProperties

func (o *StandardIntrospectionRequest) HasWithHiddenProperties() bool

HasWithHiddenProperties returns a boolean if a field has been set.

func (StandardIntrospectionRequest) MarshalJSON

func (o StandardIntrospectionRequest) MarshalJSON() ([]byte, error)

func (*StandardIntrospectionRequest) SetParameters

func (o *StandardIntrospectionRequest) SetParameters(v string)

SetParameters sets field value

func (*StandardIntrospectionRequest) SetWithHiddenProperties

func (o *StandardIntrospectionRequest) SetWithHiddenProperties(v string)

SetWithHiddenProperties gets a reference to the given string and assigns it to the WithHiddenProperties field.

func (StandardIntrospectionRequest) ToMap added in v1.1.1

func (o StandardIntrospectionRequest) ToMap() (map[string]interface{}, error)

type StandardIntrospectionResponse

type StandardIntrospectionResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application.
	ResponseContent *string `json:"responseContent,omitempty"`
}

StandardIntrospectionResponse struct for StandardIntrospectionResponse

func NewStandardIntrospectionResponse

func NewStandardIntrospectionResponse() *StandardIntrospectionResponse

NewStandardIntrospectionResponse instantiates a new StandardIntrospectionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStandardIntrospectionResponseWithDefaults

func NewStandardIntrospectionResponseWithDefaults() *StandardIntrospectionResponse

NewStandardIntrospectionResponseWithDefaults instantiates a new StandardIntrospectionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StandardIntrospectionResponse) GetAction

func (o *StandardIntrospectionResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*StandardIntrospectionResponse) GetActionOk

func (o *StandardIntrospectionResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StandardIntrospectionResponse) GetResponseContent

func (o *StandardIntrospectionResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*StandardIntrospectionResponse) GetResponseContentOk

func (o *StandardIntrospectionResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StandardIntrospectionResponse) GetResultCode

func (o *StandardIntrospectionResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*StandardIntrospectionResponse) GetResultCodeOk

func (o *StandardIntrospectionResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StandardIntrospectionResponse) GetResultMessage

func (o *StandardIntrospectionResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*StandardIntrospectionResponse) GetResultMessageOk

func (o *StandardIntrospectionResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StandardIntrospectionResponse) HasAction

func (o *StandardIntrospectionResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*StandardIntrospectionResponse) HasResponseContent

func (o *StandardIntrospectionResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*StandardIntrospectionResponse) HasResultCode

func (o *StandardIntrospectionResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*StandardIntrospectionResponse) HasResultMessage

func (o *StandardIntrospectionResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (StandardIntrospectionResponse) MarshalJSON

func (o StandardIntrospectionResponse) MarshalJSON() ([]byte, error)

func (*StandardIntrospectionResponse) SetAction

func (o *StandardIntrospectionResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*StandardIntrospectionResponse) SetResponseContent

func (o *StandardIntrospectionResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*StandardIntrospectionResponse) SetResultCode

func (o *StandardIntrospectionResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*StandardIntrospectionResponse) SetResultMessage

func (o *StandardIntrospectionResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (StandardIntrospectionResponse) ToMap added in v1.1.1

func (o StandardIntrospectionResponse) ToMap() (map[string]interface{}, error)

type SubjectType

type SubjectType string

SubjectType The subject type that the client application requests. Details about the subject type are described in [OpenID Connect Core 1.0, 8. Subjct Identifier Types](https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes). This property corresponds to `subject_type` in [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).

const (
	SUBJECTTYPE_PUBLIC   SubjectType = "PUBLIC"
	SUBJECTTYPE_PAIRWISE SubjectType = "PAIRWISE"
)

List of subject_type

func NewSubjectTypeFromValue

func NewSubjectTypeFromValue(v string) (*SubjectType, error)

NewSubjectTypeFromValue returns a pointer to a valid SubjectType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SubjectType) IsValid

func (v SubjectType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SubjectType) Ptr

func (v SubjectType) Ptr() *SubjectType

Ptr returns reference to subject_type value

func (*SubjectType) UnmarshalJSON

func (v *SubjectType) UnmarshalJSON(src []byte) error

type TaggedValue

type TaggedValue struct {
	// The language tag part.
	Tag *string `json:"tag,omitempty"`
	// The value part.
	Value *string `json:"value,omitempty"`
}

TaggedValue struct for TaggedValue

func NewTaggedValue

func NewTaggedValue() *TaggedValue

NewTaggedValue instantiates a new TaggedValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTaggedValueWithDefaults

func NewTaggedValueWithDefaults() *TaggedValue

NewTaggedValueWithDefaults instantiates a new TaggedValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TaggedValue) GetTag

func (o *TaggedValue) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*TaggedValue) GetTagOk

func (o *TaggedValue) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaggedValue) GetValue

func (o *TaggedValue) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*TaggedValue) GetValueOk

func (o *TaggedValue) GetValueOk() (*string, 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.

func (*TaggedValue) HasTag

func (o *TaggedValue) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*TaggedValue) HasValue

func (o *TaggedValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (TaggedValue) MarshalJSON

func (o TaggedValue) MarshalJSON() ([]byte, error)

func (*TaggedValue) SetTag

func (o *TaggedValue) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (*TaggedValue) SetValue

func (o *TaggedValue) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (TaggedValue) ToMap added in v1.1.1

func (o TaggedValue) ToMap() (map[string]interface{}, error)

type TokenCreateRequest

type TokenCreateRequest struct {
	GrantType GrantType `json:"grantType"`
	// The ID of the client application which will be associated with a newly created access token.
	ClientId int64 `json:"clientId"`
	// The subject (= unique identifier) of the user who will be associated with a newly created access token. This parameter is required unless the grant type is `CLIENT_CREDENTIALS`. The value must consist of only ASCII characters and its length must not exceed 100.
	Subject *string `json:"subject,omitempty"`
	// The scopes which will be associated with a newly created access token. Scopes that are not supported by the service cannot be specified and requesting them will cause an error.
	Scopes []string `json:"scopes,omitempty"`
	// The duration of a newly created access token in seconds. If the value is 0, the duration is determined according to the settings of the service.
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The duration of a newly created refresh token in seconds. If the value is 0, the duration is determined according to the settings of the service.  A refresh token is not created (1) if the service does not support `REFRESH_TOKEN`, or (2) if the specified grant type is either `IMPLICIT`or `CLIENT_CREDENTIALS`.
	RefreshTokenDuration *int64 `json:"refreshTokenDuration,omitempty"`
	// Extra properties to associate with a newly created access token. Note that properties parameter is accepted only when the HTTP method of the request is POST and Content-Type of the request is `application/json`, so don't use `GET` method or `application/x-www-form-urlencoded` if you want to specify properties.
	Properties []Property `json:"properties,omitempty"`
	// A boolean request parameter which indicates whether to emulate that the client ID alias is used instead of the original numeric client ID when a new access token is created.  This has an effect only on the value of the aud claim in a response from [UserInfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo). When you access the UserInfo endpoint (which is expected to be implemented using Authlete's `/api/auth/userinfo` API and `/api/auth/userinfo/issue` API) with an access token which has been created using Authlete's `/api/auth/token/create` API with this property (`clientIdAliasUsed`) `true`, the client ID alias is used as the value of the aud claim in a response from the UserInfo endpoint.  Note that if a client ID alias is not assigned to the client when Authlete's `/api/auth/token/create` API is called, this property (`clientIdAliasUsed`) has no effect (it is always regarded as `false`).
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The value of the new access token.  The `/api/auth/token/create` API generates an access token. Therefore, callers of the API do not have to specify values of newly created access tokens. However, in some cases, for example, if you want to migrate existing access tokens from an old system to Authlete, you may want to specify values of access tokens. In such a case, you can specify the value of a newly created access token by passing a non-null value as the value of accessToken request parameter. The implementation of the `/api/auth/token/create` uses the value of the accessToken request parameter instead of generating a new value when the request parameter holds a non-null value.  Note that if the hash value of the specified access token already exists in Authlete's database, the access token cannot be inserted and the `/api/auth/token/create` API will report an error.
	AccessToken *string `json:"accessToken,omitempty"`
	// The value of the new refresh token.  The `/api/auth/token/create` API may generate a refresh token. Therefore, callers of the API do not have to specify values of newly created refresh tokens. However, in some cases, for example, if you want to migrate existing refresh tokens from an old system to Authlete, you may want to specify values of refresh tokens. In such a case, you can specify the value of a newly created refresh token by passing a non-null value as the value of refreshToken request parameter. The implementation of the `/api/auth/token/create` uses the value of the refreshToken request parameter instead of generating a new value when the request parameter holds a non-null value.  Note that if the hash value of the specified refresh token already exists in Authlete's database, the refresh token cannot be inserted and the `/api/auth/token/create` API will report an error.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// Get whether the access token expires or not. By default, all access tokens expire after a period of time determined by their service.  If this request parameter is `true`, then the access token will not automatically expire and must be revoked or deleted manually at the service. If this request parameter is true, the `accessTokenDuration` request parameter is ignored.
	AccessTokenPersistent *bool `json:"accessTokenPersistent,omitempty"`
	// The thumbprint of the MTLS certificate bound to this token. If this property is set, a certificate with the corresponding value MUST be presented with the access token when it is used by a client. The value of this property must be a SHA256 certificate thumbprint, base64url encoded.
	CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
	// The thumbprint of the public key used for DPoP presentation of this token. If this property is set, a DPoP proof signed with the corresponding private key MUST be presented with the access token when it is used by a client. Additionally, the token's `token_type` will be set to 'DPoP'.
	DpopKeyThumbprint    *string               `json:"dpopKeyThumbprint,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The value of the resources to associate with the token. This property represents the value of one or more `resource` request parameters which is defined in \"RFC8707 Resource Indicators for OAuth 2.0\".
	Resources []string `json:"resources,omitempty"`
	// the flag which indicates whether the access token is for an external attachment.
	ForExternalAttachment *bool `json:"forExternalAttachment,omitempty"`
	// Additional claims that are added to the payload part of the JWT access token.
	JwtAtClaims *string `json:"jwtAtClaims,omitempty"`
	// The Authentication Context Class Reference of the user authentication that the authorization server performed  during the course of issuing the access token.
	Acr *string `json:"acr,omitempty"`
	// The time when the user authentication was performed during the course of issuing the access token.
	AuthTime *int64 `json:"authTime,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

TokenCreateRequest struct for TokenCreateRequest

func NewTokenCreateRequest

func NewTokenCreateRequest(grantType GrantType, clientId int64) *TokenCreateRequest

NewTokenCreateRequest instantiates a new TokenCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenCreateRequestWithDefaults

func NewTokenCreateRequestWithDefaults() *TokenCreateRequest

NewTokenCreateRequestWithDefaults instantiates a new TokenCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenCreateRequest) GetAccessToken

func (o *TokenCreateRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenCreateRequest) GetAccessTokenDuration

func (o *TokenCreateRequest) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*TokenCreateRequest) GetAccessTokenDurationOk

func (o *TokenCreateRequest) GetAccessTokenDurationOk() (*int64, bool)

GetAccessTokenDurationOk returns a tuple with the AccessTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetAccessTokenOk

func (o *TokenCreateRequest) 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 (*TokenCreateRequest) GetAccessTokenPersistent

func (o *TokenCreateRequest) GetAccessTokenPersistent() bool

GetAccessTokenPersistent returns the AccessTokenPersistent field value if set, zero value otherwise.

func (*TokenCreateRequest) GetAccessTokenPersistentOk

func (o *TokenCreateRequest) GetAccessTokenPersistentOk() (*bool, bool)

GetAccessTokenPersistentOk returns a tuple with the AccessTokenPersistent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetAcr added in v1.2.0

func (o *TokenCreateRequest) GetAcr() string

GetAcr returns the Acr field value if set, zero value otherwise.

func (*TokenCreateRequest) GetAcrOk added in v1.2.0

func (o *TokenCreateRequest) 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 (*TokenCreateRequest) GetAuthTime added in v1.2.0

func (o *TokenCreateRequest) GetAuthTime() int64

GetAuthTime returns the AuthTime field value if set, zero value otherwise.

func (*TokenCreateRequest) GetAuthTimeOk added in v1.2.0

func (o *TokenCreateRequest) GetAuthTimeOk() (*int64, bool)

GetAuthTimeOk returns a tuple with the AuthTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetAuthorizationDetails

func (o *TokenCreateRequest) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenCreateRequest) GetAuthorizationDetailsOk

func (o *TokenCreateRequest) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetCertificateThumbprint

func (o *TokenCreateRequest) GetCertificateThumbprint() string

GetCertificateThumbprint returns the CertificateThumbprint field value if set, zero value otherwise.

func (*TokenCreateRequest) GetCertificateThumbprintOk

func (o *TokenCreateRequest) GetCertificateThumbprintOk() (*string, bool)

GetCertificateThumbprintOk returns a tuple with the CertificateThumbprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetClientEntityIdUsed added in v1.2.0

func (o *TokenCreateRequest) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*TokenCreateRequest) GetClientEntityIdUsedOk added in v1.2.0

func (o *TokenCreateRequest) GetClientEntityIdUsedOk() (*bool, bool)

GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetClientId

func (o *TokenCreateRequest) GetClientId() int64

GetClientId returns the ClientId field value

func (*TokenCreateRequest) GetClientIdAliasUsed

func (o *TokenCreateRequest) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*TokenCreateRequest) GetClientIdAliasUsedOk

func (o *TokenCreateRequest) GetClientIdAliasUsedOk() (*bool, bool)

GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetClientIdOk

func (o *TokenCreateRequest) GetClientIdOk() (*int64, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetDpopKeyThumbprint

func (o *TokenCreateRequest) GetDpopKeyThumbprint() string

GetDpopKeyThumbprint returns the DpopKeyThumbprint field value if set, zero value otherwise.

func (*TokenCreateRequest) GetDpopKeyThumbprintOk

func (o *TokenCreateRequest) GetDpopKeyThumbprintOk() (*string, bool)

GetDpopKeyThumbprintOk returns a tuple with the DpopKeyThumbprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetForExternalAttachment added in v1.1.1

func (o *TokenCreateRequest) GetForExternalAttachment() bool

GetForExternalAttachment returns the ForExternalAttachment field value if set, zero value otherwise.

func (*TokenCreateRequest) GetForExternalAttachmentOk added in v1.1.1

func (o *TokenCreateRequest) GetForExternalAttachmentOk() (*bool, bool)

GetForExternalAttachmentOk returns a tuple with the ForExternalAttachment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetGrantType

func (o *TokenCreateRequest) GetGrantType() GrantType

GetGrantType returns the GrantType field value

func (*TokenCreateRequest) GetGrantTypeOk

func (o *TokenCreateRequest) GetGrantTypeOk() (*GrantType, bool)

GetGrantTypeOk returns a tuple with the GrantType field value and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetJwtAtClaims added in v1.1.1

func (o *TokenCreateRequest) GetJwtAtClaims() string

GetJwtAtClaims returns the JwtAtClaims field value if set, zero value otherwise.

func (*TokenCreateRequest) GetJwtAtClaimsOk added in v1.1.1

func (o *TokenCreateRequest) GetJwtAtClaimsOk() (*string, bool)

GetJwtAtClaimsOk returns a tuple with the JwtAtClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetProperties

func (o *TokenCreateRequest) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenCreateRequest) GetPropertiesOk

func (o *TokenCreateRequest) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetRefreshToken

func (o *TokenCreateRequest) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*TokenCreateRequest) GetRefreshTokenDuration

func (o *TokenCreateRequest) GetRefreshTokenDuration() int64

GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.

func (*TokenCreateRequest) GetRefreshTokenDurationOk

func (o *TokenCreateRequest) GetRefreshTokenDurationOk() (*int64, bool)

GetRefreshTokenDurationOk returns a tuple with the RefreshTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetRefreshTokenOk

func (o *TokenCreateRequest) 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 (*TokenCreateRequest) GetResources

func (o *TokenCreateRequest) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*TokenCreateRequest) GetResourcesOk

func (o *TokenCreateRequest) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetScopes

func (o *TokenCreateRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenCreateRequest) GetScopesOk

func (o *TokenCreateRequest) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateRequest) GetSubject

func (o *TokenCreateRequest) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenCreateRequest) GetSubjectOk

func (o *TokenCreateRequest) 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 (*TokenCreateRequest) HasAccessToken

func (o *TokenCreateRequest) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenCreateRequest) HasAccessTokenDuration

func (o *TokenCreateRequest) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*TokenCreateRequest) HasAccessTokenPersistent

func (o *TokenCreateRequest) HasAccessTokenPersistent() bool

HasAccessTokenPersistent returns a boolean if a field has been set.

func (*TokenCreateRequest) HasAcr added in v1.2.0

func (o *TokenCreateRequest) HasAcr() bool

HasAcr returns a boolean if a field has been set.

func (*TokenCreateRequest) HasAuthTime added in v1.2.0

func (o *TokenCreateRequest) HasAuthTime() bool

HasAuthTime returns a boolean if a field has been set.

func (*TokenCreateRequest) HasAuthorizationDetails

func (o *TokenCreateRequest) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenCreateRequest) HasCertificateThumbprint

func (o *TokenCreateRequest) HasCertificateThumbprint() bool

HasCertificateThumbprint returns a boolean if a field has been set.

func (*TokenCreateRequest) HasClientEntityIdUsed added in v1.2.0

func (o *TokenCreateRequest) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*TokenCreateRequest) HasClientIdAliasUsed

func (o *TokenCreateRequest) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*TokenCreateRequest) HasDpopKeyThumbprint

func (o *TokenCreateRequest) HasDpopKeyThumbprint() bool

HasDpopKeyThumbprint returns a boolean if a field has been set.

func (*TokenCreateRequest) HasForExternalAttachment added in v1.1.1

func (o *TokenCreateRequest) HasForExternalAttachment() bool

HasForExternalAttachment returns a boolean if a field has been set.

func (*TokenCreateRequest) HasJwtAtClaims added in v1.1.1

func (o *TokenCreateRequest) HasJwtAtClaims() bool

HasJwtAtClaims returns a boolean if a field has been set.

func (*TokenCreateRequest) HasProperties

func (o *TokenCreateRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenCreateRequest) HasRefreshToken

func (o *TokenCreateRequest) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*TokenCreateRequest) HasRefreshTokenDuration

func (o *TokenCreateRequest) HasRefreshTokenDuration() bool

HasRefreshTokenDuration returns a boolean if a field has been set.

func (*TokenCreateRequest) HasResources

func (o *TokenCreateRequest) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*TokenCreateRequest) HasScopes

func (o *TokenCreateRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenCreateRequest) HasSubject

func (o *TokenCreateRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (TokenCreateRequest) MarshalJSON

func (o TokenCreateRequest) MarshalJSON() ([]byte, error)

func (*TokenCreateRequest) SetAccessToken

func (o *TokenCreateRequest) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenCreateRequest) SetAccessTokenDuration

func (o *TokenCreateRequest) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*TokenCreateRequest) SetAccessTokenPersistent

func (o *TokenCreateRequest) SetAccessTokenPersistent(v bool)

SetAccessTokenPersistent gets a reference to the given bool and assigns it to the AccessTokenPersistent field.

func (*TokenCreateRequest) SetAcr added in v1.2.0

func (o *TokenCreateRequest) SetAcr(v string)

SetAcr gets a reference to the given string and assigns it to the Acr field.

func (*TokenCreateRequest) SetAuthTime added in v1.2.0

func (o *TokenCreateRequest) SetAuthTime(v int64)

SetAuthTime gets a reference to the given int64 and assigns it to the AuthTime field.

func (*TokenCreateRequest) SetAuthorizationDetails

func (o *TokenCreateRequest) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*TokenCreateRequest) SetCertificateThumbprint

func (o *TokenCreateRequest) SetCertificateThumbprint(v string)

SetCertificateThumbprint gets a reference to the given string and assigns it to the CertificateThumbprint field.

func (*TokenCreateRequest) SetClientEntityIdUsed added in v1.2.0

func (o *TokenCreateRequest) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*TokenCreateRequest) SetClientId

func (o *TokenCreateRequest) SetClientId(v int64)

SetClientId sets field value

func (*TokenCreateRequest) SetClientIdAliasUsed

func (o *TokenCreateRequest) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*TokenCreateRequest) SetDpopKeyThumbprint

func (o *TokenCreateRequest) SetDpopKeyThumbprint(v string)

SetDpopKeyThumbprint gets a reference to the given string and assigns it to the DpopKeyThumbprint field.

func (*TokenCreateRequest) SetForExternalAttachment added in v1.1.1

func (o *TokenCreateRequest) SetForExternalAttachment(v bool)

SetForExternalAttachment gets a reference to the given bool and assigns it to the ForExternalAttachment field.

func (*TokenCreateRequest) SetGrantType

func (o *TokenCreateRequest) SetGrantType(v GrantType)

SetGrantType sets field value

func (*TokenCreateRequest) SetJwtAtClaims added in v1.1.1

func (o *TokenCreateRequest) SetJwtAtClaims(v string)

SetJwtAtClaims gets a reference to the given string and assigns it to the JwtAtClaims field.

func (*TokenCreateRequest) SetProperties

func (o *TokenCreateRequest) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenCreateRequest) SetRefreshToken

func (o *TokenCreateRequest) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*TokenCreateRequest) SetRefreshTokenDuration

func (o *TokenCreateRequest) SetRefreshTokenDuration(v int64)

SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.

func (*TokenCreateRequest) SetResources

func (o *TokenCreateRequest) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*TokenCreateRequest) SetScopes

func (o *TokenCreateRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*TokenCreateRequest) SetSubject

func (o *TokenCreateRequest) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (TokenCreateRequest) ToMap added in v1.1.1

func (o TokenCreateRequest) ToMap() (map[string]interface{}, error)

type TokenCreateResponse

type TokenCreateResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The newly issued access token.
	AccessToken *string `json:"accessToken,omitempty"`
	// The ID of the client application associated with the access token.
	ClientId *int64 `json:"clientId,omitempty"`
	// The time at which the access token expires.
	ExpiresAt *int64 `json:"expiresAt,omitempty"`
	// The duration of the newly issued access token in seconds.
	ExpiresIn *int64 `json:"expiresIn,omitempty"`
	// The grant type for the newly issued access token.
	GrantType *string `json:"grantType,omitempty"`
	// The extra properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
	// The newly issued refresh token.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// Scopes which are associated with the access token.
	Scopes []string `json:"scopes,omitempty"`
	// The subject (= unique identifier) of the user associated with the newly issued access token.
	Subject *string `json:"subject,omitempty"`
	// The token type of the access token.
	TokenType *string `json:"tokenType,omitempty"`
	// If the authorization server is configured to issue JWT-based access tokens (= if `Service.accessTokenSignAlg` is set to a `non-null` value), a JWT-based access token is issued along with the original random-string one.
	JwtAccessToken       *string               `json:"jwtAccessToken,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// the flag which indicates whether the access token is for an external attachment.
	ForExternalAttachment *bool `json:"forExternalAttachment,omitempty"`
	// Set the unique token identifier.
	TokenId *string `json:"tokenId,omitempty"`
}

TokenCreateResponse struct for TokenCreateResponse

func NewTokenCreateResponse

func NewTokenCreateResponse() *TokenCreateResponse

NewTokenCreateResponse instantiates a new TokenCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenCreateResponseWithDefaults

func NewTokenCreateResponseWithDefaults() *TokenCreateResponse

NewTokenCreateResponseWithDefaults instantiates a new TokenCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenCreateResponse) GetAccessToken

func (o *TokenCreateResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenCreateResponse) GetAccessTokenOk

func (o *TokenCreateResponse) 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 (*TokenCreateResponse) GetAction

func (o *TokenCreateResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*TokenCreateResponse) GetActionOk

func (o *TokenCreateResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetAuthorizationDetails

func (o *TokenCreateResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenCreateResponse) GetAuthorizationDetailsOk

func (o *TokenCreateResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetClientId

func (o *TokenCreateResponse) GetClientId() int64

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*TokenCreateResponse) GetClientIdOk

func (o *TokenCreateResponse) GetClientIdOk() (*int64, 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 (*TokenCreateResponse) GetExpiresAt

func (o *TokenCreateResponse) GetExpiresAt() int64

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*TokenCreateResponse) GetExpiresAtOk

func (o *TokenCreateResponse) GetExpiresAtOk() (*int64, 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 (*TokenCreateResponse) GetExpiresIn

func (o *TokenCreateResponse) GetExpiresIn() int64

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*TokenCreateResponse) GetExpiresInOk

func (o *TokenCreateResponse) 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 (*TokenCreateResponse) GetForExternalAttachment added in v1.1.1

func (o *TokenCreateResponse) GetForExternalAttachment() bool

GetForExternalAttachment returns the ForExternalAttachment field value if set, zero value otherwise.

func (*TokenCreateResponse) GetForExternalAttachmentOk added in v1.1.1

func (o *TokenCreateResponse) GetForExternalAttachmentOk() (*bool, bool)

GetForExternalAttachmentOk returns a tuple with the ForExternalAttachment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetGrantType

func (o *TokenCreateResponse) GetGrantType() string

GetGrantType returns the GrantType field value if set, zero value otherwise.

func (*TokenCreateResponse) GetGrantTypeOk

func (o *TokenCreateResponse) GetGrantTypeOk() (*string, bool)

GetGrantTypeOk returns a tuple with the GrantType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetJwtAccessToken

func (o *TokenCreateResponse) GetJwtAccessToken() string

GetJwtAccessToken returns the JwtAccessToken field value if set, zero value otherwise.

func (*TokenCreateResponse) GetJwtAccessTokenOk

func (o *TokenCreateResponse) GetJwtAccessTokenOk() (*string, bool)

GetJwtAccessTokenOk returns a tuple with the JwtAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetProperties

func (o *TokenCreateResponse) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenCreateResponse) GetPropertiesOk

func (o *TokenCreateResponse) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetRefreshToken

func (o *TokenCreateResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*TokenCreateResponse) GetRefreshTokenOk

func (o *TokenCreateResponse) 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 (*TokenCreateResponse) GetResultCode

func (o *TokenCreateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*TokenCreateResponse) GetResultCodeOk

func (o *TokenCreateResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetResultMessage

func (o *TokenCreateResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*TokenCreateResponse) GetResultMessageOk

func (o *TokenCreateResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetScopes

func (o *TokenCreateResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenCreateResponse) GetScopesOk

func (o *TokenCreateResponse) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetSubject

func (o *TokenCreateResponse) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenCreateResponse) GetSubjectOk

func (o *TokenCreateResponse) 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 (*TokenCreateResponse) GetTokenId added in v1.1.1

func (o *TokenCreateResponse) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*TokenCreateResponse) GetTokenIdOk added in v1.1.1

func (o *TokenCreateResponse) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenCreateResponse) GetTokenType

func (o *TokenCreateResponse) GetTokenType() string

GetTokenType returns the TokenType field value if set, zero value otherwise.

func (*TokenCreateResponse) GetTokenTypeOk

func (o *TokenCreateResponse) 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 (*TokenCreateResponse) HasAccessToken

func (o *TokenCreateResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenCreateResponse) HasAction

func (o *TokenCreateResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*TokenCreateResponse) HasAuthorizationDetails

func (o *TokenCreateResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenCreateResponse) HasClientId

func (o *TokenCreateResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*TokenCreateResponse) HasExpiresAt

func (o *TokenCreateResponse) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*TokenCreateResponse) HasExpiresIn

func (o *TokenCreateResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*TokenCreateResponse) HasForExternalAttachment added in v1.1.1

func (o *TokenCreateResponse) HasForExternalAttachment() bool

HasForExternalAttachment returns a boolean if a field has been set.

func (*TokenCreateResponse) HasGrantType

func (o *TokenCreateResponse) HasGrantType() bool

HasGrantType returns a boolean if a field has been set.

func (*TokenCreateResponse) HasJwtAccessToken

func (o *TokenCreateResponse) HasJwtAccessToken() bool

HasJwtAccessToken returns a boolean if a field has been set.

func (*TokenCreateResponse) HasProperties

func (o *TokenCreateResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenCreateResponse) HasRefreshToken

func (o *TokenCreateResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*TokenCreateResponse) HasResultCode

func (o *TokenCreateResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*TokenCreateResponse) HasResultMessage

func (o *TokenCreateResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*TokenCreateResponse) HasScopes

func (o *TokenCreateResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenCreateResponse) HasSubject

func (o *TokenCreateResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*TokenCreateResponse) HasTokenId added in v1.1.1

func (o *TokenCreateResponse) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (*TokenCreateResponse) HasTokenType

func (o *TokenCreateResponse) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

func (TokenCreateResponse) MarshalJSON

func (o TokenCreateResponse) MarshalJSON() ([]byte, error)

func (*TokenCreateResponse) SetAccessToken

func (o *TokenCreateResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenCreateResponse) SetAction

func (o *TokenCreateResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*TokenCreateResponse) SetAuthorizationDetails

func (o *TokenCreateResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*TokenCreateResponse) SetClientId

func (o *TokenCreateResponse) SetClientId(v int64)

SetClientId gets a reference to the given int64 and assigns it to the ClientId field.

func (*TokenCreateResponse) SetExpiresAt

func (o *TokenCreateResponse) SetExpiresAt(v int64)

SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.

func (*TokenCreateResponse) SetExpiresIn

func (o *TokenCreateResponse) SetExpiresIn(v int64)

SetExpiresIn gets a reference to the given int64 and assigns it to the ExpiresIn field.

func (*TokenCreateResponse) SetForExternalAttachment added in v1.1.1

func (o *TokenCreateResponse) SetForExternalAttachment(v bool)

SetForExternalAttachment gets a reference to the given bool and assigns it to the ForExternalAttachment field.

func (*TokenCreateResponse) SetGrantType

func (o *TokenCreateResponse) SetGrantType(v string)

SetGrantType gets a reference to the given string and assigns it to the GrantType field.

func (*TokenCreateResponse) SetJwtAccessToken

func (o *TokenCreateResponse) SetJwtAccessToken(v string)

SetJwtAccessToken gets a reference to the given string and assigns it to the JwtAccessToken field.

func (*TokenCreateResponse) SetProperties

func (o *TokenCreateResponse) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenCreateResponse) SetRefreshToken

func (o *TokenCreateResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*TokenCreateResponse) SetResultCode

func (o *TokenCreateResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*TokenCreateResponse) SetResultMessage

func (o *TokenCreateResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*TokenCreateResponse) SetScopes

func (o *TokenCreateResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*TokenCreateResponse) SetSubject

func (o *TokenCreateResponse) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*TokenCreateResponse) SetTokenId added in v1.1.1

func (o *TokenCreateResponse) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (*TokenCreateResponse) SetTokenType

func (o *TokenCreateResponse) SetTokenType(v string)

SetTokenType gets a reference to the given string and assigns it to the TokenType field.

func (TokenCreateResponse) ToMap added in v1.1.1

func (o TokenCreateResponse) ToMap() (map[string]interface{}, error)

type TokenEndpointApi

type TokenEndpointApi interface {

	/*
		AuthTokenApi /api/auth/token API

		This API parses request parameters of an authorization request and returns necessary data for the
	authorization server implementation to process the authorization request further.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from with the implementation of the token endpoint of the service.
	The endpoint implementation must extract the request parameters from the token request from the
	client application and pass them as the value of parameters request parameter to Authlete's `/auth/token` API.
	The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`)
	of the token request.

	In addition, if the token endpoint of the authorization server implementation supports basic authentication
	as a means of [client authentication](https://datatracker.ietf.org/doc/html/rfc6749#section-2.3),
	the client credentials must be extracted from `Authorization` header and they must be passed as
	`clientId` request parameter and `clientSecret` request parameter to Authlete's `/auth/token` API.

	The following code snippet is an example in JAX-RS showing how to extract request parameters from
	the token request and client credentials from Authorization header.

	“`java
	@POST
	@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
	public Response post(
	        @HeaderParam(HttpHeaders.AUTHORIZATION) String auth,
	        String parameters)
	{
	    // Convert the value of Authorization header (credentials of
	    // the client application), if any, into BasicCredentials.
	    BasicCredentials credentials = BasicCredentials.parse(auth);

	    // The credentials of the client application extracted from
	    // 'Authorization' header. These may be null.
	    String clientId     = credentials == null ? null
	                        : credentials.getUserId();
	    String clientSecret = credentials == null ? null
	                        : credentials.getPassword();

	    // Process the given parameters.
	    return process(parameters, clientId, clientSecret);
	}
	“`

	The response from `/auth/token` API has some parameters. Among them, it is action parameter that
	the service implementation should check first because it denotes the next action that the authorization
	server implementation should take. According to the value of action, the authorization server
	implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.
	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content
	type although OAuth 2.0 specification does not mention the format of the error response when the
	redirect URI is not usable.

	The value of `responseContent` is a JSON string which describes the error, so it can be
	used as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application
	since "500 Internal Server Error" is not required by OAuth 2.0.


	**INVALID_CLIENT**

	When the value of `action` is `INVALID_CLIENT`, it means that authentication of the client failed.
	In this case, the HTTP status of the response to the client application is either "400 Bad Request"
	or "401 Unauthorized". This requirement comes from [RFC 6749, 5.2. Error Response](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2).
	The description about `invalid_client` shown below is an excerpt from RFC 6749.

	Client authentication failed (e.g., unknown client, no client authentication included, or unsupported
	authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code
	to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate
	via the `Authorization` request header field, the authorization server MUST respond with an HTTP
	401 (Unauthorized) status code and include the `WWW-Authenticate` response header field matching
	the authentication scheme used by the client.

	In either case, the value of `responseContent` is a JSON string which can be used as the entity
	body of the response to the client application.

	The following illustrate responses which the service implementation must generate and return to
	the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	<br>

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: {challenge}
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	is invalid.

	A response with HTTP status of "400 Bad Request" must be returned to the client application and
	the content type must be `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used as
	the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`
	**PASSWORD**

	When the value of {@code "action"} is {@code "PASSWORD"}, it means that
	the request from the client application is valid and {@code grant_type}
	is {@code "password"}. That is, the flow is
	<a href="https://www.rfc-editor.org/rfc/rfc6749.html#section-4.3">"Resource Owner
	Password Credentials"</a>.

	In this case, {@link #getUsername()} returns the value of {@code "username"}
	request parameter and {@link #getPassword()} returns the value of {@code
	"password"} request parameter which were contained in the token request
	from the client application. The service implementation must validate the
	credentials of the resource owner (= end-user) and take either of the
	actions below according to the validation result.

	1. When the credentials are valid, call Authlete's /auth/token/issue} API to generate an access token for the client
	    application. The API requires {@code "ticket"} request parameter and
	    {@code "subject"} request parameter.
	    Use the value returned from {@link #getTicket()} method as the value
	    for {@code "ticket"} parameter.
	2. The response from {@code /auth/token/issue} API ({@link
	    TokenIssueResponse}) contains data (an access token and others)
	    which should be returned to the client application. Use the data
	    to generate a response to the client application.
	3. When the credentials are invalid</b>, call Authlete's {@code
	    /auth/token/fail} API with {@code reason=}{@link
	    TokenFailRequest.Reason#INVALID_RESOURCE_OWNER_CREDENTIALS
	    INVALID_RESOURCE_OWNER_CREDENTIALS} to generate an error response
	    for the client application. The API requires {@code "ticket"}
	    request parameter. Use the value returned from {@link #getTicket()}
	    method as the value for {@code "ticket"} parameter.
	4. The response from {@code /auth/token/fail} API ({@link
	    TokenFailResponse}) contains error information which should be
	    returned to the client application. Use it to generate a response
	    to the client application.

	**OK**

	When the value of `action` is `OK`, it means that the request from the client application is valid
	and an access token, and optionally an ID token, is ready to be issued.

	The HTTP status of the response returned to the client application must be "200 OK" and the content
	type must be `application/json`.

	The value of `responseContent` is a JSON string which contains an access token (and optionally
	an ID token), so it can be used as the entity body of the response.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`


	**TOKEN_EXCHANGE (Authlete 2.3 onwards)**

	When the value of {@code "action"} is {@code "TOKEN_EXCHANGE"}, it means
	that the request from the client application is a valid token exchange
	request (cf. <a href="https://www.rfc-editor.org/rfc/rfc8693.html">RFC
	8693 OAuth 2.0 Token Exchange</a>) and that the request has already passed
	the following validation steps.


	1. Confirm that the value of the {@code requested_token_type} request parameter
	is one of the registered token type identifiers if the request parameter is
	given and its value is not empty.
	2. Confirm that the {@code subject_token} request parameter is given and its
	value is not empty.
	3. Confirm that the {@code subject_token_type} request parameter is given and
	its value is one of the registered token type identifiers.
	4. Confirm that the {@code actor_token_type} request parameter is given and
	its value is one of the registered token type identifiers if the
	{@code actor_token} request parameter is given and its value is not empty.
	5. Confirm that the {@code actor_token_type} request parameter is not given
	or its value is empty when the {@code actor_token} request parameter is
	not given or its value is empty.


	Furthermore, Authlete performs additional validation on the tokens specified
	by the {@code subject_token} request parameter and the {@code actor_token}
	request parameter according to their respective token types as shown below.

	**Token Validation Steps**

	*Token Type: `urn:ietf:params:oauth:token-type:jwt`*

	1. Confirm that the format conforms to the JWT specification [RFC 7519][https://www.rfc-editor.org/rfc/rfc7519.html].
	2. Check if the JWT is encrypted and if it is encrypted, then (a) reject
	        the token exchange request when the {@link
	        Service#isTokenExchangeEncryptedJwtRejected()
	        tokenExchangeEncryptedJwtRejected} flag of the service is {@code true}
	        or (b) skip remaining validation steps when the flag is {@code false}.
	        Note that Authlete does not verify an encrypted JWT because there is
	        no standard way to obtain the key to decrypt the JWT with. This means
	        that you must verify an encrypted JWT by yourself when one is used as
	        an input token with the token type
	        { @code "urn:ietf:params:oauth:token-type:jwt" }.
	3. Confirm that the current time has not reached the time indicated by
	        the {@code exp} claim if the JWT contains the claim.
	4. Confirm that the current time is equal to or after the time indicated
	        by the {@code iat} claim if the JWT contains the claim.
	5.Confirm that the current time is equal to or after the time indicated
	        by the {@code nbf} claim if the JWT contains the claim.
	6. Check if the JWT is signed and if it is not signed, then (a) reject
	        the token exchange request when the {@link
	        Service#isTokenExchangeUnsignedJwtRejected()
	        tokenExchangeUnsignedJwtRejected} flag of the service is {@code true}
	        or (b) finish validation on the input token. Note that Authlete does
	        not verify the signature of the JWT because there is no standard way
	        to obtain the key to verify the signature of a JWT with. This means
	        that you must verify the signature by yourself when a signed JWT is
	        used as an input token with the token type
	        {@code "urn:ietf:params:oauth:token-type:jwt"}.

	*Token Type: `urn:ietf:params:oauth:token-type:access_token`*

	1. Confirm that the token is an access token that has been issued by
	        the Authlete server of your service. This implies that access
	        tokens issued by other systems cannot be used as a subject token
	        or an actor token with the token type
	        <code>urn:ietf:params:oauth:token-type:access_token</code>.
	2. Confirm that the access token has not expired.
	3. Confirm that the access token belongs to the service.

	*Token Type: `urn:ietf:params:oauth:token-type:refresh_token`*

	1. Confirm that the token is a refresh token that has been issued by
	        the Authlete server of your service. This implies that refresh
	        tokens issued by other systems cannot be used as a subject token
	        or an actor token with the token type
	        <code>urn:ietf:params:oauth:token-type:refresh_token</code>.
	2. Confirm that the refresh token has not expired.
	3. Confirm that the refresh token belongs to the service.

	*Token Type: `urn:ietf:params:oauth:token-type:id_token`*

	1. Confirm that the format conforms to the JWT specification (<a href=
	        "https://www.rfc-editor.org/rfc/rfc7519.html">RFC 7519</a>).
	2. Check if the ID Token is encrypted and if it is encrypted, then (a)
	        reject the token exchange request when the {@link
	        Service#isTokenExchangeEncryptedJwtRejected()
	        tokenExchangeEncryptedJwtRejected} flag of the service is {@code true}
	        or (b) skip remaining validation steps when the flag is {@code false}.
	        Note that Authlete does not verify an encrypted ID Token because
	        there is no standard way to obtain the key to decrypt the ID Token
	        with in the context of token exchange where the client ID for the
	        encrypted ID Token cannot be determined. This means that you must
	        verify an encrypted ID Token by yourself when one is used as an
	        input token with the token type
	        {@code "urn:ietf:params:oauth:token-type:id_token"}.
	3. Confirm that the ID Token contains the {@code exp} claim and the
	        current time has not reached the time indicated by the claim.
	4. Confirm that the ID Token contains the {@code iat} claim and the
	        current time is equal to or after the time indicated by the claim.
	5. Confirm that the current time is equal to or after the time indicated
	        by the {@code nbf} claim if the ID Token contains the claim.
	6. Confirm that the ID Token contains the {@code iss} claim and the
	        value is a valid URI. In addition, confirm that the URI has the
	        {@code https} scheme, no query component and no fragment component.
	7. Confirm that the ID Token contains the {@code aud} claim and its
	        value is a JSON string or an array of JSON strings.
	8. Confirm that the value of the {@code nonce} claim is a JSON string
	        if the ID Token contains the claim.
	9. Check if the ID Token is signed and if it is not signed, then (a)
	        reject the token exchange request when the {@link
	        Service#isTokenExchangeUnsignedJwtRejected()
	        tokenExchangeUnsignedJwtRejected} flag of the service is {@code true}
	        or (b) finish validation on the input token.
	10. Confirm that the signature algorithm is asymmetric. This implies that
	        ID Tokens whose signature algorithm is symmetric ({@code HS256},
	        {@code HS384} or {@code HS512}) cannot be used as a subject token or
	        an actor token with the token type
	        {@code urn:ietf:params:oauth:token-type:id_token}.
	11. Verify the signature of the ID Token. Signature verification is
	        performed even in the case where the issuer of the ID Token is not
	        your service. But in that case, the issuer must support the discovery
	        endpoint defined in <a href=
	        "https://openid.net/specs/openid-connect-discovery-1_0.html">OpenID
	        Connect Discovery 1.0</a>. Otherwise, signature verification fails.

	*Token Type: `urn:ietf:params:oauth:token-type:saml1`*

	(Authlete does not perform any validation for this token type.)

	*Token Type: `urn:ietf:params:oauth:token-type:saml2`*

	(Authlete does not perform any validation for this token type.)

	The specification of Token Exchange (<a href=
	"https://www.rfc-editor.org/rfc/rfc8693.html">RFC 8693</a>) is very
	flexible. In other words, the specification has abandoned the task of
	determining details. Therefore, for secure token exchange, you have
	to complement the specification with your own rules. For that purpose,
	Authlete provides some configuration options as listed below.
	Authorization server implementers may utilize them and/or implement
	their own rules.


	In the case of {@link Action#TOKEN_EXCHANGE TOKEN_EXCHANGE}, the {@link
	#getResponseContent()} method returns {@code null}. You have to construct
	the token response by yourself.

	For example, you may generate an access token by calling Authlete's
	{@code /api/auth/token/create} API and construct a token response like
	below.

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: {challenge}
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	“`
	HTTP/1.1 200 OK
	Content-Type: application/json
	Cache-Control: no-cache, no-store
	{
	    "access_token": "{@link TokenCreateResponse#getAccessToken()}",
	    "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
	    "token_type": "Bearer",
	    "expires_in": { @link TokenCreateResponse#getExpiresIn() },
	    "scope": "String.join(" ", {@link TokenCreateResponse#getScopes()})"
	}
	“`


	**JWT_BEARER JWT_BEARER (Authlete 2.3 onwards)**

	When the value of {@code "action"} is {@code "JWT_BEARER"}, it means that
	the request from the client application is a valid token request with the
	grant type {@code "urn:ietf:params:oauth:grant-type:jwt-bearer"} (<a href=
	"https://www.rfc-editor.org/rfc/rfc7523.html">RFC 7523 JSON Web Token (JWT)
	Profile for OAuth 2.0 Client Authentication and Authorization Grants</a>)
	and that the request has already passed the following validation steps.

	1. Confirm that the {@code assertion} request parameter is given and its value
	  is not empty.
	2. Confirm that the format of the assertion conforms to the JWT specification
	  (<a href="https://www.rfc-editor.org/rfc/rfc7519.html">RFC 7519</a>).

	3. Check if the JWT is encrypted and if it is encrypted, then (a) reject the
	  token request when the {@link Service#isJwtGrantEncryptedJwtRejected()
	  jwtGrantEncryptedJwtRejected} flag of the service is {@code true} or (b)
	  skip remaining validation steps when the flag is {@code false}. Note that
	  Authlete does not verify an encrypted JWT because there is no standard way
	  to obtain the key to decrypt the JWT with. This means that you must verify
	  an encrypted JWT by yourself.
	4. Confirm that the JWT contains the {@code iss} claim and its value is a
	  JSON string.
	5. Confirm that the JWT contains the {@code sub} claim and its value is a
	  JSON string.
	6. Confirm that the JWT contains the {@code aud} claim and its value is
	  either a JSON string or an array of JSON strings.
	7. Confirm that the issuer identifier of the service (cf. {@link Service#getIssuer()})
	  or the URL of the token endpoint (cf. {@link Service#getTokenEndpoint()})
	  is listed as audience in the {@code aud} claim.
	8. Confirm that the JWT contains the {@code exp} claim and the current time
	  has not reached the time indicated by the claim.
	9. Confirm that the current time is equal to or after the time indicated by
	  by the {@code iat} claim if the JWT contains the claim.
	10. Confirm that the current time is equal to or after the time indicated by
	  by the {@code nbf} claim if the JWT contains the claim.
	11. Check if the JWT is signed and if it is not signed, then (a) reject the
	  token request when the {@link Service#isJwtGrantUnsignedJwtRejected()
	  jwtGrantUnsignedJwtRejected} flag of the service is {@code true} or (b)
	  finish validation on the JWT. Note that Authlete does not verify the
	  signature of the JWT because there is no standard way to obtain the key
	  to verify the signature of a JWT with. This means that you must verify
	  the signature by yourself.

	Authlete provides some configuration options for the grant type as listed
	below. Authorization server implementers may utilize them and/or implement
	their own rules.


	“`
	HTTP/1.1 200 OK
	Content-Type: application/json
	Cache-Control: no-cache, no-store
	{
	      "access_token": "{@link TokenCreateResponse#getAccessToken()}",
	      "token_type":   "Bearer",
	      "expires_in":   {@link TokenCreateResponse#getExpiresIn()},
	      "scope":        "String.join(" ", {@link TokenCreateResponse#getScopes()})"
	                          }
	“`

	  Finally, note again that Authlete does not verify the signature of the JWT
	  specified by the {@code assertion} request parameter. You must verify the
	  signature by yourself.

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenApiRequest
	*/
	AuthTokenApi(ctx context.Context) ApiAuthTokenApiRequest

	// AuthTokenApiExecute executes the request
	//  @return TokenResponse
	AuthTokenApiExecute(r ApiAuthTokenApiRequest) (*TokenResponse, *http.Response, error)

	/*
		AuthTokenFailApi /api/auth/token/fail API

		This API generates a content of an error token response that the authorization server implementation
	returns to the client application.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the token endpoint of the service
	in order to generate an error response to the client application.

	The description of the `/auth/token` API describes the timing when this API should be called. See
	the description for the case of `action=PASSWORD`.

	The response from `/auth/token/fail` API has some parameters. Among them, it is `action` parameter
	that the authorization server implementation should check first because it denotes the next action
	that the authorization server implementation should take. According to the value of `action`, the
	authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error".

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application
	since "500 Internal Server Error" is not required by OAuth 2.0.

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that Authlete's `/auth/token/fail` API successfully
	generated an error response for the client application.

	The HTTP status of the response returned to the client application must be "400 Bad Request" and
	the content type must be `application/json`.

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 400 Bad Request
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenFailApiRequest
	*/
	AuthTokenFailApi(ctx context.Context) ApiAuthTokenFailApiRequest

	// AuthTokenFailApiExecute executes the request
	//  @return TokenFailResponse
	AuthTokenFailApiExecute(r ApiAuthTokenFailApiRequest) (*TokenFailResponse, *http.Response, error)

	/*
		AuthTokenIssueApi /api/auth/token/issue API

		This API generates a content of a successful token response that the authorization server implementation
	returns to the client application.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the token endpoint of the service
	in order to generate a successful response to the client application.

	The description of the `/auth/token` API describes the timing when this API should be called. See
	the description for the case of `action=PASSWORD`.

	The response from `/auth/token/issue` API has some parameters. Among them, it is `action` parameter
	that the authorization server implementation should check first because it denotes the next action
	that the authorization server implementation should take. According to the value of `action`, the
	authorization server implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete.

	In either case, from the viewpoint of the client application, it is an error on the server side.
	Therefore, the service implementation should generate a response to the client application with
	HTTP status of "500 Internal Server Error".

	The value of `responseContent` is a JSON string which describes the error, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation should generate and return
	to the client application.

	“`
	HTTP/1.1 500 Internal Server Error
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	The endpoint implementation may return another different response to the client application
	since "500 Internal Server Error" is not required by OAuth 2.0.

	**OK**

	When the value of `action` is `OK`, it means that Authlete's `/auth/token/issue` API successfully
	generated an access token.

	The HTTP status of the response returned to the client application must be "200 OK" and the content
	type must be`application/json`.

	The value of `responseContent` is a JSON string which contains an access token, so it can be used
	as the entity body of the response.

	The following illustrates the response which the service implementation must generate and return
	to the client application.

	“`
	HTTP/1.1 200 OK
	Content-Type: application/json
	Cache-Control: no-store
	Pragma: no-cache

	{responseContent}
	“`

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenIssueApiRequest
	*/
	AuthTokenIssueApi(ctx context.Context) ApiAuthTokenIssueApiRequest

	// AuthTokenIssueApiExecute executes the request
	//  @return TokenIssueResponse
	AuthTokenIssueApiExecute(r ApiAuthTokenIssueApiRequest) (*TokenIssueResponse, *http.Response, error)
}

type TokenEndpointApiService

type TokenEndpointApiService service

TokenEndpointApiService TokenEndpointApi service

func (*TokenEndpointApiService) AuthTokenApi

AuthTokenApi /api/auth/token API

This API parses request parameters of an authorization request and returns necessary data for the authorization server implementation to process the authorization request further.

<br> <details> <summary>Description</summary>

This API is supposed to be called from with the implementation of the token endpoint of the service. The endpoint implementation must extract the request parameters from the token request from the client application and pass them as the value of parameters request parameter to Authlete's `/auth/token` API. The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the token request.

In addition, if the token endpoint of the authorization server implementation supports basic authentication as a means of [client authentication](https://datatracker.ietf.org/doc/html/rfc6749#section-2.3), the client credentials must be extracted from `Authorization` header and they must be passed as `clientId` request parameter and `clientSecret` request parameter to Authlete's `/auth/token` API.

The following code snippet is an example in JAX-RS showing how to extract request parameters from the token request and client credentials from Authorization header.

```java @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public Response post(

@HeaderParam(HttpHeaders.AUTHORIZATION) String auth,
String parameters)
{
    // Convert the value of Authorization header (credentials of
    // the client application), if any, into BasicCredentials.
    BasicCredentials credentials = BasicCredentials.parse(auth);

    // The credentials of the client application extracted from
    // 'Authorization' header. These may be null.
    String clientId     = credentials == null ? null
                        : credentials.getUserId();
    String clientSecret = credentials == null ? null
                        : credentials.getPassword();

    // Process the given parameters.
    return process(parameters, clientId, clientSecret);
}

```

The response from `/auth/token` API has some parameters. Among them, it is action parameter that the service implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of action, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error". Authlete recommends `application/json` as the content type although OAuth 2.0 specification does not mention the format of the error response when the redirect URI is not usable.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "500 Internal Server Error" is not required by OAuth 2.0.

**INVALID_CLIENT**

When the value of `action` is `INVALID_CLIENT`, it means that authentication of the client failed. In this case, the HTTP status of the response to the client application is either "400 Bad Request" or "401 Unauthorized". This requirement comes from [RFC 6749, 5.2. Error Response](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2). The description about `invalid_client` shown below is an excerpt from RFC 6749.

Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the `Authorization` request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code and include the `WWW-Authenticate` response header field matching the authentication scheme used by the client.

In either case, the value of `responseContent` is a JSON string which can be used as the entity body of the response to the client application.

The following illustrate responses which the service implementation must generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

<br>

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: {challenge} Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application is invalid.

A response with HTTP status of "400 Bad Request" must be returned to the client application and the content type must be `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ``` **PASSWORD**

When the value of {@code "action"} is {@code "PASSWORD"}, it means that the request from the client application is valid and {@code grant_type} is {@code "password"}. That is, the flow is <a href="https://www.rfc-editor.org/rfc/rfc6749.html#section-4.3">"Resource Owner Password Credentials"</a>.

In this case, {@link #getUsername()} returns the value of {@code "username"} request parameter and {@link #getPassword()} returns the value of {@code "password"} request parameter which were contained in the token request from the client application. The service implementation must validate the credentials of the resource owner (= end-user) and take either of the actions below according to the validation result.

  1. When the credentials are valid, call Authlete's /auth/token/issue} API to generate an access token for the client application. The API requires {@code "ticket"} request parameter and {@code "subject"} request parameter. Use the value returned from {@link #getTicket()} method as the value for {@code "ticket"} parameter.
  2. The response from {@code /auth/token/issue} API ({@link TokenIssueResponse}) contains data (an access token and others) which should be returned to the client application. Use the data to generate a response to the client application.
  3. When the credentials are invalid</b>, call Authlete's {@code /auth/token/fail} API with {@code reason=}{@link TokenFailRequest.Reason#INVALID_RESOURCE_OWNER_CREDENTIALS INVALID_RESOURCE_OWNER_CREDENTIALS} to generate an error response for the client application. The API requires {@code "ticket"} request parameter. Use the value returned from {@link #getTicket()} method as the value for {@code "ticket"} parameter.
  4. The response from {@code /auth/token/fail} API ({@link TokenFailResponse}) contains error information which should be returned to the client application. Use it to generate a response to the client application.

**OK**

When the value of `action` is `OK`, it means that the request from the client application is valid and an access token, and optionally an ID token, is ready to be issued.

The HTTP status of the response returned to the client application must be "200 OK" and the content type must be `application/json`.

The value of `responseContent` is a JSON string which contains an access token (and optionally an ID token), so it can be used as the entity body of the response.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

**TOKEN_EXCHANGE (Authlete 2.3 onwards)**

When the value of {@code "action"} is {@code "TOKEN_EXCHANGE"}, it means that the request from the client application is a valid token exchange request (cf. <a href="https://www.rfc-editor.org/rfc/rfc8693.html">RFC 8693 OAuth 2.0 Token Exchange</a>) and that the request has already passed the following validation steps.

1. Confirm that the value of the {@code requested_token_type} request parameter is one of the registered token type identifiers if the request parameter is given and its value is not empty. 2. Confirm that the {@code subject_token} request parameter is given and its value is not empty. 3. Confirm that the {@code subject_token_type} request parameter is given and its value is one of the registered token type identifiers. 4. Confirm that the {@code actor_token_type} request parameter is given and its value is one of the registered token type identifiers if the {@code actor_token} request parameter is given and its value is not empty. 5. Confirm that the {@code actor_token_type} request parameter is not given or its value is empty when the {@code actor_token} request parameter is not given or its value is empty.

Furthermore, Authlete performs additional validation on the tokens specified by the {@code subject_token} request parameter and the {@code actor_token} request parameter according to their respective token types as shown below.

**Token Validation Steps**

*Token Type: `urn:ietf:params:oauth:token-type:jwt`*

  1. Confirm that the format conforms to the JWT specification [RFC 7519][https://www.rfc-editor.org/rfc/rfc7519.html].
  2. Check if the JWT is encrypted and if it is encrypted, then (a) reject the token exchange request when the {@link Service#isTokenExchangeEncryptedJwtRejected() tokenExchangeEncryptedJwtRejected} flag of the service is {@code true} or (b) skip remaining validation steps when the flag is {@code false}. Note that Authlete does not verify an encrypted JWT because there is no standard way to obtain the key to decrypt the JWT with. This means that you must verify an encrypted JWT by yourself when one is used as an input token with the token type { @code "urn:ietf:params:oauth:token-type:jwt" }.
  3. Confirm that the current time has not reached the time indicated by the {@code exp} claim if the JWT contains the claim.
  4. Confirm that the current time is equal to or after the time indicated by the {@code iat} claim if the JWT contains the claim.

5.Confirm that the current time is equal to or after the time indicated

by the {@code nbf} claim if the JWT contains the claim.
  1. Check if the JWT is signed and if it is not signed, then (a) reject the token exchange request when the {@link Service#isTokenExchangeUnsignedJwtRejected() tokenExchangeUnsignedJwtRejected} flag of the service is {@code true} or (b) finish validation on the input token. Note that Authlete does not verify the signature of the JWT because there is no standard way to obtain the key to verify the signature of a JWT with. This means that you must verify the signature by yourself when a signed JWT is used as an input token with the token type {@code "urn:ietf:params:oauth:token-type:jwt"}.

*Token Type: `urn:ietf:params:oauth:token-type:access_token`*

  1. Confirm that the token is an access token that has been issued by the Authlete server of your service. This implies that access tokens issued by other systems cannot be used as a subject token or an actor token with the token type <code>urn:ietf:params:oauth:token-type:access_token</code>.
  2. Confirm that the access token has not expired.
  3. Confirm that the access token belongs to the service.

*Token Type: `urn:ietf:params:oauth:token-type:refresh_token`*

  1. Confirm that the token is a refresh token that has been issued by the Authlete server of your service. This implies that refresh tokens issued by other systems cannot be used as a subject token or an actor token with the token type <code>urn:ietf:params:oauth:token-type:refresh_token</code>.
  2. Confirm that the refresh token has not expired.
  3. Confirm that the refresh token belongs to the service.

*Token Type: `urn:ietf:params:oauth:token-type:id_token`*

  1. Confirm that the format conforms to the JWT specification (<a href= "https://www.rfc-editor.org/rfc/rfc7519.html">RFC 7519</a>).
  2. Check if the ID Token is encrypted and if it is encrypted, then (a) reject the token exchange request when the {@link Service#isTokenExchangeEncryptedJwtRejected() tokenExchangeEncryptedJwtRejected} flag of the service is {@code true} or (b) skip remaining validation steps when the flag is {@code false}. Note that Authlete does not verify an encrypted ID Token because there is no standard way to obtain the key to decrypt the ID Token with in the context of token exchange where the client ID for the encrypted ID Token cannot be determined. This means that you must verify an encrypted ID Token by yourself when one is used as an input token with the token type {@code "urn:ietf:params:oauth:token-type:id_token"}.
  3. Confirm that the ID Token contains the {@code exp} claim and the current time has not reached the time indicated by the claim.
  4. Confirm that the ID Token contains the {@code iat} claim and the current time is equal to or after the time indicated by the claim.
  5. Confirm that the current time is equal to or after the time indicated by the {@code nbf} claim if the ID Token contains the claim.
  6. Confirm that the ID Token contains the {@code iss} claim and the value is a valid URI. In addition, confirm that the URI has the {@code https} scheme, no query component and no fragment component.
  7. Confirm that the ID Token contains the {@code aud} claim and its value is a JSON string or an array of JSON strings.
  8. Confirm that the value of the {@code nonce} claim is a JSON string if the ID Token contains the claim.
  9. Check if the ID Token is signed and if it is not signed, then (a) reject the token exchange request when the {@link Service#isTokenExchangeUnsignedJwtRejected() tokenExchangeUnsignedJwtRejected} flag of the service is {@code true} or (b) finish validation on the input token.
  10. Confirm that the signature algorithm is asymmetric. This implies that ID Tokens whose signature algorithm is symmetric ({@code HS256}, {@code HS384} or {@code HS512}) cannot be used as a subject token or an actor token with the token type {@code urn:ietf:params:oauth:token-type:id_token}.
  11. Verify the signature of the ID Token. Signature verification is performed even in the case where the issuer of the ID Token is not your service. But in that case, the issuer must support the discovery endpoint defined in <a href= "https://openid.net/specs/openid-connect-discovery-1_0.html">OpenID Connect Discovery 1.0</a>. Otherwise, signature verification fails.

*Token Type: `urn:ietf:params:oauth:token-type:saml1`*

(Authlete does not perform any validation for this token type.)

*Token Type: `urn:ietf:params:oauth:token-type:saml2`*

(Authlete does not perform any validation for this token type.)

The specification of Token Exchange (<a href= "https://www.rfc-editor.org/rfc/rfc8693.html">RFC 8693</a>) is very flexible. In other words, the specification has abandoned the task of determining details. Therefore, for secure token exchange, you have to complement the specification with your own rules. For that purpose, Authlete provides some configuration options as listed below. Authorization server implementers may utilize them and/or implement their own rules.

In the case of {@link Action#TOKEN_EXCHANGE TOKEN_EXCHANGE}, the {@link #getResponseContent()} method returns {@code null}. You have to construct the token response by yourself.

For example, you may generate an access token by calling Authlete's {@code /api/auth/token/create} API and construct a token response like below.

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: {challenge} Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

``` HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-cache, no-store

{
    "access_token": "{@link TokenCreateResponse#getAccessToken()}",
    "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
    "token_type": "Bearer",
    "expires_in": { @link TokenCreateResponse#getExpiresIn() },
    "scope": "String.join(" ", {@link TokenCreateResponse#getScopes()})"
}

```

**JWT_BEARER JWT_BEARER (Authlete 2.3 onwards)**

When the value of {@code "action"} is {@code "JWT_BEARER"}, it means that the request from the client application is a valid token request with the grant type {@code "urn:ietf:params:oauth:grant-type:jwt-bearer"} (<a href= "https://www.rfc-editor.org/rfc/rfc7523.html">RFC 7523 JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants</a>) and that the request has already passed the following validation steps.

  1. Confirm that the {@code assertion} request parameter is given and its value is not empty.
  2. Confirm that the format of the assertion conforms to the JWT specification (<a href="https://www.rfc-editor.org/rfc/rfc7519.html">RFC 7519</a>).
  1. Check if the JWT is encrypted and if it is encrypted, then (a) reject the token request when the {@link Service#isJwtGrantEncryptedJwtRejected() jwtGrantEncryptedJwtRejected} flag of the service is {@code true} or (b) skip remaining validation steps when the flag is {@code false}. Note that Authlete does not verify an encrypted JWT because there is no standard way to obtain the key to decrypt the JWT with. This means that you must verify an encrypted JWT by yourself.
  2. Confirm that the JWT contains the {@code iss} claim and its value is a JSON string.
  3. Confirm that the JWT contains the {@code sub} claim and its value is a JSON string.
  4. Confirm that the JWT contains the {@code aud} claim and its value is either a JSON string or an array of JSON strings.
  5. Confirm that the issuer identifier of the service (cf. {@link Service#getIssuer()}) or the URL of the token endpoint (cf. {@link Service#getTokenEndpoint()}) is listed as audience in the {@code aud} claim.
  6. Confirm that the JWT contains the {@code exp} claim and the current time has not reached the time indicated by the claim.
  7. Confirm that the current time is equal to or after the time indicated by by the {@code iat} claim if the JWT contains the claim.
  8. Confirm that the current time is equal to or after the time indicated by by the {@code nbf} claim if the JWT contains the claim.
  9. Check if the JWT is signed and if it is not signed, then (a) reject the token request when the {@link Service#isJwtGrantUnsignedJwtRejected() jwtGrantUnsignedJwtRejected} flag of the service is {@code true} or (b) finish validation on the JWT. Note that Authlete does not verify the signature of the JWT because there is no standard way to obtain the key to verify the signature of a JWT with. This means that you must verify the signature by yourself.

Authlete provides some configuration options for the grant type as listed below. Authorization server implementers may utilize them and/or implement their own rules.

``` HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-cache, no-store

{
      "access_token": "{@link TokenCreateResponse#getAccessToken()}",
      "token_type":   "Bearer",
      "expires_in":   {@link TokenCreateResponse#getExpiresIn()},
      "scope":        "String.join(" ", {@link TokenCreateResponse#getScopes()})"
                          }

```

Finally, note again that Authlete does not verify the signature of the JWT
specified by the {@code assertion} request parameter. You must verify the
signature by yourself.

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenApiRequest

func (*TokenEndpointApiService) AuthTokenApiExecute

Execute executes the request

@return TokenResponse

func (*TokenEndpointApiService) AuthTokenFailApi

AuthTokenFailApi /api/auth/token/fail API

This API generates a content of an error token response that the authorization server implementation returns to the client application.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the token endpoint of the service in order to generate an error response to the client application.

The description of the `/auth/token` API describes the timing when this API should be called. See the description for the case of `action=PASSWORD`.

The response from `/auth/token/fail` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "500 Internal Server Error" is not required by OAuth 2.0.

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that Authlete's `/auth/token/fail` API successfully generated an error response for the client application.

The HTTP status of the response returned to the client application must be "400 Bad Request" and the content type must be `application/json`.

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 400 Bad Request Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenFailApiRequest

func (*TokenEndpointApiService) AuthTokenFailApiExecute

Execute executes the request

@return TokenFailResponse

func (*TokenEndpointApiService) AuthTokenIssueApi

AuthTokenIssueApi /api/auth/token/issue API

This API generates a content of a successful token response that the authorization server implementation returns to the client application.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the token endpoint of the service in order to generate a successful response to the client application.

The description of the `/auth/token` API describes the timing when this API should be called. See the description for the case of `action=PASSWORD`.

The response from `/auth/token/issue` API has some parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the authorization server implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete.

In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The value of `responseContent` is a JSON string which describes the error, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation should generate and return to the client application.

``` HTTP/1.1 500 Internal Server Error Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

The endpoint implementation may return another different response to the client application since "500 Internal Server Error" is not required by OAuth 2.0.

**OK**

When the value of `action` is `OK`, it means that Authlete's `/auth/token/issue` API successfully generated an access token.

The HTTP status of the response returned to the client application must be "200 OK" and the content type must be`application/json`.

The value of `responseContent` is a JSON string which contains an access token, so it can be used as the entity body of the response.

The following illustrates the response which the service implementation must generate and return to the client application.

``` HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-store Pragma: no-cache

{responseContent} ```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenIssueApiRequest

func (*TokenEndpointApiService) AuthTokenIssueApiExecute

Execute executes the request

@return TokenIssueResponse

type TokenFailRequest

type TokenFailRequest struct {
	// The ticket issued from Authlete `/auth/token` API.
	Ticket string `json:"ticket"`
	// The reason of the failure of the token request.
	Reason string `json:"reason"`
}

TokenFailRequest struct for TokenFailRequest

func NewTokenFailRequest

func NewTokenFailRequest(ticket string, reason string) *TokenFailRequest

NewTokenFailRequest instantiates a new TokenFailRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenFailRequestWithDefaults

func NewTokenFailRequestWithDefaults() *TokenFailRequest

NewTokenFailRequestWithDefaults instantiates a new TokenFailRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenFailRequest) GetReason

func (o *TokenFailRequest) GetReason() string

GetReason returns the Reason field value

func (*TokenFailRequest) GetReasonOk

func (o *TokenFailRequest) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.

func (*TokenFailRequest) GetTicket

func (o *TokenFailRequest) GetTicket() string

GetTicket returns the Ticket field value

func (*TokenFailRequest) GetTicketOk

func (o *TokenFailRequest) GetTicketOk() (*string, bool)

GetTicketOk returns a tuple with the Ticket field value and a boolean to check if the value has been set.

func (TokenFailRequest) MarshalJSON

func (o TokenFailRequest) MarshalJSON() ([]byte, error)

func (*TokenFailRequest) SetReason

func (o *TokenFailRequest) SetReason(v string)

SetReason sets field value

func (*TokenFailRequest) SetTicket

func (o *TokenFailRequest) SetTicket(v string)

SetTicket sets field value

func (TokenFailRequest) ToMap added in v1.1.1

func (o TokenFailRequest) ToMap() (map[string]interface{}, error)

type TokenFailResponse

type TokenFailResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter. See description for details.
	ResponseContent *string `json:"responseContent,omitempty"`
}

TokenFailResponse struct for TokenFailResponse

func NewTokenFailResponse

func NewTokenFailResponse() *TokenFailResponse

NewTokenFailResponse instantiates a new TokenFailResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenFailResponseWithDefaults

func NewTokenFailResponseWithDefaults() *TokenFailResponse

NewTokenFailResponseWithDefaults instantiates a new TokenFailResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenFailResponse) GetAction

func (o *TokenFailResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*TokenFailResponse) GetActionOk

func (o *TokenFailResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenFailResponse) GetResponseContent

func (o *TokenFailResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*TokenFailResponse) GetResponseContentOk

func (o *TokenFailResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenFailResponse) GetResultCode

func (o *TokenFailResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*TokenFailResponse) GetResultCodeOk

func (o *TokenFailResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenFailResponse) GetResultMessage

func (o *TokenFailResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*TokenFailResponse) GetResultMessageOk

func (o *TokenFailResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenFailResponse) HasAction

func (o *TokenFailResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*TokenFailResponse) HasResponseContent

func (o *TokenFailResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*TokenFailResponse) HasResultCode

func (o *TokenFailResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*TokenFailResponse) HasResultMessage

func (o *TokenFailResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (TokenFailResponse) MarshalJSON

func (o TokenFailResponse) MarshalJSON() ([]byte, error)

func (*TokenFailResponse) SetAction

func (o *TokenFailResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*TokenFailResponse) SetResponseContent

func (o *TokenFailResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*TokenFailResponse) SetResultCode

func (o *TokenFailResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*TokenFailResponse) SetResultMessage

func (o *TokenFailResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (TokenFailResponse) ToMap added in v1.1.1

func (o TokenFailResponse) ToMap() (map[string]interface{}, error)

type TokenGetListResponse

type TokenGetListResponse struct {
	// Start index of search results (inclusive).
	Start *int32 `json:"start,omitempty"`
	// End index of search results (exclusive).
	End *int32 `json:"end,omitempty"`
	// Unique ID of a client developer.
	TotalCount *int32  `json:"totalCount,omitempty"`
	Client     *Client `json:"client,omitempty"`
	// Unique user ID of an end-user.
	Subject *string `json:"subject,omitempty"`
	// An array of access tokens.
	AccessTokens []AccessToken `json:"accessTokens,omitempty"`
}

TokenGetListResponse struct for TokenGetListResponse

func NewTokenGetListResponse

func NewTokenGetListResponse() *TokenGetListResponse

NewTokenGetListResponse instantiates a new TokenGetListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenGetListResponseWithDefaults

func NewTokenGetListResponseWithDefaults() *TokenGetListResponse

NewTokenGetListResponseWithDefaults instantiates a new TokenGetListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenGetListResponse) GetAccessTokens

func (o *TokenGetListResponse) GetAccessTokens() []AccessToken

GetAccessTokens returns the AccessTokens field value if set, zero value otherwise.

func (*TokenGetListResponse) GetAccessTokensOk

func (o *TokenGetListResponse) GetAccessTokensOk() ([]AccessToken, bool)

GetAccessTokensOk returns a tuple with the AccessTokens field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenGetListResponse) GetClient

func (o *TokenGetListResponse) GetClient() Client

GetClient returns the Client field value if set, zero value otherwise.

func (*TokenGetListResponse) GetClientOk

func (o *TokenGetListResponse) GetClientOk() (*Client, 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 (*TokenGetListResponse) GetEnd

func (o *TokenGetListResponse) GetEnd() int32

GetEnd returns the End field value if set, zero value otherwise.

func (*TokenGetListResponse) GetEndOk

func (o *TokenGetListResponse) GetEndOk() (*int32, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenGetListResponse) GetStart

func (o *TokenGetListResponse) GetStart() int32

GetStart returns the Start field value if set, zero value otherwise.

func (*TokenGetListResponse) GetStartOk

func (o *TokenGetListResponse) GetStartOk() (*int32, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenGetListResponse) GetSubject

func (o *TokenGetListResponse) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenGetListResponse) GetSubjectOk

func (o *TokenGetListResponse) 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 (*TokenGetListResponse) GetTotalCount

func (o *TokenGetListResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*TokenGetListResponse) GetTotalCountOk

func (o *TokenGetListResponse) GetTotalCountOk() (*int32, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenGetListResponse) HasAccessTokens

func (o *TokenGetListResponse) HasAccessTokens() bool

HasAccessTokens returns a boolean if a field has been set.

func (*TokenGetListResponse) HasClient

func (o *TokenGetListResponse) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*TokenGetListResponse) HasEnd

func (o *TokenGetListResponse) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*TokenGetListResponse) HasStart

func (o *TokenGetListResponse) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*TokenGetListResponse) HasSubject

func (o *TokenGetListResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*TokenGetListResponse) HasTotalCount

func (o *TokenGetListResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (TokenGetListResponse) MarshalJSON

func (o TokenGetListResponse) MarshalJSON() ([]byte, error)

func (*TokenGetListResponse) SetAccessTokens

func (o *TokenGetListResponse) SetAccessTokens(v []AccessToken)

SetAccessTokens gets a reference to the given []AccessToken and assigns it to the AccessTokens field.

func (*TokenGetListResponse) SetClient

func (o *TokenGetListResponse) SetClient(v Client)

SetClient gets a reference to the given Client and assigns it to the Client field.

func (*TokenGetListResponse) SetEnd

func (o *TokenGetListResponse) SetEnd(v int32)

SetEnd gets a reference to the given int32 and assigns it to the End field.

func (*TokenGetListResponse) SetStart

func (o *TokenGetListResponse) SetStart(v int32)

SetStart gets a reference to the given int32 and assigns it to the Start field.

func (*TokenGetListResponse) SetSubject

func (o *TokenGetListResponse) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*TokenGetListResponse) SetTotalCount

func (o *TokenGetListResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (TokenGetListResponse) ToMap added in v1.1.1

func (o TokenGetListResponse) ToMap() (map[string]interface{}, error)

type TokenInfo added in v1.1.1

type TokenInfo struct {
	// The client id.
	ClientId *int32 `json:"clientId,omitempty"`
	// The alias of the client.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// Flag specifying if the alias was used to identify the client
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// the resource owner unique id
	Subject *string `json:"subject,omitempty"`
	// The scopes granted on the token
	Scopes []string `json:"scopes,omitempty"`
	// time which the token expires.
	ExpiresAt *int32 `json:"expiresAt,omitempty"`
	// Extra properties associated with the token
	Properties []Property `json:"properties,omitempty"`
	// The array of the resources of the token.
	Resources            []string                     `json:"resources,omitempty"`
	AuthorizationDetails *AuthorizationDetailsElement `json:"authorizationDetails,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

TokenInfo struct for TokenInfo

func NewTokenInfo added in v1.1.1

func NewTokenInfo() *TokenInfo

NewTokenInfo instantiates a new TokenInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenInfoWithDefaults added in v1.1.1

func NewTokenInfoWithDefaults() *TokenInfo

NewTokenInfoWithDefaults instantiates a new TokenInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenInfo) GetAuthorizationDetails added in v1.1.1

func (o *TokenInfo) GetAuthorizationDetails() AuthorizationDetailsElement

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenInfo) GetAuthorizationDetailsOk added in v1.1.1

func (o *TokenInfo) GetAuthorizationDetailsOk() (*AuthorizationDetailsElement, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetClientEntityId added in v1.2.0

func (o *TokenInfo) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*TokenInfo) GetClientEntityIdOk added in v1.2.0

func (o *TokenInfo) GetClientEntityIdOk() (*string, bool)

GetClientEntityIdOk returns a tuple with the ClientEntityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetClientEntityIdUsed added in v1.2.0

func (o *TokenInfo) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*TokenInfo) GetClientEntityIdUsedOk added in v1.2.0

func (o *TokenInfo) GetClientEntityIdUsedOk() (*bool, bool)

GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetClientId added in v1.1.1

func (o *TokenInfo) GetClientId() int32

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*TokenInfo) GetClientIdAlias added in v1.1.1

func (o *TokenInfo) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*TokenInfo) GetClientIdAliasOk added in v1.1.1

func (o *TokenInfo) GetClientIdAliasOk() (*string, bool)

GetClientIdAliasOk returns a tuple with the ClientIdAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetClientIdAliasUsed added in v1.1.1

func (o *TokenInfo) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*TokenInfo) GetClientIdAliasUsedOk added in v1.1.1

func (o *TokenInfo) GetClientIdAliasUsedOk() (*bool, bool)

GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetClientIdOk added in v1.1.1

func (o *TokenInfo) GetClientIdOk() (*int32, 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 (*TokenInfo) GetExpiresAt added in v1.1.1

func (o *TokenInfo) GetExpiresAt() int32

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*TokenInfo) GetExpiresAtOk added in v1.1.1

func (o *TokenInfo) GetExpiresAtOk() (*int32, 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 (*TokenInfo) GetProperties added in v1.1.1

func (o *TokenInfo) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenInfo) GetPropertiesOk added in v1.1.1

func (o *TokenInfo) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetResources added in v1.1.1

func (o *TokenInfo) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*TokenInfo) GetResourcesOk added in v1.1.1

func (o *TokenInfo) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetScopes added in v1.1.1

func (o *TokenInfo) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenInfo) GetScopesOk added in v1.1.1

func (o *TokenInfo) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenInfo) GetSubject added in v1.1.1

func (o *TokenInfo) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenInfo) GetSubjectOk added in v1.1.1

func (o *TokenInfo) 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 (*TokenInfo) HasAuthorizationDetails added in v1.1.1

func (o *TokenInfo) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenInfo) HasClientEntityId added in v1.2.0

func (o *TokenInfo) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*TokenInfo) HasClientEntityIdUsed added in v1.2.0

func (o *TokenInfo) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*TokenInfo) HasClientId added in v1.1.1

func (o *TokenInfo) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*TokenInfo) HasClientIdAlias added in v1.1.1

func (o *TokenInfo) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*TokenInfo) HasClientIdAliasUsed added in v1.1.1

func (o *TokenInfo) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*TokenInfo) HasExpiresAt added in v1.1.1

func (o *TokenInfo) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*TokenInfo) HasProperties added in v1.1.1

func (o *TokenInfo) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenInfo) HasResources added in v1.1.1

func (o *TokenInfo) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*TokenInfo) HasScopes added in v1.1.1

func (o *TokenInfo) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenInfo) HasSubject added in v1.1.1

func (o *TokenInfo) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (TokenInfo) MarshalJSON added in v1.1.1

func (o TokenInfo) MarshalJSON() ([]byte, error)

func (*TokenInfo) SetAuthorizationDetails added in v1.1.1

func (o *TokenInfo) SetAuthorizationDetails(v AuthorizationDetailsElement)

SetAuthorizationDetails gets a reference to the given AuthorizationDetailsElement and assigns it to the AuthorizationDetails field.

func (*TokenInfo) SetClientEntityId added in v1.2.0

func (o *TokenInfo) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*TokenInfo) SetClientEntityIdUsed added in v1.2.0

func (o *TokenInfo) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*TokenInfo) SetClientId added in v1.1.1

func (o *TokenInfo) SetClientId(v int32)

SetClientId gets a reference to the given int32 and assigns it to the ClientId field.

func (*TokenInfo) SetClientIdAlias added in v1.1.1

func (o *TokenInfo) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*TokenInfo) SetClientIdAliasUsed added in v1.1.1

func (o *TokenInfo) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*TokenInfo) SetExpiresAt added in v1.1.1

func (o *TokenInfo) SetExpiresAt(v int32)

SetExpiresAt gets a reference to the given int32 and assigns it to the ExpiresAt field.

func (*TokenInfo) SetProperties added in v1.1.1

func (o *TokenInfo) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenInfo) SetResources added in v1.1.1

func (o *TokenInfo) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*TokenInfo) SetScopes added in v1.1.1

func (o *TokenInfo) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*TokenInfo) SetSubject added in v1.1.1

func (o *TokenInfo) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (TokenInfo) ToMap added in v1.1.1

func (o TokenInfo) ToMap() (map[string]interface{}, error)

type TokenIssueRequest

type TokenIssueRequest struct {
	// The ticket issued from Authlete `/auth/token` API.
	Ticket string `json:"ticket"`
	// The subject (= unique identifier) of the authenticated user.
	Subject string `json:"subject"`
	// Extra properties to associate with a newly created access token. Note that properties parameter is accepted only when `Content-Type` of the request is `application/json`, so don't use `application/x-www-form-urlencoded` if you want to specify properties.
	Properties []Property `json:"properties,omitempty"`
	// Additional claims that are added to the payload part of the JWT access token.
	JwtAtClaims *string `json:"jwtAtClaims,omitempty"`
	// The representation of an access token that may be issued as a result of the Authlete API call.
	AccessToken *string `json:"accessToken,omitempty"`
}

TokenIssueRequest struct for TokenIssueRequest

func NewTokenIssueRequest

func NewTokenIssueRequest(ticket string, subject string) *TokenIssueRequest

NewTokenIssueRequest instantiates a new TokenIssueRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenIssueRequestWithDefaults

func NewTokenIssueRequestWithDefaults() *TokenIssueRequest

NewTokenIssueRequestWithDefaults instantiates a new TokenIssueRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenIssueRequest) GetAccessToken added in v1.1.1

func (o *TokenIssueRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenIssueRequest) GetAccessTokenOk added in v1.1.1

func (o *TokenIssueRequest) 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 (*TokenIssueRequest) GetJwtAtClaims added in v1.1.1

func (o *TokenIssueRequest) GetJwtAtClaims() string

GetJwtAtClaims returns the JwtAtClaims field value if set, zero value otherwise.

func (*TokenIssueRequest) GetJwtAtClaimsOk added in v1.1.1

func (o *TokenIssueRequest) GetJwtAtClaimsOk() (*string, bool)

GetJwtAtClaimsOk returns a tuple with the JwtAtClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueRequest) GetProperties

func (o *TokenIssueRequest) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenIssueRequest) GetPropertiesOk

func (o *TokenIssueRequest) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueRequest) GetSubject

func (o *TokenIssueRequest) GetSubject() string

GetSubject returns the Subject field value

func (*TokenIssueRequest) GetSubjectOk

func (o *TokenIssueRequest) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.

func (*TokenIssueRequest) GetTicket

func (o *TokenIssueRequest) GetTicket() string

GetTicket returns the Ticket field value

func (*TokenIssueRequest) GetTicketOk

func (o *TokenIssueRequest) GetTicketOk() (*string, bool)

GetTicketOk returns a tuple with the Ticket field value and a boolean to check if the value has been set.

func (*TokenIssueRequest) HasAccessToken added in v1.1.1

func (o *TokenIssueRequest) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenIssueRequest) HasJwtAtClaims added in v1.1.1

func (o *TokenIssueRequest) HasJwtAtClaims() bool

HasJwtAtClaims returns a boolean if a field has been set.

func (*TokenIssueRequest) HasProperties

func (o *TokenIssueRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (TokenIssueRequest) MarshalJSON

func (o TokenIssueRequest) MarshalJSON() ([]byte, error)

func (*TokenIssueRequest) SetAccessToken added in v1.1.1

func (o *TokenIssueRequest) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenIssueRequest) SetJwtAtClaims added in v1.1.1

func (o *TokenIssueRequest) SetJwtAtClaims(v string)

SetJwtAtClaims gets a reference to the given string and assigns it to the JwtAtClaims field.

func (*TokenIssueRequest) SetProperties

func (o *TokenIssueRequest) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenIssueRequest) SetSubject

func (o *TokenIssueRequest) SetSubject(v string)

SetSubject sets field value

func (*TokenIssueRequest) SetTicket

func (o *TokenIssueRequest) SetTicket(v string)

SetTicket sets field value

func (TokenIssueRequest) ToMap added in v1.1.1

func (o TokenIssueRequest) ToMap() (map[string]interface{}, error)

type TokenIssueResponse

type TokenIssueResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format is JSON.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The value of `username` request parameter in the token request. The client application must specify username when it uses [Resource Owner Password Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.3). In other words, when the value of `grant_type` request parameter is `password`, `username` request parameter must come along.  This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
	Username *string `json:"username,omitempty"`
	// The newly issued access token. This parameter is a non-null value only when the value of `action` parameter is `OK`.
	AccessToken *string `json:"accessToken,omitempty"`
	// The datetime at which the newly issued access token will expire. The value is represented in milliseconds since the Unix epoch (1970-01-01).
	AccessTokenExpiresAt *int64 `json:"accessTokenExpiresAt,omitempty"`
	// The duration of the newly issued access token in seconds.
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The refresh token. This parameter is a non-null value only when `action` is `OK` and the service supports the refresh token flow. If `refreshTokenKept` is set to `false`, a new refresh token is issued and the old refresh token used in the refresh token flow is invalidated. On the contrary, if `refreshTokenKept` is set to `true`, the refresh token itself is not refreshed.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// The datetime at which the newly issued refresh token will expire. The value is represented in milliseconds since the Unix epoch (1970-01-01).
	RefreshTokenExpiresAt *int64 `json:"refreshTokenExpiresAt,omitempty"`
	// The duration of the newly issued refresh token in seconds.
	RefreshTokenDuration *int64 `json:"refreshTokenDuration,omitempty"`
	// The client ID.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias. If the client did not have an alias, this parameter is `null`.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// The flag which indicates whether the client ID alias was used when the token request was made. `true` if the client ID alias was used when the token request was made.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The subject (= resource owner's ID) of the access token. Even if an access token has been issued by calling `/api/auth/token` API, this parameter is `null` if the flow of the token request was [Client Credentials Flow](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4) (`grant_type=client_credentials`) because it means the access token is not associated with any specific end-user.
	Subject *string `json:"subject,omitempty"`
	// The scopes covered by the access token.
	Scopes []string `json:"scopes,omitempty"`
	// The extra properties associated with the access token. This parameter is `null` when no extra property is associated with the issued access token.
	Properties []Property `json:"properties,omitempty"`
	// The newly issued access token in JWT format. If the authorization server is configured to issue JWT-based access tokens (= if the service's `accessTokenSignAlg` value is a non-null value), a JWT-based access token is issued along with the original random-string one.
	JwtAccessToken *string `json:"jwtAccessToken,omitempty"`
	// The target resources of the access token being issued. See \"Resource Indicators for OAuth 2.0\" for details.
	AccessTokenResources []string              `json:"accessTokenResources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

TokenIssueResponse struct for TokenIssueResponse

func NewTokenIssueResponse

func NewTokenIssueResponse() *TokenIssueResponse

NewTokenIssueResponse instantiates a new TokenIssueResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenIssueResponseWithDefaults

func NewTokenIssueResponseWithDefaults() *TokenIssueResponse

NewTokenIssueResponseWithDefaults instantiates a new TokenIssueResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenIssueResponse) GetAccessToken

func (o *TokenIssueResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenIssueResponse) GetAccessTokenDuration

func (o *TokenIssueResponse) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*TokenIssueResponse) GetAccessTokenDurationOk

func (o *TokenIssueResponse) GetAccessTokenDurationOk() (*int64, bool)

GetAccessTokenDurationOk returns a tuple with the AccessTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetAccessTokenExpiresAt

func (o *TokenIssueResponse) GetAccessTokenExpiresAt() int64

GetAccessTokenExpiresAt returns the AccessTokenExpiresAt field value if set, zero value otherwise.

func (*TokenIssueResponse) GetAccessTokenExpiresAtOk

func (o *TokenIssueResponse) GetAccessTokenExpiresAtOk() (*int64, bool)

GetAccessTokenExpiresAtOk returns a tuple with the AccessTokenExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetAccessTokenOk

func (o *TokenIssueResponse) 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 (*TokenIssueResponse) GetAccessTokenResources

func (o *TokenIssueResponse) GetAccessTokenResources() []string

GetAccessTokenResources returns the AccessTokenResources field value if set, zero value otherwise.

func (*TokenIssueResponse) GetAccessTokenResourcesOk

func (o *TokenIssueResponse) GetAccessTokenResourcesOk() ([]string, bool)

GetAccessTokenResourcesOk returns a tuple with the AccessTokenResources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetAction

func (o *TokenIssueResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*TokenIssueResponse) GetActionOk

func (o *TokenIssueResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetAuthorizationDetails

func (o *TokenIssueResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenIssueResponse) GetAuthorizationDetailsOk

func (o *TokenIssueResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetClientAttributes

func (o *TokenIssueResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*TokenIssueResponse) GetClientAttributesOk

func (o *TokenIssueResponse) GetClientAttributesOk() ([]Pair, bool)

GetClientAttributesOk returns a tuple with the ClientAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetClientEntityId added in v1.2.0

func (o *TokenIssueResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*TokenIssueResponse) GetClientEntityIdOk added in v1.2.0

func (o *TokenIssueResponse) GetClientEntityIdOk() (*string, bool)

GetClientEntityIdOk returns a tuple with the ClientEntityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetClientEntityIdUsed added in v1.2.0

func (o *TokenIssueResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*TokenIssueResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *TokenIssueResponse) GetClientEntityIdUsedOk() (*bool, bool)

GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetClientId

func (o *TokenIssueResponse) GetClientId() int64

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*TokenIssueResponse) GetClientIdAlias

func (o *TokenIssueResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*TokenIssueResponse) GetClientIdAliasOk

func (o *TokenIssueResponse) GetClientIdAliasOk() (*string, bool)

GetClientIdAliasOk returns a tuple with the ClientIdAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetClientIdAliasUsed

func (o *TokenIssueResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*TokenIssueResponse) GetClientIdAliasUsedOk

func (o *TokenIssueResponse) GetClientIdAliasUsedOk() (*bool, bool)

GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetClientIdOk

func (o *TokenIssueResponse) GetClientIdOk() (*int64, 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 (*TokenIssueResponse) GetJwtAccessToken

func (o *TokenIssueResponse) GetJwtAccessToken() string

GetJwtAccessToken returns the JwtAccessToken field value if set, zero value otherwise.

func (*TokenIssueResponse) GetJwtAccessTokenOk

func (o *TokenIssueResponse) GetJwtAccessTokenOk() (*string, bool)

GetJwtAccessTokenOk returns a tuple with the JwtAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetProperties

func (o *TokenIssueResponse) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenIssueResponse) GetPropertiesOk

func (o *TokenIssueResponse) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetRefreshToken

func (o *TokenIssueResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*TokenIssueResponse) GetRefreshTokenDuration

func (o *TokenIssueResponse) GetRefreshTokenDuration() int64

GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.

func (*TokenIssueResponse) GetRefreshTokenDurationOk

func (o *TokenIssueResponse) GetRefreshTokenDurationOk() (*int64, bool)

GetRefreshTokenDurationOk returns a tuple with the RefreshTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetRefreshTokenExpiresAt

func (o *TokenIssueResponse) GetRefreshTokenExpiresAt() int64

GetRefreshTokenExpiresAt returns the RefreshTokenExpiresAt field value if set, zero value otherwise.

func (*TokenIssueResponse) GetRefreshTokenExpiresAtOk

func (o *TokenIssueResponse) GetRefreshTokenExpiresAtOk() (*int64, bool)

GetRefreshTokenExpiresAtOk returns a tuple with the RefreshTokenExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetRefreshTokenOk

func (o *TokenIssueResponse) 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 (*TokenIssueResponse) GetResponseContent

func (o *TokenIssueResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*TokenIssueResponse) GetResponseContentOk

func (o *TokenIssueResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetResultCode

func (o *TokenIssueResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*TokenIssueResponse) GetResultCodeOk

func (o *TokenIssueResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetResultMessage

func (o *TokenIssueResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*TokenIssueResponse) GetResultMessageOk

func (o *TokenIssueResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetScopes

func (o *TokenIssueResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenIssueResponse) GetScopesOk

func (o *TokenIssueResponse) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetServiceAttributes

func (o *TokenIssueResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*TokenIssueResponse) GetServiceAttributesOk

func (o *TokenIssueResponse) GetServiceAttributesOk() ([]Pair, bool)

GetServiceAttributesOk returns a tuple with the ServiceAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenIssueResponse) GetSubject

func (o *TokenIssueResponse) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenIssueResponse) GetSubjectOk

func (o *TokenIssueResponse) 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 (*TokenIssueResponse) GetUsername

func (o *TokenIssueResponse) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*TokenIssueResponse) GetUsernameOk

func (o *TokenIssueResponse) 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 (*TokenIssueResponse) HasAccessToken

func (o *TokenIssueResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenIssueResponse) HasAccessTokenDuration

func (o *TokenIssueResponse) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*TokenIssueResponse) HasAccessTokenExpiresAt

func (o *TokenIssueResponse) HasAccessTokenExpiresAt() bool

HasAccessTokenExpiresAt returns a boolean if a field has been set.

func (*TokenIssueResponse) HasAccessTokenResources

func (o *TokenIssueResponse) HasAccessTokenResources() bool

HasAccessTokenResources returns a boolean if a field has been set.

func (*TokenIssueResponse) HasAction

func (o *TokenIssueResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*TokenIssueResponse) HasAuthorizationDetails

func (o *TokenIssueResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenIssueResponse) HasClientAttributes

func (o *TokenIssueResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*TokenIssueResponse) HasClientEntityId added in v1.2.0

func (o *TokenIssueResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*TokenIssueResponse) HasClientEntityIdUsed added in v1.2.0

func (o *TokenIssueResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*TokenIssueResponse) HasClientId

func (o *TokenIssueResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*TokenIssueResponse) HasClientIdAlias

func (o *TokenIssueResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*TokenIssueResponse) HasClientIdAliasUsed

func (o *TokenIssueResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*TokenIssueResponse) HasJwtAccessToken

func (o *TokenIssueResponse) HasJwtAccessToken() bool

HasJwtAccessToken returns a boolean if a field has been set.

func (*TokenIssueResponse) HasProperties

func (o *TokenIssueResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenIssueResponse) HasRefreshToken

func (o *TokenIssueResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*TokenIssueResponse) HasRefreshTokenDuration

func (o *TokenIssueResponse) HasRefreshTokenDuration() bool

HasRefreshTokenDuration returns a boolean if a field has been set.

func (*TokenIssueResponse) HasRefreshTokenExpiresAt

func (o *TokenIssueResponse) HasRefreshTokenExpiresAt() bool

HasRefreshTokenExpiresAt returns a boolean if a field has been set.

func (*TokenIssueResponse) HasResponseContent

func (o *TokenIssueResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*TokenIssueResponse) HasResultCode

func (o *TokenIssueResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*TokenIssueResponse) HasResultMessage

func (o *TokenIssueResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*TokenIssueResponse) HasScopes

func (o *TokenIssueResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenIssueResponse) HasServiceAttributes

func (o *TokenIssueResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (*TokenIssueResponse) HasSubject

func (o *TokenIssueResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*TokenIssueResponse) HasUsername

func (o *TokenIssueResponse) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (TokenIssueResponse) MarshalJSON

func (o TokenIssueResponse) MarshalJSON() ([]byte, error)

func (*TokenIssueResponse) SetAccessToken

func (o *TokenIssueResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenIssueResponse) SetAccessTokenDuration

func (o *TokenIssueResponse) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*TokenIssueResponse) SetAccessTokenExpiresAt

func (o *TokenIssueResponse) SetAccessTokenExpiresAt(v int64)

SetAccessTokenExpiresAt gets a reference to the given int64 and assigns it to the AccessTokenExpiresAt field.

func (*TokenIssueResponse) SetAccessTokenResources

func (o *TokenIssueResponse) SetAccessTokenResources(v []string)

SetAccessTokenResources gets a reference to the given []string and assigns it to the AccessTokenResources field.

func (*TokenIssueResponse) SetAction

func (o *TokenIssueResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*TokenIssueResponse) SetAuthorizationDetails

func (o *TokenIssueResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*TokenIssueResponse) SetClientAttributes

func (o *TokenIssueResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*TokenIssueResponse) SetClientEntityId added in v1.2.0

func (o *TokenIssueResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*TokenIssueResponse) SetClientEntityIdUsed added in v1.2.0

func (o *TokenIssueResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*TokenIssueResponse) SetClientId

func (o *TokenIssueResponse) SetClientId(v int64)

SetClientId gets a reference to the given int64 and assigns it to the ClientId field.

func (*TokenIssueResponse) SetClientIdAlias

func (o *TokenIssueResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*TokenIssueResponse) SetClientIdAliasUsed

func (o *TokenIssueResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*TokenIssueResponse) SetJwtAccessToken

func (o *TokenIssueResponse) SetJwtAccessToken(v string)

SetJwtAccessToken gets a reference to the given string and assigns it to the JwtAccessToken field.

func (*TokenIssueResponse) SetProperties

func (o *TokenIssueResponse) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenIssueResponse) SetRefreshToken

func (o *TokenIssueResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*TokenIssueResponse) SetRefreshTokenDuration

func (o *TokenIssueResponse) SetRefreshTokenDuration(v int64)

SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.

func (*TokenIssueResponse) SetRefreshTokenExpiresAt

func (o *TokenIssueResponse) SetRefreshTokenExpiresAt(v int64)

SetRefreshTokenExpiresAt gets a reference to the given int64 and assigns it to the RefreshTokenExpiresAt field.

func (*TokenIssueResponse) SetResponseContent

func (o *TokenIssueResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*TokenIssueResponse) SetResultCode

func (o *TokenIssueResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*TokenIssueResponse) SetResultMessage

func (o *TokenIssueResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*TokenIssueResponse) SetScopes

func (o *TokenIssueResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*TokenIssueResponse) SetServiceAttributes

func (o *TokenIssueResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (*TokenIssueResponse) SetSubject

func (o *TokenIssueResponse) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*TokenIssueResponse) SetUsername

func (o *TokenIssueResponse) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (TokenIssueResponse) ToMap added in v1.1.1

func (o TokenIssueResponse) ToMap() (map[string]interface{}, error)

type TokenOperationsApi

type TokenOperationsApi interface {

	/*
		AuthTokenCreateApi /api/auth/token/create API

		Create an access token.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenCreateApiRequest
	*/
	AuthTokenCreateApi(ctx context.Context) ApiAuthTokenCreateApiRequest

	// AuthTokenCreateApiExecute executes the request
	//  @return TokenCreateResponse
	AuthTokenCreateApiExecute(r ApiAuthTokenCreateApiRequest) (*TokenCreateResponse, *http.Response, error)

	/*
		AuthTokenDeleteApi /api/auth/token/delete API

		Delete an access token.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param accessTokenIdentifier The identifier of an existing access token. The identifier is the value of the access token or the value of the hash of the access token.
		@return ApiAuthTokenDeleteApiRequest
	*/
	AuthTokenDeleteApi(ctx context.Context, accessTokenIdentifier string) ApiAuthTokenDeleteApiRequest

	// AuthTokenDeleteApiExecute executes the request
	AuthTokenDeleteApiExecute(r ApiAuthTokenDeleteApiRequest) (*http.Response, error)

	/*
		AuthTokenGetListApi /api/auth/token/get/list API

		Get a list of client applications that an end-user has authorized.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenGetListApiRequest
	*/
	AuthTokenGetListApi(ctx context.Context) ApiAuthTokenGetListApiRequest

	// AuthTokenGetListApiExecute executes the request
	//  @return TokenGetListResponse
	AuthTokenGetListApiExecute(r ApiAuthTokenGetListApiRequest) (*TokenGetListResponse, *http.Response, error)

	/*
		AuthTokenRevokeApi /api/auth/token/revoke API

		Revoke an access token.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenRevokeApiRequest
	*/
	AuthTokenRevokeApi(ctx context.Context) ApiAuthTokenRevokeApiRequest

	// AuthTokenRevokeApiExecute executes the request
	//  @return TokenRevokeResponse
	AuthTokenRevokeApiExecute(r ApiAuthTokenRevokeApiRequest) (*TokenRevokeResponse, *http.Response, error)

	/*
		AuthTokenUpdateApi /api/auth/token/update API

		Update an access token.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthTokenUpdateApiRequest
	*/
	AuthTokenUpdateApi(ctx context.Context) ApiAuthTokenUpdateApiRequest

	// AuthTokenUpdateApiExecute executes the request
	//  @return TokenUpdateResponse
	AuthTokenUpdateApiExecute(r ApiAuthTokenUpdateApiRequest) (*TokenUpdateResponse, *http.Response, error)
}

type TokenOperationsApiService

type TokenOperationsApiService service

TokenOperationsApiService TokenOperationsApi service

func (*TokenOperationsApiService) AuthTokenCreateApi

AuthTokenCreateApi /api/auth/token/create API

Create an access token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenCreateApiRequest

func (*TokenOperationsApiService) AuthTokenCreateApiExecute

Execute executes the request

@return TokenCreateResponse

func (*TokenOperationsApiService) AuthTokenDeleteApi

func (a *TokenOperationsApiService) AuthTokenDeleteApi(ctx context.Context, accessTokenIdentifier string) ApiAuthTokenDeleteApiRequest

AuthTokenDeleteApi /api/auth/token/delete API

Delete an access token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param accessTokenIdentifier The identifier of an existing access token. The identifier is the value of the access token or the value of the hash of the access token.
@return ApiAuthTokenDeleteApiRequest

func (*TokenOperationsApiService) AuthTokenDeleteApiExecute

func (a *TokenOperationsApiService) AuthTokenDeleteApiExecute(r ApiAuthTokenDeleteApiRequest) (*http.Response, error)

Execute executes the request

func (*TokenOperationsApiService) AuthTokenGetListApi

AuthTokenGetListApi /api/auth/token/get/list API

Get a list of client applications that an end-user has authorized.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenGetListApiRequest

func (*TokenOperationsApiService) AuthTokenGetListApiExecute

Execute executes the request

@return TokenGetListResponse

func (*TokenOperationsApiService) AuthTokenRevokeApi added in v1.1.1

AuthTokenRevokeApi /api/auth/token/revoke API

Revoke an access token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenRevokeApiRequest

func (*TokenOperationsApiService) AuthTokenRevokeApiExecute added in v1.1.1

Execute executes the request

@return TokenRevokeResponse

func (*TokenOperationsApiService) AuthTokenUpdateApi

AuthTokenUpdateApi /api/auth/token/update API

Update an access token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthTokenUpdateApiRequest

func (*TokenOperationsApiService) AuthTokenUpdateApiExecute

Execute executes the request

@return TokenUpdateResponse

type TokenRequest

type TokenRequest struct {
	// OAuth 2.0 token request parameters which are the request parameters that the OAuth 2.0 token endpoint of the authorization server implementation received from the client application.  The value of parameters is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
	Parameters string `json:"parameters"`
	// The client ID extracted from `Authorization` header of the token request from the client application.  If the token endpoint of the authorization server implementation supports basic authentication as a means of client authentication, and the request from the client application contained its client ID in `Authorization` header, the value should be extracted and set to this parameter.
	ClientId *string `json:"clientId,omitempty"`
	// The client secret extracted from `Authorization` header of the token request from the client application.  If the token endpoint of the authorization server implementation supports basic authentication as a means of client authentication, and the request from the client application contained its client secret in `Authorization` header, the value should be extracted and set to this parameter.
	ClientSecret *string `json:"clientSecret,omitempty"`
	// The client certificate from the MTLS of the token request from the client application.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// The certificate path presented by the client during client authentication. These certificates are strings in PEM format.
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty"`
	// Extra properties to associate with an access token. See [Extra Properties](https://www.authlete.com/developers/definitive_guide/extra_properties/) for details.
	Properties *string `json:"properties,omitempty"`
	// `DPoP` header presented by the client during the request to the token endpoint.  The header contains a signed JWT which includes the public key that is paired with the private key used to sign the JWT. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Dpop *string `json:"dpop,omitempty"`
	// HTTP method of the token request. This field is used to validate the `DPoP` header.  In normal cases, the value is `POST`. When this parameter is omitted, `POST` is used as the default value. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htm *string `json:"htm,omitempty"`
	// URL of the token endpoint. This field is used to validate the `DPoP` header.  If this parameter is omitted, the `tokenEndpoint` property of the Service is used as the default value. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htu *string `json:"htu,omitempty"`
	// The representation of an access token that may be issued as a result of the Authlete API call.
	AccessToken *string `json:"accessToken,omitempty"`
	// Additional claims that are added to the payload part of the JWT access token.
	JwtAtClaims *string `json:"jwtAtClaims,omitempty"`
}

TokenRequest struct for TokenRequest

func NewTokenRequest

func NewTokenRequest(parameters string) *TokenRequest

NewTokenRequest instantiates a new TokenRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenRequestWithDefaults

func NewTokenRequestWithDefaults() *TokenRequest

NewTokenRequestWithDefaults instantiates a new TokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenRequest) GetAccessToken added in v1.1.1

func (o *TokenRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenRequest) GetAccessTokenOk added in v1.1.1

func (o *TokenRequest) 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 (*TokenRequest) GetClientCertificate

func (o *TokenRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*TokenRequest) GetClientCertificateOk

func (o *TokenRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) GetClientCertificatePath

func (o *TokenRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field value if set, zero value otherwise.

func (*TokenRequest) GetClientCertificatePathOk

func (o *TokenRequest) GetClientCertificatePathOk() (*string, bool)

GetClientCertificatePathOk returns a tuple with the ClientCertificatePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) GetClientId

func (o *TokenRequest) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*TokenRequest) GetClientIdOk

func (o *TokenRequest) 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 (*TokenRequest) GetClientSecret

func (o *TokenRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*TokenRequest) GetClientSecretOk

func (o *TokenRequest) 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 (*TokenRequest) GetDpop

func (o *TokenRequest) GetDpop() string

GetDpop returns the Dpop field value if set, zero value otherwise.

func (*TokenRequest) GetDpopOk

func (o *TokenRequest) GetDpopOk() (*string, bool)

GetDpopOk returns a tuple with the Dpop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) GetHtm

func (o *TokenRequest) GetHtm() string

GetHtm returns the Htm field value if set, zero value otherwise.

func (*TokenRequest) GetHtmOk

func (o *TokenRequest) GetHtmOk() (*string, bool)

GetHtmOk returns a tuple with the Htm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) GetHtu

func (o *TokenRequest) GetHtu() string

GetHtu returns the Htu field value if set, zero value otherwise.

func (*TokenRequest) GetHtuOk

func (o *TokenRequest) GetHtuOk() (*string, bool)

GetHtuOk returns a tuple with the Htu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) GetJwtAtClaims added in v1.2.0

func (o *TokenRequest) GetJwtAtClaims() string

GetJwtAtClaims returns the JwtAtClaims field value if set, zero value otherwise.

func (*TokenRequest) GetJwtAtClaimsOk added in v1.2.0

func (o *TokenRequest) GetJwtAtClaimsOk() (*string, bool)

GetJwtAtClaimsOk returns a tuple with the JwtAtClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) GetParameters

func (o *TokenRequest) GetParameters() string

GetParameters returns the Parameters field value

func (*TokenRequest) GetParametersOk

func (o *TokenRequest) GetParametersOk() (*string, bool)

GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.

func (*TokenRequest) GetProperties

func (o *TokenRequest) GetProperties() string

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenRequest) GetPropertiesOk

func (o *TokenRequest) GetPropertiesOk() (*string, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) HasAccessToken added in v1.1.1

func (o *TokenRequest) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenRequest) HasClientCertificate

func (o *TokenRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*TokenRequest) HasClientCertificatePath

func (o *TokenRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

func (*TokenRequest) HasClientId

func (o *TokenRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*TokenRequest) HasClientSecret

func (o *TokenRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*TokenRequest) HasDpop

func (o *TokenRequest) HasDpop() bool

HasDpop returns a boolean if a field has been set.

func (*TokenRequest) HasHtm

func (o *TokenRequest) HasHtm() bool

HasHtm returns a boolean if a field has been set.

func (*TokenRequest) HasHtu

func (o *TokenRequest) HasHtu() bool

HasHtu returns a boolean if a field has been set.

func (*TokenRequest) HasJwtAtClaims added in v1.2.0

func (o *TokenRequest) HasJwtAtClaims() bool

HasJwtAtClaims returns a boolean if a field has been set.

func (*TokenRequest) HasProperties

func (o *TokenRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (TokenRequest) MarshalJSON

func (o TokenRequest) MarshalJSON() ([]byte, error)

func (*TokenRequest) SetAccessToken added in v1.1.1

func (o *TokenRequest) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenRequest) SetClientCertificate

func (o *TokenRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*TokenRequest) SetClientCertificatePath

func (o *TokenRequest) SetClientCertificatePath(v string)

SetClientCertificatePath gets a reference to the given string and assigns it to the ClientCertificatePath field.

func (*TokenRequest) SetClientId

func (o *TokenRequest) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*TokenRequest) SetClientSecret

func (o *TokenRequest) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*TokenRequest) SetDpop

func (o *TokenRequest) SetDpop(v string)

SetDpop gets a reference to the given string and assigns it to the Dpop field.

func (*TokenRequest) SetHtm

func (o *TokenRequest) SetHtm(v string)

SetHtm gets a reference to the given string and assigns it to the Htm field.

func (*TokenRequest) SetHtu

func (o *TokenRequest) SetHtu(v string)

SetHtu gets a reference to the given string and assigns it to the Htu field.

func (*TokenRequest) SetJwtAtClaims added in v1.2.0

func (o *TokenRequest) SetJwtAtClaims(v string)

SetJwtAtClaims gets a reference to the given string and assigns it to the JwtAtClaims field.

func (*TokenRequest) SetParameters

func (o *TokenRequest) SetParameters(v string)

SetParameters sets field value

func (*TokenRequest) SetProperties

func (o *TokenRequest) SetProperties(v string)

SetProperties gets a reference to the given string and assigns it to the Properties field.

func (TokenRequest) ToMap added in v1.1.1

func (o TokenRequest) ToMap() (map[string]interface{}, error)

type TokenResponse

type TokenResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The value of `username` request parameter in the token request. The client application must specify username when it uses [Resource Owner Password Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.3). In other words, when the value of `grant_type` request parameter is `password`, `username` request parameter must come along.  This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
	Username *string `json:"username,omitempty"`
	// The value of `password` request parameter in the token request. The client application must specify password when it uses [Resource Owner Password Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.3). In other words, when the value of `grant_type` request parameter is `password`, `password` request parameter must come along.  This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
	Password *string `json:"password,omitempty"`
	// The ticket which is necessary to call Authlete's `/auth/token/fail` API or `/auth/token/issue` API.  This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
	Ticket *string `json:"ticket,omitempty"`
	// The newly issued access token.
	AccessToken *string `json:"accessToken,omitempty"`
	// The datetime at which the newly issued access token will expire. The value is represented in milliseconds since the Unix epoch (1970-01-01).
	AccessTokenExpiresAt *int64 `json:"accessTokenExpiresAt,omitempty"`
	// The duration of the newly issued access token in seconds.
	AccessTokenDuration *int64 `json:"accessTokenDuration,omitempty"`
	// The newly issued refresh token.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// The datetime at which the newly issued refresh token will expire. The value is represented in milliseconds since the Unix epoch (1970-01-01).
	RefreshTokenExpiresAt *int64 `json:"refreshTokenExpiresAt,omitempty"`
	// The duration of the newly issued refresh token in seconds.
	RefreshTokenDuration *int64 `json:"refreshTokenDuration,omitempty"`
	// The newly issued ID token. Note that an ID token is issued from a token endpoint only when the `response_type` request parameter of the authorization request to an authorization endpoint has contained `code` and the `scope` request parameter has contained `openid`.
	IdToken *string `json:"idToken,omitempty"`
	// The grant type of the token request.
	GrantType *string `json:"grantType,omitempty"`
	// The client ID.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias when the token request was made. If the client did not have an alias, this parameter is `null`. Also, if the token request was invalid and it failed to identify a client, this parameter is `null`.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// The flag which indicates whether the client ID alias was used when the token request was made. `true` if the client ID alias was used when the token request was made.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The subject (= resource owner's ID) of the access token. Even if an access token has been issued by the call of `/api/auth/token` API, this parameter is `null` if the flow of the token request was [Client Credentials Flow](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4) (`grant_type=client_credentials`) because it means the access token is not associated with any specific end-user.
	Subject *string `json:"subject,omitempty"`
	// The scopes covered by the access token.
	Scopes []string `json:"scopes,omitempty"`
	// The extra properties associated with the access token. This parameter is `null` when no extra property is associated with the issued access token.
	Properties []Property `json:"properties,omitempty"`
	// The newly issued access token in JWT format. If the authorization server is configured to issue JWT-based access tokens (= if the service's `accessTokenSignAlg` value is a non-null value), a JWT-based access token is issued along with the original random-string one.
	JwtAccessToken *string `json:"jwtAccessToken,omitempty"`
	// The resources specified by the `resource` request parameters in the token request. See \"Resource Indicators for OAuth 2.0\" for details.
	Resources []string `json:"resources,omitempty"`
	// The target resources of the access token being issued. See \"Resource Indicators for OAuth 2.0\" for details.
	AccessTokenResources []string              `json:"accessTokenResources,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// The client authentication method that was performed at the token endpoint.
	ClientAuthMethod *string `json:"clientAuthMethod,omitempty"`
	// the value of the `grant_id` request parameter of the device authorization request.  The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
	GrantId *string `json:"grantId,omitempty"`
	// The audiences on the token exchange request
	Audiences          []string   `json:"audiences,omitempty"`
	RequestedTokenType *TokenType `json:"requestedTokenType,omitempty"`
	SubjectToken       *string    `json:"subjectToken,omitempty"`
	SubjectTokenType   *TokenType `json:"subjectTokenType,omitempty"`
	SubjectTokenInfo   *TokenInfo `json:"subjectTokenInfo,omitempty"`
	ActorToken         *string    `json:"actorToken,omitempty"`
	ActorTokenType     *TokenType `json:"actorTokenType,omitempty"`
	ActorTokenInfo     *TokenInfo `json:"actorTokenInfo,omitempty"`
	// For RFC 7523 JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants
	Assertion *string `json:"assertion,omitempty"`
	// Indicate whether the previous refresh token that had been kept in the database for a short time was used
	PreviousRefreshTokenUsed *bool `json:"previousRefreshTokenUsed,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

TokenResponse struct for TokenResponse

func NewTokenResponse

func NewTokenResponse() *TokenResponse

NewTokenResponse instantiates a new TokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenResponseWithDefaults

func NewTokenResponseWithDefaults() *TokenResponse

NewTokenResponseWithDefaults instantiates a new TokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenResponse) GetAccessToken

func (o *TokenResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenResponse) GetAccessTokenDuration

func (o *TokenResponse) GetAccessTokenDuration() int64

GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.

func (*TokenResponse) GetAccessTokenDurationOk

func (o *TokenResponse) GetAccessTokenDurationOk() (*int64, bool)

GetAccessTokenDurationOk returns a tuple with the AccessTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetAccessTokenExpiresAt

func (o *TokenResponse) GetAccessTokenExpiresAt() int64

GetAccessTokenExpiresAt returns the AccessTokenExpiresAt field value if set, zero value otherwise.

func (*TokenResponse) GetAccessTokenExpiresAtOk

func (o *TokenResponse) GetAccessTokenExpiresAtOk() (*int64, bool)

GetAccessTokenExpiresAtOk returns a tuple with the AccessTokenExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetAccessTokenOk

func (o *TokenResponse) 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 (*TokenResponse) GetAccessTokenResources

func (o *TokenResponse) GetAccessTokenResources() []string

GetAccessTokenResources returns the AccessTokenResources field value if set, zero value otherwise.

func (*TokenResponse) GetAccessTokenResourcesOk

func (o *TokenResponse) GetAccessTokenResourcesOk() ([]string, bool)

GetAccessTokenResourcesOk returns a tuple with the AccessTokenResources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetAction

func (o *TokenResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*TokenResponse) GetActionOk

func (o *TokenResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetActorToken added in v1.1.1

func (o *TokenResponse) GetActorToken() string

GetActorToken returns the ActorToken field value if set, zero value otherwise.

func (*TokenResponse) GetActorTokenInfo added in v1.1.1

func (o *TokenResponse) GetActorTokenInfo() TokenInfo

GetActorTokenInfo returns the ActorTokenInfo field value if set, zero value otherwise.

func (*TokenResponse) GetActorTokenInfoOk added in v1.1.1

func (o *TokenResponse) GetActorTokenInfoOk() (*TokenInfo, bool)

GetActorTokenInfoOk returns a tuple with the ActorTokenInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetActorTokenOk added in v1.1.1

func (o *TokenResponse) GetActorTokenOk() (*string, bool)

GetActorTokenOk returns a tuple with the ActorToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetActorTokenType added in v1.1.1

func (o *TokenResponse) GetActorTokenType() TokenType

GetActorTokenType returns the ActorTokenType field value if set, zero value otherwise.

func (*TokenResponse) GetActorTokenTypeOk added in v1.1.1

func (o *TokenResponse) GetActorTokenTypeOk() (*TokenType, bool)

GetActorTokenTypeOk returns a tuple with the ActorTokenType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetAssertion added in v1.1.1

func (o *TokenResponse) GetAssertion() string

GetAssertion returns the Assertion field value if set, zero value otherwise.

func (*TokenResponse) GetAssertionOk added in v1.1.1

func (o *TokenResponse) GetAssertionOk() (*string, bool)

GetAssertionOk returns a tuple with the Assertion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetAudiences added in v1.1.1

func (o *TokenResponse) GetAudiences() []string

GetAudiences returns the Audiences field value if set, zero value otherwise.

func (*TokenResponse) GetAudiencesOk added in v1.1.1

func (o *TokenResponse) GetAudiencesOk() ([]string, bool)

GetAudiencesOk returns a tuple with the Audiences field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetAuthorizationDetails

func (o *TokenResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenResponse) GetAuthorizationDetailsOk

func (o *TokenResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientAttributes

func (o *TokenResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*TokenResponse) GetClientAttributesOk

func (o *TokenResponse) GetClientAttributesOk() ([]Pair, bool)

GetClientAttributesOk returns a tuple with the ClientAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientAuthMethod added in v1.0.0

func (o *TokenResponse) GetClientAuthMethod() string

GetClientAuthMethod returns the ClientAuthMethod field value if set, zero value otherwise.

func (*TokenResponse) GetClientAuthMethodOk added in v1.0.0

func (o *TokenResponse) GetClientAuthMethodOk() (*string, bool)

GetClientAuthMethodOk returns a tuple with the ClientAuthMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientEntityId added in v1.2.0

func (o *TokenResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*TokenResponse) GetClientEntityIdOk added in v1.2.0

func (o *TokenResponse) GetClientEntityIdOk() (*string, bool)

GetClientEntityIdOk returns a tuple with the ClientEntityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientEntityIdUsed added in v1.2.0

func (o *TokenResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*TokenResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *TokenResponse) GetClientEntityIdUsedOk() (*bool, bool)

GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientId

func (o *TokenResponse) GetClientId() int64

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*TokenResponse) GetClientIdAlias

func (o *TokenResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*TokenResponse) GetClientIdAliasOk

func (o *TokenResponse) GetClientIdAliasOk() (*string, bool)

GetClientIdAliasOk returns a tuple with the ClientIdAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientIdAliasUsed

func (o *TokenResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*TokenResponse) GetClientIdAliasUsedOk

func (o *TokenResponse) GetClientIdAliasUsedOk() (*bool, bool)

GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetClientIdOk

func (o *TokenResponse) GetClientIdOk() (*int64, 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 (*TokenResponse) GetGrantId added in v1.1.1

func (o *TokenResponse) GetGrantId() string

GetGrantId returns the GrantId field value if set, zero value otherwise.

func (*TokenResponse) GetGrantIdOk added in v1.1.1

func (o *TokenResponse) GetGrantIdOk() (*string, bool)

GetGrantIdOk returns a tuple with the GrantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetGrantType

func (o *TokenResponse) GetGrantType() string

GetGrantType returns the GrantType field value if set, zero value otherwise.

func (*TokenResponse) GetGrantTypeOk

func (o *TokenResponse) GetGrantTypeOk() (*string, bool)

GetGrantTypeOk returns a tuple with the GrantType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetIdToken

func (o *TokenResponse) GetIdToken() string

GetIdToken returns the IdToken field value if set, zero value otherwise.

func (*TokenResponse) GetIdTokenOk

func (o *TokenResponse) 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 (*TokenResponse) GetJwtAccessToken

func (o *TokenResponse) GetJwtAccessToken() string

GetJwtAccessToken returns the JwtAccessToken field value if set, zero value otherwise.

func (*TokenResponse) GetJwtAccessTokenOk

func (o *TokenResponse) GetJwtAccessTokenOk() (*string, bool)

GetJwtAccessTokenOk returns a tuple with the JwtAccessToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetPassword

func (o *TokenResponse) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*TokenResponse) GetPasswordOk

func (o *TokenResponse) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetPreviousRefreshTokenUsed added in v1.2.0

func (o *TokenResponse) GetPreviousRefreshTokenUsed() bool

GetPreviousRefreshTokenUsed returns the PreviousRefreshTokenUsed field value if set, zero value otherwise.

func (*TokenResponse) GetPreviousRefreshTokenUsedOk added in v1.2.0

func (o *TokenResponse) GetPreviousRefreshTokenUsedOk() (*bool, bool)

GetPreviousRefreshTokenUsedOk returns a tuple with the PreviousRefreshTokenUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetProperties

func (o *TokenResponse) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenResponse) GetPropertiesOk

func (o *TokenResponse) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetRefreshToken

func (o *TokenResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*TokenResponse) GetRefreshTokenDuration

func (o *TokenResponse) GetRefreshTokenDuration() int64

GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.

func (*TokenResponse) GetRefreshTokenDurationOk

func (o *TokenResponse) GetRefreshTokenDurationOk() (*int64, bool)

GetRefreshTokenDurationOk returns a tuple with the RefreshTokenDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetRefreshTokenExpiresAt

func (o *TokenResponse) GetRefreshTokenExpiresAt() int64

GetRefreshTokenExpiresAt returns the RefreshTokenExpiresAt field value if set, zero value otherwise.

func (*TokenResponse) GetRefreshTokenExpiresAtOk

func (o *TokenResponse) GetRefreshTokenExpiresAtOk() (*int64, bool)

GetRefreshTokenExpiresAtOk returns a tuple with the RefreshTokenExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetRefreshTokenOk

func (o *TokenResponse) 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 (*TokenResponse) GetRequestedTokenType added in v1.1.1

func (o *TokenResponse) GetRequestedTokenType() TokenType

GetRequestedTokenType returns the RequestedTokenType field value if set, zero value otherwise.

func (*TokenResponse) GetRequestedTokenTypeOk added in v1.1.1

func (o *TokenResponse) GetRequestedTokenTypeOk() (*TokenType, bool)

GetRequestedTokenTypeOk returns a tuple with the RequestedTokenType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetResources

func (o *TokenResponse) GetResources() []string

GetResources returns the Resources field value if set, zero value otherwise.

func (*TokenResponse) GetResourcesOk

func (o *TokenResponse) GetResourcesOk() ([]string, bool)

GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetResponseContent

func (o *TokenResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*TokenResponse) GetResponseContentOk

func (o *TokenResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetResultCode

func (o *TokenResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*TokenResponse) GetResultCodeOk

func (o *TokenResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetResultMessage

func (o *TokenResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*TokenResponse) GetResultMessageOk

func (o *TokenResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetScopes

func (o *TokenResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenResponse) GetScopesOk

func (o *TokenResponse) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetServiceAttributes

func (o *TokenResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*TokenResponse) GetServiceAttributesOk

func (o *TokenResponse) GetServiceAttributesOk() ([]Pair, bool)

GetServiceAttributesOk returns a tuple with the ServiceAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetSubject

func (o *TokenResponse) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenResponse) GetSubjectOk

func (o *TokenResponse) 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 (*TokenResponse) GetSubjectToken added in v1.1.1

func (o *TokenResponse) GetSubjectToken() string

GetSubjectToken returns the SubjectToken field value if set, zero value otherwise.

func (*TokenResponse) GetSubjectTokenInfo added in v1.1.1

func (o *TokenResponse) GetSubjectTokenInfo() TokenInfo

GetSubjectTokenInfo returns the SubjectTokenInfo field value if set, zero value otherwise.

func (*TokenResponse) GetSubjectTokenInfoOk added in v1.1.1

func (o *TokenResponse) GetSubjectTokenInfoOk() (*TokenInfo, bool)

GetSubjectTokenInfoOk returns a tuple with the SubjectTokenInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetSubjectTokenOk added in v1.1.1

func (o *TokenResponse) GetSubjectTokenOk() (*string, bool)

GetSubjectTokenOk returns a tuple with the SubjectToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetSubjectTokenType added in v1.1.1

func (o *TokenResponse) GetSubjectTokenType() TokenType

GetSubjectTokenType returns the SubjectTokenType field value if set, zero value otherwise.

func (*TokenResponse) GetSubjectTokenTypeOk added in v1.1.1

func (o *TokenResponse) GetSubjectTokenTypeOk() (*TokenType, bool)

GetSubjectTokenTypeOk returns a tuple with the SubjectTokenType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetTicket

func (o *TokenResponse) GetTicket() string

GetTicket returns the Ticket field value if set, zero value otherwise.

func (*TokenResponse) GetTicketOk

func (o *TokenResponse) GetTicketOk() (*string, bool)

GetTicketOk returns a tuple with the Ticket field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenResponse) GetUsername

func (o *TokenResponse) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*TokenResponse) GetUsernameOk

func (o *TokenResponse) 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 (*TokenResponse) HasAccessToken

func (o *TokenResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenResponse) HasAccessTokenDuration

func (o *TokenResponse) HasAccessTokenDuration() bool

HasAccessTokenDuration returns a boolean if a field has been set.

func (*TokenResponse) HasAccessTokenExpiresAt

func (o *TokenResponse) HasAccessTokenExpiresAt() bool

HasAccessTokenExpiresAt returns a boolean if a field has been set.

func (*TokenResponse) HasAccessTokenResources

func (o *TokenResponse) HasAccessTokenResources() bool

HasAccessTokenResources returns a boolean if a field has been set.

func (*TokenResponse) HasAction

func (o *TokenResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*TokenResponse) HasActorToken added in v1.1.1

func (o *TokenResponse) HasActorToken() bool

HasActorToken returns a boolean if a field has been set.

func (*TokenResponse) HasActorTokenInfo added in v1.1.1

func (o *TokenResponse) HasActorTokenInfo() bool

HasActorTokenInfo returns a boolean if a field has been set.

func (*TokenResponse) HasActorTokenType added in v1.1.1

func (o *TokenResponse) HasActorTokenType() bool

HasActorTokenType returns a boolean if a field has been set.

func (*TokenResponse) HasAssertion added in v1.1.1

func (o *TokenResponse) HasAssertion() bool

HasAssertion returns a boolean if a field has been set.

func (*TokenResponse) HasAudiences added in v1.1.1

func (o *TokenResponse) HasAudiences() bool

HasAudiences returns a boolean if a field has been set.

func (*TokenResponse) HasAuthorizationDetails

func (o *TokenResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenResponse) HasClientAttributes

func (o *TokenResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*TokenResponse) HasClientAuthMethod added in v1.0.0

func (o *TokenResponse) HasClientAuthMethod() bool

HasClientAuthMethod returns a boolean if a field has been set.

func (*TokenResponse) HasClientEntityId added in v1.2.0

func (o *TokenResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*TokenResponse) HasClientEntityIdUsed added in v1.2.0

func (o *TokenResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*TokenResponse) HasClientId

func (o *TokenResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*TokenResponse) HasClientIdAlias

func (o *TokenResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*TokenResponse) HasClientIdAliasUsed

func (o *TokenResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*TokenResponse) HasGrantId added in v1.1.1

func (o *TokenResponse) HasGrantId() bool

HasGrantId returns a boolean if a field has been set.

func (*TokenResponse) HasGrantType

func (o *TokenResponse) HasGrantType() bool

HasGrantType returns a boolean if a field has been set.

func (*TokenResponse) HasIdToken

func (o *TokenResponse) HasIdToken() bool

HasIdToken returns a boolean if a field has been set.

func (*TokenResponse) HasJwtAccessToken

func (o *TokenResponse) HasJwtAccessToken() bool

HasJwtAccessToken returns a boolean if a field has been set.

func (*TokenResponse) HasPassword

func (o *TokenResponse) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*TokenResponse) HasPreviousRefreshTokenUsed added in v1.2.0

func (o *TokenResponse) HasPreviousRefreshTokenUsed() bool

HasPreviousRefreshTokenUsed returns a boolean if a field has been set.

func (*TokenResponse) HasProperties

func (o *TokenResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenResponse) HasRefreshToken

func (o *TokenResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*TokenResponse) HasRefreshTokenDuration

func (o *TokenResponse) HasRefreshTokenDuration() bool

HasRefreshTokenDuration returns a boolean if a field has been set.

func (*TokenResponse) HasRefreshTokenExpiresAt

func (o *TokenResponse) HasRefreshTokenExpiresAt() bool

HasRefreshTokenExpiresAt returns a boolean if a field has been set.

func (*TokenResponse) HasRequestedTokenType added in v1.1.1

func (o *TokenResponse) HasRequestedTokenType() bool

HasRequestedTokenType returns a boolean if a field has been set.

func (*TokenResponse) HasResources

func (o *TokenResponse) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*TokenResponse) HasResponseContent

func (o *TokenResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*TokenResponse) HasResultCode

func (o *TokenResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*TokenResponse) HasResultMessage

func (o *TokenResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*TokenResponse) HasScopes

func (o *TokenResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenResponse) HasServiceAttributes

func (o *TokenResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (*TokenResponse) HasSubject

func (o *TokenResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*TokenResponse) HasSubjectToken added in v1.1.1

func (o *TokenResponse) HasSubjectToken() bool

HasSubjectToken returns a boolean if a field has been set.

func (*TokenResponse) HasSubjectTokenInfo added in v1.1.1

func (o *TokenResponse) HasSubjectTokenInfo() bool

HasSubjectTokenInfo returns a boolean if a field has been set.

func (*TokenResponse) HasSubjectTokenType added in v1.1.1

func (o *TokenResponse) HasSubjectTokenType() bool

HasSubjectTokenType returns a boolean if a field has been set.

func (*TokenResponse) HasTicket

func (o *TokenResponse) HasTicket() bool

HasTicket returns a boolean if a field has been set.

func (*TokenResponse) HasUsername

func (o *TokenResponse) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (TokenResponse) MarshalJSON

func (o TokenResponse) MarshalJSON() ([]byte, error)

func (*TokenResponse) SetAccessToken

func (o *TokenResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenResponse) SetAccessTokenDuration

func (o *TokenResponse) SetAccessTokenDuration(v int64)

SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.

func (*TokenResponse) SetAccessTokenExpiresAt

func (o *TokenResponse) SetAccessTokenExpiresAt(v int64)

SetAccessTokenExpiresAt gets a reference to the given int64 and assigns it to the AccessTokenExpiresAt field.

func (*TokenResponse) SetAccessTokenResources

func (o *TokenResponse) SetAccessTokenResources(v []string)

SetAccessTokenResources gets a reference to the given []string and assigns it to the AccessTokenResources field.

func (*TokenResponse) SetAction

func (o *TokenResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*TokenResponse) SetActorToken added in v1.1.1

func (o *TokenResponse) SetActorToken(v string)

SetActorToken gets a reference to the given string and assigns it to the ActorToken field.

func (*TokenResponse) SetActorTokenInfo added in v1.1.1

func (o *TokenResponse) SetActorTokenInfo(v TokenInfo)

SetActorTokenInfo gets a reference to the given TokenInfo and assigns it to the ActorTokenInfo field.

func (*TokenResponse) SetActorTokenType added in v1.1.1

func (o *TokenResponse) SetActorTokenType(v TokenType)

SetActorTokenType gets a reference to the given TokenType and assigns it to the ActorTokenType field.

func (*TokenResponse) SetAssertion added in v1.1.1

func (o *TokenResponse) SetAssertion(v string)

SetAssertion gets a reference to the given string and assigns it to the Assertion field.

func (*TokenResponse) SetAudiences added in v1.1.1

func (o *TokenResponse) SetAudiences(v []string)

SetAudiences gets a reference to the given []string and assigns it to the Audiences field.

func (*TokenResponse) SetAuthorizationDetails

func (o *TokenResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*TokenResponse) SetClientAttributes

func (o *TokenResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*TokenResponse) SetClientAuthMethod added in v1.0.0

func (o *TokenResponse) SetClientAuthMethod(v string)

SetClientAuthMethod gets a reference to the given string and assigns it to the ClientAuthMethod field.

func (*TokenResponse) SetClientEntityId added in v1.2.0

func (o *TokenResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*TokenResponse) SetClientEntityIdUsed added in v1.2.0

func (o *TokenResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*TokenResponse) SetClientId

func (o *TokenResponse) SetClientId(v int64)

SetClientId gets a reference to the given int64 and assigns it to the ClientId field.

func (*TokenResponse) SetClientIdAlias

func (o *TokenResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*TokenResponse) SetClientIdAliasUsed

func (o *TokenResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*TokenResponse) SetGrantId added in v1.1.1

func (o *TokenResponse) SetGrantId(v string)

SetGrantId gets a reference to the given string and assigns it to the GrantId field.

func (*TokenResponse) SetGrantType

func (o *TokenResponse) SetGrantType(v string)

SetGrantType gets a reference to the given string and assigns it to the GrantType field.

func (*TokenResponse) SetIdToken

func (o *TokenResponse) SetIdToken(v string)

SetIdToken gets a reference to the given string and assigns it to the IdToken field.

func (*TokenResponse) SetJwtAccessToken

func (o *TokenResponse) SetJwtAccessToken(v string)

SetJwtAccessToken gets a reference to the given string and assigns it to the JwtAccessToken field.

func (*TokenResponse) SetPassword

func (o *TokenResponse) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*TokenResponse) SetPreviousRefreshTokenUsed added in v1.2.0

func (o *TokenResponse) SetPreviousRefreshTokenUsed(v bool)

SetPreviousRefreshTokenUsed gets a reference to the given bool and assigns it to the PreviousRefreshTokenUsed field.

func (*TokenResponse) SetProperties

func (o *TokenResponse) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenResponse) SetRefreshToken

func (o *TokenResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*TokenResponse) SetRefreshTokenDuration

func (o *TokenResponse) SetRefreshTokenDuration(v int64)

SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.

func (*TokenResponse) SetRefreshTokenExpiresAt

func (o *TokenResponse) SetRefreshTokenExpiresAt(v int64)

SetRefreshTokenExpiresAt gets a reference to the given int64 and assigns it to the RefreshTokenExpiresAt field.

func (*TokenResponse) SetRequestedTokenType added in v1.1.1

func (o *TokenResponse) SetRequestedTokenType(v TokenType)

SetRequestedTokenType gets a reference to the given TokenType and assigns it to the RequestedTokenType field.

func (*TokenResponse) SetResources

func (o *TokenResponse) SetResources(v []string)

SetResources gets a reference to the given []string and assigns it to the Resources field.

func (*TokenResponse) SetResponseContent

func (o *TokenResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*TokenResponse) SetResultCode

func (o *TokenResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*TokenResponse) SetResultMessage

func (o *TokenResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*TokenResponse) SetScopes

func (o *TokenResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*TokenResponse) SetServiceAttributes

func (o *TokenResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (*TokenResponse) SetSubject

func (o *TokenResponse) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*TokenResponse) SetSubjectToken added in v1.1.1

func (o *TokenResponse) SetSubjectToken(v string)

SetSubjectToken gets a reference to the given string and assigns it to the SubjectToken field.

func (*TokenResponse) SetSubjectTokenInfo added in v1.1.1

func (o *TokenResponse) SetSubjectTokenInfo(v TokenInfo)

SetSubjectTokenInfo gets a reference to the given TokenInfo and assigns it to the SubjectTokenInfo field.

func (*TokenResponse) SetSubjectTokenType added in v1.1.1

func (o *TokenResponse) SetSubjectTokenType(v TokenType)

SetSubjectTokenType gets a reference to the given TokenType and assigns it to the SubjectTokenType field.

func (*TokenResponse) SetTicket

func (o *TokenResponse) SetTicket(v string)

SetTicket gets a reference to the given string and assigns it to the Ticket field.

func (*TokenResponse) SetUsername

func (o *TokenResponse) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (TokenResponse) ToMap added in v1.1.1

func (o TokenResponse) ToMap() (map[string]interface{}, error)

type TokenRevokeRequest added in v1.1.1

type TokenRevokeRequest struct {
	// The identifier of an access token to revoke  The hash of an access token is recognized as an identifier as well as the access token itself.
	AccessTokenIdentifier string `json:"accessTokenIdentifier"`
	// The identifier of a refresh token to revoke.  The hash of a refresh token is recognized as an identifier as well as the refresh token itself.
	RefreshTokenIdentifier *string `json:"refreshTokenIdentifier,omitempty"`
	// The client ID of the access token to be revoked.  Both the numeric client ID and the alias are recognized as an identifier of a client.
	ClientIdentifier *string `json:"clientIdentifier,omitempty"`
	// The subject of a resource owner.
	Subject *string `json:"subject,omitempty"`
}

TokenRevokeRequest struct for TokenRevokeRequest

func NewTokenRevokeRequest added in v1.1.1

func NewTokenRevokeRequest(accessTokenIdentifier string) *TokenRevokeRequest

NewTokenRevokeRequest instantiates a new TokenRevokeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenRevokeRequestWithDefaults added in v1.1.1

func NewTokenRevokeRequestWithDefaults() *TokenRevokeRequest

NewTokenRevokeRequestWithDefaults instantiates a new TokenRevokeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenRevokeRequest) GetAccessTokenIdentifier added in v1.1.1

func (o *TokenRevokeRequest) GetAccessTokenIdentifier() string

GetAccessTokenIdentifier returns the AccessTokenIdentifier field value

func (*TokenRevokeRequest) GetAccessTokenIdentifierOk added in v1.1.1

func (o *TokenRevokeRequest) GetAccessTokenIdentifierOk() (*string, bool)

GetAccessTokenIdentifierOk returns a tuple with the AccessTokenIdentifier field value and a boolean to check if the value has been set.

func (*TokenRevokeRequest) GetClientIdentifier added in v1.1.1

func (o *TokenRevokeRequest) GetClientIdentifier() string

GetClientIdentifier returns the ClientIdentifier field value if set, zero value otherwise.

func (*TokenRevokeRequest) GetClientIdentifierOk added in v1.1.1

func (o *TokenRevokeRequest) GetClientIdentifierOk() (*string, bool)

GetClientIdentifierOk returns a tuple with the ClientIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRevokeRequest) GetRefreshTokenIdentifier added in v1.1.1

func (o *TokenRevokeRequest) GetRefreshTokenIdentifier() string

GetRefreshTokenIdentifier returns the RefreshTokenIdentifier field value if set, zero value otherwise.

func (*TokenRevokeRequest) GetRefreshTokenIdentifierOk added in v1.1.1

func (o *TokenRevokeRequest) GetRefreshTokenIdentifierOk() (*string, bool)

GetRefreshTokenIdentifierOk returns a tuple with the RefreshTokenIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRevokeRequest) GetSubject added in v1.1.1

func (o *TokenRevokeRequest) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*TokenRevokeRequest) GetSubjectOk added in v1.1.1

func (o *TokenRevokeRequest) 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 (*TokenRevokeRequest) HasClientIdentifier added in v1.1.1

func (o *TokenRevokeRequest) HasClientIdentifier() bool

HasClientIdentifier returns a boolean if a field has been set.

func (*TokenRevokeRequest) HasRefreshTokenIdentifier added in v1.1.1

func (o *TokenRevokeRequest) HasRefreshTokenIdentifier() bool

HasRefreshTokenIdentifier returns a boolean if a field has been set.

func (*TokenRevokeRequest) HasSubject added in v1.1.1

func (o *TokenRevokeRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (TokenRevokeRequest) MarshalJSON added in v1.1.1

func (o TokenRevokeRequest) MarshalJSON() ([]byte, error)

func (*TokenRevokeRequest) SetAccessTokenIdentifier added in v1.1.1

func (o *TokenRevokeRequest) SetAccessTokenIdentifier(v string)

SetAccessTokenIdentifier sets field value

func (*TokenRevokeRequest) SetClientIdentifier added in v1.1.1

func (o *TokenRevokeRequest) SetClientIdentifier(v string)

SetClientIdentifier gets a reference to the given string and assigns it to the ClientIdentifier field.

func (*TokenRevokeRequest) SetRefreshTokenIdentifier added in v1.1.1

func (o *TokenRevokeRequest) SetRefreshTokenIdentifier(v string)

SetRefreshTokenIdentifier gets a reference to the given string and assigns it to the RefreshTokenIdentifier field.

func (*TokenRevokeRequest) SetSubject added in v1.1.1

func (o *TokenRevokeRequest) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (TokenRevokeRequest) ToMap added in v1.1.1

func (o TokenRevokeRequest) ToMap() (map[string]interface{}, error)

type TokenRevokeResponse added in v1.1.1

type TokenRevokeResponse struct {
	// The number of tokens revoked
	Count *int32 `json:"count,omitempty"`
}

TokenRevokeResponse struct for TokenRevokeResponse

func NewTokenRevokeResponse added in v1.1.1

func NewTokenRevokeResponse() *TokenRevokeResponse

NewTokenRevokeResponse instantiates a new TokenRevokeResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenRevokeResponseWithDefaults added in v1.1.1

func NewTokenRevokeResponseWithDefaults() *TokenRevokeResponse

NewTokenRevokeResponseWithDefaults instantiates a new TokenRevokeResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenRevokeResponse) GetCount added in v1.1.1

func (o *TokenRevokeResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*TokenRevokeResponse) GetCountOk added in v1.1.1

func (o *TokenRevokeResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRevokeResponse) HasCount added in v1.1.1

func (o *TokenRevokeResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (TokenRevokeResponse) MarshalJSON added in v1.1.1

func (o TokenRevokeResponse) MarshalJSON() ([]byte, error)

func (*TokenRevokeResponse) SetCount added in v1.1.1

func (o *TokenRevokeResponse) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (TokenRevokeResponse) ToMap added in v1.1.1

func (o TokenRevokeResponse) ToMap() (map[string]interface{}, error)

type TokenType added in v1.1.1

type TokenType string

TokenType The grant type of the access token when the access token was created.

const (
	TOKENTYPE_URNIETFPARAMSOAUTHTOKEN_TYPEJWT           TokenType = "urn:ietf:params:oauth:token-type:jwt"
	TOKENTYPE_URNIETFPARAMSOAUTHTOKEN_TYPEACCESS_TOKEN  TokenType = "urn:ietf:params:oauth:token-type:access_token"
	TOKENTYPE_URNIETFPARAMSOAUTHTOKEN_TYPEREFRESH_TOKEN TokenType = "urn:ietf:params:oauth:token-type:refresh_token"
	TOKENTYPE_URNIETFPARAMSOAUTHTOKEN_TYPEID_TOKEN      TokenType = "urn:ietf:params:oauth:token-type:id_token"
	TOKENTYPE_URNIETFPARAMSOAUTHTOKEN_TYPESAML1         TokenType = "urn:ietf:params:oauth:token-type:saml1"
	TOKENTYPE_URNIETFPARAMSOAUTHTOKEN_TYPESAML2         TokenType = "urn:ietf:params:oauth:token-type:saml2"
	TOKENTYPE_DEVICE_CODE                               TokenType = "DEVICE_CODE"
	TOKENTYPE_TOKEN_EXCHANGE                            TokenType = "TOKEN_EXCHANGE"
	TOKENTYPE_JWT_BEARER                                TokenType = "JWT_BEARER"
)

List of token_type

func NewTokenTypeFromValue added in v1.1.1

func NewTokenTypeFromValue(v string) (*TokenType, error)

NewTokenTypeFromValue returns a pointer to a valid TokenType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TokenType) IsValid added in v1.1.1

func (v TokenType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TokenType) Ptr added in v1.1.1

func (v TokenType) Ptr() *TokenType

Ptr returns reference to token_type value

func (*TokenType) UnmarshalJSON added in v1.1.1

func (v *TokenType) UnmarshalJSON(src []byte) error

type TokenUpdateRequest

type TokenUpdateRequest struct {
	// An access token.
	AccessToken string `json:"accessToken"`
	// A new date at which the access token will expire in milliseconds since the Unix epoch (1970-01-01). If the `accessTokenExpiresAt` request parameter is not included in a request or its value is 0 (or negative), the expiration date of the access token is not changed.
	AccessTokenExpiresAt *int64 `json:"accessTokenExpiresAt,omitempty"`
	// A new set of scopes assigned to the access token. Scopes that are not supported by the service and those that the client application associated with the access token is not allowed to request are ignored on the server side. If the `scopes` request parameter is not included in a request or its value is `null`, the scopes of the access token are not changed. Note that `properties` parameter is accepted only when `Content-Type` of the request is `application/json`, so don't use `application/x-www-form-urlencoded` if you want to specify `properties`.
	Scopes []string `json:"scopes,omitempty"`
	// A new set of properties assigned to the access token. If the `properties` request parameter is not included in a request or its value is null, the properties of the access token are not changed.
	Properties []Property `json:"properties,omitempty"`
	// A boolean request parameter which indicates whether the API attempts to update the expiration date of the access token when the scopes linked to the access token are changed by this request.
	AccessTokenExpiresAtUpdatedOnScopeUpdate *bool `json:"accessTokenExpiresAtUpdatedOnScopeUpdate,omitempty"`
	// The hash of the access token value. Used when the hash of the token is known (perhaps from lookup) but the value of the token itself is not. The value of the `accessToken` parameter takes precedence.
	AccessTokenHash *string `json:"accessTokenHash,omitempty"`
	// A boolean request parameter which indicates whether to update the value of the access token in the data store. If this parameter is set to `true` then a new access token value is generated by the server and returned in the response.
	AccessTokenValueUpdated *bool `json:"accessTokenValueUpdated,omitempty"`
	// The flag which indicates whether the access token expires or not. By default, all access tokens expire after a period of time determined by their service. If this request parameter is `true` then the access token will not automatically expire and must be revoked or deleted manually at the service.  If this request parameter is `true`, the `accessTokenExpiresAt` request parameter is ignored. If this request parameter is `false`, the `accessTokenExpiresAt` request parameter is processed normally.
	AccessTokenPersistent *bool `json:"accessTokenPersistent,omitempty"`
	// The thumbprint of the MTLS certificate bound to this token. If this property is set, a certificate with the corresponding value MUST be presented with the access token when it is used by a client. The value of this property must be a SHA256 certificate thumbprint, base64url encoded.
	CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
	// The thumbprint of the public key used for DPoP presentation of this token. If this property is set, a DPoP proof signed with the corresponding private key MUST be presented with the access token when it is used by a client. Additionally, the token's `token_type` will be set to 'DPoP'.
	DpopKeyThumbprint    *string               `json:"dpopKeyThumbprint,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// the flag which indicates whether the access token is for an external attachment.
	ForExternalAttachment *bool `json:"forExternalAttachment,omitempty"`
}

TokenUpdateRequest struct for TokenUpdateRequest

func NewTokenUpdateRequest

func NewTokenUpdateRequest(accessToken string) *TokenUpdateRequest

NewTokenUpdateRequest instantiates a new TokenUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenUpdateRequestWithDefaults

func NewTokenUpdateRequestWithDefaults() *TokenUpdateRequest

NewTokenUpdateRequestWithDefaults instantiates a new TokenUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenUpdateRequest) GetAccessToken

func (o *TokenUpdateRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field value

func (*TokenUpdateRequest) GetAccessTokenExpiresAt

func (o *TokenUpdateRequest) GetAccessTokenExpiresAt() int64

GetAccessTokenExpiresAt returns the AccessTokenExpiresAt field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetAccessTokenExpiresAtOk

func (o *TokenUpdateRequest) GetAccessTokenExpiresAtOk() (*int64, bool)

GetAccessTokenExpiresAtOk returns a tuple with the AccessTokenExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetAccessTokenExpiresAtUpdatedOnScopeUpdate

func (o *TokenUpdateRequest) GetAccessTokenExpiresAtUpdatedOnScopeUpdate() bool

GetAccessTokenExpiresAtUpdatedOnScopeUpdate returns the AccessTokenExpiresAtUpdatedOnScopeUpdate field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetAccessTokenExpiresAtUpdatedOnScopeUpdateOk

func (o *TokenUpdateRequest) GetAccessTokenExpiresAtUpdatedOnScopeUpdateOk() (*bool, bool)

GetAccessTokenExpiresAtUpdatedOnScopeUpdateOk returns a tuple with the AccessTokenExpiresAtUpdatedOnScopeUpdate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetAccessTokenHash

func (o *TokenUpdateRequest) GetAccessTokenHash() string

GetAccessTokenHash returns the AccessTokenHash field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetAccessTokenHashOk

func (o *TokenUpdateRequest) GetAccessTokenHashOk() (*string, bool)

GetAccessTokenHashOk returns a tuple with the AccessTokenHash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetAccessTokenOk

func (o *TokenUpdateRequest) GetAccessTokenOk() (*string, bool)

GetAccessTokenOk returns a tuple with the AccessToken field value and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetAccessTokenPersistent

func (o *TokenUpdateRequest) GetAccessTokenPersistent() bool

GetAccessTokenPersistent returns the AccessTokenPersistent field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetAccessTokenPersistentOk

func (o *TokenUpdateRequest) GetAccessTokenPersistentOk() (*bool, bool)

GetAccessTokenPersistentOk returns a tuple with the AccessTokenPersistent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetAccessTokenValueUpdated

func (o *TokenUpdateRequest) GetAccessTokenValueUpdated() bool

GetAccessTokenValueUpdated returns the AccessTokenValueUpdated field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetAccessTokenValueUpdatedOk

func (o *TokenUpdateRequest) GetAccessTokenValueUpdatedOk() (*bool, bool)

GetAccessTokenValueUpdatedOk returns a tuple with the AccessTokenValueUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetAuthorizationDetails

func (o *TokenUpdateRequest) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetAuthorizationDetailsOk

func (o *TokenUpdateRequest) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetCertificateThumbprint

func (o *TokenUpdateRequest) GetCertificateThumbprint() string

GetCertificateThumbprint returns the CertificateThumbprint field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetCertificateThumbprintOk

func (o *TokenUpdateRequest) GetCertificateThumbprintOk() (*string, bool)

GetCertificateThumbprintOk returns a tuple with the CertificateThumbprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetDpopKeyThumbprint

func (o *TokenUpdateRequest) GetDpopKeyThumbprint() string

GetDpopKeyThumbprint returns the DpopKeyThumbprint field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetDpopKeyThumbprintOk

func (o *TokenUpdateRequest) GetDpopKeyThumbprintOk() (*string, bool)

GetDpopKeyThumbprintOk returns a tuple with the DpopKeyThumbprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetForExternalAttachment added in v1.1.1

func (o *TokenUpdateRequest) GetForExternalAttachment() bool

GetForExternalAttachment returns the ForExternalAttachment field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetForExternalAttachmentOk added in v1.1.1

func (o *TokenUpdateRequest) GetForExternalAttachmentOk() (*bool, bool)

GetForExternalAttachmentOk returns a tuple with the ForExternalAttachment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetProperties

func (o *TokenUpdateRequest) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetPropertiesOk

func (o *TokenUpdateRequest) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) GetScopes

func (o *TokenUpdateRequest) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenUpdateRequest) GetScopesOk

func (o *TokenUpdateRequest) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateRequest) HasAccessTokenExpiresAt

func (o *TokenUpdateRequest) HasAccessTokenExpiresAt() bool

HasAccessTokenExpiresAt returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasAccessTokenExpiresAtUpdatedOnScopeUpdate

func (o *TokenUpdateRequest) HasAccessTokenExpiresAtUpdatedOnScopeUpdate() bool

HasAccessTokenExpiresAtUpdatedOnScopeUpdate returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasAccessTokenHash

func (o *TokenUpdateRequest) HasAccessTokenHash() bool

HasAccessTokenHash returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasAccessTokenPersistent

func (o *TokenUpdateRequest) HasAccessTokenPersistent() bool

HasAccessTokenPersistent returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasAccessTokenValueUpdated

func (o *TokenUpdateRequest) HasAccessTokenValueUpdated() bool

HasAccessTokenValueUpdated returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasAuthorizationDetails

func (o *TokenUpdateRequest) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasCertificateThumbprint

func (o *TokenUpdateRequest) HasCertificateThumbprint() bool

HasCertificateThumbprint returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasDpopKeyThumbprint

func (o *TokenUpdateRequest) HasDpopKeyThumbprint() bool

HasDpopKeyThumbprint returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasForExternalAttachment added in v1.1.1

func (o *TokenUpdateRequest) HasForExternalAttachment() bool

HasForExternalAttachment returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasProperties

func (o *TokenUpdateRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenUpdateRequest) HasScopes

func (o *TokenUpdateRequest) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (TokenUpdateRequest) MarshalJSON

func (o TokenUpdateRequest) MarshalJSON() ([]byte, error)

func (*TokenUpdateRequest) SetAccessToken

func (o *TokenUpdateRequest) SetAccessToken(v string)

SetAccessToken sets field value

func (*TokenUpdateRequest) SetAccessTokenExpiresAt

func (o *TokenUpdateRequest) SetAccessTokenExpiresAt(v int64)

SetAccessTokenExpiresAt gets a reference to the given int64 and assigns it to the AccessTokenExpiresAt field.

func (*TokenUpdateRequest) SetAccessTokenExpiresAtUpdatedOnScopeUpdate

func (o *TokenUpdateRequest) SetAccessTokenExpiresAtUpdatedOnScopeUpdate(v bool)

SetAccessTokenExpiresAtUpdatedOnScopeUpdate gets a reference to the given bool and assigns it to the AccessTokenExpiresAtUpdatedOnScopeUpdate field.

func (*TokenUpdateRequest) SetAccessTokenHash

func (o *TokenUpdateRequest) SetAccessTokenHash(v string)

SetAccessTokenHash gets a reference to the given string and assigns it to the AccessTokenHash field.

func (*TokenUpdateRequest) SetAccessTokenPersistent

func (o *TokenUpdateRequest) SetAccessTokenPersistent(v bool)

SetAccessTokenPersistent gets a reference to the given bool and assigns it to the AccessTokenPersistent field.

func (*TokenUpdateRequest) SetAccessTokenValueUpdated

func (o *TokenUpdateRequest) SetAccessTokenValueUpdated(v bool)

SetAccessTokenValueUpdated gets a reference to the given bool and assigns it to the AccessTokenValueUpdated field.

func (*TokenUpdateRequest) SetAuthorizationDetails

func (o *TokenUpdateRequest) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*TokenUpdateRequest) SetCertificateThumbprint

func (o *TokenUpdateRequest) SetCertificateThumbprint(v string)

SetCertificateThumbprint gets a reference to the given string and assigns it to the CertificateThumbprint field.

func (*TokenUpdateRequest) SetDpopKeyThumbprint

func (o *TokenUpdateRequest) SetDpopKeyThumbprint(v string)

SetDpopKeyThumbprint gets a reference to the given string and assigns it to the DpopKeyThumbprint field.

func (*TokenUpdateRequest) SetForExternalAttachment added in v1.1.1

func (o *TokenUpdateRequest) SetForExternalAttachment(v bool)

SetForExternalAttachment gets a reference to the given bool and assigns it to the ForExternalAttachment field.

func (*TokenUpdateRequest) SetProperties

func (o *TokenUpdateRequest) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenUpdateRequest) SetScopes

func (o *TokenUpdateRequest) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (TokenUpdateRequest) ToMap added in v1.1.1

func (o TokenUpdateRequest) ToMap() (map[string]interface{}, error)

type TokenUpdateResponse

type TokenUpdateResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The access token which has been specified by the request.
	AccessToken *string `json:"accessToken,omitempty"`
	// The date at which the access token will expire.
	AccessTokenExpiresAt *int64 `json:"accessTokenExpiresAt,omitempty"`
	// The extra properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
	// The scopes associated with the access token.
	Scopes               []string              `json:"scopes,omitempty"`
	AuthorizationDetails *AuthorizationDetails `json:"authorizationDetails,omitempty"`
	// The token type associated with the access token.
	TokenType *string `json:"tokenType,omitempty"`
	// the flag which indicates whether the access token is for an external attachment.
	ForExternalAttachment *bool `json:"forExternalAttachment,omitempty"`
	// Set the unique token identifier.
	TokenId *string `json:"tokenId,omitempty"`
}

TokenUpdateResponse struct for TokenUpdateResponse

func NewTokenUpdateResponse

func NewTokenUpdateResponse() *TokenUpdateResponse

NewTokenUpdateResponse instantiates a new TokenUpdateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenUpdateResponseWithDefaults

func NewTokenUpdateResponseWithDefaults() *TokenUpdateResponse

NewTokenUpdateResponseWithDefaults instantiates a new TokenUpdateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenUpdateResponse) GetAccessToken

func (o *TokenUpdateResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetAccessTokenExpiresAt

func (o *TokenUpdateResponse) GetAccessTokenExpiresAt() int64

GetAccessTokenExpiresAt returns the AccessTokenExpiresAt field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetAccessTokenExpiresAtOk

func (o *TokenUpdateResponse) GetAccessTokenExpiresAtOk() (*int64, bool)

GetAccessTokenExpiresAtOk returns a tuple with the AccessTokenExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetAccessTokenOk

func (o *TokenUpdateResponse) 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 (*TokenUpdateResponse) GetAction

func (o *TokenUpdateResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetActionOk

func (o *TokenUpdateResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetAuthorizationDetails

func (o *TokenUpdateResponse) GetAuthorizationDetails() AuthorizationDetails

GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetAuthorizationDetailsOk

func (o *TokenUpdateResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)

GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetForExternalAttachment added in v1.1.1

func (o *TokenUpdateResponse) GetForExternalAttachment() bool

GetForExternalAttachment returns the ForExternalAttachment field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetForExternalAttachmentOk added in v1.1.1

func (o *TokenUpdateResponse) GetForExternalAttachmentOk() (*bool, bool)

GetForExternalAttachmentOk returns a tuple with the ForExternalAttachment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetProperties

func (o *TokenUpdateResponse) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetPropertiesOk

func (o *TokenUpdateResponse) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetResultCode

func (o *TokenUpdateResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetResultCodeOk

func (o *TokenUpdateResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetResultMessage

func (o *TokenUpdateResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetResultMessageOk

func (o *TokenUpdateResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetScopes

func (o *TokenUpdateResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetScopesOk

func (o *TokenUpdateResponse) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetTokenId added in v1.1.1

func (o *TokenUpdateResponse) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetTokenIdOk added in v1.1.1

func (o *TokenUpdateResponse) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenUpdateResponse) GetTokenType

func (o *TokenUpdateResponse) GetTokenType() string

GetTokenType returns the TokenType field value if set, zero value otherwise.

func (*TokenUpdateResponse) GetTokenTypeOk

func (o *TokenUpdateResponse) 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 (*TokenUpdateResponse) HasAccessToken

func (o *TokenUpdateResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasAccessTokenExpiresAt

func (o *TokenUpdateResponse) HasAccessTokenExpiresAt() bool

HasAccessTokenExpiresAt returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasAction

func (o *TokenUpdateResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasAuthorizationDetails

func (o *TokenUpdateResponse) HasAuthorizationDetails() bool

HasAuthorizationDetails returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasForExternalAttachment added in v1.1.1

func (o *TokenUpdateResponse) HasForExternalAttachment() bool

HasForExternalAttachment returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasProperties

func (o *TokenUpdateResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasResultCode

func (o *TokenUpdateResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasResultMessage

func (o *TokenUpdateResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasScopes

func (o *TokenUpdateResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasTokenId added in v1.1.1

func (o *TokenUpdateResponse) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (*TokenUpdateResponse) HasTokenType

func (o *TokenUpdateResponse) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

func (TokenUpdateResponse) MarshalJSON

func (o TokenUpdateResponse) MarshalJSON() ([]byte, error)

func (*TokenUpdateResponse) SetAccessToken

func (o *TokenUpdateResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenUpdateResponse) SetAccessTokenExpiresAt

func (o *TokenUpdateResponse) SetAccessTokenExpiresAt(v int64)

SetAccessTokenExpiresAt gets a reference to the given int64 and assigns it to the AccessTokenExpiresAt field.

func (*TokenUpdateResponse) SetAction

func (o *TokenUpdateResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*TokenUpdateResponse) SetAuthorizationDetails

func (o *TokenUpdateResponse) SetAuthorizationDetails(v AuthorizationDetails)

SetAuthorizationDetails gets a reference to the given AuthorizationDetails and assigns it to the AuthorizationDetails field.

func (*TokenUpdateResponse) SetForExternalAttachment added in v1.1.1

func (o *TokenUpdateResponse) SetForExternalAttachment(v bool)

SetForExternalAttachment gets a reference to the given bool and assigns it to the ForExternalAttachment field.

func (*TokenUpdateResponse) SetProperties

func (o *TokenUpdateResponse) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*TokenUpdateResponse) SetResultCode

func (o *TokenUpdateResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*TokenUpdateResponse) SetResultMessage

func (o *TokenUpdateResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*TokenUpdateResponse) SetScopes

func (o *TokenUpdateResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*TokenUpdateResponse) SetTokenId added in v1.1.1

func (o *TokenUpdateResponse) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (*TokenUpdateResponse) SetTokenType

func (o *TokenUpdateResponse) SetTokenType(v string)

SetTokenType gets a reference to the given string and assigns it to the TokenType field.

func (TokenUpdateResponse) ToMap added in v1.1.1

func (o TokenUpdateResponse) ToMap() (map[string]interface{}, error)

type TrustAnchor added in v1.1.1

type TrustAnchor struct {
	// the entity ID of the trust anchor
	EntityId *string `json:"entityId,omitempty"`
	// the JWK Set document containing public keys of the trust anchor
	Jwks *string `json:"jwks,omitempty"`
}

TrustAnchor struct for TrustAnchor

func NewTrustAnchor added in v1.1.1

func NewTrustAnchor() *TrustAnchor

NewTrustAnchor instantiates a new TrustAnchor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrustAnchorWithDefaults added in v1.1.1

func NewTrustAnchorWithDefaults() *TrustAnchor

NewTrustAnchorWithDefaults instantiates a new TrustAnchor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TrustAnchor) GetEntityId added in v1.1.1

func (o *TrustAnchor) GetEntityId() string

GetEntityId returns the EntityId field value if set, zero value otherwise.

func (*TrustAnchor) GetEntityIdOk added in v1.1.1

func (o *TrustAnchor) GetEntityIdOk() (*string, bool)

GetEntityIdOk returns a tuple with the EntityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrustAnchor) GetJwks added in v1.1.1

func (o *TrustAnchor) GetJwks() string

GetJwks returns the Jwks field value if set, zero value otherwise.

func (*TrustAnchor) GetJwksOk added in v1.1.1

func (o *TrustAnchor) GetJwksOk() (*string, bool)

GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TrustAnchor) HasEntityId added in v1.1.1

func (o *TrustAnchor) HasEntityId() bool

HasEntityId returns a boolean if a field has been set.

func (*TrustAnchor) HasJwks added in v1.1.1

func (o *TrustAnchor) HasJwks() bool

HasJwks returns a boolean if a field has been set.

func (TrustAnchor) MarshalJSON added in v1.1.1

func (o TrustAnchor) MarshalJSON() ([]byte, error)

func (*TrustAnchor) SetEntityId added in v1.1.1

func (o *TrustAnchor) SetEntityId(v string)

SetEntityId gets a reference to the given string and assigns it to the EntityId field.

func (*TrustAnchor) SetJwks added in v1.1.1

func (o *TrustAnchor) SetJwks(v string)

SetJwks gets a reference to the given string and assigns it to the Jwks field.

func (TrustAnchor) ToMap added in v1.1.1

func (o TrustAnchor) ToMap() (map[string]interface{}, error)

type UserCodeCharset

type UserCodeCharset string

UserCodeCharset The character set for end-user verification codes (`user_code`) for Device Flow.

const (
	USERCODECHARSET_BASE20  UserCodeCharset = "BASE20"
	USERCODECHARSET_NUMERIC UserCodeCharset = "NUMERIC"
)

List of user_code_charset

func NewUserCodeCharsetFromValue

func NewUserCodeCharsetFromValue(v string) (*UserCodeCharset, error)

NewUserCodeCharsetFromValue returns a pointer to a valid UserCodeCharset for the value passed as argument, or an error if the value passed is not allowed by the enum

func (UserCodeCharset) IsValid

func (v UserCodeCharset) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (UserCodeCharset) Ptr

Ptr returns reference to user_code_charset value

func (*UserCodeCharset) UnmarshalJSON

func (v *UserCodeCharset) UnmarshalJSON(src []byte) error

type UserInfoEndpointApi

type UserInfoEndpointApi interface {

	/*
		AuthUserinfoApi /api/auth/userinfo API

		This API gathers information about a user.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the [userinfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo)
	of the authorization server in order to get information about the user that is associated with
	an access token.

	The response from `/auth/userinfo` API has various parameters. Among them, it is `action` parameter
	that the authorization server implementation should check first because it denotes the next action
	that the authorization server implementation should take. According to the value of `action`, the
	service implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete. In either case, from the
	viewpoint of the client application, it is an error on the server side. Therefore, the service
	implementation should generate a response to the client application with HTTP status of "500 Internal
	Server Error".

	The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750)
	(OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent`
	as the value of`WWW-Authenticate` header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 500 Internal Server Error
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	does not contain an access token (= the request from the authorization server implementation to
	Authlete does not contain `token` parameter).

	The value of `responseContent` is a string which describes the error in the format
	of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the
	userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate`
	header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 400 Bad Request
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that the access token does not exist, has
	expired, or is not associated with any subject (= any user account).

	The value of `responseContent` is a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo
	endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate`
	header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**FORBIDDEN**

	When the value of `action` is `FORBIDDEN`, it means that the access token does not include the
	`openid` scope.

	The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750)
	(OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent`
	as the value of`WWW-Authenticate` header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 403 Forbidden
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**OK**

	When the value of `action` is `OK`, it means that the access token which the client application
	presented is valid. To be concrete, it means that the access token exists, has not expired, includes
	the openid scope, and is associated with a subject (= a user account).

	What the userinfo endpoint implementation should do next is to collect information about the subject
	(user) from your database. The value of the `subject` is contained in the subject parameter in the
	response from this API and the names of data, i.e., the claims names are contained in the claims
	parameter in the response. For example, if the `subject` parameter is `joe123` and the claims
	parameter is `[ "given_name", "email" ]`, you need to extract information about joe123's given name
	and email from your database.

	Then, call Authlete's `/auth/userinfo/issue` API with the collected information and the access token
	in order to make Authlete generate an ID token.

	If an error occurred during the above steps, generate an error response to the client. The response
	should comply with [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750). For example, if the
	subject associated with the access token does not exist in your database any longer, you may feel
	like generating a response like below.

	“`
	HTTP/1.1 400 Bad Request
	WWW-Authenticate: Bearer error="invalid_token",
	 error_description="The subject associated with the access token does not exist."
	Cache-Control: no-store
	Pragma: no-cache
	“`

	Also, an error might occur on database access. If you treat the error as an internal server error,
	then the response would be like the following.

	“`
	HTTP/1.1 500 Internal Server Error
	WWW-Authenticate: Bearer error="server_error",
	 error_description="Failed to extract information about the subject from the database."
	Cache-Control: no-store
	Pragma: no-cache
	“`
	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthUserinfoApiRequest
	*/
	AuthUserinfoApi(ctx context.Context) ApiAuthUserinfoApiRequest

	// AuthUserinfoApiExecute executes the request
	//  @return UserinfoResponse
	AuthUserinfoApiExecute(r ApiAuthUserinfoApiRequest) (*UserinfoResponse, *http.Response, error)

	/*
		AuthUserinfoIssueApi /api/auth/userinfo/issue API

		This API generates an ID token.

	<br>
	<details>
	<summary>Description</summary>

	This API is supposed to be called from within the implementation of the [userinfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo)
	of the authorization server in order to generate an ID token. Before calling this API, a valid
	response from `/auth/userinfo` API must be obtained. Then, call this API with the access token
	contained in the response and the claims values of the user (subject) associated with the access
	token. See **OK** written in the description of `/auth/userinfo` API for details.

	The response from `/auth/userinfo/issue` API has various parameters. Among them, it is `action`
	parameter that the authorization server implementation should check first because it denotes the
	next action that the authorization server implementation should take. According to the value of
	`action`, the service implementation must take the steps described below.

	**INTERNAL_SERVER_ERROR**

	When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization
	server implementation was wrong or that an error occurred in Authlete. In either case, from the
	viewpoint of the client application, it is an error on the server side. Therefore, the service
	implementation should generate a response to the client application with HTTP status of "500 Internal
	Server Error".

	The parameter `responseContent` returns a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo
	endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate`
	header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 500 Internal Server Error
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**BAD_REQUEST**

	When the value of `action` is `BAD_REQUEST`, it means that the request from the client application
	does not contain an access token (= the request from the authorization server implementation to
	Authlete does not contain `token` parameter).

	The parameter `responseContent` returns a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo
	endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate`
	header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 400 Bad Request
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**UNAUTHORIZED**

	When the value of `action` is `UNAUTHORIZED`, it means that the access token does not exist, has
	expired, or is not associated with any subject (= any user account).

	The parameter `responseContent` returns a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo
	endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate`
	header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 401 Unauthorized
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**FORBIDDEN**

	When the value of `action` is `FORBIDDEN`, it means that the access token does not include the
	`openid` scope.

	The parameter `responseContent` returns a string which describes the error in the format of [RFC
	6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo
	endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate`
	header.

	The following is an example response which complies with RFC 6750. Note that OpenID Connect Core
	1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo
	Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

	“`
	HTTP/1.1 403 Forbidden
	WWW-Authenticate: {responseContent}
	Cache-Control: no-store
	Pragma: no-cache
	“`

	**JSON**

	When the value of `action` is `JSON`, it means that the access token which the client application
	presented is valid and an ID token was successfully generated in the format of JSON.

	The userinfo endpoint implementation is expected to generate a response to the client application.
	The content type of the response must be `application/json` and the response body must be an ID
	token in JSON format.

	The value of `responseContent` is the ID token in JSON format when `action` is `JSON`, so
	a response to the client can be built like below.

	“`
	HTTP/1.1 200 OK
	Cache-Control: no-store
	Pragma: no-cache
	Content-Type: application/json;charset=UTF-8

	{responseContent}
	“`

	**JWT**

	When the value of `action` is `JWT`, it means that the access token which the client application
	presented is valid and an ID token was successfully generated in the format of JWT (JSON Web Token)
	([RFC 7519](https://datatracker.ietf.org/doc/html/rfc7519)).

	The userinfo endpoint implementation is expected to generate a response to the client application.
	The content type of the response must be `application/jwt` and the response body must be an ID
	token in JWT format.

	The value of `responseContent` is the ID token in JSON format when `action` is `JWT`, so a response
	to the client can be built like below.

	“`
	HTTP/1.1 200 OK
	Cache-Control: no-store
	Pragma: no-cache
	Content-Type: application/jwt

	{responseContent}
	“`

	</details>


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiAuthUserinfoIssueApiRequest
	*/
	AuthUserinfoIssueApi(ctx context.Context) ApiAuthUserinfoIssueApiRequest

	// AuthUserinfoIssueApiExecute executes the request
	//  @return UserinfoIssueResponse
	AuthUserinfoIssueApiExecute(r ApiAuthUserinfoIssueApiRequest) (*UserinfoIssueResponse, *http.Response, error)
}

type UserInfoEndpointApiService

type UserInfoEndpointApiService service

UserInfoEndpointApiService UserInfoEndpointApi service

func (*UserInfoEndpointApiService) AuthUserinfoApi

AuthUserinfoApi /api/auth/userinfo API

This API gathers information about a user.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the [userinfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) of the authorization server in order to get information about the user that is associated with an access token.

The response from `/auth/userinfo` API has various parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the service implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 500 Internal Server Error WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application does not contain an access token (= the request from the authorization server implementation to Authlete does not contain `token` parameter).

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 400 Bad Request WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that the access token does not exist, has expired, or is not associated with any subject (= any user account).

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**FORBIDDEN**

When the value of `action` is `FORBIDDEN`, it means that the access token does not include the `openid` scope.

The value of `responseContent` is a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 403 Forbidden WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**OK**

When the value of `action` is `OK`, it means that the access token which the client application presented is valid. To be concrete, it means that the access token exists, has not expired, includes the openid scope, and is associated with a subject (= a user account).

What the userinfo endpoint implementation should do next is to collect information about the subject (user) from your database. The value of the `subject` is contained in the subject parameter in the response from this API and the names of data, i.e., the claims names are contained in the claims parameter in the response. For example, if the `subject` parameter is `joe123` and the claims parameter is `[ "given_name", "email" ]`, you need to extract information about joe123's given name and email from your database.

Then, call Authlete's `/auth/userinfo/issue` API with the collected information and the access token in order to make Authlete generate an ID token.

If an error occurred during the above steps, generate an error response to the client. The response should comply with [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750). For example, if the subject associated with the access token does not exist in your database any longer, you may feel like generating a response like below.

``` HTTP/1.1 400 Bad Request WWW-Authenticate: Bearer error="invalid_token",

error_description="The subject associated with the access token does not exist."

Cache-Control: no-store Pragma: no-cache ```

Also, an error might occur on database access. If you treat the error as an internal server error, then the response would be like the following.

``` HTTP/1.1 500 Internal Server Error WWW-Authenticate: Bearer error="server_error",

error_description="Failed to extract information about the subject from the database."

Cache-Control: no-store Pragma: no-cache ``` </details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthUserinfoApiRequest

func (*UserInfoEndpointApiService) AuthUserinfoApiExecute

Execute executes the request

@return UserinfoResponse

func (*UserInfoEndpointApiService) AuthUserinfoIssueApi

AuthUserinfoIssueApi /api/auth/userinfo/issue API

This API generates an ID token.

<br> <details> <summary>Description</summary>

This API is supposed to be called from within the implementation of the [userinfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) of the authorization server in order to generate an ID token. Before calling this API, a valid response from `/auth/userinfo` API must be obtained. Then, call this API with the access token contained in the response and the claims values of the user (subject) associated with the access token. See **OK** written in the description of `/auth/userinfo` API for details.

The response from `/auth/userinfo/issue` API has various parameters. Among them, it is `action` parameter that the authorization server implementation should check first because it denotes the next action that the authorization server implementation should take. According to the value of `action`, the service implementation must take the steps described below.

**INTERNAL_SERVER_ERROR**

When the value of `action` is `INTERNAL_SERVER_ERROR`, it means that the request from the authorization server implementation was wrong or that an error occurred in Authlete. In either case, from the viewpoint of the client application, it is an error on the server side. Therefore, the service implementation should generate a response to the client application with HTTP status of "500 Internal Server Error".

The parameter `responseContent` returns a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 500 Internal Server Error WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**BAD_REQUEST**

When the value of `action` is `BAD_REQUEST`, it means that the request from the client application does not contain an access token (= the request from the authorization server implementation to Authlete does not contain `token` parameter).

The parameter `responseContent` returns a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 400 Bad Request WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**UNAUTHORIZED**

When the value of `action` is `UNAUTHORIZED`, it means that the access token does not exist, has expired, or is not associated with any subject (= any user account).

The parameter `responseContent` returns a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 401 Unauthorized WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**FORBIDDEN**

When the value of `action` is `FORBIDDEN`, it means that the access token does not include the `openid` scope.

The parameter `responseContent` returns a string which describes the error in the format of [RFC 6750](https://datatracker.ietf.org/doc/html/rfc6750) (OAuth 2.0 Bearer Token Usage) so the userinfo endpoint implementation can use the value of `responseContent` as the value of`WWW-Authenticate` header.

The following is an example response which complies with RFC 6750. Note that OpenID Connect Core 1.0 requires that an error response from userinfo endpoint comply with RFC 6750. See [5.3.3. UserInfo Response](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoError) for details.

``` HTTP/1.1 403 Forbidden WWW-Authenticate: {responseContent} Cache-Control: no-store Pragma: no-cache ```

**JSON**

When the value of `action` is `JSON`, it means that the access token which the client application presented is valid and an ID token was successfully generated in the format of JSON.

The userinfo endpoint implementation is expected to generate a response to the client application. The content type of the response must be `application/json` and the response body must be an ID token in JSON format.

The value of `responseContent` is the ID token in JSON format when `action` is `JSON`, so a response to the client can be built like below.

``` HTTP/1.1 200 OK Cache-Control: no-store Pragma: no-cache Content-Type: application/json;charset=UTF-8

{responseContent} ```

**JWT**

When the value of `action` is `JWT`, it means that the access token which the client application presented is valid and an ID token was successfully generated in the format of JWT (JSON Web Token) ([RFC 7519](https://datatracker.ietf.org/doc/html/rfc7519)).

The userinfo endpoint implementation is expected to generate a response to the client application. The content type of the response must be `application/jwt` and the response body must be an ID token in JWT format.

The value of `responseContent` is the ID token in JSON format when `action` is `JWT`, so a response to the client can be built like below.

``` HTTP/1.1 200 OK Cache-Control: no-store Pragma: no-cache Content-Type: application/jwt

{responseContent} ```

</details>

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthUserinfoIssueApiRequest

func (*UserInfoEndpointApiService) AuthUserinfoIssueApiExecute

Execute executes the request

@return UserinfoIssueResponse

type UserinfoIssueRequest

type UserinfoIssueRequest struct {
	// The access token that has been passed to the userinfo endpoint by the client application. In other words, the access token which was contained in the userinfo request.
	Token string `json:"token"`
	// Claims in JSON format. As for the format, see [OpenID Connect Core 1.0, 5.1. Standard Claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims).
	Claims *string `json:"claims,omitempty"`
	// The value of the `sub` claim. If the value of this request parameter is not empty, it is used as the value of the `sub` claim. Otherwise, the value of the subject associated with the access token is used.
	Sub *string `json:"sub,omitempty"`
	// Claim key-value pairs that are used to compute transformed claims.
	ClaimsForTx *string `json:"claimsForTx,omitempty"`
	// The Signature header value from the request.
	RequestSignature *string `json:"requestSignature,omitempty"`
	// HTTP headers to be included in processing the signature. If this is a signed request, this must include the  Signature and Signature-Input headers, as well as any additional headers covered by the signature.
	Headers []Pair `json:"headers,omitempty"`
}

UserinfoIssueRequest struct for UserinfoIssueRequest

func NewUserinfoIssueRequest

func NewUserinfoIssueRequest(token string) *UserinfoIssueRequest

NewUserinfoIssueRequest instantiates a new UserinfoIssueRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserinfoIssueRequestWithDefaults

func NewUserinfoIssueRequestWithDefaults() *UserinfoIssueRequest

NewUserinfoIssueRequestWithDefaults instantiates a new UserinfoIssueRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserinfoIssueRequest) GetClaims

func (o *UserinfoIssueRequest) GetClaims() string

GetClaims returns the Claims field value if set, zero value otherwise.

func (*UserinfoIssueRequest) GetClaimsForTx added in v1.1.1

func (o *UserinfoIssueRequest) GetClaimsForTx() string

GetClaimsForTx returns the ClaimsForTx field value if set, zero value otherwise.

func (*UserinfoIssueRequest) GetClaimsForTxOk added in v1.1.1

func (o *UserinfoIssueRequest) GetClaimsForTxOk() (*string, bool)

GetClaimsForTxOk returns a tuple with the ClaimsForTx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueRequest) GetClaimsOk

func (o *UserinfoIssueRequest) GetClaimsOk() (*string, bool)

GetClaimsOk returns a tuple with the Claims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueRequest) GetHeaders added in v1.2.0

func (o *UserinfoIssueRequest) GetHeaders() []Pair

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*UserinfoIssueRequest) GetHeadersOk added in v1.2.0

func (o *UserinfoIssueRequest) GetHeadersOk() ([]Pair, bool)

GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueRequest) GetRequestSignature added in v1.2.0

func (o *UserinfoIssueRequest) GetRequestSignature() string

GetRequestSignature returns the RequestSignature field value if set, zero value otherwise.

func (*UserinfoIssueRequest) GetRequestSignatureOk added in v1.2.0

func (o *UserinfoIssueRequest) GetRequestSignatureOk() (*string, bool)

GetRequestSignatureOk returns a tuple with the RequestSignature field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueRequest) GetSub

func (o *UserinfoIssueRequest) GetSub() string

GetSub returns the Sub field value if set, zero value otherwise.

func (*UserinfoIssueRequest) GetSubOk

func (o *UserinfoIssueRequest) 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 (*UserinfoIssueRequest) GetToken

func (o *UserinfoIssueRequest) GetToken() string

GetToken returns the Token field value

func (*UserinfoIssueRequest) GetTokenOk

func (o *UserinfoIssueRequest) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*UserinfoIssueRequest) HasClaims

func (o *UserinfoIssueRequest) HasClaims() bool

HasClaims returns a boolean if a field has been set.

func (*UserinfoIssueRequest) HasClaimsForTx added in v1.1.1

func (o *UserinfoIssueRequest) HasClaimsForTx() bool

HasClaimsForTx returns a boolean if a field has been set.

func (*UserinfoIssueRequest) HasHeaders added in v1.2.0

func (o *UserinfoIssueRequest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*UserinfoIssueRequest) HasRequestSignature added in v1.2.0

func (o *UserinfoIssueRequest) HasRequestSignature() bool

HasRequestSignature returns a boolean if a field has been set.

func (*UserinfoIssueRequest) HasSub

func (o *UserinfoIssueRequest) HasSub() bool

HasSub returns a boolean if a field has been set.

func (UserinfoIssueRequest) MarshalJSON

func (o UserinfoIssueRequest) MarshalJSON() ([]byte, error)

func (*UserinfoIssueRequest) SetClaims

func (o *UserinfoIssueRequest) SetClaims(v string)

SetClaims gets a reference to the given string and assigns it to the Claims field.

func (*UserinfoIssueRequest) SetClaimsForTx added in v1.1.1

func (o *UserinfoIssueRequest) SetClaimsForTx(v string)

SetClaimsForTx gets a reference to the given string and assigns it to the ClaimsForTx field.

func (*UserinfoIssueRequest) SetHeaders added in v1.2.0

func (o *UserinfoIssueRequest) SetHeaders(v []Pair)

SetHeaders gets a reference to the given []Pair and assigns it to the Headers field.

func (*UserinfoIssueRequest) SetRequestSignature added in v1.2.0

func (o *UserinfoIssueRequest) SetRequestSignature(v string)

SetRequestSignature gets a reference to the given string and assigns it to the RequestSignature field.

func (*UserinfoIssueRequest) SetSub

func (o *UserinfoIssueRequest) SetSub(v string)

SetSub gets a reference to the given string and assigns it to the Sub field.

func (*UserinfoIssueRequest) SetToken

func (o *UserinfoIssueRequest) SetToken(v string)

SetToken sets field value

func (UserinfoIssueRequest) ToMap added in v1.1.1

func (o UserinfoIssueRequest) ToMap() (map[string]interface{}, error)

type UserinfoIssueResponse

type UserinfoIssueResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The content that the authorization server implementation can use as the value of `WWW-Authenticate` header on errors.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The signature header of the response message.
	Signature *string `json:"signature,omitempty"`
	// The signature-input header of the response message
	SignatureInput *string `json:"signatureInput,omitempty"`
	// The content-digest header of the response message
	ContentDigest *string `json:"contentDigest,omitempty"`
}

UserinfoIssueResponse

func NewUserinfoIssueResponse

func NewUserinfoIssueResponse() *UserinfoIssueResponse

NewUserinfoIssueResponse instantiates a new UserinfoIssueResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserinfoIssueResponseWithDefaults

func NewUserinfoIssueResponseWithDefaults() *UserinfoIssueResponse

NewUserinfoIssueResponseWithDefaults instantiates a new UserinfoIssueResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserinfoIssueResponse) GetAction

func (o *UserinfoIssueResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetActionOk

func (o *UserinfoIssueResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) GetContentDigest added in v1.2.0

func (o *UserinfoIssueResponse) GetContentDigest() string

GetContentDigest returns the ContentDigest field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetContentDigestOk added in v1.2.0

func (o *UserinfoIssueResponse) GetContentDigestOk() (*string, bool)

GetContentDigestOk returns a tuple with the ContentDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) GetResponseContent

func (o *UserinfoIssueResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetResponseContentOk

func (o *UserinfoIssueResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) GetResultCode

func (o *UserinfoIssueResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetResultCodeOk

func (o *UserinfoIssueResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) GetResultMessage

func (o *UserinfoIssueResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetResultMessageOk

func (o *UserinfoIssueResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) GetSignature added in v1.2.0

func (o *UserinfoIssueResponse) GetSignature() string

GetSignature returns the Signature field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetSignatureInput added in v1.2.0

func (o *UserinfoIssueResponse) GetSignatureInput() string

GetSignatureInput returns the SignatureInput field value if set, zero value otherwise.

func (*UserinfoIssueResponse) GetSignatureInputOk added in v1.2.0

func (o *UserinfoIssueResponse) GetSignatureInputOk() (*string, bool)

GetSignatureInputOk returns a tuple with the SignatureInput field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) GetSignatureOk added in v1.2.0

func (o *UserinfoIssueResponse) GetSignatureOk() (*string, bool)

GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoIssueResponse) HasAction

func (o *UserinfoIssueResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*UserinfoIssueResponse) HasContentDigest added in v1.2.0

func (o *UserinfoIssueResponse) HasContentDigest() bool

HasContentDigest returns a boolean if a field has been set.

func (*UserinfoIssueResponse) HasResponseContent

func (o *UserinfoIssueResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*UserinfoIssueResponse) HasResultCode

func (o *UserinfoIssueResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*UserinfoIssueResponse) HasResultMessage

func (o *UserinfoIssueResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*UserinfoIssueResponse) HasSignature added in v1.2.0

func (o *UserinfoIssueResponse) HasSignature() bool

HasSignature returns a boolean if a field has been set.

func (*UserinfoIssueResponse) HasSignatureInput added in v1.2.0

func (o *UserinfoIssueResponse) HasSignatureInput() bool

HasSignatureInput returns a boolean if a field has been set.

func (UserinfoIssueResponse) MarshalJSON

func (o UserinfoIssueResponse) MarshalJSON() ([]byte, error)

func (*UserinfoIssueResponse) SetAction

func (o *UserinfoIssueResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*UserinfoIssueResponse) SetContentDigest added in v1.2.0

func (o *UserinfoIssueResponse) SetContentDigest(v string)

SetContentDigest gets a reference to the given string and assigns it to the ContentDigest field.

func (*UserinfoIssueResponse) SetResponseContent

func (o *UserinfoIssueResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*UserinfoIssueResponse) SetResultCode

func (o *UserinfoIssueResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*UserinfoIssueResponse) SetResultMessage

func (o *UserinfoIssueResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*UserinfoIssueResponse) SetSignature added in v1.2.0

func (o *UserinfoIssueResponse) SetSignature(v string)

SetSignature gets a reference to the given string and assigns it to the Signature field.

func (*UserinfoIssueResponse) SetSignatureInput added in v1.2.0

func (o *UserinfoIssueResponse) SetSignatureInput(v string)

SetSignatureInput gets a reference to the given string and assigns it to the SignatureInput field.

func (UserinfoIssueResponse) ToMap added in v1.1.1

func (o UserinfoIssueResponse) ToMap() (map[string]interface{}, error)

type UserinfoRequest

type UserinfoRequest struct {
	// An access token.
	Token string `json:"token"`
	// Client certificate used in the TLS connection established between the client application and the userinfo endpoint.  The value of this request parameter is referred to when the access token given to the userinfo endpoint was bound to a client certificate when it was issued. See [OAuth 2.0 Mutual TLS Client Authentication and Certificate-Bound Access Tokens] (https://datatracker.ietf.org/doc/rfc8705/) for details about the specification of certificate-bound access tokens.
	ClientCertificate *string `json:"clientCertificate,omitempty"`
	// `DPoP` header presented by the client during the request to the user info endpoint.  The header contains a signed JWT which includes the public key that is paired with the private key used to sign the JWT. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Dpop *string `json:"dpop,omitempty"`
	// HTTP method of the user info request. This field is used to validate the DPoP header. In normal cases, the value is either `GET` or `POST`.
	Htm *string `json:"htm,omitempty"`
	// URL of the user info endpoint. This field is used to validate the DPoP header.  If this parameter is omitted, the `userInfoEndpoint` property of the service is used as the default value. See [OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP)](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop) for details.
	Htu *string `json:"htu,omitempty"`
	// The full URL of the userinfo endpoint.
	Uri *string `json:"uri,omitempty"`
	// The HTTP message body of the request, if present.
	Message *string `json:"message,omitempty"`
	// HTTP headers to be included in processing the signature. If this is a signed request, this must include the  Signature and Signature-Input headers, as well as any additional headers covered by the signature.
	Headers []Pair `json:"headers,omitempty"`
}

UserinfoRequest struct for UserinfoRequest

func NewUserinfoRequest

func NewUserinfoRequest(token string) *UserinfoRequest

NewUserinfoRequest instantiates a new UserinfoRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserinfoRequestWithDefaults

func NewUserinfoRequestWithDefaults() *UserinfoRequest

NewUserinfoRequestWithDefaults instantiates a new UserinfoRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserinfoRequest) GetClientCertificate

func (o *UserinfoRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.

func (*UserinfoRequest) GetClientCertificateOk

func (o *UserinfoRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) GetDpop

func (o *UserinfoRequest) GetDpop() string

GetDpop returns the Dpop field value if set, zero value otherwise.

func (*UserinfoRequest) GetDpopOk

func (o *UserinfoRequest) GetDpopOk() (*string, bool)

GetDpopOk returns a tuple with the Dpop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) GetHeaders added in v1.2.0

func (o *UserinfoRequest) GetHeaders() []Pair

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*UserinfoRequest) GetHeadersOk added in v1.2.0

func (o *UserinfoRequest) GetHeadersOk() ([]Pair, bool)

GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) GetHtm

func (o *UserinfoRequest) GetHtm() string

GetHtm returns the Htm field value if set, zero value otherwise.

func (*UserinfoRequest) GetHtmOk

func (o *UserinfoRequest) GetHtmOk() (*string, bool)

GetHtmOk returns a tuple with the Htm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) GetHtu

func (o *UserinfoRequest) GetHtu() string

GetHtu returns the Htu field value if set, zero value otherwise.

func (*UserinfoRequest) GetHtuOk

func (o *UserinfoRequest) GetHtuOk() (*string, bool)

GetHtuOk returns a tuple with the Htu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) GetMessage added in v1.2.0

func (o *UserinfoRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UserinfoRequest) GetMessageOk added in v1.2.0

func (o *UserinfoRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) GetToken

func (o *UserinfoRequest) GetToken() string

GetToken returns the Token field value

func (*UserinfoRequest) GetTokenOk

func (o *UserinfoRequest) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (*UserinfoRequest) GetUri added in v1.2.0

func (o *UserinfoRequest) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*UserinfoRequest) GetUriOk added in v1.2.0

func (o *UserinfoRequest) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoRequest) HasClientCertificate

func (o *UserinfoRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

func (*UserinfoRequest) HasDpop

func (o *UserinfoRequest) HasDpop() bool

HasDpop returns a boolean if a field has been set.

func (*UserinfoRequest) HasHeaders added in v1.2.0

func (o *UserinfoRequest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*UserinfoRequest) HasHtm

func (o *UserinfoRequest) HasHtm() bool

HasHtm returns a boolean if a field has been set.

func (*UserinfoRequest) HasHtu

func (o *UserinfoRequest) HasHtu() bool

HasHtu returns a boolean if a field has been set.

func (*UserinfoRequest) HasMessage added in v1.2.0

func (o *UserinfoRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*UserinfoRequest) HasUri added in v1.2.0

func (o *UserinfoRequest) HasUri() bool

HasUri returns a boolean if a field has been set.

func (UserinfoRequest) MarshalJSON

func (o UserinfoRequest) MarshalJSON() ([]byte, error)

func (*UserinfoRequest) SetClientCertificate

func (o *UserinfoRequest) SetClientCertificate(v string)

SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.

func (*UserinfoRequest) SetDpop

func (o *UserinfoRequest) SetDpop(v string)

SetDpop gets a reference to the given string and assigns it to the Dpop field.

func (*UserinfoRequest) SetHeaders added in v1.2.0

func (o *UserinfoRequest) SetHeaders(v []Pair)

SetHeaders gets a reference to the given []Pair and assigns it to the Headers field.

func (*UserinfoRequest) SetHtm

func (o *UserinfoRequest) SetHtm(v string)

SetHtm gets a reference to the given string and assigns it to the Htm field.

func (*UserinfoRequest) SetHtu

func (o *UserinfoRequest) SetHtu(v string)

SetHtu gets a reference to the given string and assigns it to the Htu field.

func (*UserinfoRequest) SetMessage added in v1.2.0

func (o *UserinfoRequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UserinfoRequest) SetToken

func (o *UserinfoRequest) SetToken(v string)

SetToken sets field value

func (*UserinfoRequest) SetUri added in v1.2.0

func (o *UserinfoRequest) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (UserinfoRequest) ToMap added in v1.1.1

func (o UserinfoRequest) ToMap() (map[string]interface{}, error)

type UserinfoResponse

type UserinfoResponse struct {
	// The code which represents the result of the API call.
	ResultCode *string `json:"resultCode,omitempty"`
	// A short message which explains the result of the API call.
	ResultMessage *string `json:"resultMessage,omitempty"`
	// The next action that the authorization server implementation should take.
	Action *string `json:"action,omitempty"`
	// The list of claims that the client application requests to be embedded in the ID token.
	Claims []string `json:"claims,omitempty"`
	// The ID of the client application which is associated with the access token.
	ClientId *int64 `json:"clientId,omitempty"`
	// The client ID alias when the authorization request for the access token was made.
	ClientIdAlias *string `json:"clientIdAlias,omitempty"`
	// The flag which indicates whether the client ID alias was used when the authorization request for the access token was made.
	ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
	// The content that the authorization server implementation can use as the value of `WWW-Authenticate` header on errors.
	ResponseContent *string `json:"responseContent,omitempty"`
	// The scopes covered by the access token.
	Scopes []string `json:"scopes,omitempty"`
	// The subject (= resource owner's ID).
	Subject *string `json:"subject,omitempty"`
	// The access token that came along with the userinfo request.
	Token *string `json:"token,omitempty"`
	// The extra properties associated with the access token.
	Properties []Property `json:"properties,omitempty"`
	// The value of the `userinfo` property in the `claims` request parameter or in the `claims` property in an authorization request object.  A client application may request certain claims be embedded in an ID token or in a response from the userInfo endpoint. There are several ways. Including the `claims` request parameter and including the `claims` property in a request object are such examples. In both cases, the value of the `claims` parameter/property is JSON. Its format is described in [5.5. Requesting Claims using the \"claims\" Request Parameter](https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter).  The following is an excerpt from the specification. You can find `userinfo` and `id_token` are top-level properties.  “`json {   \"userinfo\":   {     \"given_name\": { \"essential\": true },     \"nickname\": null,     \"email\": { \"essential\": true },     \"email_verified\": { \"essential\": true },     \"picture\": null,     \"http://example.info/claims/groups\": null   },   \"id_token\":   {     \"auth_time\": { \"essential\": true },     \"acr\": { \"values\": [ \"urn:mace:incommon:iap:silver\" ] }   } } ““  The value of this property is the value of the `userinfo` property in JSON format. For example, if the JSON above is included in an authorization request, this property holds JSON equivalent to the following.  “`json {   \"given_name\": { \"essential\": true },   \"nickname\": null,   \"email\": { \"essential\": true },   \"email_verified\": { \"essential\": true },   \"picture\": null,   \"http://example.info/claims/groups\": null } “`  Note that if a request object is given and it contains the `claims` property and if the `claims` request parameter is also given, the value of this property holds the former value.
	UserInfoClaims *string `json:"userInfoClaims,omitempty"`
	// The attributes of this service that the client application belongs to.
	ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
	// The attributes of the client.
	ClientAttributes []Pair `json:"clientAttributes,omitempty"`
	// the claims that the user has consented for the client application to know.
	ConsentedClaims []string `json:"consentedClaims,omitempty"`
	// Get names of claims that are requested indirectly by <i>\"transformed claims\"</i>.  <p> A client application can request <i>\"transformed claims\"</i> by adding names of transformed claims in the `claims` request parameter. The following is an example of the `claims` request parameter that requests a predefined transformed claim named `18_or_over` and a transformed claim named `nationality_usa` to be embedded in the response from the userinfo endpoint. </p>  “`json {   \"transformed_claims\": {     \"nationality_usa\": {       \"claim\": \"nationalities\",       \"fn\": [         [ \"eq\", \"USA\" ],         \"any\"       ]     }   },   \"userinfo\": {     \"::18_or_over\": null,     \":nationality_usa\": null   } } “`  The example above assumes that a transformed claim named `18_or_over` is predefined by the authorization server like below.  “`json {   \"18_or_over\": {     \"claim\": \"birthdate\",     \"fn\": [       \"years_ago\",       [ \"gte\", 18 ]     ]   } } “`  In the example, the {@code nationalities} claim is requested indirectly by the `nationality_usa` transformed claim. Likewise, the {@code birthdate} claim is requested indirectly by the `18_or_over` transformed claim.  When the `claims` request parameter of an authorization request is like the example above, this `requestedClaimsForTx` property will hold the following value.  “`json [ \"birthdate\", \"nationalities\" ] “`  It is expected that the authorization server implementation prepares values of the listed claims and passes them as the value of the `claimsForTx` request parameter when it calls the `/api/auth/userinfo/issue` API. The following is an example of the value of the `claimsForTx` request parameter.  “`json {   \"birthdate\": \"1970-01-23\",   \"nationalities\": [ \"DEU\", \"USA\" ] } “`
	RequestedClaimsForTx []string `json:"requestedClaimsForTx,omitempty"`
	// Names of verified claims that will be referenced when transformed claims are computed.
	RequestedVerifiedClaimsForTx [][]string `json:"requestedVerifiedClaimsForTx,omitempty"`
	// the value of the `transformed_claims` property in the `claims` request parameter of an authorization request or in the `claims` property in a request object.
	TransformedClaims *string `json:"transformedClaims,omitempty"`
	// The entity ID of the client.
	ClientEntityId *string `json:"clientEntityId,omitempty"`
	// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
	ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}

UserinfoResponse struct for UserinfoResponse

func NewUserinfoResponse

func NewUserinfoResponse() *UserinfoResponse

NewUserinfoResponse instantiates a new UserinfoResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserinfoResponseWithDefaults

func NewUserinfoResponseWithDefaults() *UserinfoResponse

NewUserinfoResponseWithDefaults instantiates a new UserinfoResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserinfoResponse) GetAction

func (o *UserinfoResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*UserinfoResponse) GetActionOk

func (o *UserinfoResponse) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClaims

func (o *UserinfoResponse) GetClaims() []string

GetClaims returns the Claims field value if set, zero value otherwise.

func (*UserinfoResponse) GetClaimsOk

func (o *UserinfoResponse) GetClaimsOk() ([]string, bool)

GetClaimsOk returns a tuple with the Claims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClientAttributes

func (o *UserinfoResponse) GetClientAttributes() []Pair

GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.

func (*UserinfoResponse) GetClientAttributesOk

func (o *UserinfoResponse) GetClientAttributesOk() ([]Pair, bool)

GetClientAttributesOk returns a tuple with the ClientAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClientEntityId added in v1.2.0

func (o *UserinfoResponse) GetClientEntityId() string

GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.

func (*UserinfoResponse) GetClientEntityIdOk added in v1.2.0

func (o *UserinfoResponse) GetClientEntityIdOk() (*string, bool)

GetClientEntityIdOk returns a tuple with the ClientEntityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClientEntityIdUsed added in v1.2.0

func (o *UserinfoResponse) GetClientEntityIdUsed() bool

GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.

func (*UserinfoResponse) GetClientEntityIdUsedOk added in v1.2.0

func (o *UserinfoResponse) GetClientEntityIdUsedOk() (*bool, bool)

GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClientId

func (o *UserinfoResponse) GetClientId() int64

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*UserinfoResponse) GetClientIdAlias

func (o *UserinfoResponse) GetClientIdAlias() string

GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.

func (*UserinfoResponse) GetClientIdAliasOk

func (o *UserinfoResponse) GetClientIdAliasOk() (*string, bool)

GetClientIdAliasOk returns a tuple with the ClientIdAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClientIdAliasUsed

func (o *UserinfoResponse) GetClientIdAliasUsed() bool

GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.

func (*UserinfoResponse) GetClientIdAliasUsedOk

func (o *UserinfoResponse) GetClientIdAliasUsedOk() (*bool, bool)

GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetClientIdOk

func (o *UserinfoResponse) GetClientIdOk() (*int64, 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 (*UserinfoResponse) GetConsentedClaims added in v1.1.1

func (o *UserinfoResponse) GetConsentedClaims() []string

GetConsentedClaims returns the ConsentedClaims field value if set, zero value otherwise.

func (*UserinfoResponse) GetConsentedClaimsOk added in v1.1.1

func (o *UserinfoResponse) GetConsentedClaimsOk() ([]string, bool)

GetConsentedClaimsOk returns a tuple with the ConsentedClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetProperties

func (o *UserinfoResponse) GetProperties() []Property

GetProperties returns the Properties field value if set, zero value otherwise.

func (*UserinfoResponse) GetPropertiesOk

func (o *UserinfoResponse) GetPropertiesOk() ([]Property, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetRequestedClaimsForTx added in v1.1.1

func (o *UserinfoResponse) GetRequestedClaimsForTx() []string

GetRequestedClaimsForTx returns the RequestedClaimsForTx field value if set, zero value otherwise.

func (*UserinfoResponse) GetRequestedClaimsForTxOk added in v1.1.1

func (o *UserinfoResponse) GetRequestedClaimsForTxOk() ([]string, bool)

GetRequestedClaimsForTxOk returns a tuple with the RequestedClaimsForTx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetRequestedVerifiedClaimsForTx added in v1.1.1

func (o *UserinfoResponse) GetRequestedVerifiedClaimsForTx() [][]string

GetRequestedVerifiedClaimsForTx returns the RequestedVerifiedClaimsForTx field value if set, zero value otherwise.

func (*UserinfoResponse) GetRequestedVerifiedClaimsForTxOk added in v1.1.1

func (o *UserinfoResponse) GetRequestedVerifiedClaimsForTxOk() ([][]string, bool)

GetRequestedVerifiedClaimsForTxOk returns a tuple with the RequestedVerifiedClaimsForTx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetResponseContent

func (o *UserinfoResponse) GetResponseContent() string

GetResponseContent returns the ResponseContent field value if set, zero value otherwise.

func (*UserinfoResponse) GetResponseContentOk

func (o *UserinfoResponse) GetResponseContentOk() (*string, bool)

GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetResultCode

func (o *UserinfoResponse) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*UserinfoResponse) GetResultCodeOk

func (o *UserinfoResponse) GetResultCodeOk() (*string, bool)

GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetResultMessage

func (o *UserinfoResponse) GetResultMessage() string

GetResultMessage returns the ResultMessage field value if set, zero value otherwise.

func (*UserinfoResponse) GetResultMessageOk

func (o *UserinfoResponse) GetResultMessageOk() (*string, bool)

GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetScopes

func (o *UserinfoResponse) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*UserinfoResponse) GetScopesOk

func (o *UserinfoResponse) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetServiceAttributes

func (o *UserinfoResponse) GetServiceAttributes() []Pair

GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.

func (*UserinfoResponse) GetServiceAttributesOk

func (o *UserinfoResponse) GetServiceAttributesOk() ([]Pair, bool)

GetServiceAttributesOk returns a tuple with the ServiceAttributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetSubject

func (o *UserinfoResponse) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*UserinfoResponse) GetSubjectOk

func (o *UserinfoResponse) 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 (*UserinfoResponse) GetToken

func (o *UserinfoResponse) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*UserinfoResponse) GetTokenOk

func (o *UserinfoResponse) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetTransformedClaims added in v1.1.1

func (o *UserinfoResponse) GetTransformedClaims() string

GetTransformedClaims returns the TransformedClaims field value if set, zero value otherwise.

func (*UserinfoResponse) GetTransformedClaimsOk added in v1.1.1

func (o *UserinfoResponse) GetTransformedClaimsOk() (*string, bool)

GetTransformedClaimsOk returns a tuple with the TransformedClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) GetUserInfoClaims

func (o *UserinfoResponse) GetUserInfoClaims() string

GetUserInfoClaims returns the UserInfoClaims field value if set, zero value otherwise.

func (*UserinfoResponse) GetUserInfoClaimsOk

func (o *UserinfoResponse) GetUserInfoClaimsOk() (*string, bool)

GetUserInfoClaimsOk returns a tuple with the UserInfoClaims field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserinfoResponse) HasAction

func (o *UserinfoResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*UserinfoResponse) HasClaims

func (o *UserinfoResponse) HasClaims() bool

HasClaims returns a boolean if a field has been set.

func (*UserinfoResponse) HasClientAttributes

func (o *UserinfoResponse) HasClientAttributes() bool

HasClientAttributes returns a boolean if a field has been set.

func (*UserinfoResponse) HasClientEntityId added in v1.2.0

func (o *UserinfoResponse) HasClientEntityId() bool

HasClientEntityId returns a boolean if a field has been set.

func (*UserinfoResponse) HasClientEntityIdUsed added in v1.2.0

func (o *UserinfoResponse) HasClientEntityIdUsed() bool

HasClientEntityIdUsed returns a boolean if a field has been set.

func (*UserinfoResponse) HasClientId

func (o *UserinfoResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*UserinfoResponse) HasClientIdAlias

func (o *UserinfoResponse) HasClientIdAlias() bool

HasClientIdAlias returns a boolean if a field has been set.

func (*UserinfoResponse) HasClientIdAliasUsed

func (o *UserinfoResponse) HasClientIdAliasUsed() bool

HasClientIdAliasUsed returns a boolean if a field has been set.

func (*UserinfoResponse) HasConsentedClaims added in v1.1.1

func (o *UserinfoResponse) HasConsentedClaims() bool

HasConsentedClaims returns a boolean if a field has been set.

func (*UserinfoResponse) HasProperties

func (o *UserinfoResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*UserinfoResponse) HasRequestedClaimsForTx added in v1.1.1

func (o *UserinfoResponse) HasRequestedClaimsForTx() bool

HasRequestedClaimsForTx returns a boolean if a field has been set.

func (*UserinfoResponse) HasRequestedVerifiedClaimsForTx added in v1.1.1

func (o *UserinfoResponse) HasRequestedVerifiedClaimsForTx() bool

HasRequestedVerifiedClaimsForTx returns a boolean if a field has been set.

func (*UserinfoResponse) HasResponseContent

func (o *UserinfoResponse) HasResponseContent() bool

HasResponseContent returns a boolean if a field has been set.

func (*UserinfoResponse) HasResultCode

func (o *UserinfoResponse) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (*UserinfoResponse) HasResultMessage

func (o *UserinfoResponse) HasResultMessage() bool

HasResultMessage returns a boolean if a field has been set.

func (*UserinfoResponse) HasScopes

func (o *UserinfoResponse) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*UserinfoResponse) HasServiceAttributes

func (o *UserinfoResponse) HasServiceAttributes() bool

HasServiceAttributes returns a boolean if a field has been set.

func (*UserinfoResponse) HasSubject

func (o *UserinfoResponse) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*UserinfoResponse) HasToken

func (o *UserinfoResponse) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*UserinfoResponse) HasTransformedClaims added in v1.1.1

func (o *UserinfoResponse) HasTransformedClaims() bool

HasTransformedClaims returns a boolean if a field has been set.

func (*UserinfoResponse) HasUserInfoClaims

func (o *UserinfoResponse) HasUserInfoClaims() bool

HasUserInfoClaims returns a boolean if a field has been set.

func (UserinfoResponse) MarshalJSON

func (o UserinfoResponse) MarshalJSON() ([]byte, error)

func (*UserinfoResponse) SetAction

func (o *UserinfoResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*UserinfoResponse) SetClaims

func (o *UserinfoResponse) SetClaims(v []string)

SetClaims gets a reference to the given []string and assigns it to the Claims field.

func (*UserinfoResponse) SetClientAttributes

func (o *UserinfoResponse) SetClientAttributes(v []Pair)

SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.

func (*UserinfoResponse) SetClientEntityId added in v1.2.0

func (o *UserinfoResponse) SetClientEntityId(v string)

SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.

func (*UserinfoResponse) SetClientEntityIdUsed added in v1.2.0

func (o *UserinfoResponse) SetClientEntityIdUsed(v bool)

SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.

func (*UserinfoResponse) SetClientId

func (o *UserinfoResponse) SetClientId(v int64)

SetClientId gets a reference to the given int64 and assigns it to the ClientId field.

func (*UserinfoResponse) SetClientIdAlias

func (o *UserinfoResponse) SetClientIdAlias(v string)

SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.

func (*UserinfoResponse) SetClientIdAliasUsed

func (o *UserinfoResponse) SetClientIdAliasUsed(v bool)

SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.

func (*UserinfoResponse) SetConsentedClaims added in v1.1.1

func (o *UserinfoResponse) SetConsentedClaims(v []string)

SetConsentedClaims gets a reference to the given []string and assigns it to the ConsentedClaims field.

func (*UserinfoResponse) SetProperties

func (o *UserinfoResponse) SetProperties(v []Property)

SetProperties gets a reference to the given []Property and assigns it to the Properties field.

func (*UserinfoResponse) SetRequestedClaimsForTx added in v1.1.1

func (o *UserinfoResponse) SetRequestedClaimsForTx(v []string)

SetRequestedClaimsForTx gets a reference to the given []string and assigns it to the RequestedClaimsForTx field.

func (*UserinfoResponse) SetRequestedVerifiedClaimsForTx added in v1.1.1

func (o *UserinfoResponse) SetRequestedVerifiedClaimsForTx(v [][]string)

SetRequestedVerifiedClaimsForTx gets a reference to the given [][]string and assigns it to the RequestedVerifiedClaimsForTx field.

func (*UserinfoResponse) SetResponseContent

func (o *UserinfoResponse) SetResponseContent(v string)

SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.

func (*UserinfoResponse) SetResultCode

func (o *UserinfoResponse) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (*UserinfoResponse) SetResultMessage

func (o *UserinfoResponse) SetResultMessage(v string)

SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.

func (*UserinfoResponse) SetScopes

func (o *UserinfoResponse) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*UserinfoResponse) SetServiceAttributes

func (o *UserinfoResponse) SetServiceAttributes(v []Pair)

SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.

func (*UserinfoResponse) SetSubject

func (o *UserinfoResponse) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*UserinfoResponse) SetToken

func (o *UserinfoResponse) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*UserinfoResponse) SetTransformedClaims added in v1.1.1

func (o *UserinfoResponse) SetTransformedClaims(v string)

SetTransformedClaims gets a reference to the given string and assigns it to the TransformedClaims field.

func (*UserinfoResponse) SetUserInfoClaims

func (o *UserinfoResponse) SetUserInfoClaims(v string)

SetUserInfoClaims gets a reference to the given string and assigns it to the UserInfoClaims field.

func (UserinfoResponse) ToMap added in v1.1.1

func (o UserinfoResponse) ToMap() (map[string]interface{}, error)

type VerifiedClaimsValidationSchema added in v1.2.3

type VerifiedClaimsValidationSchema string

VerifiedClaimsValidationSchema The verified claims validation schema set.

const (
	VERIFIEDCLAIMSVALIDATIONSCHEMA_STANDARD            VerifiedClaimsValidationSchema = "standard"
	VERIFIEDCLAIMSVALIDATIONSCHEMA_STANDARDID_DOCUMENT VerifiedClaimsValidationSchema = "standard+id_document"
	VERIFIEDCLAIMSVALIDATIONSCHEMA_NULL                VerifiedClaimsValidationSchema = "null"
)

List of verified_claims_validation_schema

func NewVerifiedClaimsValidationSchemaFromValue added in v1.2.3

func NewVerifiedClaimsValidationSchemaFromValue(v string) (*VerifiedClaimsValidationSchema, error)

NewVerifiedClaimsValidationSchemaFromValue returns a pointer to a valid VerifiedClaimsValidationSchema for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VerifiedClaimsValidationSchema) IsValid added in v1.2.3

IsValid return true if the value is valid for the enum, false otherwise

func (VerifiedClaimsValidationSchema) Ptr added in v1.2.3

Ptr returns reference to verified_claims_validation_schema value

func (*VerifiedClaimsValidationSchema) UnmarshalJSON added in v1.2.3

func (v *VerifiedClaimsValidationSchema) UnmarshalJSON(src []byte) error

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL