Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccessToken
- func (o *AccessToken) GetAccessTokenExpiresAt() int64
- func (o *AccessToken) GetAccessTokenExpiresAtOk() (*int64, bool)
- func (o *AccessToken) GetAccessTokenHash() string
- func (o *AccessToken) GetAccessTokenHashOk() (*string, bool)
- func (o *AccessToken) GetClientId() int64
- func (o *AccessToken) GetClientIdOk() (*int64, bool)
- func (o *AccessToken) GetCreatedAt() int64
- func (o *AccessToken) GetCreatedAtOk() (*int64, bool)
- func (o *AccessToken) GetGrantType() GrantType
- func (o *AccessToken) GetGrantTypeOk() (*GrantType, bool)
- func (o *AccessToken) GetLastRefreshedAt() int64
- func (o *AccessToken) GetLastRefreshedAtOk() (*int64, bool)
- func (o *AccessToken) GetProperties() []Property
- func (o *AccessToken) GetPropertiesOk() ([]Property, bool)
- func (o *AccessToken) GetRefreshTokenExpiresAt() int64
- func (o *AccessToken) GetRefreshTokenExpiresAtOk() (*int64, bool)
- func (o *AccessToken) GetRefreshTokenHash() string
- func (o *AccessToken) GetRefreshTokenHashOk() (*string, bool)
- func (o *AccessToken) GetScopes() []string
- func (o *AccessToken) GetScopesOk() ([]string, bool)
- func (o *AccessToken) GetSubject() string
- func (o *AccessToken) GetSubjectOk() (*string, bool)
- func (o *AccessToken) HasAccessTokenExpiresAt() bool
- func (o *AccessToken) HasAccessTokenHash() bool
- func (o *AccessToken) HasClientId() bool
- func (o *AccessToken) HasCreatedAt() bool
- func (o *AccessToken) HasGrantType() bool
- func (o *AccessToken) HasLastRefreshedAt() bool
- func (o *AccessToken) HasProperties() bool
- func (o *AccessToken) HasRefreshTokenExpiresAt() bool
- func (o *AccessToken) HasRefreshTokenHash() bool
- func (o *AccessToken) HasScopes() bool
- func (o *AccessToken) HasSubject() bool
- func (o AccessToken) MarshalJSON() ([]byte, error)
- func (o *AccessToken) SetAccessTokenExpiresAt(v int64)
- func (o *AccessToken) SetAccessTokenHash(v string)
- func (o *AccessToken) SetClientId(v int64)
- func (o *AccessToken) SetCreatedAt(v int64)
- func (o *AccessToken) SetGrantType(v GrantType)
- func (o *AccessToken) SetLastRefreshedAt(v int64)
- func (o *AccessToken) SetProperties(v []Property)
- func (o *AccessToken) SetRefreshTokenExpiresAt(v int64)
- func (o *AccessToken) SetRefreshTokenHash(v string)
- func (o *AccessToken) SetScopes(v []string)
- func (o *AccessToken) SetSubject(v string)
- func (o AccessToken) ToMap() (map[string]interface{}, error)
- type ApiAuthAuthorizationApiRequest
- type ApiAuthAuthorizationFailApiRequest
- type ApiAuthAuthorizationIssueApiRequest
- type ApiAuthIntrospectionApiRequest
- type ApiAuthIntrospectionStandardApiRequest
- type ApiAuthRevocationApiRequest
- type ApiAuthTokenApiRequest
- type ApiAuthTokenCreateApiRequest
- type ApiAuthTokenDeleteApiRequest
- type ApiAuthTokenFailApiRequest
- type ApiAuthTokenGetListApiRequest
- func (r ApiAuthTokenGetListApiRequest) ClientIdentifier(clientIdentifier string) ApiAuthTokenGetListApiRequest
- func (r ApiAuthTokenGetListApiRequest) End(end int32) ApiAuthTokenGetListApiRequest
- func (r ApiAuthTokenGetListApiRequest) Execute() (*TokenGetListResponse, *http.Response, error)
- func (r ApiAuthTokenGetListApiRequest) Start(start int32) ApiAuthTokenGetListApiRequest
- func (r ApiAuthTokenGetListApiRequest) Subject(subject string) ApiAuthTokenGetListApiRequest
- type ApiAuthTokenIssueApiRequest
- type ApiAuthTokenRevokeApiRequest
- type ApiAuthTokenUpdateApiRequest
- type ApiAuthUserinfoApiRequest
- type ApiAuthUserinfoIssueApiRequest
- type ApiBackchannelAuthenticationApiRequest
- func (r ApiBackchannelAuthenticationApiRequest) BackchannelAuthenticationRequest(backchannelAuthenticationRequest BackchannelAuthenticationRequest) ApiBackchannelAuthenticationApiRequest
- func (r ApiBackchannelAuthenticationApiRequest) Execute() (*BackchannelAuthenticationResponse, *http.Response, error)
- type ApiBackchannelAuthenticationCompleteApiRequest
- type ApiBackchannelAuthenticationFailApiRequest
- func (r ApiBackchannelAuthenticationFailApiRequest) BackchannelAuthenticationFailRequest(backchannelAuthenticationFailRequest BackchannelAuthenticationFailRequest) ApiBackchannelAuthenticationFailApiRequest
- func (r ApiBackchannelAuthenticationFailApiRequest) Execute() (*BackchannelAuthenticationFailResponse, *http.Response, error)
- type ApiBackchannelAuthenticationIssueApiRequest
- func (r ApiBackchannelAuthenticationIssueApiRequest) BackchannelAuthenticationIssueRequest(backchannelAuthenticationIssueRequest BackchannelAuthenticationIssueRequest) ApiBackchannelAuthenticationIssueApiRequest
- func (r ApiBackchannelAuthenticationIssueApiRequest) Execute() (*BackchannelAuthenticationIssueResponse, *http.Response, error)
- type ApiClientAuthorizationDeleteApiRequest
- type ApiClientAuthorizationGetListApiRequest
- func (r ApiClientAuthorizationGetListApiRequest) Developer(developer string) ApiClientAuthorizationGetListApiRequest
- func (r ApiClientAuthorizationGetListApiRequest) End(end int32) ApiClientAuthorizationGetListApiRequest
- func (r ApiClientAuthorizationGetListApiRequest) Execute() (*ClientAuthorizationGetListResponse, *http.Response, error)
- func (r ApiClientAuthorizationGetListApiRequest) Start(start int32) ApiClientAuthorizationGetListApiRequest
- type ApiClientAuthorizationUpdateApiRequest
- func (r ApiClientAuthorizationUpdateApiRequest) ClientAuthorizationUpdateRequest(clientAuthorizationUpdateRequest ClientAuthorizationUpdateRequest) ApiClientAuthorizationUpdateApiRequest
- func (r ApiClientAuthorizationUpdateApiRequest) Execute() (*ClientAuthorizationUpdateResponse, *http.Response, error)
- type ApiClientCreateApiRequest
- type ApiClientDeleteApiRequest
- type ApiClientFlagUpdateApiRequest
- type ApiClientGetApiRequest
- type ApiClientGetListApiRequest
- func (r ApiClientGetListApiRequest) Developer(developer string) ApiClientGetListApiRequest
- func (r ApiClientGetListApiRequest) End(end int32) ApiClientGetListApiRequest
- func (r ApiClientGetListApiRequest) Execute() (*ClientGetListResponse, *http.Response, error)
- func (r ApiClientGetListApiRequest) Start(start int32) ApiClientGetListApiRequest
- type ApiClientGrantedScopesDeleteApiRequest
- type ApiClientGrantedScopesGetApiRequest
- type ApiClientRegistrationApiRequest
- type ApiClientRegistrationDeleteApiRequest
- type ApiClientRegistrationGetApiRequest
- type ApiClientRegistrationUpdateApiRequest
- type ApiClientSecretRefreshApiRequest
- type ApiClientSecretUpdateApiRequest
- type ApiClientUpdateApiRequest
- type ApiDeviceAuthorizationApiRequest
- type ApiDeviceCompleteApiRequest
- type ApiDeviceVerificationApiRequest
- type ApiFederationConfigurationApiRequest
- type ApiGrantMApiRequest
- type ApiInfoApiRequest
- type ApiJoseVerifyApiRequest
- type ApiPushedAuthReqApiRequest
- type ApiServiceConfigurationApiRequest
- type ApiServiceCreateApiRequest
- type ApiServiceDeleteApiRequest
- type ApiServiceGetApiRequest
- type ApiServiceGetListApiRequest
- type ApiServiceJwksGetApiRequest
- type ApiServiceUpdateApiRequest
- type ApplicationType
- type AttachmentType
- type AuthorizationDetails
- func (o *AuthorizationDetails) GetElements() []AuthorizationDetailsElement
- func (o *AuthorizationDetails) GetElementsOk() ([]AuthorizationDetailsElement, bool)
- func (o *AuthorizationDetails) HasElements() bool
- func (o AuthorizationDetails) MarshalJSON() ([]byte, error)
- func (o *AuthorizationDetails) SetElements(v []AuthorizationDetailsElement)
- func (o AuthorizationDetails) ToMap() (map[string]interface{}, error)
- type AuthorizationDetailsElement
- func (o *AuthorizationDetailsElement) GetActions() []string
- func (o *AuthorizationDetailsElement) GetActionsOk() ([]string, bool)
- func (o *AuthorizationDetailsElement) GetDataTypes() []string
- func (o *AuthorizationDetailsElement) GetDataTypesOk() ([]string, bool)
- func (o *AuthorizationDetailsElement) GetIdentifier() string
- func (o *AuthorizationDetailsElement) GetIdentifierOk() (*string, bool)
- func (o *AuthorizationDetailsElement) GetLocations() []string
- func (o *AuthorizationDetailsElement) GetLocationsOk() ([]string, bool)
- func (o *AuthorizationDetailsElement) GetOtherFields() string
- func (o *AuthorizationDetailsElement) GetOtherFieldsOk() (*string, bool)
- func (o *AuthorizationDetailsElement) GetPrivileges() []string
- func (o *AuthorizationDetailsElement) GetPrivilegesOk() ([]string, bool)
- func (o *AuthorizationDetailsElement) GetType() string
- func (o *AuthorizationDetailsElement) GetTypeOk() (*string, bool)
- func (o *AuthorizationDetailsElement) HasActions() bool
- func (o *AuthorizationDetailsElement) HasDataTypes() bool
- func (o *AuthorizationDetailsElement) HasIdentifier() bool
- func (o *AuthorizationDetailsElement) HasLocations() bool
- func (o *AuthorizationDetailsElement) HasOtherFields() bool
- func (o *AuthorizationDetailsElement) HasPrivileges() bool
- func (o AuthorizationDetailsElement) MarshalJSON() ([]byte, error)
- func (o *AuthorizationDetailsElement) SetActions(v []string)
- func (o *AuthorizationDetailsElement) SetDataTypes(v []string)
- func (o *AuthorizationDetailsElement) SetIdentifier(v string)
- func (o *AuthorizationDetailsElement) SetLocations(v []string)
- func (o *AuthorizationDetailsElement) SetOtherFields(v string)
- func (o *AuthorizationDetailsElement) SetPrivileges(v []string)
- func (o *AuthorizationDetailsElement) SetType(v string)
- func (o AuthorizationDetailsElement) ToMap() (map[string]interface{}, error)
- type AuthorizationEndpointApi
- type AuthorizationEndpointApiService
- func (a *AuthorizationEndpointApiService) AuthAuthorizationApi(ctx context.Context) ApiAuthAuthorizationApiRequest
- func (a *AuthorizationEndpointApiService) AuthAuthorizationApiExecute(r ApiAuthAuthorizationApiRequest) (*AuthorizationResponse, *http.Response, error)
- func (a *AuthorizationEndpointApiService) AuthAuthorizationFailApi(ctx context.Context) ApiAuthAuthorizationFailApiRequest
- func (a *AuthorizationEndpointApiService) AuthAuthorizationFailApiExecute(r ApiAuthAuthorizationFailApiRequest) (*AuthorizationFailResponse, *http.Response, error)
- func (a *AuthorizationEndpointApiService) AuthAuthorizationIssueApi(ctx context.Context) ApiAuthAuthorizationIssueApiRequest
- func (a *AuthorizationEndpointApiService) AuthAuthorizationIssueApiExecute(r ApiAuthAuthorizationIssueApiRequest) (*AuthorizationIssueResponse, *http.Response, error)
- type AuthorizationFailRequest
- func (o *AuthorizationFailRequest) GetDescription() string
- func (o *AuthorizationFailRequest) GetDescriptionOk() (*string, bool)
- func (o *AuthorizationFailRequest) GetReason() string
- func (o *AuthorizationFailRequest) GetReasonOk() (*string, bool)
- func (o *AuthorizationFailRequest) GetTicket() string
- func (o *AuthorizationFailRequest) GetTicketOk() (*string, bool)
- func (o *AuthorizationFailRequest) HasDescription() bool
- func (o AuthorizationFailRequest) MarshalJSON() ([]byte, error)
- func (o *AuthorizationFailRequest) SetDescription(v string)
- func (o *AuthorizationFailRequest) SetReason(v string)
- func (o *AuthorizationFailRequest) SetTicket(v string)
- func (o AuthorizationFailRequest) ToMap() (map[string]interface{}, error)
- type AuthorizationFailResponse
- func (o *AuthorizationFailResponse) GetAction() string
- func (o *AuthorizationFailResponse) GetActionOk() (*string, bool)
- func (o *AuthorizationFailResponse) GetResponseContent() string
- func (o *AuthorizationFailResponse) GetResponseContentOk() (*string, bool)
- func (o *AuthorizationFailResponse) GetResultCode() string
- func (o *AuthorizationFailResponse) GetResultCodeOk() (*string, bool)
- func (o *AuthorizationFailResponse) GetResultMessage() string
- func (o *AuthorizationFailResponse) GetResultMessageOk() (*string, bool)
- func (o *AuthorizationFailResponse) HasAction() bool
- func (o *AuthorizationFailResponse) HasResponseContent() bool
- func (o *AuthorizationFailResponse) HasResultCode() bool
- func (o *AuthorizationFailResponse) HasResultMessage() bool
- func (o AuthorizationFailResponse) MarshalJSON() ([]byte, error)
- func (o *AuthorizationFailResponse) SetAction(v string)
- func (o *AuthorizationFailResponse) SetResponseContent(v string)
- func (o *AuthorizationFailResponse) SetResultCode(v string)
- func (o *AuthorizationFailResponse) SetResultMessage(v string)
- func (o AuthorizationFailResponse) ToMap() (map[string]interface{}, error)
- type AuthorizationIssueRequest
- func (o *AuthorizationIssueRequest) GetAccessToken() string
- func (o *AuthorizationIssueRequest) GetAccessTokenOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetAcr() string
- func (o *AuthorizationIssueRequest) GetAcrOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetAuthTime() string
- func (o *AuthorizationIssueRequest) GetAuthTimeOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetAuthorizationDetails() AuthorizationDetails
- func (o *AuthorizationIssueRequest) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *AuthorizationIssueRequest) GetClaims() string
- func (o *AuthorizationIssueRequest) GetClaimsForTx() string
- func (o *AuthorizationIssueRequest) GetClaimsForTxOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetClaimsOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetConsentedClaims() []string
- func (o *AuthorizationIssueRequest) GetConsentedClaimsOk() ([]string, bool)
- func (o *AuthorizationIssueRequest) GetIdtHeaderParams() string
- func (o *AuthorizationIssueRequest) GetIdtHeaderParamsOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetJwtAtClaims() string
- func (o *AuthorizationIssueRequest) GetJwtAtClaimsOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetProperties() []Property
- func (o *AuthorizationIssueRequest) GetPropertiesOk() ([]Property, bool)
- func (o *AuthorizationIssueRequest) GetScopes() []string
- func (o *AuthorizationIssueRequest) GetScopesOk() ([]string, bool)
- func (o *AuthorizationIssueRequest) GetSub() string
- func (o *AuthorizationIssueRequest) GetSubOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetSubject() string
- func (o *AuthorizationIssueRequest) GetSubjectOk() (*string, bool)
- func (o *AuthorizationIssueRequest) GetTicket() string
- func (o *AuthorizationIssueRequest) GetTicketOk() (*string, bool)
- func (o *AuthorizationIssueRequest) HasAccessToken() bool
- func (o *AuthorizationIssueRequest) HasAcr() bool
- func (o *AuthorizationIssueRequest) HasAuthTime() bool
- func (o *AuthorizationIssueRequest) HasAuthorizationDetails() bool
- func (o *AuthorizationIssueRequest) HasClaims() bool
- func (o *AuthorizationIssueRequest) HasClaimsForTx() bool
- func (o *AuthorizationIssueRequest) HasConsentedClaims() bool
- func (o *AuthorizationIssueRequest) HasIdtHeaderParams() bool
- func (o *AuthorizationIssueRequest) HasJwtAtClaims() bool
- func (o *AuthorizationIssueRequest) HasProperties() bool
- func (o *AuthorizationIssueRequest) HasScopes() bool
- func (o *AuthorizationIssueRequest) HasSub() bool
- func (o AuthorizationIssueRequest) MarshalJSON() ([]byte, error)
- func (o *AuthorizationIssueRequest) SetAccessToken(v string)
- func (o *AuthorizationIssueRequest) SetAcr(v string)
- func (o *AuthorizationIssueRequest) SetAuthTime(v string)
- func (o *AuthorizationIssueRequest) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *AuthorizationIssueRequest) SetClaims(v string)
- func (o *AuthorizationIssueRequest) SetClaimsForTx(v string)
- func (o *AuthorizationIssueRequest) SetConsentedClaims(v []string)
- func (o *AuthorizationIssueRequest) SetIdtHeaderParams(v string)
- func (o *AuthorizationIssueRequest) SetJwtAtClaims(v string)
- func (o *AuthorizationIssueRequest) SetProperties(v []Property)
- func (o *AuthorizationIssueRequest) SetScopes(v []string)
- func (o *AuthorizationIssueRequest) SetSub(v string)
- func (o *AuthorizationIssueRequest) SetSubject(v string)
- func (o *AuthorizationIssueRequest) SetTicket(v string)
- func (o AuthorizationIssueRequest) ToMap() (map[string]interface{}, error)
- type AuthorizationIssueResponse
- func (o *AuthorizationIssueResponse) GetAccessToken() string
- func (o *AuthorizationIssueResponse) GetAccessTokenDuration() int64
- func (o *AuthorizationIssueResponse) GetAccessTokenDurationOk() (*int64, bool)
- func (o *AuthorizationIssueResponse) GetAccessTokenExpiresAt() int64
- func (o *AuthorizationIssueResponse) GetAccessTokenExpiresAtOk() (*int64, bool)
- func (o *AuthorizationIssueResponse) GetAccessTokenOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetAction() string
- func (o *AuthorizationIssueResponse) GetActionOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetAuthorizationCode() string
- func (o *AuthorizationIssueResponse) GetAuthorizationCodeOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetIdToken() string
- func (o *AuthorizationIssueResponse) GetIdTokenOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetJwtAccessToken() string
- func (o *AuthorizationIssueResponse) GetJwtAccessTokenOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetResponseContent() string
- func (o *AuthorizationIssueResponse) GetResponseContentOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetResultCode() string
- func (o *AuthorizationIssueResponse) GetResultCodeOk() (*string, bool)
- func (o *AuthorizationIssueResponse) GetResultMessage() string
- func (o *AuthorizationIssueResponse) GetResultMessageOk() (*string, bool)
- func (o *AuthorizationIssueResponse) HasAccessToken() bool
- func (o *AuthorizationIssueResponse) HasAccessTokenDuration() bool
- func (o *AuthorizationIssueResponse) HasAccessTokenExpiresAt() bool
- func (o *AuthorizationIssueResponse) HasAction() bool
- func (o *AuthorizationIssueResponse) HasAuthorizationCode() bool
- func (o *AuthorizationIssueResponse) HasIdToken() bool
- func (o *AuthorizationIssueResponse) HasJwtAccessToken() bool
- func (o *AuthorizationIssueResponse) HasResponseContent() bool
- func (o *AuthorizationIssueResponse) HasResultCode() bool
- func (o *AuthorizationIssueResponse) HasResultMessage() bool
- func (o AuthorizationIssueResponse) MarshalJSON() ([]byte, error)
- func (o *AuthorizationIssueResponse) SetAccessToken(v string)
- func (o *AuthorizationIssueResponse) SetAccessTokenDuration(v int64)
- func (o *AuthorizationIssueResponse) SetAccessTokenExpiresAt(v int64)
- func (o *AuthorizationIssueResponse) SetAction(v string)
- func (o *AuthorizationIssueResponse) SetAuthorizationCode(v string)
- func (o *AuthorizationIssueResponse) SetIdToken(v string)
- func (o *AuthorizationIssueResponse) SetJwtAccessToken(v string)
- func (o *AuthorizationIssueResponse) SetResponseContent(v string)
- func (o *AuthorizationIssueResponse) SetResultCode(v string)
- func (o *AuthorizationIssueResponse) SetResultMessage(v string)
- func (o AuthorizationIssueResponse) ToMap() (map[string]interface{}, error)
- type AuthorizationRequest
- func (o *AuthorizationRequest) GetParameters() string
- func (o *AuthorizationRequest) GetParametersOk() (*string, bool)
- func (o AuthorizationRequest) MarshalJSON() ([]byte, error)
- func (o *AuthorizationRequest) SetParameters(v string)
- func (o AuthorizationRequest) ToMap() (map[string]interface{}, error)
- type AuthorizationResponse
- func (o *AuthorizationResponse) GetAcrEssential() bool
- func (o *AuthorizationResponse) GetAcrEssentialOk() (*bool, bool)
- func (o *AuthorizationResponse) GetAcrs() []string
- func (o *AuthorizationResponse) GetAcrsOk() ([]string, bool)
- func (o *AuthorizationResponse) GetAction() string
- func (o *AuthorizationResponse) GetActionOk() (*string, bool)
- func (o *AuthorizationResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *AuthorizationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *AuthorizationResponse) GetClaims() []string
- func (o *AuthorizationResponse) GetClaimsLocales() []string
- func (o *AuthorizationResponse) GetClaimsLocalesOk() ([]string, bool)
- func (o *AuthorizationResponse) GetClaimsOk() ([]string, bool)
- func (o *AuthorizationResponse) GetClient() Client
- func (o *AuthorizationResponse) GetClientEntityIdUsed() bool
- func (o *AuthorizationResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *AuthorizationResponse) GetClientIdAliasUsed() bool
- func (o *AuthorizationResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *AuthorizationResponse) GetClientOk() (*Client, bool)
- func (o *AuthorizationResponse) GetDisplay() Display
- func (o *AuthorizationResponse) GetDisplayOk() (*Display, bool)
- func (o *AuthorizationResponse) GetDynamicScopes() []DynamicScope
- func (o *AuthorizationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)
- func (o *AuthorizationResponse) GetGmAction() GrantManagementAction
- func (o *AuthorizationResponse) GetGmActionOk() (*GrantManagementAction, bool)
- func (o *AuthorizationResponse) GetGrant() Grant
- func (o *AuthorizationResponse) GetGrantId() string
- func (o *AuthorizationResponse) GetGrantIdOk() (*string, bool)
- func (o *AuthorizationResponse) GetGrantOk() (*Grant, bool)
- func (o *AuthorizationResponse) GetGrantSubject() string
- func (o *AuthorizationResponse) GetGrantSubjectOk() (*string, bool)
- func (o *AuthorizationResponse) GetIdTokenClaims() string
- func (o *AuthorizationResponse) GetIdTokenClaimsOk() (*string, bool)
- func (o *AuthorizationResponse) GetLoginHint() string
- func (o *AuthorizationResponse) GetLoginHintOk() (*string, bool)
- func (o *AuthorizationResponse) GetLowestPrompt() Prompt
- func (o *AuthorizationResponse) GetLowestPromptOk() (*Prompt, bool)
- func (o *AuthorizationResponse) GetMaxAge() int32
- func (o *AuthorizationResponse) GetMaxAgeOk() (*int32, bool)
- func (o *AuthorizationResponse) GetPrompts() []Prompt
- func (o *AuthorizationResponse) GetPromptsOk() ([]Prompt, bool)
- func (o *AuthorizationResponse) GetPurpose() string
- func (o *AuthorizationResponse) GetPurposeOk() (*string, bool)
- func (o *AuthorizationResponse) GetRequestObjectPayload() string
- func (o *AuthorizationResponse) GetRequestObjectPayloadOk() (*string, bool)
- func (o *AuthorizationResponse) GetRequestedClaimsForTx() []string
- func (o *AuthorizationResponse) GetRequestedClaimsForTxOk() ([]string, bool)
- func (o *AuthorizationResponse) GetRequestedVerifiedClaimsForTx() [][]string
- func (o *AuthorizationResponse) GetRequestedVerifiedClaimsForTxOk() ([][]string, bool)
- func (o *AuthorizationResponse) GetResources() string
- func (o *AuthorizationResponse) GetResourcesOk() (*string, bool)
- func (o *AuthorizationResponse) GetResponseContent() string
- func (o *AuthorizationResponse) GetResponseContentOk() (*string, bool)
- func (o *AuthorizationResponse) GetResultCode() string
- func (o *AuthorizationResponse) GetResultCodeOk() (*string, bool)
- func (o *AuthorizationResponse) GetResultMessage() string
- func (o *AuthorizationResponse) GetResultMessageOk() (*string, bool)
- func (o *AuthorizationResponse) GetScopes() []Scope
- func (o *AuthorizationResponse) GetScopesOk() ([]Scope, bool)
- func (o *AuthorizationResponse) GetService() Service
- func (o *AuthorizationResponse) GetServiceOk() (*Service, bool)
- func (o *AuthorizationResponse) GetSubject() string
- func (o *AuthorizationResponse) GetSubjectOk() (*string, bool)
- func (o *AuthorizationResponse) GetTicket() string
- func (o *AuthorizationResponse) GetTicketOk() (*string, bool)
- func (o *AuthorizationResponse) GetTransformedClaims() string
- func (o *AuthorizationResponse) GetTransformedClaimsOk() (*string, bool)
- func (o *AuthorizationResponse) GetUiLocales() []string
- func (o *AuthorizationResponse) GetUiLocalesOk() ([]string, bool)
- func (o *AuthorizationResponse) GetUserInfoClaims() string
- func (o *AuthorizationResponse) GetUserInfoClaimsOk() (*string, bool)
- func (o *AuthorizationResponse) HasAcrEssential() bool
- func (o *AuthorizationResponse) HasAcrs() bool
- func (o *AuthorizationResponse) HasAction() bool
- func (o *AuthorizationResponse) HasAuthorizationDetails() bool
- func (o *AuthorizationResponse) HasClaims() bool
- func (o *AuthorizationResponse) HasClaimsLocales() bool
- func (o *AuthorizationResponse) HasClient() bool
- func (o *AuthorizationResponse) HasClientEntityIdUsed() bool
- func (o *AuthorizationResponse) HasClientIdAliasUsed() bool
- func (o *AuthorizationResponse) HasDisplay() bool
- func (o *AuthorizationResponse) HasDynamicScopes() bool
- func (o *AuthorizationResponse) HasGmAction() bool
- func (o *AuthorizationResponse) HasGrant() bool
- func (o *AuthorizationResponse) HasGrantId() bool
- func (o *AuthorizationResponse) HasGrantSubject() bool
- func (o *AuthorizationResponse) HasIdTokenClaims() bool
- func (o *AuthorizationResponse) HasLoginHint() bool
- func (o *AuthorizationResponse) HasLowestPrompt() bool
- func (o *AuthorizationResponse) HasMaxAge() bool
- func (o *AuthorizationResponse) HasPrompts() bool
- func (o *AuthorizationResponse) HasPurpose() bool
- func (o *AuthorizationResponse) HasRequestObjectPayload() bool
- func (o *AuthorizationResponse) HasRequestedClaimsForTx() bool
- func (o *AuthorizationResponse) HasRequestedVerifiedClaimsForTx() bool
- func (o *AuthorizationResponse) HasResources() bool
- func (o *AuthorizationResponse) HasResponseContent() bool
- func (o *AuthorizationResponse) HasResultCode() bool
- func (o *AuthorizationResponse) HasResultMessage() bool
- func (o *AuthorizationResponse) HasScopes() bool
- func (o *AuthorizationResponse) HasService() bool
- func (o *AuthorizationResponse) HasSubject() bool
- func (o *AuthorizationResponse) HasTicket() bool
- func (o *AuthorizationResponse) HasTransformedClaims() bool
- func (o *AuthorizationResponse) HasUiLocales() bool
- func (o *AuthorizationResponse) HasUserInfoClaims() bool
- func (o AuthorizationResponse) MarshalJSON() ([]byte, error)
- func (o *AuthorizationResponse) SetAcrEssential(v bool)
- func (o *AuthorizationResponse) SetAcrs(v []string)
- func (o *AuthorizationResponse) SetAction(v string)
- func (o *AuthorizationResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *AuthorizationResponse) SetClaims(v []string)
- func (o *AuthorizationResponse) SetClaimsLocales(v []string)
- func (o *AuthorizationResponse) SetClient(v Client)
- func (o *AuthorizationResponse) SetClientEntityIdUsed(v bool)
- func (o *AuthorizationResponse) SetClientIdAliasUsed(v bool)
- func (o *AuthorizationResponse) SetDisplay(v Display)
- func (o *AuthorizationResponse) SetDynamicScopes(v []DynamicScope)
- func (o *AuthorizationResponse) SetGmAction(v GrantManagementAction)
- func (o *AuthorizationResponse) SetGrant(v Grant)
- func (o *AuthorizationResponse) SetGrantId(v string)
- func (o *AuthorizationResponse) SetGrantSubject(v string)
- func (o *AuthorizationResponse) SetIdTokenClaims(v string)
- func (o *AuthorizationResponse) SetLoginHint(v string)
- func (o *AuthorizationResponse) SetLowestPrompt(v Prompt)
- func (o *AuthorizationResponse) SetMaxAge(v int32)
- func (o *AuthorizationResponse) SetPrompts(v []Prompt)
- func (o *AuthorizationResponse) SetPurpose(v string)
- func (o *AuthorizationResponse) SetRequestObjectPayload(v string)
- func (o *AuthorizationResponse) SetRequestedClaimsForTx(v []string)
- func (o *AuthorizationResponse) SetRequestedVerifiedClaimsForTx(v [][]string)
- func (o *AuthorizationResponse) SetResources(v string)
- func (o *AuthorizationResponse) SetResponseContent(v string)
- func (o *AuthorizationResponse) SetResultCode(v string)
- func (o *AuthorizationResponse) SetResultMessage(v string)
- func (o *AuthorizationResponse) SetScopes(v []Scope)
- func (o *AuthorizationResponse) SetService(v Service)
- func (o *AuthorizationResponse) SetSubject(v string)
- func (o *AuthorizationResponse) SetTicket(v string)
- func (o *AuthorizationResponse) SetTransformedClaims(v string)
- func (o *AuthorizationResponse) SetUiLocales(v []string)
- func (o *AuthorizationResponse) SetUserInfoClaims(v string)
- func (o AuthorizationResponse) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationCompleteRequest
- func (o *BackchannelAuthenticationCompleteRequest) GetAccessToken() string
- func (o *BackchannelAuthenticationCompleteRequest) GetAccessTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetAcr() string
- func (o *BackchannelAuthenticationCompleteRequest) GetAcrOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetAuthTime() string
- func (o *BackchannelAuthenticationCompleteRequest) GetAuthTimeOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetClaims() string
- func (o *BackchannelAuthenticationCompleteRequest) GetClaimsOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetConsentedClaims() []string
- func (o *BackchannelAuthenticationCompleteRequest) GetConsentedClaimsOk() ([]string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetErrorDescription() string
- func (o *BackchannelAuthenticationCompleteRequest) GetErrorDescriptionOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetErrorUri() string
- func (o *BackchannelAuthenticationCompleteRequest) GetErrorUriOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetIdtHeaderParams() string
- func (o *BackchannelAuthenticationCompleteRequest) GetIdtHeaderParamsOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetJwtAtClaims() string
- func (o *BackchannelAuthenticationCompleteRequest) GetJwtAtClaimsOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetProperties() []Property
- func (o *BackchannelAuthenticationCompleteRequest) GetPropertiesOk() ([]Property, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetResult() string
- func (o *BackchannelAuthenticationCompleteRequest) GetResultOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetScopes() []string
- func (o *BackchannelAuthenticationCompleteRequest) GetScopesOk() ([]string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetSub() string
- func (o *BackchannelAuthenticationCompleteRequest) GetSubOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetSubject() string
- func (o *BackchannelAuthenticationCompleteRequest) GetSubjectOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) GetTicket() string
- func (o *BackchannelAuthenticationCompleteRequest) GetTicketOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteRequest) HasAccessToken() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasAcr() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasAuthTime() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasClaims() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasConsentedClaims() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasErrorDescription() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasErrorUri() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasIdtHeaderParams() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasJwtAtClaims() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasProperties() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasScopes() bool
- func (o *BackchannelAuthenticationCompleteRequest) HasSub() bool
- func (o BackchannelAuthenticationCompleteRequest) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationCompleteRequest) SetAccessToken(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetAcr(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetAuthTime(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetClaims(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetConsentedClaims(v []string)
- func (o *BackchannelAuthenticationCompleteRequest) SetErrorDescription(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetErrorUri(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetIdtHeaderParams(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetJwtAtClaims(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetProperties(v []Property)
- func (o *BackchannelAuthenticationCompleteRequest) SetResult(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetScopes(v []string)
- func (o *BackchannelAuthenticationCompleteRequest) SetSub(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetSubject(v string)
- func (o *BackchannelAuthenticationCompleteRequest) SetTicket(v string)
- func (o BackchannelAuthenticationCompleteRequest) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationCompleteResponse
- func (o *BackchannelAuthenticationCompleteResponse) GetAccessToken() string
- func (o *BackchannelAuthenticationCompleteResponse) GetAccessTokenDuration() int64
- func (o *BackchannelAuthenticationCompleteResponse) GetAccessTokenDurationOk() (*int64, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetAccessTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetAction() string
- func (o *BackchannelAuthenticationCompleteResponse) GetActionOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetAuthReqId() string
- func (o *BackchannelAuthenticationCompleteResponse) GetAuthReqIdOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *BackchannelAuthenticationCompleteResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientAttributes() []Pair
- func (o *BackchannelAuthenticationCompleteResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityId() string
- func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityIdOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityIdUsed() bool
- func (o *BackchannelAuthenticationCompleteResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientId() int64
- func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAlias() string
- func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAliasOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAliasUsed() bool
- func (o *BackchannelAuthenticationCompleteResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientIdOk() (*int64, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientName() string
- func (o *BackchannelAuthenticationCompleteResponse) GetClientNameOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationEndpoint() string
- func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationEndpointOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationToken() string
- func (o *BackchannelAuthenticationCompleteResponse) GetClientNotificationTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetDeliveryMode() DeliveryMode
- func (o *BackchannelAuthenticationCompleteResponse) GetDeliveryModeOk() (*DeliveryMode, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetGrantId() string
- func (o *BackchannelAuthenticationCompleteResponse) GetGrantIdOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetIdToken() string
- func (o *BackchannelAuthenticationCompleteResponse) GetIdTokenDuration() int64
- func (o *BackchannelAuthenticationCompleteResponse) GetIdTokenDurationOk() (*int64, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetIdTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetJwtAccessToken() string
- func (o *BackchannelAuthenticationCompleteResponse) GetJwtAccessTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetRefreshToken() string
- func (o *BackchannelAuthenticationCompleteResponse) GetRefreshTokenDuration() int64
- func (o *BackchannelAuthenticationCompleteResponse) GetRefreshTokenDurationOk() (*int64, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetRefreshTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetResources() []string
- func (o *BackchannelAuthenticationCompleteResponse) GetResourcesOk() ([]string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetResponseContent() string
- func (o *BackchannelAuthenticationCompleteResponse) GetResponseContentOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetResultCode() string
- func (o *BackchannelAuthenticationCompleteResponse) GetResultCodeOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetResultMessage() string
- func (o *BackchannelAuthenticationCompleteResponse) GetResultMessageOk() (*string, bool)
- func (o *BackchannelAuthenticationCompleteResponse) GetServiceAttributes() []Pair
- func (o *BackchannelAuthenticationCompleteResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *BackchannelAuthenticationCompleteResponse) HasAccessToken() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasAccessTokenDuration() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasAction() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasAuthReqId() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasAuthorizationDetails() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientAttributes() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientEntityId() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientEntityIdUsed() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientId() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientIdAlias() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientIdAliasUsed() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientName() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientNotificationEndpoint() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasClientNotificationToken() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasDeliveryMode() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasGrantId() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasIdToken() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasIdTokenDuration() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasJwtAccessToken() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasRefreshToken() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasRefreshTokenDuration() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasResources() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasResponseContent() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasResultCode() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasResultMessage() bool
- func (o *BackchannelAuthenticationCompleteResponse) HasServiceAttributes() bool
- func (o BackchannelAuthenticationCompleteResponse) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationCompleteResponse) SetAccessToken(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetAccessTokenDuration(v int64)
- func (o *BackchannelAuthenticationCompleteResponse) SetAction(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetAuthReqId(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientAttributes(v []Pair)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientEntityId(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientEntityIdUsed(v bool)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientId(v int64)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientIdAlias(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientIdAliasUsed(v bool)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientName(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientNotificationEndpoint(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetClientNotificationToken(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetDeliveryMode(v DeliveryMode)
- func (o *BackchannelAuthenticationCompleteResponse) SetGrantId(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetIdToken(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetIdTokenDuration(v int64)
- func (o *BackchannelAuthenticationCompleteResponse) SetJwtAccessToken(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetRefreshToken(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetRefreshTokenDuration(v int64)
- func (o *BackchannelAuthenticationCompleteResponse) SetResources(v []string)
- func (o *BackchannelAuthenticationCompleteResponse) SetResponseContent(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetResultCode(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetResultMessage(v string)
- func (o *BackchannelAuthenticationCompleteResponse) SetServiceAttributes(v []Pair)
- func (o BackchannelAuthenticationCompleteResponse) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationFailRequest
- func (o *BackchannelAuthenticationFailRequest) GetErrorDescription() string
- func (o *BackchannelAuthenticationFailRequest) GetErrorDescriptionOk() (*string, bool)
- func (o *BackchannelAuthenticationFailRequest) GetErrorUri() string
- func (o *BackchannelAuthenticationFailRequest) GetErrorUriOk() (*string, bool)
- func (o *BackchannelAuthenticationFailRequest) GetReason() string
- func (o *BackchannelAuthenticationFailRequest) GetReasonOk() (*string, bool)
- func (o *BackchannelAuthenticationFailRequest) GetTicket() string
- func (o *BackchannelAuthenticationFailRequest) GetTicketOk() (*string, bool)
- func (o *BackchannelAuthenticationFailRequest) HasErrorDescription() bool
- func (o *BackchannelAuthenticationFailRequest) HasErrorUri() bool
- func (o BackchannelAuthenticationFailRequest) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationFailRequest) SetErrorDescription(v string)
- func (o *BackchannelAuthenticationFailRequest) SetErrorUri(v string)
- func (o *BackchannelAuthenticationFailRequest) SetReason(v string)
- func (o *BackchannelAuthenticationFailRequest) SetTicket(v string)
- func (o BackchannelAuthenticationFailRequest) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationFailResponse
- func (o *BackchannelAuthenticationFailResponse) GetAction() string
- func (o *BackchannelAuthenticationFailResponse) GetActionOk() (*string, bool)
- func (o *BackchannelAuthenticationFailResponse) GetResponseContent() string
- func (o *BackchannelAuthenticationFailResponse) GetResponseContentOk() (*string, bool)
- func (o *BackchannelAuthenticationFailResponse) GetResultCode() string
- func (o *BackchannelAuthenticationFailResponse) GetResultCodeOk() (*string, bool)
- func (o *BackchannelAuthenticationFailResponse) GetResultMessage() string
- func (o *BackchannelAuthenticationFailResponse) GetResultMessageOk() (*string, bool)
- func (o *BackchannelAuthenticationFailResponse) HasAction() bool
- func (o *BackchannelAuthenticationFailResponse) HasResponseContent() bool
- func (o *BackchannelAuthenticationFailResponse) HasResultCode() bool
- func (o *BackchannelAuthenticationFailResponse) HasResultMessage() bool
- func (o BackchannelAuthenticationFailResponse) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationFailResponse) SetAction(v string)
- func (o *BackchannelAuthenticationFailResponse) SetResponseContent(v string)
- func (o *BackchannelAuthenticationFailResponse) SetResultCode(v string)
- func (o *BackchannelAuthenticationFailResponse) SetResultMessage(v string)
- func (o BackchannelAuthenticationFailResponse) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationIssueRequest
- func (o *BackchannelAuthenticationIssueRequest) GetTicket() string
- func (o *BackchannelAuthenticationIssueRequest) GetTicketOk() (*string, bool)
- func (o BackchannelAuthenticationIssueRequest) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationIssueRequest) SetTicket(v string)
- func (o BackchannelAuthenticationIssueRequest) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationIssueResponse
- func (o *BackchannelAuthenticationIssueResponse) GetAction() string
- func (o *BackchannelAuthenticationIssueResponse) GetActionOk() (*string, bool)
- func (o *BackchannelAuthenticationIssueResponse) GetAuthReqId() string
- func (o *BackchannelAuthenticationIssueResponse) GetAuthReqIdOk() (*string, bool)
- func (o *BackchannelAuthenticationIssueResponse) GetExpiresIn() int32
- func (o *BackchannelAuthenticationIssueResponse) GetExpiresInOk() (*int32, bool)
- func (o *BackchannelAuthenticationIssueResponse) GetInterval() int32
- func (o *BackchannelAuthenticationIssueResponse) GetIntervalOk() (*int32, bool)
- func (o *BackchannelAuthenticationIssueResponse) GetResponseContent() string
- func (o *BackchannelAuthenticationIssueResponse) GetResponseContentOk() (*string, bool)
- func (o *BackchannelAuthenticationIssueResponse) GetResultCode() string
- func (o *BackchannelAuthenticationIssueResponse) GetResultCodeOk() (*string, bool)
- func (o *BackchannelAuthenticationIssueResponse) GetResultMessage() string
- func (o *BackchannelAuthenticationIssueResponse) GetResultMessageOk() (*string, bool)
- func (o *BackchannelAuthenticationIssueResponse) HasAction() bool
- func (o *BackchannelAuthenticationIssueResponse) HasAuthReqId() bool
- func (o *BackchannelAuthenticationIssueResponse) HasExpiresIn() bool
- func (o *BackchannelAuthenticationIssueResponse) HasInterval() bool
- func (o *BackchannelAuthenticationIssueResponse) HasResponseContent() bool
- func (o *BackchannelAuthenticationIssueResponse) HasResultCode() bool
- func (o *BackchannelAuthenticationIssueResponse) HasResultMessage() bool
- func (o BackchannelAuthenticationIssueResponse) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationIssueResponse) SetAction(v string)
- func (o *BackchannelAuthenticationIssueResponse) SetAuthReqId(v string)
- func (o *BackchannelAuthenticationIssueResponse) SetExpiresIn(v int32)
- func (o *BackchannelAuthenticationIssueResponse) SetInterval(v int32)
- func (o *BackchannelAuthenticationIssueResponse) SetResponseContent(v string)
- func (o *BackchannelAuthenticationIssueResponse) SetResultCode(v string)
- func (o *BackchannelAuthenticationIssueResponse) SetResultMessage(v string)
- func (o BackchannelAuthenticationIssueResponse) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationRequest
- func (o *BackchannelAuthenticationRequest) GetClientCertificate() string
- func (o *BackchannelAuthenticationRequest) GetClientCertificateOk() (*string, bool)
- func (o *BackchannelAuthenticationRequest) GetClientCertificatePath() string
- func (o *BackchannelAuthenticationRequest) GetClientCertificatePathOk() (*string, bool)
- func (o *BackchannelAuthenticationRequest) GetClientId() string
- func (o *BackchannelAuthenticationRequest) GetClientIdOk() (*string, bool)
- func (o *BackchannelAuthenticationRequest) GetClientSecret() string
- func (o *BackchannelAuthenticationRequest) GetClientSecretOk() (*string, bool)
- func (o *BackchannelAuthenticationRequest) GetParameters() string
- func (o *BackchannelAuthenticationRequest) GetParametersOk() (*string, bool)
- func (o *BackchannelAuthenticationRequest) HasClientCertificate() bool
- func (o *BackchannelAuthenticationRequest) HasClientCertificatePath() bool
- func (o *BackchannelAuthenticationRequest) HasClientId() bool
- func (o *BackchannelAuthenticationRequest) HasClientSecret() bool
- func (o BackchannelAuthenticationRequest) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationRequest) SetClientCertificate(v string)
- func (o *BackchannelAuthenticationRequest) SetClientCertificatePath(v string)
- func (o *BackchannelAuthenticationRequest) SetClientId(v string)
- func (o *BackchannelAuthenticationRequest) SetClientSecret(v string)
- func (o *BackchannelAuthenticationRequest) SetParameters(v string)
- func (o BackchannelAuthenticationRequest) ToMap() (map[string]interface{}, error)
- type BackchannelAuthenticationResponse
- func (o *BackchannelAuthenticationResponse) GetAcrs() []string
- func (o *BackchannelAuthenticationResponse) GetAcrsOk() ([]string, bool)
- func (o *BackchannelAuthenticationResponse) GetAction() string
- func (o *BackchannelAuthenticationResponse) GetActionOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *BackchannelAuthenticationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *BackchannelAuthenticationResponse) GetBindingMessage() string
- func (o *BackchannelAuthenticationResponse) GetBindingMessageOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetClaimNames() []string
- func (o *BackchannelAuthenticationResponse) GetClaimNamesOk() ([]string, bool)
- func (o *BackchannelAuthenticationResponse) GetClientAttributes() []Pair
- func (o *BackchannelAuthenticationResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *BackchannelAuthenticationResponse) GetClientAuthMethod() string
- func (o *BackchannelAuthenticationResponse) GetClientAuthMethodOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetClientEntityId() string
- func (o *BackchannelAuthenticationResponse) GetClientEntityIdOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetClientEntityIdUsed() bool
- func (o *BackchannelAuthenticationResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *BackchannelAuthenticationResponse) GetClientId() int64
- func (o *BackchannelAuthenticationResponse) GetClientIdAlias() string
- func (o *BackchannelAuthenticationResponse) GetClientIdAliasOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetClientIdAliasUsed() bool
- func (o *BackchannelAuthenticationResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *BackchannelAuthenticationResponse) GetClientIdOk() (*int64, bool)
- func (o *BackchannelAuthenticationResponse) GetClientName() string
- func (o *BackchannelAuthenticationResponse) GetClientNameOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetClientNotificationToken() string
- func (o *BackchannelAuthenticationResponse) GetClientNotificationTokenOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetDeliveryMode() DeliveryMode
- func (o *BackchannelAuthenticationResponse) GetDeliveryModeOk() (*DeliveryMode, bool)
- func (o *BackchannelAuthenticationResponse) GetDynamicScopes() []DynamicScope
- func (o *BackchannelAuthenticationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)
- func (o *BackchannelAuthenticationResponse) GetGmAction() GrantManagementAction
- func (o *BackchannelAuthenticationResponse) GetGmActionOk() (*GrantManagementAction, bool)
- func (o *BackchannelAuthenticationResponse) GetGrant() Grant
- func (o *BackchannelAuthenticationResponse) GetGrantId() string
- func (o *BackchannelAuthenticationResponse) GetGrantIdOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetGrantOk() (*Grant, bool)
- func (o *BackchannelAuthenticationResponse) GetGrantSubject() string
- func (o *BackchannelAuthenticationResponse) GetGrantSubjectOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetHint() string
- func (o *BackchannelAuthenticationResponse) GetHintOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetHintType() string
- func (o *BackchannelAuthenticationResponse) GetHintTypeOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetRequestContext() string
- func (o *BackchannelAuthenticationResponse) GetRequestContextOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetRequestedExpiry() int32
- func (o *BackchannelAuthenticationResponse) GetRequestedExpiryOk() (*int32, bool)
- func (o *BackchannelAuthenticationResponse) GetResources() []string
- func (o *BackchannelAuthenticationResponse) GetResourcesOk() ([]string, bool)
- func (o *BackchannelAuthenticationResponse) GetResponseContent() string
- func (o *BackchannelAuthenticationResponse) GetResponseContentOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetResultCode() string
- func (o *BackchannelAuthenticationResponse) GetResultCodeOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetResultMessage() string
- func (o *BackchannelAuthenticationResponse) GetResultMessageOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetScopes() []Scope
- func (o *BackchannelAuthenticationResponse) GetScopesOk() ([]Scope, bool)
- func (o *BackchannelAuthenticationResponse) GetServiceAttributes() []Pair
- func (o *BackchannelAuthenticationResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *BackchannelAuthenticationResponse) GetSub() string
- func (o *BackchannelAuthenticationResponse) GetSubOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetTicket() string
- func (o *BackchannelAuthenticationResponse) GetTicketOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetUserCode() string
- func (o *BackchannelAuthenticationResponse) GetUserCodeOk() (*string, bool)
- func (o *BackchannelAuthenticationResponse) GetUserCodeRequired() bool
- func (o *BackchannelAuthenticationResponse) GetUserCodeRequiredOk() (*bool, bool)
- func (o *BackchannelAuthenticationResponse) GetWarnings() []string
- func (o *BackchannelAuthenticationResponse) GetWarningsOk() ([]string, bool)
- func (o *BackchannelAuthenticationResponse) HasAcrs() bool
- func (o *BackchannelAuthenticationResponse) HasAction() bool
- func (o *BackchannelAuthenticationResponse) HasAuthorizationDetails() bool
- func (o *BackchannelAuthenticationResponse) HasBindingMessage() bool
- func (o *BackchannelAuthenticationResponse) HasClaimNames() bool
- func (o *BackchannelAuthenticationResponse) HasClientAttributes() bool
- func (o *BackchannelAuthenticationResponse) HasClientAuthMethod() bool
- func (o *BackchannelAuthenticationResponse) HasClientEntityId() bool
- func (o *BackchannelAuthenticationResponse) HasClientEntityIdUsed() bool
- func (o *BackchannelAuthenticationResponse) HasClientId() bool
- func (o *BackchannelAuthenticationResponse) HasClientIdAlias() bool
- func (o *BackchannelAuthenticationResponse) HasClientIdAliasUsed() bool
- func (o *BackchannelAuthenticationResponse) HasClientName() bool
- func (o *BackchannelAuthenticationResponse) HasClientNotificationToken() bool
- func (o *BackchannelAuthenticationResponse) HasDeliveryMode() bool
- func (o *BackchannelAuthenticationResponse) HasDynamicScopes() bool
- func (o *BackchannelAuthenticationResponse) HasGmAction() bool
- func (o *BackchannelAuthenticationResponse) HasGrant() bool
- func (o *BackchannelAuthenticationResponse) HasGrantId() bool
- func (o *BackchannelAuthenticationResponse) HasGrantSubject() bool
- func (o *BackchannelAuthenticationResponse) HasHint() bool
- func (o *BackchannelAuthenticationResponse) HasHintType() bool
- func (o *BackchannelAuthenticationResponse) HasRequestContext() bool
- func (o *BackchannelAuthenticationResponse) HasRequestedExpiry() bool
- func (o *BackchannelAuthenticationResponse) HasResources() bool
- func (o *BackchannelAuthenticationResponse) HasResponseContent() bool
- func (o *BackchannelAuthenticationResponse) HasResultCode() bool
- func (o *BackchannelAuthenticationResponse) HasResultMessage() bool
- func (o *BackchannelAuthenticationResponse) HasScopes() bool
- func (o *BackchannelAuthenticationResponse) HasServiceAttributes() bool
- func (o *BackchannelAuthenticationResponse) HasSub() bool
- func (o *BackchannelAuthenticationResponse) HasTicket() bool
- func (o *BackchannelAuthenticationResponse) HasUserCode() bool
- func (o *BackchannelAuthenticationResponse) HasUserCodeRequired() bool
- func (o *BackchannelAuthenticationResponse) HasWarnings() bool
- func (o BackchannelAuthenticationResponse) MarshalJSON() ([]byte, error)
- func (o *BackchannelAuthenticationResponse) SetAcrs(v []string)
- func (o *BackchannelAuthenticationResponse) SetAction(v string)
- func (o *BackchannelAuthenticationResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *BackchannelAuthenticationResponse) SetBindingMessage(v string)
- func (o *BackchannelAuthenticationResponse) SetClaimNames(v []string)
- func (o *BackchannelAuthenticationResponse) SetClientAttributes(v []Pair)
- func (o *BackchannelAuthenticationResponse) SetClientAuthMethod(v string)
- func (o *BackchannelAuthenticationResponse) SetClientEntityId(v string)
- func (o *BackchannelAuthenticationResponse) SetClientEntityIdUsed(v bool)
- func (o *BackchannelAuthenticationResponse) SetClientId(v int64)
- func (o *BackchannelAuthenticationResponse) SetClientIdAlias(v string)
- func (o *BackchannelAuthenticationResponse) SetClientIdAliasUsed(v bool)
- func (o *BackchannelAuthenticationResponse) SetClientName(v string)
- func (o *BackchannelAuthenticationResponse) SetClientNotificationToken(v string)
- func (o *BackchannelAuthenticationResponse) SetDeliveryMode(v DeliveryMode)
- func (o *BackchannelAuthenticationResponse) SetDynamicScopes(v []DynamicScope)
- func (o *BackchannelAuthenticationResponse) SetGmAction(v GrantManagementAction)
- func (o *BackchannelAuthenticationResponse) SetGrant(v Grant)
- func (o *BackchannelAuthenticationResponse) SetGrantId(v string)
- func (o *BackchannelAuthenticationResponse) SetGrantSubject(v string)
- func (o *BackchannelAuthenticationResponse) SetHint(v string)
- func (o *BackchannelAuthenticationResponse) SetHintType(v string)
- func (o *BackchannelAuthenticationResponse) SetRequestContext(v string)
- func (o *BackchannelAuthenticationResponse) SetRequestedExpiry(v int32)
- func (o *BackchannelAuthenticationResponse) SetResources(v []string)
- func (o *BackchannelAuthenticationResponse) SetResponseContent(v string)
- func (o *BackchannelAuthenticationResponse) SetResultCode(v string)
- func (o *BackchannelAuthenticationResponse) SetResultMessage(v string)
- func (o *BackchannelAuthenticationResponse) SetScopes(v []Scope)
- func (o *BackchannelAuthenticationResponse) SetServiceAttributes(v []Pair)
- func (o *BackchannelAuthenticationResponse) SetSub(v string)
- func (o *BackchannelAuthenticationResponse) SetTicket(v string)
- func (o *BackchannelAuthenticationResponse) SetUserCode(v string)
- func (o *BackchannelAuthenticationResponse) SetUserCodeRequired(v bool)
- func (o *BackchannelAuthenticationResponse) SetWarnings(v []string)
- func (o BackchannelAuthenticationResponse) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type CIBAApi
- type CIBAApiService
- func (a *CIBAApiService) BackchannelAuthenticationApi(ctx context.Context) ApiBackchannelAuthenticationApiRequest
- func (a *CIBAApiService) BackchannelAuthenticationApiExecute(r ApiBackchannelAuthenticationApiRequest) (*BackchannelAuthenticationResponse, *http.Response, error)
- func (a *CIBAApiService) BackchannelAuthenticationCompleteApi(ctx context.Context) ApiBackchannelAuthenticationCompleteApiRequest
- func (a *CIBAApiService) BackchannelAuthenticationCompleteApiExecute(r ApiBackchannelAuthenticationCompleteApiRequest) (*BackchannelAuthenticationCompleteResponse, *http.Response, error)
- func (a *CIBAApiService) BackchannelAuthenticationFailApi(ctx context.Context) ApiBackchannelAuthenticationFailApiRequest
- func (a *CIBAApiService) BackchannelAuthenticationFailApiExecute(r ApiBackchannelAuthenticationFailApiRequest) (*BackchannelAuthenticationFailResponse, *http.Response, error)
- func (a *CIBAApiService) BackchannelAuthenticationIssueApi(ctx context.Context) ApiBackchannelAuthenticationIssueApiRequest
- func (a *CIBAApiService) BackchannelAuthenticationIssueApiExecute(r ApiBackchannelAuthenticationIssueApiRequest) (*BackchannelAuthenticationIssueResponse, *http.Response, error)
- type ClaimType
- type Client
- func (o *Client) GetApplicationType() ApplicationType
- func (o *Client) GetApplicationTypeOk() (*ApplicationType, bool)
- func (o *Client) GetAttributes() []Pair
- func (o *Client) GetAttributesOk() ([]Pair, bool)
- func (o *Client) GetAuthTimeRequired() bool
- func (o *Client) GetAuthTimeRequiredOk() (*bool, bool)
- func (o *Client) GetAuthorizationDetailsTypes() []string
- func (o *Client) GetAuthorizationDetailsTypesOk() ([]string, bool)
- func (o *Client) GetAuthorizationEncryptionAlg() JweAlg
- func (o *Client) GetAuthorizationEncryptionAlgOk() (*JweAlg, bool)
- func (o *Client) GetAuthorizationEncryptionEnc() JweEnc
- func (o *Client) GetAuthorizationEncryptionEncOk() (*JweEnc, bool)
- func (o *Client) GetAuthorizationSignAlg() JwsAlg
- func (o *Client) GetAuthorizationSignAlgOk() (*JwsAlg, bool)
- func (o *Client) GetAutomaticallyRegistered() bool
- func (o *Client) GetAutomaticallyRegisteredOk() (*bool, bool)
- func (o *Client) GetBcDeliveryMode() string
- func (o *Client) GetBcDeliveryModeOk() (*string, bool)
- func (o *Client) GetBcNotificationEndpoint() string
- func (o *Client) GetBcNotificationEndpointOk() (*string, bool)
- func (o *Client) GetBcRequestSignAlg() JwsAlg
- func (o *Client) GetBcRequestSignAlgOk() (*JwsAlg, bool)
- func (o *Client) GetBcUserCodeRequired() bool
- func (o *Client) GetBcUserCodeRequiredOk() (*bool, bool)
- func (o *Client) GetClientId() int64
- func (o *Client) GetClientIdAlias() string
- func (o *Client) GetClientIdAliasEnabled() bool
- func (o *Client) GetClientIdAliasEnabledOk() (*bool, bool)
- func (o *Client) GetClientIdAliasOk() (*string, bool)
- func (o *Client) GetClientIdOk() (*int64, bool)
- func (o *Client) GetClientName() string
- func (o *Client) GetClientNameOk() (*string, bool)
- func (o *Client) GetClientNames() []TaggedValue
- func (o *Client) GetClientNamesOk() ([]TaggedValue, bool)
- func (o *Client) GetClientRegistrationTypes() []ClientRegistrationType
- func (o *Client) GetClientRegistrationTypesOk() ([]ClientRegistrationType, bool)
- func (o *Client) GetClientSecret() string
- func (o *Client) GetClientSecretOk() (*string, bool)
- func (o *Client) GetClientType() ClientType
- func (o *Client) GetClientTypeOk() (*ClientType, bool)
- func (o *Client) GetClientUri() string
- func (o *Client) GetClientUriOk() (*string, bool)
- func (o *Client) GetClientUris() []TaggedValue
- func (o *Client) GetClientUrisOk() ([]TaggedValue, bool)
- func (o *Client) GetContacts() []string
- func (o *Client) GetContactsOk() ([]string, bool)
- func (o *Client) GetCreatedAt() int64
- func (o *Client) GetCreatedAtOk() (*int64, bool)
- func (o *Client) GetCustomMetadata() string
- func (o *Client) GetCustomMetadataOk() (*string, bool)
- func (o *Client) GetDefaultAcrs() []string
- func (o *Client) GetDefaultAcrsOk() ([]string, bool)
- func (o *Client) GetDefaultMaxAge() int32
- func (o *Client) GetDefaultMaxAgeOk() (*int32, bool)
- func (o *Client) GetDerivedSectorIdentifier() string
- func (o *Client) GetDerivedSectorIdentifierOk() (*string, bool)
- func (o *Client) GetDescription() string
- func (o *Client) GetDescriptionOk() (*string, bool)
- func (o *Client) GetDescriptions() []TaggedValue
- func (o *Client) GetDescriptionsOk() ([]TaggedValue, bool)
- func (o *Client) GetDeveloper() string
- func (o *Client) GetDeveloperOk() (*string, bool)
- func (o *Client) GetDigestAlgorithm() string
- func (o *Client) GetDigestAlgorithmOk() (*string, bool)
- func (o *Client) GetDpopRequired() bool
- func (o *Client) GetDpopRequiredOk() (*bool, bool)
- func (o *Client) GetDynamicallyRegistered() bool
- func (o *Client) GetDynamicallyRegisteredOk() (*bool, bool)
- func (o *Client) GetEntityId() string
- func (o *Client) GetEntityIdOk() (*string, bool)
- func (o *Client) GetExplicitlyRegistered() bool
- func (o *Client) GetExplicitlyRegisteredOk() (*bool, bool)
- func (o *Client) GetExtension() ClientExtension
- func (o *Client) GetExtensionOk() (*ClientExtension, bool)
- func (o *Client) GetFrontChannelRequestObjectEncryptionRequired() bool
- func (o *Client) GetFrontChannelRequestObjectEncryptionRequiredOk() (*bool, bool)
- func (o *Client) GetGrantTypes() []GrantType
- func (o *Client) GetGrantTypesOk() ([]GrantType, bool)
- func (o *Client) GetIdTokenEncryptionAlg() JweAlg
- func (o *Client) GetIdTokenEncryptionAlgOk() (*JweAlg, bool)
- func (o *Client) GetIdTokenEncryptionEnc() JweEnc
- func (o *Client) GetIdTokenEncryptionEncOk() (*JweEnc, bool)
- func (o *Client) GetIdTokenSignAlg() JwsAlg
- func (o *Client) GetIdTokenSignAlgOk() (*JwsAlg, bool)
- func (o *Client) GetJwks() string
- func (o *Client) GetJwksOk() (*string, bool)
- func (o *Client) GetJwksUri() string
- func (o *Client) GetJwksUriOk() (*string, bool)
- func (o *Client) GetLoginUri() string
- func (o *Client) GetLoginUriOk() (*string, bool)
- func (o *Client) GetLogoUri() string
- func (o *Client) GetLogoUriOk() (*string, bool)
- func (o *Client) GetLogoUris() []TaggedValue
- func (o *Client) GetLogoUrisOk() ([]TaggedValue, bool)
- func (o *Client) GetModifiedAt() int64
- func (o *Client) GetModifiedAtOk() (*int64, bool)
- func (o *Client) GetNumber() int32
- func (o *Client) GetNumberOk() (*int32, bool)
- func (o *Client) GetOrganizationName() string
- func (o *Client) GetOrganizationNameOk() (*string, bool)
- func (o *Client) GetParRequired() bool
- func (o *Client) GetParRequiredOk() (*bool, bool)
- func (o *Client) GetPkceRequired() bool
- func (o *Client) GetPkceRequiredOk() (*bool, bool)
- func (o *Client) GetPkceS256Required() bool
- func (o *Client) GetPkceS256RequiredOk() (*bool, bool)
- func (o *Client) GetPolicyUri() string
- func (o *Client) GetPolicyUriOk() (*string, bool)
- func (o *Client) GetPolicyUris() []TaggedValue
- func (o *Client) GetPolicyUrisOk() ([]TaggedValue, bool)
- func (o *Client) GetRedirectUris() []string
- func (o *Client) GetRedirectUrisOk() ([]string, bool)
- func (o *Client) GetRegistrationAccessTokenHash() string
- func (o *Client) GetRegistrationAccessTokenHashOk() (*string, bool)
- func (o *Client) GetRequestEncryptionAlg() JweAlg
- func (o *Client) GetRequestEncryptionAlgOk() (*JweAlg, bool)
- func (o *Client) GetRequestEncryptionEnc() JweEnc
- func (o *Client) GetRequestEncryptionEncOk() (*JweEnc, bool)
- func (o *Client) GetRequestObjectEncryptionAlgMatchRequired() bool
- func (o *Client) GetRequestObjectEncryptionAlgMatchRequiredOk() (*bool, bool)
- func (o *Client) GetRequestObjectEncryptionEncMatchRequired() bool
- func (o *Client) GetRequestObjectEncryptionEncMatchRequiredOk() (*bool, bool)
- func (o *Client) GetRequestObjectRequired() bool
- func (o *Client) GetRequestObjectRequiredOk() (*bool, bool)
- func (o *Client) GetRequestSignAlg() JwsAlg
- func (o *Client) GetRequestSignAlgOk() (*JwsAlg, bool)
- func (o *Client) GetRequestUris() []string
- func (o *Client) GetRequestUrisOk() ([]string, bool)
- func (o *Client) GetResponseTypes() []ResponseType
- func (o *Client) GetResponseTypesOk() ([]ResponseType, bool)
- func (o *Client) GetRsResponseSigned() bool
- func (o *Client) GetRsResponseSignedOk() (*bool, bool)
- func (o *Client) GetRsSignedRequestKeyId() string
- func (o *Client) GetRsSignedRequestKeyIdOk() (*string, bool)
- func (o *Client) GetSectorIdentifierUri() string
- func (o *Client) GetSectorIdentifierUriOk() (*string, bool)
- func (o *Client) GetSelfSignedCertificateKeyId() string
- func (o *Client) GetSelfSignedCertificateKeyIdOk() (*string, bool)
- func (o *Client) GetServiceNumber() int32
- func (o *Client) GetServiceNumberOk() (*int32, bool)
- func (o *Client) GetSignedJwksUri() string
- func (o *Client) GetSignedJwksUriOk() (*string, bool)
- func (o *Client) GetSingleAccessTokenPerSubject() bool
- func (o *Client) GetSingleAccessTokenPerSubjectOk() (*bool, bool)
- func (o *Client) GetSoftwareId() string
- func (o *Client) GetSoftwareIdOk() (*string, bool)
- func (o *Client) GetSoftwareVersion() string
- func (o *Client) GetSoftwareVersionOk() (*string, bool)
- func (o *Client) GetSubjectType() SubjectType
- func (o *Client) GetSubjectTypeOk() (*SubjectType, bool)
- func (o *Client) GetTlsClientAuthSanDns() string
- func (o *Client) GetTlsClientAuthSanDnsOk() (*string, bool)
- func (o *Client) GetTlsClientAuthSanEmail() string
- func (o *Client) GetTlsClientAuthSanEmailOk() (*string, bool)
- func (o *Client) GetTlsClientAuthSanIp() string
- func (o *Client) GetTlsClientAuthSanIpOk() (*string, bool)
- func (o *Client) GetTlsClientAuthSanUri() string
- func (o *Client) GetTlsClientAuthSanUriOk() (*string, bool)
- func (o *Client) GetTlsClientAuthSubjectDn() string
- func (o *Client) GetTlsClientAuthSubjectDnOk() (*string, bool)
- func (o *Client) GetTlsClientCertificateBoundAccessTokens() bool
- func (o *Client) GetTlsClientCertificateBoundAccessTokensOk() (*bool, bool)
- func (o *Client) GetTokenAuthMethod() ClientAuthenticationMethod
- func (o *Client) GetTokenAuthMethodOk() (*ClientAuthenticationMethod, bool)
- func (o *Client) GetTokenAuthSignAlg() JwsAlg
- func (o *Client) GetTokenAuthSignAlgOk() (*JwsAlg, bool)
- func (o *Client) GetTosUri() string
- func (o *Client) GetTosUriOk() (*string, bool)
- func (o *Client) GetTosUris() []TaggedValue
- func (o *Client) GetTosUrisOk() ([]TaggedValue, bool)
- func (o *Client) GetTrustAnchorId() string
- func (o *Client) GetTrustAnchorIdOk() (*string, bool)
- func (o *Client) GetTrustChain() []string
- func (o *Client) GetTrustChainExpiresAt() int64
- func (o *Client) GetTrustChainExpiresAtOk() (*int64, bool)
- func (o *Client) GetTrustChainOk() ([]string, bool)
- func (o *Client) GetTrustChainUpdatedAt() int64
- func (o *Client) GetTrustChainUpdatedAtOk() (*int64, bool)
- func (o *Client) GetUserInfoEncryptionAlg() JweAlg
- func (o *Client) GetUserInfoEncryptionAlgOk() (*JweAlg, bool)
- func (o *Client) GetUserInfoEncryptionEnc() JweEnc
- func (o *Client) GetUserInfoEncryptionEncOk() (*JweEnc, bool)
- func (o *Client) GetUserInfoSignAlg() JwsAlg
- func (o *Client) GetUserInfoSignAlgOk() (*JwsAlg, bool)
- func (o *Client) HasApplicationType() bool
- func (o *Client) HasAttributes() bool
- func (o *Client) HasAuthTimeRequired() bool
- func (o *Client) HasAuthorizationDetailsTypes() bool
- func (o *Client) HasAuthorizationEncryptionAlg() bool
- func (o *Client) HasAuthorizationEncryptionEnc() bool
- func (o *Client) HasAuthorizationSignAlg() bool
- func (o *Client) HasAutomaticallyRegistered() bool
- func (o *Client) HasBcDeliveryMode() bool
- func (o *Client) HasBcNotificationEndpoint() bool
- func (o *Client) HasBcRequestSignAlg() bool
- func (o *Client) HasBcUserCodeRequired() bool
- func (o *Client) HasClientId() bool
- func (o *Client) HasClientIdAlias() bool
- func (o *Client) HasClientIdAliasEnabled() bool
- func (o *Client) HasClientName() bool
- func (o *Client) HasClientNames() bool
- func (o *Client) HasClientRegistrationTypes() bool
- func (o *Client) HasClientSecret() bool
- func (o *Client) HasClientType() bool
- func (o *Client) HasClientUri() bool
- func (o *Client) HasClientUris() bool
- func (o *Client) HasContacts() bool
- func (o *Client) HasCreatedAt() bool
- func (o *Client) HasCustomMetadata() bool
- func (o *Client) HasDefaultAcrs() bool
- func (o *Client) HasDefaultMaxAge() bool
- func (o *Client) HasDerivedSectorIdentifier() bool
- func (o *Client) HasDescription() bool
- func (o *Client) HasDescriptions() bool
- func (o *Client) HasDeveloper() bool
- func (o *Client) HasDigestAlgorithm() bool
- func (o *Client) HasDpopRequired() bool
- func (o *Client) HasDynamicallyRegistered() bool
- func (o *Client) HasEntityId() bool
- func (o *Client) HasExplicitlyRegistered() bool
- func (o *Client) HasExtension() bool
- func (o *Client) HasFrontChannelRequestObjectEncryptionRequired() bool
- func (o *Client) HasGrantTypes() bool
- func (o *Client) HasIdTokenEncryptionAlg() bool
- func (o *Client) HasIdTokenEncryptionEnc() bool
- func (o *Client) HasIdTokenSignAlg() bool
- func (o *Client) HasJwks() bool
- func (o *Client) HasJwksUri() bool
- func (o *Client) HasLoginUri() bool
- func (o *Client) HasLogoUri() bool
- func (o *Client) HasLogoUris() bool
- func (o *Client) HasModifiedAt() bool
- func (o *Client) HasNumber() bool
- func (o *Client) HasOrganizationName() bool
- func (o *Client) HasParRequired() bool
- func (o *Client) HasPkceRequired() bool
- func (o *Client) HasPkceS256Required() bool
- func (o *Client) HasPolicyUri() bool
- func (o *Client) HasPolicyUris() bool
- func (o *Client) HasRedirectUris() bool
- func (o *Client) HasRegistrationAccessTokenHash() bool
- func (o *Client) HasRequestEncryptionAlg() bool
- func (o *Client) HasRequestEncryptionEnc() bool
- func (o *Client) HasRequestObjectEncryptionAlgMatchRequired() bool
- func (o *Client) HasRequestObjectEncryptionEncMatchRequired() bool
- func (o *Client) HasRequestObjectRequired() bool
- func (o *Client) HasRequestSignAlg() bool
- func (o *Client) HasRequestUris() bool
- func (o *Client) HasResponseTypes() bool
- func (o *Client) HasRsResponseSigned() bool
- func (o *Client) HasRsSignedRequestKeyId() bool
- func (o *Client) HasSectorIdentifierUri() bool
- func (o *Client) HasSelfSignedCertificateKeyId() bool
- func (o *Client) HasServiceNumber() bool
- func (o *Client) HasSignedJwksUri() bool
- func (o *Client) HasSingleAccessTokenPerSubject() bool
- func (o *Client) HasSoftwareId() bool
- func (o *Client) HasSoftwareVersion() bool
- func (o *Client) HasSubjectType() bool
- func (o *Client) HasTlsClientAuthSanDns() bool
- func (o *Client) HasTlsClientAuthSanEmail() bool
- func (o *Client) HasTlsClientAuthSanIp() bool
- func (o *Client) HasTlsClientAuthSanUri() bool
- func (o *Client) HasTlsClientAuthSubjectDn() bool
- func (o *Client) HasTlsClientCertificateBoundAccessTokens() bool
- func (o *Client) HasTokenAuthMethod() bool
- func (o *Client) HasTokenAuthSignAlg() bool
- func (o *Client) HasTosUri() bool
- func (o *Client) HasTosUris() bool
- func (o *Client) HasTrustAnchorId() bool
- func (o *Client) HasTrustChain() bool
- func (o *Client) HasTrustChainExpiresAt() bool
- func (o *Client) HasTrustChainUpdatedAt() bool
- func (o *Client) HasUserInfoEncryptionAlg() bool
- func (o *Client) HasUserInfoEncryptionEnc() bool
- func (o *Client) HasUserInfoSignAlg() bool
- func (o Client) MarshalJSON() ([]byte, error)
- func (o *Client) SetApplicationType(v ApplicationType)
- func (o *Client) SetApplicationTypeNil()
- func (o *Client) SetAttributes(v []Pair)
- func (o *Client) SetAuthTimeRequired(v bool)
- func (o *Client) SetAuthorizationDetailsTypes(v []string)
- func (o *Client) SetAuthorizationEncryptionAlg(v JweAlg)
- func (o *Client) SetAuthorizationEncryptionEnc(v JweEnc)
- func (o *Client) SetAuthorizationSignAlg(v JwsAlg)
- func (o *Client) SetAutomaticallyRegistered(v bool)
- func (o *Client) SetBcDeliveryMode(v string)
- func (o *Client) SetBcNotificationEndpoint(v string)
- func (o *Client) SetBcRequestSignAlg(v JwsAlg)
- func (o *Client) SetBcUserCodeRequired(v bool)
- func (o *Client) SetClientId(v int64)
- func (o *Client) SetClientIdAlias(v string)
- func (o *Client) SetClientIdAliasEnabled(v bool)
- func (o *Client) SetClientName(v string)
- func (o *Client) SetClientNames(v []TaggedValue)
- func (o *Client) SetClientRegistrationTypes(v []ClientRegistrationType)
- func (o *Client) SetClientSecret(v string)
- func (o *Client) SetClientType(v ClientType)
- func (o *Client) SetClientUri(v string)
- func (o *Client) SetClientUris(v []TaggedValue)
- func (o *Client) SetContacts(v []string)
- func (o *Client) SetCreatedAt(v int64)
- func (o *Client) SetCustomMetadata(v string)
- func (o *Client) SetDefaultAcrs(v []string)
- func (o *Client) SetDefaultMaxAge(v int32)
- func (o *Client) SetDerivedSectorIdentifier(v string)
- func (o *Client) SetDescription(v string)
- func (o *Client) SetDescriptions(v []TaggedValue)
- func (o *Client) SetDeveloper(v string)
- func (o *Client) SetDigestAlgorithm(v string)
- func (o *Client) SetDpopRequired(v bool)
- func (o *Client) SetDynamicallyRegistered(v bool)
- func (o *Client) SetEntityId(v string)
- func (o *Client) SetExplicitlyRegistered(v bool)
- func (o *Client) SetExtension(v ClientExtension)
- func (o *Client) SetFrontChannelRequestObjectEncryptionRequired(v bool)
- func (o *Client) SetGrantTypes(v []GrantType)
- func (o *Client) SetIdTokenEncryptionAlg(v JweAlg)
- func (o *Client) SetIdTokenEncryptionEnc(v JweEnc)
- func (o *Client) SetIdTokenSignAlg(v JwsAlg)
- func (o *Client) SetJwks(v string)
- func (o *Client) SetJwksUri(v string)
- func (o *Client) SetLoginUri(v string)
- func (o *Client) SetLogoUri(v string)
- func (o *Client) SetLogoUris(v []TaggedValue)
- func (o *Client) SetModifiedAt(v int64)
- func (o *Client) SetNumber(v int32)
- func (o *Client) SetOrganizationName(v string)
- func (o *Client) SetParRequired(v bool)
- func (o *Client) SetPkceRequired(v bool)
- func (o *Client) SetPkceS256Required(v bool)
- func (o *Client) SetPolicyUri(v string)
- func (o *Client) SetPolicyUris(v []TaggedValue)
- func (o *Client) SetRedirectUris(v []string)
- func (o *Client) SetRegistrationAccessTokenHash(v string)
- func (o *Client) SetRequestEncryptionAlg(v JweAlg)
- func (o *Client) SetRequestEncryptionEnc(v JweEnc)
- func (o *Client) SetRequestObjectEncryptionAlgMatchRequired(v bool)
- func (o *Client) SetRequestObjectEncryptionEncMatchRequired(v bool)
- func (o *Client) SetRequestObjectRequired(v bool)
- func (o *Client) SetRequestSignAlg(v JwsAlg)
- func (o *Client) SetRequestUris(v []string)
- func (o *Client) SetResponseTypes(v []ResponseType)
- func (o *Client) SetRsResponseSigned(v bool)
- func (o *Client) SetRsSignedRequestKeyId(v string)
- func (o *Client) SetSectorIdentifierUri(v string)
- func (o *Client) SetSelfSignedCertificateKeyId(v string)
- func (o *Client) SetServiceNumber(v int32)
- func (o *Client) SetSignedJwksUri(v string)
- func (o *Client) SetSingleAccessTokenPerSubject(v bool)
- func (o *Client) SetSoftwareId(v string)
- func (o *Client) SetSoftwareVersion(v string)
- func (o *Client) SetSubjectType(v SubjectType)
- func (o *Client) SetTlsClientAuthSanDns(v string)
- func (o *Client) SetTlsClientAuthSanEmail(v string)
- func (o *Client) SetTlsClientAuthSanIp(v string)
- func (o *Client) SetTlsClientAuthSanUri(v string)
- func (o *Client) SetTlsClientAuthSubjectDn(v string)
- func (o *Client) SetTlsClientCertificateBoundAccessTokens(v bool)
- func (o *Client) SetTokenAuthMethod(v ClientAuthenticationMethod)
- func (o *Client) SetTokenAuthSignAlg(v JwsAlg)
- func (o *Client) SetTosUri(v string)
- func (o *Client) SetTosUris(v []TaggedValue)
- func (o *Client) SetTrustAnchorId(v string)
- func (o *Client) SetTrustChain(v []string)
- func (o *Client) SetTrustChainExpiresAt(v int64)
- func (o *Client) SetTrustChainUpdatedAt(v int64)
- func (o *Client) SetUserInfoEncryptionAlg(v JweAlg)
- func (o *Client) SetUserInfoEncryptionEnc(v JweEnc)
- func (o *Client) SetUserInfoSignAlg(v JwsAlg)
- func (o Client) ToMap() (map[string]interface{}, error)
- func (o *Client) UnsetApplicationType()
- type ClientAuthenticationMethod
- type ClientAuthorizationDeleteResponse
- func (o *ClientAuthorizationDeleteResponse) GetResultCode() string
- func (o *ClientAuthorizationDeleteResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientAuthorizationDeleteResponse) GetResultMessage() string
- func (o *ClientAuthorizationDeleteResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientAuthorizationDeleteResponse) HasResultCode() bool
- func (o *ClientAuthorizationDeleteResponse) HasResultMessage() bool
- func (o ClientAuthorizationDeleteResponse) MarshalJSON() ([]byte, error)
- func (o *ClientAuthorizationDeleteResponse) SetResultCode(v string)
- func (o *ClientAuthorizationDeleteResponse) SetResultMessage(v string)
- func (o ClientAuthorizationDeleteResponse) ToMap() (map[string]interface{}, error)
- type ClientAuthorizationGetListResponse
- func (o *ClientAuthorizationGetListResponse) GetClients() []Client
- func (o *ClientAuthorizationGetListResponse) GetClientsOk() ([]Client, bool)
- func (o *ClientAuthorizationGetListResponse) GetDeveloper() string
- func (o *ClientAuthorizationGetListResponse) GetDeveloperOk() (*string, bool)
- func (o *ClientAuthorizationGetListResponse) GetEnd() int32
- func (o *ClientAuthorizationGetListResponse) GetEndOk() (*int32, bool)
- func (o *ClientAuthorizationGetListResponse) GetStart() int32
- func (o *ClientAuthorizationGetListResponse) GetStartOk() (*int32, bool)
- func (o *ClientAuthorizationGetListResponse) GetSubject() string
- func (o *ClientAuthorizationGetListResponse) GetSubjectOk() (*string, bool)
- func (o *ClientAuthorizationGetListResponse) GetTotalCount() int32
- func (o *ClientAuthorizationGetListResponse) GetTotalCountOk() (*int32, bool)
- func (o *ClientAuthorizationGetListResponse) HasClients() bool
- func (o *ClientAuthorizationGetListResponse) HasDeveloper() bool
- func (o *ClientAuthorizationGetListResponse) HasEnd() bool
- func (o *ClientAuthorizationGetListResponse) HasStart() bool
- func (o *ClientAuthorizationGetListResponse) HasSubject() bool
- func (o *ClientAuthorizationGetListResponse) HasTotalCount() bool
- func (o ClientAuthorizationGetListResponse) MarshalJSON() ([]byte, error)
- func (o *ClientAuthorizationGetListResponse) SetClients(v []Client)
- func (o *ClientAuthorizationGetListResponse) SetDeveloper(v string)
- func (o *ClientAuthorizationGetListResponse) SetEnd(v int32)
- func (o *ClientAuthorizationGetListResponse) SetStart(v int32)
- func (o *ClientAuthorizationGetListResponse) SetSubject(v string)
- func (o *ClientAuthorizationGetListResponse) SetTotalCount(v int32)
- func (o ClientAuthorizationGetListResponse) ToMap() (map[string]interface{}, error)
- type ClientAuthorizationUpdateRequest
- func (o *ClientAuthorizationUpdateRequest) GetScopes() []string
- func (o *ClientAuthorizationUpdateRequest) GetScopesOk() ([]string, bool)
- func (o *ClientAuthorizationUpdateRequest) GetSubject() string
- func (o *ClientAuthorizationUpdateRequest) GetSubjectOk() (*string, bool)
- func (o *ClientAuthorizationUpdateRequest) HasScopes() bool
- func (o ClientAuthorizationUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ClientAuthorizationUpdateRequest) SetScopes(v []string)
- func (o *ClientAuthorizationUpdateRequest) SetSubject(v string)
- func (o ClientAuthorizationUpdateRequest) ToMap() (map[string]interface{}, error)
- type ClientAuthorizationUpdateResponse
- func (o *ClientAuthorizationUpdateResponse) GetResultCode() string
- func (o *ClientAuthorizationUpdateResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientAuthorizationUpdateResponse) GetResultMessage() string
- func (o *ClientAuthorizationUpdateResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientAuthorizationUpdateResponse) HasResultCode() bool
- func (o *ClientAuthorizationUpdateResponse) HasResultMessage() bool
- func (o ClientAuthorizationUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *ClientAuthorizationUpdateResponse) SetResultCode(v string)
- func (o *ClientAuthorizationUpdateResponse) SetResultMessage(v string)
- func (o ClientAuthorizationUpdateResponse) ToMap() (map[string]interface{}, error)
- type ClientExtension
- func (o *ClientExtension) GetAccessTokenDuration() int64
- func (o *ClientExtension) GetAccessTokenDurationOk() (*int64, bool)
- func (o *ClientExtension) GetRefreshTokenDuration() int64
- func (o *ClientExtension) GetRefreshTokenDurationOk() (*int64, bool)
- func (o *ClientExtension) GetRequestableScopes() []string
- func (o *ClientExtension) GetRequestableScopesEnabled() bool
- func (o *ClientExtension) GetRequestableScopesEnabledOk() (*bool, bool)
- func (o *ClientExtension) GetRequestableScopesOk() ([]string, bool)
- func (o *ClientExtension) GetTokenExchangePermitted() bool
- func (o *ClientExtension) GetTokenExchangePermittedOk() (*bool, bool)
- func (o *ClientExtension) HasAccessTokenDuration() bool
- func (o *ClientExtension) HasRefreshTokenDuration() bool
- func (o *ClientExtension) HasRequestableScopes() bool
- func (o *ClientExtension) HasRequestableScopesEnabled() bool
- func (o *ClientExtension) HasTokenExchangePermitted() bool
- func (o ClientExtension) MarshalJSON() ([]byte, error)
- func (o *ClientExtension) SetAccessTokenDuration(v int64)
- func (o *ClientExtension) SetRefreshTokenDuration(v int64)
- func (o *ClientExtension) SetRequestableScopes(v []string)
- func (o *ClientExtension) SetRequestableScopesEnabled(v bool)
- func (o *ClientExtension) SetTokenExchangePermitted(v bool)
- func (o ClientExtension) ToMap() (map[string]interface{}, error)
- type ClientFlagUpdateRequest
- func (o *ClientFlagUpdateRequest) GetClientLocked() bool
- func (o *ClientFlagUpdateRequest) GetClientLockedOk() (*bool, bool)
- func (o ClientFlagUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ClientFlagUpdateRequest) SetClientLocked(v bool)
- func (o ClientFlagUpdateRequest) ToMap() (map[string]interface{}, error)
- type ClientFlagUpdateResponse
- func (o *ClientFlagUpdateResponse) GetResultCode() string
- func (o *ClientFlagUpdateResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientFlagUpdateResponse) GetResultMessage() string
- func (o *ClientFlagUpdateResponse) GetResultMessageOk() (*string, bool)
- func (o ClientFlagUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *ClientFlagUpdateResponse) SetResultCode(v string)
- func (o *ClientFlagUpdateResponse) SetResultMessage(v string)
- func (o ClientFlagUpdateResponse) ToMap() (map[string]interface{}, error)
- type ClientGetListResponse
- func (o *ClientGetListResponse) GetClients() []Client
- func (o *ClientGetListResponse) GetClientsOk() ([]Client, bool)
- func (o *ClientGetListResponse) GetDeveloper() string
- func (o *ClientGetListResponse) GetDeveloperOk() (*string, bool)
- func (o *ClientGetListResponse) GetEnd() int32
- func (o *ClientGetListResponse) GetEndOk() (*int32, bool)
- func (o *ClientGetListResponse) GetStart() int32
- func (o *ClientGetListResponse) GetStartOk() (*int32, bool)
- func (o *ClientGetListResponse) GetTotalCount() int32
- func (o *ClientGetListResponse) GetTotalCountOk() (*int32, bool)
- func (o *ClientGetListResponse) HasClients() bool
- func (o *ClientGetListResponse) HasDeveloper() bool
- func (o *ClientGetListResponse) HasEnd() bool
- func (o *ClientGetListResponse) HasStart() bool
- func (o *ClientGetListResponse) HasTotalCount() bool
- func (o ClientGetListResponse) MarshalJSON() ([]byte, error)
- func (o *ClientGetListResponse) SetClients(v []Client)
- func (o *ClientGetListResponse) SetDeveloper(v string)
- func (o *ClientGetListResponse) SetEnd(v int32)
- func (o *ClientGetListResponse) SetStart(v int32)
- func (o *ClientGetListResponse) SetTotalCount(v int32)
- func (o ClientGetListResponse) ToMap() (map[string]interface{}, error)
- type ClientGrantedScopesDeleteResponse
- func (o *ClientGrantedScopesDeleteResponse) GetResultCode() string
- func (o *ClientGrantedScopesDeleteResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientGrantedScopesDeleteResponse) GetResultMessage() string
- func (o *ClientGrantedScopesDeleteResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientGrantedScopesDeleteResponse) HasResultCode() bool
- func (o *ClientGrantedScopesDeleteResponse) HasResultMessage() bool
- func (o ClientGrantedScopesDeleteResponse) MarshalJSON() ([]byte, error)
- func (o *ClientGrantedScopesDeleteResponse) SetResultCode(v string)
- func (o *ClientGrantedScopesDeleteResponse) SetResultMessage(v string)
- func (o ClientGrantedScopesDeleteResponse) ToMap() (map[string]interface{}, error)
- type ClientGrantedScopesGetResponse
- func (o *ClientGrantedScopesGetResponse) GetClientId() float32
- func (o *ClientGrantedScopesGetResponse) GetClientIdOk() (*float32, bool)
- func (o *ClientGrantedScopesGetResponse) GetLatestGrantedScopes() []string
- func (o *ClientGrantedScopesGetResponse) GetLatestGrantedScopesOk() ([]string, bool)
- func (o *ClientGrantedScopesGetResponse) GetMergedGrantedScopes() []string
- func (o *ClientGrantedScopesGetResponse) GetMergedGrantedScopesOk() ([]string, bool)
- func (o *ClientGrantedScopesGetResponse) GetModifiedAt() float32
- func (o *ClientGrantedScopesGetResponse) GetModifiedAtOk() (*float32, bool)
- func (o *ClientGrantedScopesGetResponse) GetResultCode() string
- func (o *ClientGrantedScopesGetResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientGrantedScopesGetResponse) GetResultMessage() string
- func (o *ClientGrantedScopesGetResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientGrantedScopesGetResponse) GetServiceApiKey() float32
- func (o *ClientGrantedScopesGetResponse) GetServiceApiKeyOk() (*float32, bool)
- func (o *ClientGrantedScopesGetResponse) GetSubject() string
- func (o *ClientGrantedScopesGetResponse) GetSubjectOk() (*string, bool)
- func (o *ClientGrantedScopesGetResponse) HasClientId() bool
- func (o *ClientGrantedScopesGetResponse) HasLatestGrantedScopes() bool
- func (o *ClientGrantedScopesGetResponse) HasMergedGrantedScopes() bool
- func (o *ClientGrantedScopesGetResponse) HasModifiedAt() bool
- func (o *ClientGrantedScopesGetResponse) HasResultCode() bool
- func (o *ClientGrantedScopesGetResponse) HasResultMessage() bool
- func (o *ClientGrantedScopesGetResponse) HasServiceApiKey() bool
- func (o *ClientGrantedScopesGetResponse) HasSubject() bool
- func (o ClientGrantedScopesGetResponse) MarshalJSON() ([]byte, error)
- func (o *ClientGrantedScopesGetResponse) SetClientId(v float32)
- func (o *ClientGrantedScopesGetResponse) SetLatestGrantedScopes(v []string)
- func (o *ClientGrantedScopesGetResponse) SetMergedGrantedScopes(v []string)
- func (o *ClientGrantedScopesGetResponse) SetModifiedAt(v float32)
- func (o *ClientGrantedScopesGetResponse) SetResultCode(v string)
- func (o *ClientGrantedScopesGetResponse) SetResultMessage(v string)
- func (o *ClientGrantedScopesGetResponse) SetServiceApiKey(v float32)
- func (o *ClientGrantedScopesGetResponse) SetSubject(v string)
- func (o ClientGrantedScopesGetResponse) ToMap() (map[string]interface{}, error)
- type ClientManagementApi
- type ClientManagementApiService
- func (a *ClientManagementApiService) ClientAuthorizationDeleteApi(ctx context.Context, clientId string, subject string) ApiClientAuthorizationDeleteApiRequest
- func (a *ClientManagementApiService) ClientAuthorizationDeleteApiExecute(r ApiClientAuthorizationDeleteApiRequest) (*ClientAuthorizationDeleteResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientAuthorizationGetListApi(ctx context.Context, subject string) ApiClientAuthorizationGetListApiRequest
- func (a *ClientManagementApiService) ClientAuthorizationGetListApiExecute(r ApiClientAuthorizationGetListApiRequest) (*ClientAuthorizationGetListResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientAuthorizationUpdateApi(ctx context.Context, clientId string) ApiClientAuthorizationUpdateApiRequest
- func (a *ClientManagementApiService) ClientAuthorizationUpdateApiExecute(r ApiClientAuthorizationUpdateApiRequest) (*ClientAuthorizationUpdateResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientCreateApi(ctx context.Context) ApiClientCreateApiRequest
- func (a *ClientManagementApiService) ClientCreateApiExecute(r ApiClientCreateApiRequest) (*Client, *http.Response, error)
- func (a *ClientManagementApiService) ClientDeleteApi(ctx context.Context, clientId string) ApiClientDeleteApiRequest
- func (a *ClientManagementApiService) ClientDeleteApiExecute(r ApiClientDeleteApiRequest) (*http.Response, error)
- func (a *ClientManagementApiService) ClientFlagUpdateApi(ctx context.Context, clientIdentifier string) ApiClientFlagUpdateApiRequest
- func (a *ClientManagementApiService) ClientFlagUpdateApiExecute(r ApiClientFlagUpdateApiRequest) (*ClientFlagUpdateResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientGetApi(ctx context.Context, clientId string) ApiClientGetApiRequest
- func (a *ClientManagementApiService) ClientGetApiExecute(r ApiClientGetApiRequest) (*Client, *http.Response, error)
- func (a *ClientManagementApiService) ClientGetListApi(ctx context.Context) ApiClientGetListApiRequest
- func (a *ClientManagementApiService) ClientGetListApiExecute(r ApiClientGetListApiRequest) (*ClientGetListResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientGrantedScopesDeleteApi(ctx context.Context, clientId string, subject string) ApiClientGrantedScopesDeleteApiRequest
- func (a *ClientManagementApiService) ClientGrantedScopesDeleteApiExecute(r ApiClientGrantedScopesDeleteApiRequest) (*ClientGrantedScopesDeleteResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientGrantedScopesGetApi(ctx context.Context, clientId string, subject string) ApiClientGrantedScopesGetApiRequest
- func (a *ClientManagementApiService) ClientGrantedScopesGetApiExecute(r ApiClientGrantedScopesGetApiRequest) (*ClientAuthorizationDeleteResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientSecretRefreshApi(ctx context.Context, clientIdentifier string) ApiClientSecretRefreshApiRequest
- func (a *ClientManagementApiService) ClientSecretRefreshApiExecute(r ApiClientSecretRefreshApiRequest) (*ClientSecretRefreshResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientSecretUpdateApi(ctx context.Context, clientIdentifier string) ApiClientSecretUpdateApiRequest
- func (a *ClientManagementApiService) ClientSecretUpdateApiExecute(r ApiClientSecretUpdateApiRequest) (*ClientSecretUpdateResponse, *http.Response, error)
- func (a *ClientManagementApiService) ClientUpdateApi(ctx context.Context, clientId string) ApiClientUpdateApiRequest
- func (a *ClientManagementApiService) ClientUpdateApiExecute(r ApiClientUpdateApiRequest) (*Client, *http.Response, error)
- type ClientRegistrationDeleteRequest
- func (o *ClientRegistrationDeleteRequest) GetClientId() string
- func (o *ClientRegistrationDeleteRequest) GetClientIdOk() (*string, bool)
- func (o *ClientRegistrationDeleteRequest) GetToken() string
- func (o *ClientRegistrationDeleteRequest) GetTokenOk() (*string, bool)
- func (o ClientRegistrationDeleteRequest) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationDeleteRequest) SetClientId(v string)
- func (o *ClientRegistrationDeleteRequest) SetToken(v string)
- func (o ClientRegistrationDeleteRequest) ToMap() (map[string]interface{}, error)
- type ClientRegistrationDeleteResponse
- func (o *ClientRegistrationDeleteResponse) GetAction() string
- func (o *ClientRegistrationDeleteResponse) GetActionOk() (*string, bool)
- func (o *ClientRegistrationDeleteResponse) GetResponseContent() string
- func (o *ClientRegistrationDeleteResponse) GetResponseContentOk() (*string, bool)
- func (o *ClientRegistrationDeleteResponse) GetResultCode() string
- func (o *ClientRegistrationDeleteResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientRegistrationDeleteResponse) GetResultMessage() string
- func (o *ClientRegistrationDeleteResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientRegistrationDeleteResponse) HasAction() bool
- func (o *ClientRegistrationDeleteResponse) HasResponseContent() bool
- func (o *ClientRegistrationDeleteResponse) HasResultCode() bool
- func (o *ClientRegistrationDeleteResponse) HasResultMessage() bool
- func (o ClientRegistrationDeleteResponse) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationDeleteResponse) SetAction(v string)
- func (o *ClientRegistrationDeleteResponse) SetResponseContent(v string)
- func (o *ClientRegistrationDeleteResponse) SetResultCode(v string)
- func (o *ClientRegistrationDeleteResponse) SetResultMessage(v string)
- func (o ClientRegistrationDeleteResponse) ToMap() (map[string]interface{}, error)
- type ClientRegistrationGetRequest
- func (o *ClientRegistrationGetRequest) GetClientId() string
- func (o *ClientRegistrationGetRequest) GetClientIdOk() (*string, bool)
- func (o *ClientRegistrationGetRequest) GetToken() string
- func (o *ClientRegistrationGetRequest) GetTokenOk() (*string, bool)
- func (o ClientRegistrationGetRequest) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationGetRequest) SetClientId(v string)
- func (o *ClientRegistrationGetRequest) SetToken(v string)
- func (o ClientRegistrationGetRequest) ToMap() (map[string]interface{}, error)
- type ClientRegistrationGetResponse
- func (o *ClientRegistrationGetResponse) GetAction() string
- func (o *ClientRegistrationGetResponse) GetActionOk() (*string, bool)
- func (o *ClientRegistrationGetResponse) GetClient() Client
- func (o *ClientRegistrationGetResponse) GetClientOk() (*Client, bool)
- func (o *ClientRegistrationGetResponse) GetResponseContent() string
- func (o *ClientRegistrationGetResponse) GetResponseContentOk() (*string, bool)
- func (o *ClientRegistrationGetResponse) GetResultCode() string
- func (o *ClientRegistrationGetResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientRegistrationGetResponse) GetResultMessage() string
- func (o *ClientRegistrationGetResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientRegistrationGetResponse) HasAction() bool
- func (o *ClientRegistrationGetResponse) HasClient() bool
- func (o *ClientRegistrationGetResponse) HasResponseContent() bool
- func (o *ClientRegistrationGetResponse) HasResultCode() bool
- func (o *ClientRegistrationGetResponse) HasResultMessage() bool
- func (o ClientRegistrationGetResponse) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationGetResponse) SetAction(v string)
- func (o *ClientRegistrationGetResponse) SetClient(v Client)
- func (o *ClientRegistrationGetResponse) SetResponseContent(v string)
- func (o *ClientRegistrationGetResponse) SetResultCode(v string)
- func (o *ClientRegistrationGetResponse) SetResultMessage(v string)
- func (o ClientRegistrationGetResponse) ToMap() (map[string]interface{}, error)
- type ClientRegistrationRequest
- func (o *ClientRegistrationRequest) GetClientId() string
- func (o *ClientRegistrationRequest) GetClientIdOk() (*string, bool)
- func (o *ClientRegistrationRequest) GetJson() string
- func (o *ClientRegistrationRequest) GetJsonOk() (*string, bool)
- func (o *ClientRegistrationRequest) GetToken() string
- func (o *ClientRegistrationRequest) GetTokenOk() (*string, bool)
- func (o *ClientRegistrationRequest) HasClientId() bool
- func (o *ClientRegistrationRequest) HasToken() bool
- func (o ClientRegistrationRequest) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationRequest) SetClientId(v string)
- func (o *ClientRegistrationRequest) SetJson(v string)
- func (o *ClientRegistrationRequest) SetToken(v string)
- func (o ClientRegistrationRequest) ToMap() (map[string]interface{}, error)
- type ClientRegistrationResponse
- func (o *ClientRegistrationResponse) GetAction() string
- func (o *ClientRegistrationResponse) GetActionOk() (*string, bool)
- func (o *ClientRegistrationResponse) GetClient() Client
- func (o *ClientRegistrationResponse) GetClientOk() (*Client, bool)
- func (o *ClientRegistrationResponse) GetResponseContent() string
- func (o *ClientRegistrationResponse) GetResponseContentOk() (*string, bool)
- func (o *ClientRegistrationResponse) GetResultCode() string
- func (o *ClientRegistrationResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientRegistrationResponse) GetResultMessage() string
- func (o *ClientRegistrationResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientRegistrationResponse) HasAction() bool
- func (o *ClientRegistrationResponse) HasClient() bool
- func (o *ClientRegistrationResponse) HasResponseContent() bool
- func (o *ClientRegistrationResponse) HasResultCode() bool
- func (o *ClientRegistrationResponse) HasResultMessage() bool
- func (o ClientRegistrationResponse) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationResponse) SetAction(v string)
- func (o *ClientRegistrationResponse) SetClient(v Client)
- func (o *ClientRegistrationResponse) SetResponseContent(v string)
- func (o *ClientRegistrationResponse) SetResultCode(v string)
- func (o *ClientRegistrationResponse) SetResultMessage(v string)
- func (o ClientRegistrationResponse) ToMap() (map[string]interface{}, error)
- type ClientRegistrationType
- type ClientRegistrationUpdateRequest
- func (o *ClientRegistrationUpdateRequest) GetClientId() string
- func (o *ClientRegistrationUpdateRequest) GetClientIdOk() (*string, bool)
- func (o *ClientRegistrationUpdateRequest) GetJson() string
- func (o *ClientRegistrationUpdateRequest) GetJsonOk() (*string, bool)
- func (o *ClientRegistrationUpdateRequest) GetToken() string
- func (o *ClientRegistrationUpdateRequest) GetTokenOk() (*string, bool)
- func (o ClientRegistrationUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationUpdateRequest) SetClientId(v string)
- func (o *ClientRegistrationUpdateRequest) SetJson(v string)
- func (o *ClientRegistrationUpdateRequest) SetToken(v string)
- func (o ClientRegistrationUpdateRequest) ToMap() (map[string]interface{}, error)
- type ClientRegistrationUpdateResponse
- func (o *ClientRegistrationUpdateResponse) GetAction() string
- func (o *ClientRegistrationUpdateResponse) GetActionOk() (*string, bool)
- func (o *ClientRegistrationUpdateResponse) GetClient() Client
- func (o *ClientRegistrationUpdateResponse) GetClientOk() (*Client, bool)
- func (o *ClientRegistrationUpdateResponse) GetResponseContent() string
- func (o *ClientRegistrationUpdateResponse) GetResponseContentOk() (*string, bool)
- func (o *ClientRegistrationUpdateResponse) GetResultCode() string
- func (o *ClientRegistrationUpdateResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientRegistrationUpdateResponse) GetResultMessage() string
- func (o *ClientRegistrationUpdateResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientRegistrationUpdateResponse) HasAction() bool
- func (o *ClientRegistrationUpdateResponse) HasClient() bool
- func (o *ClientRegistrationUpdateResponse) HasResponseContent() bool
- func (o *ClientRegistrationUpdateResponse) HasResultCode() bool
- func (o *ClientRegistrationUpdateResponse) HasResultMessage() bool
- func (o ClientRegistrationUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *ClientRegistrationUpdateResponse) SetAction(v string)
- func (o *ClientRegistrationUpdateResponse) SetClient(v Client)
- func (o *ClientRegistrationUpdateResponse) SetResponseContent(v string)
- func (o *ClientRegistrationUpdateResponse) SetResultCode(v string)
- func (o *ClientRegistrationUpdateResponse) SetResultMessage(v string)
- func (o ClientRegistrationUpdateResponse) ToMap() (map[string]interface{}, error)
- type ClientSecretRefreshResponse
- func (o *ClientSecretRefreshResponse) GetNewClientSecret() string
- func (o *ClientSecretRefreshResponse) GetNewClientSecretOk() (*string, bool)
- func (o *ClientSecretRefreshResponse) GetOldClientSecret() string
- func (o *ClientSecretRefreshResponse) GetOldClientSecretOk() (*string, bool)
- func (o *ClientSecretRefreshResponse) GetResultCode() string
- func (o *ClientSecretRefreshResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientSecretRefreshResponse) GetResultMessage() string
- func (o *ClientSecretRefreshResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientSecretRefreshResponse) HasNewClientSecret() bool
- func (o *ClientSecretRefreshResponse) HasOldClientSecret() bool
- func (o *ClientSecretRefreshResponse) HasResultCode() bool
- func (o *ClientSecretRefreshResponse) HasResultMessage() bool
- func (o ClientSecretRefreshResponse) MarshalJSON() ([]byte, error)
- func (o *ClientSecretRefreshResponse) SetNewClientSecret(v string)
- func (o *ClientSecretRefreshResponse) SetOldClientSecret(v string)
- func (o *ClientSecretRefreshResponse) SetResultCode(v string)
- func (o *ClientSecretRefreshResponse) SetResultMessage(v string)
- func (o ClientSecretRefreshResponse) ToMap() (map[string]interface{}, error)
- type ClientSecretUpdateRequest
- func (o *ClientSecretUpdateRequest) GetClientSecret() string
- func (o *ClientSecretUpdateRequest) GetClientSecretOk() (*string, bool)
- func (o ClientSecretUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ClientSecretUpdateRequest) SetClientSecret(v string)
- func (o ClientSecretUpdateRequest) ToMap() (map[string]interface{}, error)
- type ClientSecretUpdateResponse
- func (o *ClientSecretUpdateResponse) GetNewClientSecret() string
- func (o *ClientSecretUpdateResponse) GetNewClientSecretOk() (*string, bool)
- func (o *ClientSecretUpdateResponse) GetOldClientSecret() string
- func (o *ClientSecretUpdateResponse) GetOldClientSecretOk() (*string, bool)
- func (o *ClientSecretUpdateResponse) GetResultCode() string
- func (o *ClientSecretUpdateResponse) GetResultCodeOk() (*string, bool)
- func (o *ClientSecretUpdateResponse) GetResultMessage() string
- func (o *ClientSecretUpdateResponse) GetResultMessageOk() (*string, bool)
- func (o *ClientSecretUpdateResponse) HasNewClientSecret() bool
- func (o *ClientSecretUpdateResponse) HasOldClientSecret() bool
- func (o *ClientSecretUpdateResponse) HasResultCode() bool
- func (o *ClientSecretUpdateResponse) HasResultMessage() bool
- func (o ClientSecretUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *ClientSecretUpdateResponse) SetNewClientSecret(v string)
- func (o *ClientSecretUpdateResponse) SetOldClientSecret(v string)
- func (o *ClientSecretUpdateResponse) SetResultCode(v string)
- func (o *ClientSecretUpdateResponse) SetResultMessage(v string)
- func (o ClientSecretUpdateResponse) ToMap() (map[string]interface{}, error)
- type ClientType
- type Configuration
- type ConfigurationEndpointApi
- type ConfigurationEndpointApiService
- type DeliveryMode
- type DeviceAuthorizationRequest
- func (o *DeviceAuthorizationRequest) GetClientCertificate() string
- func (o *DeviceAuthorizationRequest) GetClientCertificateOk() (*string, bool)
- func (o *DeviceAuthorizationRequest) GetClientCertificatePath() string
- func (o *DeviceAuthorizationRequest) GetClientCertificatePathOk() (*string, bool)
- func (o *DeviceAuthorizationRequest) GetClientId() string
- func (o *DeviceAuthorizationRequest) GetClientIdOk() (*string, bool)
- func (o *DeviceAuthorizationRequest) GetClientSecret() string
- func (o *DeviceAuthorizationRequest) GetClientSecretOk() (*string, bool)
- func (o *DeviceAuthorizationRequest) GetParameters() string
- func (o *DeviceAuthorizationRequest) GetParametersOk() (*string, bool)
- func (o *DeviceAuthorizationRequest) HasClientCertificate() bool
- func (o *DeviceAuthorizationRequest) HasClientCertificatePath() bool
- func (o *DeviceAuthorizationRequest) HasClientId() bool
- func (o *DeviceAuthorizationRequest) HasClientSecret() bool
- func (o DeviceAuthorizationRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceAuthorizationRequest) SetClientCertificate(v string)
- func (o *DeviceAuthorizationRequest) SetClientCertificatePath(v string)
- func (o *DeviceAuthorizationRequest) SetClientId(v string)
- func (o *DeviceAuthorizationRequest) SetClientSecret(v string)
- func (o *DeviceAuthorizationRequest) SetParameters(v string)
- func (o DeviceAuthorizationRequest) ToMap() (map[string]interface{}, error)
- type DeviceAuthorizationResponse
- func (o *DeviceAuthorizationResponse) GetAcrs() []string
- func (o *DeviceAuthorizationResponse) GetAcrsOk() ([]string, bool)
- func (o *DeviceAuthorizationResponse) GetAction() string
- func (o *DeviceAuthorizationResponse) GetActionOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *DeviceAuthorizationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *DeviceAuthorizationResponse) GetClaimNames() []string
- func (o *DeviceAuthorizationResponse) GetClaimNamesOk() ([]string, bool)
- func (o *DeviceAuthorizationResponse) GetClientAttributes() []Pair
- func (o *DeviceAuthorizationResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *DeviceAuthorizationResponse) GetClientAuthMethod() string
- func (o *DeviceAuthorizationResponse) GetClientAuthMethodOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetClientEntityId() string
- func (o *DeviceAuthorizationResponse) GetClientEntityIdOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetClientEntityIdUsed() bool
- func (o *DeviceAuthorizationResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *DeviceAuthorizationResponse) GetClientId() int64
- func (o *DeviceAuthorizationResponse) GetClientIdAlias() string
- func (o *DeviceAuthorizationResponse) GetClientIdAliasOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetClientIdAliasUsed() bool
- func (o *DeviceAuthorizationResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *DeviceAuthorizationResponse) GetClientIdOk() (*int64, bool)
- func (o *DeviceAuthorizationResponse) GetClientName() string
- func (o *DeviceAuthorizationResponse) GetClientNameOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetDeviceCode() string
- func (o *DeviceAuthorizationResponse) GetDeviceCodeOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetDynamicScopes() []DynamicScope
- func (o *DeviceAuthorizationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)
- func (o *DeviceAuthorizationResponse) GetExpiresIn() int32
- func (o *DeviceAuthorizationResponse) GetExpiresInOk() (*int32, bool)
- func (o *DeviceAuthorizationResponse) GetGmAction() GrantManagementAction
- func (o *DeviceAuthorizationResponse) GetGmActionOk() (*GrantManagementAction, bool)
- func (o *DeviceAuthorizationResponse) GetGrant() Grant
- func (o *DeviceAuthorizationResponse) GetGrantId() string
- func (o *DeviceAuthorizationResponse) GetGrantIdOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetGrantOk() (*Grant, bool)
- func (o *DeviceAuthorizationResponse) GetGrantSubject() string
- func (o *DeviceAuthorizationResponse) GetGrantSubjectOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetInterval() int32
- func (o *DeviceAuthorizationResponse) GetIntervalOk() (*int32, bool)
- func (o *DeviceAuthorizationResponse) GetResources() []string
- func (o *DeviceAuthorizationResponse) GetResourcesOk() ([]string, bool)
- func (o *DeviceAuthorizationResponse) GetResponseContent() string
- func (o *DeviceAuthorizationResponse) GetResponseContentOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetResultCode() string
- func (o *DeviceAuthorizationResponse) GetResultCodeOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetResultMessage() string
- func (o *DeviceAuthorizationResponse) GetResultMessageOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetScopes() []string
- func (o *DeviceAuthorizationResponse) GetScopesOk() ([]string, bool)
- func (o *DeviceAuthorizationResponse) GetServiceAttributes() []Pair
- func (o *DeviceAuthorizationResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *DeviceAuthorizationResponse) GetUserCode() string
- func (o *DeviceAuthorizationResponse) GetUserCodeOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetVerificationUri() string
- func (o *DeviceAuthorizationResponse) GetVerificationUriComplete() string
- func (o *DeviceAuthorizationResponse) GetVerificationUriCompleteOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetVerificationUriOk() (*string, bool)
- func (o *DeviceAuthorizationResponse) GetWarnings() []string
- func (o *DeviceAuthorizationResponse) GetWarningsOk() ([]string, bool)
- func (o *DeviceAuthorizationResponse) HasAcrs() bool
- func (o *DeviceAuthorizationResponse) HasAction() bool
- func (o *DeviceAuthorizationResponse) HasAuthorizationDetails() bool
- func (o *DeviceAuthorizationResponse) HasClaimNames() bool
- func (o *DeviceAuthorizationResponse) HasClientAttributes() bool
- func (o *DeviceAuthorizationResponse) HasClientAuthMethod() bool
- func (o *DeviceAuthorizationResponse) HasClientEntityId() bool
- func (o *DeviceAuthorizationResponse) HasClientEntityIdUsed() bool
- func (o *DeviceAuthorizationResponse) HasClientId() bool
- func (o *DeviceAuthorizationResponse) HasClientIdAlias() bool
- func (o *DeviceAuthorizationResponse) HasClientIdAliasUsed() bool
- func (o *DeviceAuthorizationResponse) HasClientName() bool
- func (o *DeviceAuthorizationResponse) HasDeviceCode() bool
- func (o *DeviceAuthorizationResponse) HasDynamicScopes() bool
- func (o *DeviceAuthorizationResponse) HasExpiresIn() bool
- func (o *DeviceAuthorizationResponse) HasGmAction() bool
- func (o *DeviceAuthorizationResponse) HasGrant() bool
- func (o *DeviceAuthorizationResponse) HasGrantId() bool
- func (o *DeviceAuthorizationResponse) HasGrantSubject() bool
- func (o *DeviceAuthorizationResponse) HasInterval() bool
- func (o *DeviceAuthorizationResponse) HasResources() bool
- func (o *DeviceAuthorizationResponse) HasResponseContent() bool
- func (o *DeviceAuthorizationResponse) HasResultCode() bool
- func (o *DeviceAuthorizationResponse) HasResultMessage() bool
- func (o *DeviceAuthorizationResponse) HasScopes() bool
- func (o *DeviceAuthorizationResponse) HasServiceAttributes() bool
- func (o *DeviceAuthorizationResponse) HasUserCode() bool
- func (o *DeviceAuthorizationResponse) HasVerificationUri() bool
- func (o *DeviceAuthorizationResponse) HasVerificationUriComplete() bool
- func (o *DeviceAuthorizationResponse) HasWarnings() bool
- func (o DeviceAuthorizationResponse) MarshalJSON() ([]byte, error)
- func (o *DeviceAuthorizationResponse) SetAcrs(v []string)
- func (o *DeviceAuthorizationResponse) SetAction(v string)
- func (o *DeviceAuthorizationResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *DeviceAuthorizationResponse) SetClaimNames(v []string)
- func (o *DeviceAuthorizationResponse) SetClientAttributes(v []Pair)
- func (o *DeviceAuthorizationResponse) SetClientAuthMethod(v string)
- func (o *DeviceAuthorizationResponse) SetClientEntityId(v string)
- func (o *DeviceAuthorizationResponse) SetClientEntityIdUsed(v bool)
- func (o *DeviceAuthorizationResponse) SetClientId(v int64)
- func (o *DeviceAuthorizationResponse) SetClientIdAlias(v string)
- func (o *DeviceAuthorizationResponse) SetClientIdAliasUsed(v bool)
- func (o *DeviceAuthorizationResponse) SetClientName(v string)
- func (o *DeviceAuthorizationResponse) SetDeviceCode(v string)
- func (o *DeviceAuthorizationResponse) SetDynamicScopes(v []DynamicScope)
- func (o *DeviceAuthorizationResponse) SetExpiresIn(v int32)
- func (o *DeviceAuthorizationResponse) SetGmAction(v GrantManagementAction)
- func (o *DeviceAuthorizationResponse) SetGrant(v Grant)
- func (o *DeviceAuthorizationResponse) SetGrantId(v string)
- func (o *DeviceAuthorizationResponse) SetGrantSubject(v string)
- func (o *DeviceAuthorizationResponse) SetInterval(v int32)
- func (o *DeviceAuthorizationResponse) SetResources(v []string)
- func (o *DeviceAuthorizationResponse) SetResponseContent(v string)
- func (o *DeviceAuthorizationResponse) SetResultCode(v string)
- func (o *DeviceAuthorizationResponse) SetResultMessage(v string)
- func (o *DeviceAuthorizationResponse) SetScopes(v []string)
- func (o *DeviceAuthorizationResponse) SetServiceAttributes(v []Pair)
- func (o *DeviceAuthorizationResponse) SetUserCode(v string)
- func (o *DeviceAuthorizationResponse) SetVerificationUri(v string)
- func (o *DeviceAuthorizationResponse) SetVerificationUriComplete(v string)
- func (o *DeviceAuthorizationResponse) SetWarnings(v []string)
- func (o DeviceAuthorizationResponse) ToMap() (map[string]interface{}, error)
- type DeviceCompleteRequest
- func (o *DeviceCompleteRequest) GetAcr() string
- func (o *DeviceCompleteRequest) GetAcrOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetAuthTime() string
- func (o *DeviceCompleteRequest) GetAuthTimeOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetClaims() string
- func (o *DeviceCompleteRequest) GetClaimsOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetConsentedClaims() []string
- func (o *DeviceCompleteRequest) GetConsentedClaimsOk() ([]string, bool)
- func (o *DeviceCompleteRequest) GetErrorDescription() string
- func (o *DeviceCompleteRequest) GetErrorDescriptionOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetErrorUri() string
- func (o *DeviceCompleteRequest) GetErrorUriOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetIdtHeaderParams() string
- func (o *DeviceCompleteRequest) GetIdtHeaderParamsOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetJwtAtClaims() string
- func (o *DeviceCompleteRequest) GetJwtAtClaimsOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetProperties() []Property
- func (o *DeviceCompleteRequest) GetPropertiesOk() ([]Property, bool)
- func (o *DeviceCompleteRequest) GetResult() string
- func (o *DeviceCompleteRequest) GetResultOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetScopes() []string
- func (o *DeviceCompleteRequest) GetScopesOk() ([]string, bool)
- func (o *DeviceCompleteRequest) GetSub() string
- func (o *DeviceCompleteRequest) GetSubOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetSubject() string
- func (o *DeviceCompleteRequest) GetSubjectOk() (*string, bool)
- func (o *DeviceCompleteRequest) GetUserCode() string
- func (o *DeviceCompleteRequest) GetUserCodeOk() (*string, bool)
- func (o *DeviceCompleteRequest) HasAcr() bool
- func (o *DeviceCompleteRequest) HasAuthTime() bool
- func (o *DeviceCompleteRequest) HasClaims() bool
- func (o *DeviceCompleteRequest) HasConsentedClaims() bool
- func (o *DeviceCompleteRequest) HasErrorDescription() bool
- func (o *DeviceCompleteRequest) HasErrorUri() bool
- func (o *DeviceCompleteRequest) HasIdtHeaderParams() bool
- func (o *DeviceCompleteRequest) HasJwtAtClaims() bool
- func (o *DeviceCompleteRequest) HasProperties() bool
- func (o *DeviceCompleteRequest) HasScopes() bool
- func (o *DeviceCompleteRequest) HasSub() bool
- func (o DeviceCompleteRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceCompleteRequest) SetAcr(v string)
- func (o *DeviceCompleteRequest) SetAuthTime(v string)
- func (o *DeviceCompleteRequest) SetClaims(v string)
- func (o *DeviceCompleteRequest) SetConsentedClaims(v []string)
- func (o *DeviceCompleteRequest) SetErrorDescription(v string)
- func (o *DeviceCompleteRequest) SetErrorUri(v string)
- func (o *DeviceCompleteRequest) SetIdtHeaderParams(v string)
- func (o *DeviceCompleteRequest) SetJwtAtClaims(v string)
- func (o *DeviceCompleteRequest) SetProperties(v []Property)
- func (o *DeviceCompleteRequest) SetResult(v string)
- func (o *DeviceCompleteRequest) SetScopes(v []string)
- func (o *DeviceCompleteRequest) SetSub(v string)
- func (o *DeviceCompleteRequest) SetSubject(v string)
- func (o *DeviceCompleteRequest) SetUserCode(v string)
- func (o DeviceCompleteRequest) ToMap() (map[string]interface{}, error)
- type DeviceCompleteResponse
- func (o *DeviceCompleteResponse) GetAction() string
- func (o *DeviceCompleteResponse) GetActionOk() (*string, bool)
- func (o *DeviceCompleteResponse) GetResultCode() string
- func (o *DeviceCompleteResponse) GetResultCodeOk() (*string, bool)
- func (o *DeviceCompleteResponse) GetResultMessage() string
- func (o *DeviceCompleteResponse) GetResultMessageOk() (*string, bool)
- func (o *DeviceCompleteResponse) HasAction() bool
- func (o *DeviceCompleteResponse) HasResultCode() bool
- func (o *DeviceCompleteResponse) HasResultMessage() bool
- func (o DeviceCompleteResponse) MarshalJSON() ([]byte, error)
- func (o *DeviceCompleteResponse) SetAction(v string)
- func (o *DeviceCompleteResponse) SetResultCode(v string)
- func (o *DeviceCompleteResponse) SetResultMessage(v string)
- func (o DeviceCompleteResponse) ToMap() (map[string]interface{}, error)
- type DeviceFlowApi
- type DeviceFlowApiService
- func (a *DeviceFlowApiService) DeviceAuthorizationApi(ctx context.Context) ApiDeviceAuthorizationApiRequest
- func (a *DeviceFlowApiService) DeviceAuthorizationApiExecute(r ApiDeviceAuthorizationApiRequest) (*DeviceAuthorizationResponse, *http.Response, error)
- func (a *DeviceFlowApiService) DeviceCompleteApi(ctx context.Context) ApiDeviceCompleteApiRequest
- func (a *DeviceFlowApiService) DeviceCompleteApiExecute(r ApiDeviceCompleteApiRequest) (*DeviceCompleteResponse, *http.Response, error)
- func (a *DeviceFlowApiService) DeviceVerificationApi(ctx context.Context) ApiDeviceVerificationApiRequest
- func (a *DeviceFlowApiService) DeviceVerificationApiExecute(r ApiDeviceVerificationApiRequest) (*DeviceVerificationResponse, *http.Response, error)
- type DeviceVerificationRequest
- func (o *DeviceVerificationRequest) GetUserCode() string
- func (o *DeviceVerificationRequest) GetUserCodeOk() (*string, bool)
- func (o DeviceVerificationRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceVerificationRequest) SetUserCode(v string)
- func (o DeviceVerificationRequest) ToMap() (map[string]interface{}, error)
- type DeviceVerificationResponse
- func (o *DeviceVerificationResponse) GetAcrs() []string
- func (o *DeviceVerificationResponse) GetAcrsOk() ([]string, bool)
- func (o *DeviceVerificationResponse) GetAction() string
- func (o *DeviceVerificationResponse) GetActionOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *DeviceVerificationResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *DeviceVerificationResponse) GetClaimNames() []string
- func (o *DeviceVerificationResponse) GetClaimNamesOk() ([]string, bool)
- func (o *DeviceVerificationResponse) GetClientAttributes() []Pair
- func (o *DeviceVerificationResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *DeviceVerificationResponse) GetClientEntityId() string
- func (o *DeviceVerificationResponse) GetClientEntityIdOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetClientEntityIdUsed() bool
- func (o *DeviceVerificationResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *DeviceVerificationResponse) GetClientId() int64
- func (o *DeviceVerificationResponse) GetClientIdAlias() string
- func (o *DeviceVerificationResponse) GetClientIdAliasOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetClientIdAliasUsed() bool
- func (o *DeviceVerificationResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *DeviceVerificationResponse) GetClientIdOk() (*int64, bool)
- func (o *DeviceVerificationResponse) GetClientName() string
- func (o *DeviceVerificationResponse) GetClientNameOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetDynamicScopes() []DynamicScope
- func (o *DeviceVerificationResponse) GetDynamicScopesOk() ([]DynamicScope, bool)
- func (o *DeviceVerificationResponse) GetExpiresAt() int64
- func (o *DeviceVerificationResponse) GetExpiresAtOk() (*int64, bool)
- func (o *DeviceVerificationResponse) GetGmAction() GrantManagementAction
- func (o *DeviceVerificationResponse) GetGmActionOk() (*GrantManagementAction, bool)
- func (o *DeviceVerificationResponse) GetGrant() Grant
- func (o *DeviceVerificationResponse) GetGrantId() string
- func (o *DeviceVerificationResponse) GetGrantIdOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetGrantOk() (*Grant, bool)
- func (o *DeviceVerificationResponse) GetGrantSubject() string
- func (o *DeviceVerificationResponse) GetGrantSubjectOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetResources() []string
- func (o *DeviceVerificationResponse) GetResourcesOk() ([]string, bool)
- func (o *DeviceVerificationResponse) GetResultCode() string
- func (o *DeviceVerificationResponse) GetResultCodeOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetResultMessage() string
- func (o *DeviceVerificationResponse) GetResultMessageOk() (*string, bool)
- func (o *DeviceVerificationResponse) GetScopes() []Scope
- func (o *DeviceVerificationResponse) GetScopesOk() ([]Scope, bool)
- func (o *DeviceVerificationResponse) GetServiceAttributes() []Pair
- func (o *DeviceVerificationResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *DeviceVerificationResponse) HasAcrs() bool
- func (o *DeviceVerificationResponse) HasAction() bool
- func (o *DeviceVerificationResponse) HasAuthorizationDetails() bool
- func (o *DeviceVerificationResponse) HasClaimNames() bool
- func (o *DeviceVerificationResponse) HasClientAttributes() bool
- func (o *DeviceVerificationResponse) HasClientEntityId() bool
- func (o *DeviceVerificationResponse) HasClientEntityIdUsed() bool
- func (o *DeviceVerificationResponse) HasClientId() bool
- func (o *DeviceVerificationResponse) HasClientIdAlias() bool
- func (o *DeviceVerificationResponse) HasClientIdAliasUsed() bool
- func (o *DeviceVerificationResponse) HasClientName() bool
- func (o *DeviceVerificationResponse) HasDynamicScopes() bool
- func (o *DeviceVerificationResponse) HasExpiresAt() bool
- func (o *DeviceVerificationResponse) HasGmAction() bool
- func (o *DeviceVerificationResponse) HasGrant() bool
- func (o *DeviceVerificationResponse) HasGrantId() bool
- func (o *DeviceVerificationResponse) HasGrantSubject() bool
- func (o *DeviceVerificationResponse) HasResources() bool
- func (o *DeviceVerificationResponse) HasResultCode() bool
- func (o *DeviceVerificationResponse) HasResultMessage() bool
- func (o *DeviceVerificationResponse) HasScopes() bool
- func (o *DeviceVerificationResponse) HasServiceAttributes() bool
- func (o DeviceVerificationResponse) MarshalJSON() ([]byte, error)
- func (o *DeviceVerificationResponse) SetAcrs(v []string)
- func (o *DeviceVerificationResponse) SetAction(v string)
- func (o *DeviceVerificationResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *DeviceVerificationResponse) SetClaimNames(v []string)
- func (o *DeviceVerificationResponse) SetClientAttributes(v []Pair)
- func (o *DeviceVerificationResponse) SetClientEntityId(v string)
- func (o *DeviceVerificationResponse) SetClientEntityIdUsed(v bool)
- func (o *DeviceVerificationResponse) SetClientId(v int64)
- func (o *DeviceVerificationResponse) SetClientIdAlias(v string)
- func (o *DeviceVerificationResponse) SetClientIdAliasUsed(v bool)
- func (o *DeviceVerificationResponse) SetClientName(v string)
- func (o *DeviceVerificationResponse) SetDynamicScopes(v []DynamicScope)
- func (o *DeviceVerificationResponse) SetExpiresAt(v int64)
- func (o *DeviceVerificationResponse) SetGmAction(v GrantManagementAction)
- func (o *DeviceVerificationResponse) SetGrant(v Grant)
- func (o *DeviceVerificationResponse) SetGrantId(v string)
- func (o *DeviceVerificationResponse) SetGrantSubject(v string)
- func (o *DeviceVerificationResponse) SetResources(v []string)
- func (o *DeviceVerificationResponse) SetResultCode(v string)
- func (o *DeviceVerificationResponse) SetResultMessage(v string)
- func (o *DeviceVerificationResponse) SetScopes(v []Scope)
- func (o *DeviceVerificationResponse) SetServiceAttributes(v []Pair)
- func (o DeviceVerificationResponse) ToMap() (map[string]interface{}, error)
- type Display
- type DynamicClientRegistrationApi
- type DynamicClientRegistrationApiService
- func (a *DynamicClientRegistrationApiService) ClientRegistrationApi(ctx context.Context) ApiClientRegistrationApiRequest
- func (a *DynamicClientRegistrationApiService) ClientRegistrationApiExecute(r ApiClientRegistrationApiRequest) (*ClientRegistrationResponse, *http.Response, error)
- func (a *DynamicClientRegistrationApiService) ClientRegistrationDeleteApi(ctx context.Context) ApiClientRegistrationDeleteApiRequest
- func (a *DynamicClientRegistrationApiService) ClientRegistrationDeleteApiExecute(r ApiClientRegistrationDeleteApiRequest) (*ClientRegistrationDeleteResponse, *http.Response, error)
- func (a *DynamicClientRegistrationApiService) ClientRegistrationGetApi(ctx context.Context) ApiClientRegistrationGetApiRequest
- func (a *DynamicClientRegistrationApiService) ClientRegistrationGetApiExecute(r ApiClientRegistrationGetApiRequest) (*ClientRegistrationGetResponse, *http.Response, error)
- func (a *DynamicClientRegistrationApiService) ClientRegistrationUpdateApi(ctx context.Context) ApiClientRegistrationUpdateApiRequest
- func (a *DynamicClientRegistrationApiService) ClientRegistrationUpdateApiExecute(r ApiClientRegistrationUpdateApiRequest) (*ClientRegistrationUpdateResponse, *http.Response, error)
- type DynamicScope
- func (o *DynamicScope) GetName() string
- func (o *DynamicScope) GetNameOk() (*string, bool)
- func (o *DynamicScope) GetValue() string
- func (o *DynamicScope) GetValueOk() (*string, bool)
- func (o *DynamicScope) HasName() bool
- func (o *DynamicScope) HasValue() bool
- func (o DynamicScope) MarshalJSON() ([]byte, error)
- func (o *DynamicScope) SetName(v string)
- func (o *DynamicScope) SetValue(v string)
- func (o DynamicScope) ToMap() (map[string]interface{}, error)
- type FederationConfigurationResponse
- func (o *FederationConfigurationResponse) GetAction() string
- func (o *FederationConfigurationResponse) GetActionOk() (*string, bool)
- func (o *FederationConfigurationResponse) GetResponseContent() string
- func (o *FederationConfigurationResponse) GetResponseContentOk() (*string, bool)
- func (o *FederationConfigurationResponse) GetResultCode() string
- func (o *FederationConfigurationResponse) GetResultCodeOk() (*string, bool)
- func (o *FederationConfigurationResponse) GetResultMessage() string
- func (o *FederationConfigurationResponse) GetResultMessageOk() (*string, bool)
- func (o *FederationConfigurationResponse) HasAction() bool
- func (o *FederationConfigurationResponse) HasResponseContent() bool
- func (o *FederationConfigurationResponse) HasResultCode() bool
- func (o *FederationConfigurationResponse) HasResultMessage() bool
- func (o FederationConfigurationResponse) MarshalJSON() ([]byte, error)
- func (o *FederationConfigurationResponse) SetAction(v string)
- func (o *FederationConfigurationResponse) SetResponseContent(v string)
- func (o *FederationConfigurationResponse) SetResultCode(v string)
- func (o *FederationConfigurationResponse) SetResultMessage(v string)
- func (o FederationConfigurationResponse) ToMap() (map[string]interface{}, error)
- type FederationEndpointApi
- type FederationEndpointApiService
- type GMRequest
- func (o *GMRequest) GetAccessToken() string
- func (o *GMRequest) GetAccessTokenOk() (*string, bool)
- func (o *GMRequest) GetClientCertificate() string
- func (o *GMRequest) GetClientCertificateOk() (*string, bool)
- func (o *GMRequest) GetDpop() string
- func (o *GMRequest) GetDpopOk() (*string, bool)
- func (o *GMRequest) GetGmAction() GrantManagementAction
- func (o *GMRequest) GetGmActionOk() (*GrantManagementAction, bool)
- func (o *GMRequest) GetGrantId() string
- func (o *GMRequest) GetGrantIdOk() (*string, bool)
- func (o *GMRequest) GetHtm() string
- func (o *GMRequest) GetHtmOk() (*string, bool)
- func (o *GMRequest) GetHtu() string
- func (o *GMRequest) GetHtuOk() (*string, bool)
- func (o *GMRequest) GetResources() []string
- func (o *GMRequest) GetResourcesOk() ([]string, bool)
- func (o *GMRequest) GetScopes() []string
- func (o *GMRequest) GetScopesOk() ([]string, bool)
- func (o *GMRequest) GetSubject() string
- func (o *GMRequest) GetSubjectOk() (*string, bool)
- func (o *GMRequest) HasAccessToken() bool
- func (o *GMRequest) HasClientCertificate() bool
- func (o *GMRequest) HasDpop() bool
- func (o *GMRequest) HasGmAction() bool
- func (o *GMRequest) HasGrantId() bool
- func (o *GMRequest) HasHtm() bool
- func (o *GMRequest) HasHtu() bool
- func (o *GMRequest) HasResources() bool
- func (o *GMRequest) HasScopes() bool
- func (o *GMRequest) HasSubject() bool
- func (o GMRequest) MarshalJSON() ([]byte, error)
- func (o *GMRequest) SetAccessToken(v string)
- func (o *GMRequest) SetClientCertificate(v string)
- func (o *GMRequest) SetDpop(v string)
- func (o *GMRequest) SetGmAction(v GrantManagementAction)
- func (o *GMRequest) SetGrantId(v string)
- func (o *GMRequest) SetHtm(v string)
- func (o *GMRequest) SetHtu(v string)
- func (o *GMRequest) SetResources(v []string)
- func (o *GMRequest) SetScopes(v []string)
- func (o *GMRequest) SetSubject(v string)
- func (o GMRequest) ToMap() (map[string]interface{}, error)
- type GMResponse
- func (o *GMResponse) GetAction() string
- func (o *GMResponse) GetActionOk() (*string, bool)
- func (o *GMResponse) GetResponseContent() string
- func (o *GMResponse) GetResponseContentOk() (*string, bool)
- func (o *GMResponse) GetResultCode() string
- func (o *GMResponse) GetResultCodeOk() (*string, bool)
- func (o *GMResponse) GetResultMessage() string
- func (o *GMResponse) GetResultMessageOk() (*string, bool)
- func (o *GMResponse) HasAction() bool
- func (o *GMResponse) HasResponseContent() bool
- func (o *GMResponse) HasResultCode() bool
- func (o *GMResponse) HasResultMessage() bool
- func (o GMResponse) MarshalJSON() ([]byte, error)
- func (o *GMResponse) SetAction(v string)
- func (o *GMResponse) SetResponseContent(v string)
- func (o *GMResponse) SetResultCode(v string)
- func (o *GMResponse) SetResultMessage(v string)
- func (o GMResponse) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type Grant
- func (o *Grant) GetAuthorizationDetails() AuthorizationDetails
- func (o *Grant) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *Grant) GetClaims() []string
- func (o *Grant) GetClaimsOk() ([]string, bool)
- func (o *Grant) GetScopes() []GrantScope
- func (o *Grant) GetScopesOk() ([]GrantScope, bool)
- func (o *Grant) HasAuthorizationDetails() bool
- func (o *Grant) HasClaims() bool
- func (o *Grant) HasScopes() bool
- func (o Grant) MarshalJSON() ([]byte, error)
- func (o *Grant) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *Grant) SetClaims(v []string)
- func (o *Grant) SetScopes(v []GrantScope)
- func (o Grant) ToMap() (map[string]interface{}, error)
- type GrantManagementAction
- type GrantManagementEndpointApi
- type GrantManagementEndpointApiService
- type GrantScope
- func (o *GrantScope) GetResource() []string
- func (o *GrantScope) GetResourceOk() ([]string, bool)
- func (o *GrantScope) GetScope() string
- func (o *GrantScope) GetScopeOk() (*string, bool)
- func (o *GrantScope) HasResource() bool
- func (o *GrantScope) HasScope() bool
- func (o GrantScope) MarshalJSON() ([]byte, error)
- func (o *GrantScope) SetResource(v []string)
- func (o *GrantScope) SetScope(v string)
- func (o GrantScope) ToMap() (map[string]interface{}, error)
- type GrantType
- type InfoResponse
- func (o *InfoResponse) GetFeatures() []string
- func (o *InfoResponse) GetFeaturesOk() ([]string, bool)
- func (o *InfoResponse) GetVersion() string
- func (o *InfoResponse) GetVersionOk() (*string, bool)
- func (o InfoResponse) MarshalJSON() ([]byte, error)
- func (o *InfoResponse) SetFeatures(v []string)
- func (o *InfoResponse) SetVersion(v string)
- func (o InfoResponse) ToMap() (map[string]interface{}, error)
- type IntrospectionEndpointApi
- type IntrospectionEndpointApiService
- func (a *IntrospectionEndpointApiService) AuthIntrospectionApi(ctx context.Context) ApiAuthIntrospectionApiRequest
- func (a *IntrospectionEndpointApiService) AuthIntrospectionApiExecute(r ApiAuthIntrospectionApiRequest) (*IntrospectionResponse, *http.Response, error)
- func (a *IntrospectionEndpointApiService) AuthIntrospectionStandardApi(ctx context.Context) ApiAuthIntrospectionStandardApiRequest
- func (a *IntrospectionEndpointApiService) AuthIntrospectionStandardApiExecute(r ApiAuthIntrospectionStandardApiRequest) (*StandardIntrospectionResponse, *http.Response, error)
- type IntrospectionRequest
- func (o *IntrospectionRequest) GetAcrValues() []string
- func (o *IntrospectionRequest) GetAcrValuesOk() ([]string, bool)
- func (o *IntrospectionRequest) GetClientCertificate() string
- func (o *IntrospectionRequest) GetClientCertificateOk() (*string, bool)
- func (o *IntrospectionRequest) GetDpop() string
- func (o *IntrospectionRequest) GetDpopOk() (*string, bool)
- func (o *IntrospectionRequest) GetHeaders() []Pair
- func (o *IntrospectionRequest) GetHeadersOk() ([]Pair, bool)
- func (o *IntrospectionRequest) GetHtm() string
- func (o *IntrospectionRequest) GetHtmOk() (*string, bool)
- func (o *IntrospectionRequest) GetHtu() string
- func (o *IntrospectionRequest) GetHtuOk() (*string, bool)
- func (o *IntrospectionRequest) GetMaxAge() int64
- func (o *IntrospectionRequest) GetMaxAgeOk() (*int64, bool)
- func (o *IntrospectionRequest) GetMessage() string
- func (o *IntrospectionRequest) GetMessageOk() (*string, bool)
- func (o *IntrospectionRequest) GetRequiredComponents() []string
- func (o *IntrospectionRequest) GetRequiredComponentsOk() ([]string, bool)
- func (o *IntrospectionRequest) GetResources() []string
- func (o *IntrospectionRequest) GetResourcesOk() ([]string, bool)
- func (o *IntrospectionRequest) GetScopes() []string
- func (o *IntrospectionRequest) GetScopesOk() ([]string, bool)
- func (o *IntrospectionRequest) GetSubject() string
- func (o *IntrospectionRequest) GetSubjectOk() (*string, bool)
- func (o *IntrospectionRequest) GetToken() string
- func (o *IntrospectionRequest) GetTokenOk() (*string, bool)
- func (o *IntrospectionRequest) GetUri() string
- func (o *IntrospectionRequest) GetUriOk() (*string, bool)
- func (o *IntrospectionRequest) HasAcrValues() bool
- func (o *IntrospectionRequest) HasClientCertificate() bool
- func (o *IntrospectionRequest) HasDpop() bool
- func (o *IntrospectionRequest) HasHeaders() bool
- func (o *IntrospectionRequest) HasHtm() bool
- func (o *IntrospectionRequest) HasHtu() bool
- func (o *IntrospectionRequest) HasMaxAge() bool
- func (o *IntrospectionRequest) HasMessage() bool
- func (o *IntrospectionRequest) HasRequiredComponents() bool
- func (o *IntrospectionRequest) HasResources() bool
- func (o *IntrospectionRequest) HasScopes() bool
- func (o *IntrospectionRequest) HasSubject() bool
- func (o *IntrospectionRequest) HasUri() bool
- func (o IntrospectionRequest) MarshalJSON() ([]byte, error)
- func (o *IntrospectionRequest) SetAcrValues(v []string)
- func (o *IntrospectionRequest) SetClientCertificate(v string)
- func (o *IntrospectionRequest) SetDpop(v string)
- func (o *IntrospectionRequest) SetHeaders(v []Pair)
- func (o *IntrospectionRequest) SetHtm(v string)
- func (o *IntrospectionRequest) SetHtu(v string)
- func (o *IntrospectionRequest) SetMaxAge(v int64)
- func (o *IntrospectionRequest) SetMessage(v string)
- func (o *IntrospectionRequest) SetRequiredComponents(v []string)
- func (o *IntrospectionRequest) SetResources(v []string)
- func (o *IntrospectionRequest) SetScopes(v []string)
- func (o *IntrospectionRequest) SetSubject(v string)
- func (o *IntrospectionRequest) SetToken(v string)
- func (o *IntrospectionRequest) SetUri(v string)
- func (o IntrospectionRequest) ToMap() (map[string]interface{}, error)
- type IntrospectionResponse
- func (o *IntrospectionResponse) GetAccessTokenResources() []string
- func (o *IntrospectionResponse) GetAccessTokenResourcesOk() ([]string, bool)
- func (o *IntrospectionResponse) GetAcr() string
- func (o *IntrospectionResponse) GetAcrOk() (*string, bool)
- func (o *IntrospectionResponse) GetAction() string
- func (o *IntrospectionResponse) GetActionOk() (*string, bool)
- func (o *IntrospectionResponse) GetAuthTime() int64
- func (o *IntrospectionResponse) GetAuthTimeOk() (*int64, bool)
- func (o *IntrospectionResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *IntrospectionResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *IntrospectionResponse) GetCertificateThumbprint() string
- func (o *IntrospectionResponse) GetCertificateThumbprintOk() (*string, bool)
- func (o *IntrospectionResponse) GetClientAttributes() []Pair
- func (o *IntrospectionResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *IntrospectionResponse) GetClientEntityId() string
- func (o *IntrospectionResponse) GetClientEntityIdOk() (*string, bool)
- func (o *IntrospectionResponse) GetClientEntityIdUsed() bool
- func (o *IntrospectionResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *IntrospectionResponse) GetClientId() int64
- func (o *IntrospectionResponse) GetClientIdAlias() string
- func (o *IntrospectionResponse) GetClientIdAliasOk() (*string, bool)
- func (o *IntrospectionResponse) GetClientIdAliasUsed() bool
- func (o *IntrospectionResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *IntrospectionResponse) GetClientIdOk() (*int64, bool)
- func (o *IntrospectionResponse) GetConsentedClaims() []string
- func (o *IntrospectionResponse) GetConsentedClaimsOk() ([]string, bool)
- func (o *IntrospectionResponse) GetExistent() bool
- func (o *IntrospectionResponse) GetExistentOk() (*bool, bool)
- func (o *IntrospectionResponse) GetExpiresAt() int64
- func (o *IntrospectionResponse) GetExpiresAtOk() (*int64, bool)
- func (o *IntrospectionResponse) GetForExternalAttachment() bool
- func (o *IntrospectionResponse) GetForExternalAttachmentOk() (*bool, bool)
- func (o *IntrospectionResponse) GetGrant() Grant
- func (o *IntrospectionResponse) GetGrantId() string
- func (o *IntrospectionResponse) GetGrantIdOk() (*string, bool)
- func (o *IntrospectionResponse) GetGrantOk() (*Grant, bool)
- func (o *IntrospectionResponse) GetGrantType() GrantType
- func (o *IntrospectionResponse) GetGrantTypeOk() (*GrantType, bool)
- func (o *IntrospectionResponse) GetProperties() []Property
- func (o *IntrospectionResponse) GetPropertiesOk() ([]Property, bool)
- func (o *IntrospectionResponse) GetRefreshable() bool
- func (o *IntrospectionResponse) GetRefreshableOk() (*bool, bool)
- func (o *IntrospectionResponse) GetResources() []string
- func (o *IntrospectionResponse) GetResourcesOk() ([]string, bool)
- func (o *IntrospectionResponse) GetResponseContent() string
- func (o *IntrospectionResponse) GetResponseContentOk() (*string, bool)
- func (o *IntrospectionResponse) GetResultCode() string
- func (o *IntrospectionResponse) GetResultCodeOk() (*string, bool)
- func (o *IntrospectionResponse) GetResultMessage() string
- func (o *IntrospectionResponse) GetResultMessageOk() (*string, bool)
- func (o *IntrospectionResponse) GetScopeDetails() []Scope
- func (o *IntrospectionResponse) GetScopeDetailsOk() ([]Scope, bool)
- func (o *IntrospectionResponse) GetScopes() []string
- func (o *IntrospectionResponse) GetScopesOk() ([]string, bool)
- func (o *IntrospectionResponse) GetServiceAttributes() []Pair
- func (o *IntrospectionResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *IntrospectionResponse) GetSubject() string
- func (o *IntrospectionResponse) GetSubjectOk() (*string, bool)
- func (o *IntrospectionResponse) GetSufficient() bool
- func (o *IntrospectionResponse) GetSufficientOk() (*bool, bool)
- func (o *IntrospectionResponse) GetUsable() bool
- func (o *IntrospectionResponse) GetUsableOk() (*bool, bool)
- func (o *IntrospectionResponse) HasAccessTokenResources() bool
- func (o *IntrospectionResponse) HasAcr() bool
- func (o *IntrospectionResponse) HasAction() bool
- func (o *IntrospectionResponse) HasAuthTime() bool
- func (o *IntrospectionResponse) HasAuthorizationDetails() bool
- func (o *IntrospectionResponse) HasCertificateThumbprint() bool
- func (o *IntrospectionResponse) HasClientAttributes() bool
- func (o *IntrospectionResponse) HasClientEntityId() bool
- func (o *IntrospectionResponse) HasClientEntityIdUsed() bool
- func (o *IntrospectionResponse) HasClientId() bool
- func (o *IntrospectionResponse) HasClientIdAlias() bool
- func (o *IntrospectionResponse) HasClientIdAliasUsed() bool
- func (o *IntrospectionResponse) HasConsentedClaims() bool
- func (o *IntrospectionResponse) HasExistent() bool
- func (o *IntrospectionResponse) HasExpiresAt() bool
- func (o *IntrospectionResponse) HasForExternalAttachment() bool
- func (o *IntrospectionResponse) HasGrant() bool
- func (o *IntrospectionResponse) HasGrantId() bool
- func (o *IntrospectionResponse) HasGrantType() bool
- func (o *IntrospectionResponse) HasProperties() bool
- func (o *IntrospectionResponse) HasRefreshable() bool
- func (o *IntrospectionResponse) HasResources() bool
- func (o *IntrospectionResponse) HasResponseContent() bool
- func (o *IntrospectionResponse) HasResultCode() bool
- func (o *IntrospectionResponse) HasResultMessage() bool
- func (o *IntrospectionResponse) HasScopeDetails() bool
- func (o *IntrospectionResponse) HasScopes() bool
- func (o *IntrospectionResponse) HasServiceAttributes() bool
- func (o *IntrospectionResponse) HasSubject() bool
- func (o *IntrospectionResponse) HasSufficient() bool
- func (o *IntrospectionResponse) HasUsable() bool
- func (o IntrospectionResponse) MarshalJSON() ([]byte, error)
- func (o *IntrospectionResponse) SetAccessTokenResources(v []string)
- func (o *IntrospectionResponse) SetAcr(v string)
- func (o *IntrospectionResponse) SetAction(v string)
- func (o *IntrospectionResponse) SetAuthTime(v int64)
- func (o *IntrospectionResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *IntrospectionResponse) SetCertificateThumbprint(v string)
- func (o *IntrospectionResponse) SetClientAttributes(v []Pair)
- func (o *IntrospectionResponse) SetClientEntityId(v string)
- func (o *IntrospectionResponse) SetClientEntityIdUsed(v bool)
- func (o *IntrospectionResponse) SetClientId(v int64)
- func (o *IntrospectionResponse) SetClientIdAlias(v string)
- func (o *IntrospectionResponse) SetClientIdAliasUsed(v bool)
- func (o *IntrospectionResponse) SetConsentedClaims(v []string)
- func (o *IntrospectionResponse) SetExistent(v bool)
- func (o *IntrospectionResponse) SetExpiresAt(v int64)
- func (o *IntrospectionResponse) SetForExternalAttachment(v bool)
- func (o *IntrospectionResponse) SetGrant(v Grant)
- func (o *IntrospectionResponse) SetGrantId(v string)
- func (o *IntrospectionResponse) SetGrantType(v GrantType)
- func (o *IntrospectionResponse) SetProperties(v []Property)
- func (o *IntrospectionResponse) SetRefreshable(v bool)
- func (o *IntrospectionResponse) SetResources(v []string)
- func (o *IntrospectionResponse) SetResponseContent(v string)
- func (o *IntrospectionResponse) SetResultCode(v string)
- func (o *IntrospectionResponse) SetResultMessage(v string)
- func (o *IntrospectionResponse) SetScopeDetails(v []Scope)
- func (o *IntrospectionResponse) SetScopes(v []string)
- func (o *IntrospectionResponse) SetServiceAttributes(v []Pair)
- func (o *IntrospectionResponse) SetSubject(v string)
- func (o *IntrospectionResponse) SetSufficient(v bool)
- func (o *IntrospectionResponse) SetUsable(v bool)
- func (o IntrospectionResponse) ToMap() (map[string]interface{}, error)
- type JWKSetEndpointApi
- type JWKSetEndpointApiService
- type JoseObjectApi
- type JoseObjectApiService
- type JoseVerifyRequest
- func (o *JoseVerifyRequest) GetClientIdentifier() string
- func (o *JoseVerifyRequest) GetClientIdentifierOk() (*string, bool)
- func (o *JoseVerifyRequest) GetClockSkew() int32
- func (o *JoseVerifyRequest) GetClockSkewOk() (*int32, bool)
- func (o *JoseVerifyRequest) GetJose() string
- func (o *JoseVerifyRequest) GetJoseOk() (*string, bool)
- func (o *JoseVerifyRequest) GetMandatoryClaims() string
- func (o *JoseVerifyRequest) GetMandatoryClaimsOk() (*string, bool)
- func (o *JoseVerifyRequest) GetSignedByClient() bool
- func (o *JoseVerifyRequest) GetSignedByClientOk() (*bool, bool)
- func (o *JoseVerifyRequest) HasClientIdentifier() bool
- func (o *JoseVerifyRequest) HasClockSkew() bool
- func (o *JoseVerifyRequest) HasMandatoryClaims() bool
- func (o *JoseVerifyRequest) HasSignedByClient() bool
- func (o JoseVerifyRequest) MarshalJSON() ([]byte, error)
- func (o *JoseVerifyRequest) SetClientIdentifier(v string)
- func (o *JoseVerifyRequest) SetClockSkew(v int32)
- func (o *JoseVerifyRequest) SetJose(v string)
- func (o *JoseVerifyRequest) SetMandatoryClaims(v string)
- func (o *JoseVerifyRequest) SetSignedByClient(v bool)
- func (o JoseVerifyRequest) ToMap() (map[string]interface{}, error)
- type JoseVerifyResponse
- func (o *JoseVerifyResponse) GetErrorDescriptions() []string
- func (o *JoseVerifyResponse) GetErrorDescriptionsOk() ([]string, bool)
- func (o *JoseVerifyResponse) GetInvalidClaims() []string
- func (o *JoseVerifyResponse) GetInvalidClaimsOk() ([]string, bool)
- func (o *JoseVerifyResponse) GetMissingClaims() []string
- func (o *JoseVerifyResponse) GetMissingClaimsOk() ([]string, bool)
- func (o *JoseVerifyResponse) GetResultCode() string
- func (o *JoseVerifyResponse) GetResultCodeOk() (*string, bool)
- func (o *JoseVerifyResponse) GetResultMessage() string
- func (o *JoseVerifyResponse) GetResultMessageOk() (*string, bool)
- func (o *JoseVerifyResponse) GetSignatureValid() bool
- func (o *JoseVerifyResponse) GetSignatureValidOk() (*bool, bool)
- func (o *JoseVerifyResponse) GetValid() bool
- func (o *JoseVerifyResponse) GetValidOk() (*bool, bool)
- func (o *JoseVerifyResponse) HasErrorDescriptions() bool
- func (o *JoseVerifyResponse) HasInvalidClaims() bool
- func (o *JoseVerifyResponse) HasMissingClaims() bool
- func (o *JoseVerifyResponse) HasResultCode() bool
- func (o *JoseVerifyResponse) HasResultMessage() bool
- func (o *JoseVerifyResponse) HasSignatureValid() bool
- func (o *JoseVerifyResponse) HasValid() bool
- func (o JoseVerifyResponse) MarshalJSON() ([]byte, error)
- func (o *JoseVerifyResponse) SetErrorDescriptions(v []string)
- func (o *JoseVerifyResponse) SetInvalidClaims(v []string)
- func (o *JoseVerifyResponse) SetMissingClaims(v []string)
- func (o *JoseVerifyResponse) SetResultCode(v string)
- func (o *JoseVerifyResponse) SetResultMessage(v string)
- func (o *JoseVerifyResponse) SetSignatureValid(v bool)
- func (o *JoseVerifyResponse) SetValid(v bool)
- func (o JoseVerifyResponse) ToMap() (map[string]interface{}, error)
- type JweAlg
- type JweEnc
- type JwsAlg
- type MappedNullable
- type NamedUri
- func (o *NamedUri) GetName() string
- func (o *NamedUri) GetNameOk() (*string, bool)
- func (o *NamedUri) GetUri() string
- func (o *NamedUri) GetUriOk() (*string, bool)
- func (o *NamedUri) HasName() bool
- func (o *NamedUri) HasUri() bool
- func (o NamedUri) MarshalJSON() ([]byte, error)
- func (o *NamedUri) SetName(v string)
- func (o *NamedUri) SetUri(v string)
- func (o NamedUri) ToMap() (map[string]interface{}, error)
- type NullableAccessToken
- func (v NullableAccessToken) Get() *AccessToken
- func (v NullableAccessToken) IsSet() bool
- func (v NullableAccessToken) MarshalJSON() ([]byte, error)
- func (v *NullableAccessToken) Set(val *AccessToken)
- func (v *NullableAccessToken) UnmarshalJSON(src []byte) error
- func (v *NullableAccessToken) Unset()
- type NullableApplicationType
- func (v NullableApplicationType) Get() *ApplicationType
- func (v NullableApplicationType) IsSet() bool
- func (v NullableApplicationType) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationType) Set(val *ApplicationType)
- func (v *NullableApplicationType) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationType) Unset()
- type NullableAttachmentType
- func (v NullableAttachmentType) Get() *AttachmentType
- func (v NullableAttachmentType) IsSet() bool
- func (v NullableAttachmentType) MarshalJSON() ([]byte, error)
- func (v *NullableAttachmentType) Set(val *AttachmentType)
- func (v *NullableAttachmentType) UnmarshalJSON(src []byte) error
- func (v *NullableAttachmentType) Unset()
- type NullableAuthorizationDetails
- func (v NullableAuthorizationDetails) Get() *AuthorizationDetails
- func (v NullableAuthorizationDetails) IsSet() bool
- func (v NullableAuthorizationDetails) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationDetails) Set(val *AuthorizationDetails)
- func (v *NullableAuthorizationDetails) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationDetails) Unset()
- type NullableAuthorizationDetailsElement
- func (v NullableAuthorizationDetailsElement) Get() *AuthorizationDetailsElement
- func (v NullableAuthorizationDetailsElement) IsSet() bool
- func (v NullableAuthorizationDetailsElement) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationDetailsElement) Set(val *AuthorizationDetailsElement)
- func (v *NullableAuthorizationDetailsElement) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationDetailsElement) Unset()
- type NullableAuthorizationFailRequest
- func (v NullableAuthorizationFailRequest) Get() *AuthorizationFailRequest
- func (v NullableAuthorizationFailRequest) IsSet() bool
- func (v NullableAuthorizationFailRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationFailRequest) Set(val *AuthorizationFailRequest)
- func (v *NullableAuthorizationFailRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationFailRequest) Unset()
- type NullableAuthorizationFailResponse
- func (v NullableAuthorizationFailResponse) Get() *AuthorizationFailResponse
- func (v NullableAuthorizationFailResponse) IsSet() bool
- func (v NullableAuthorizationFailResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationFailResponse) Set(val *AuthorizationFailResponse)
- func (v *NullableAuthorizationFailResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationFailResponse) Unset()
- type NullableAuthorizationIssueRequest
- func (v NullableAuthorizationIssueRequest) Get() *AuthorizationIssueRequest
- func (v NullableAuthorizationIssueRequest) IsSet() bool
- func (v NullableAuthorizationIssueRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationIssueRequest) Set(val *AuthorizationIssueRequest)
- func (v *NullableAuthorizationIssueRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationIssueRequest) Unset()
- type NullableAuthorizationIssueResponse
- func (v NullableAuthorizationIssueResponse) Get() *AuthorizationIssueResponse
- func (v NullableAuthorizationIssueResponse) IsSet() bool
- func (v NullableAuthorizationIssueResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationIssueResponse) Set(val *AuthorizationIssueResponse)
- func (v *NullableAuthorizationIssueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationIssueResponse) Unset()
- type NullableAuthorizationRequest
- func (v NullableAuthorizationRequest) Get() *AuthorizationRequest
- func (v NullableAuthorizationRequest) IsSet() bool
- func (v NullableAuthorizationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationRequest) Set(val *AuthorizationRequest)
- func (v *NullableAuthorizationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationRequest) Unset()
- type NullableAuthorizationResponse
- func (v NullableAuthorizationResponse) Get() *AuthorizationResponse
- func (v NullableAuthorizationResponse) IsSet() bool
- func (v NullableAuthorizationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationResponse) Set(val *AuthorizationResponse)
- func (v *NullableAuthorizationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationResponse) Unset()
- type NullableBackchannelAuthenticationCompleteRequest
- func (v NullableBackchannelAuthenticationCompleteRequest) Get() *BackchannelAuthenticationCompleteRequest
- func (v NullableBackchannelAuthenticationCompleteRequest) IsSet() bool
- func (v NullableBackchannelAuthenticationCompleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationCompleteRequest) Set(val *BackchannelAuthenticationCompleteRequest)
- func (v *NullableBackchannelAuthenticationCompleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationCompleteRequest) Unset()
- type NullableBackchannelAuthenticationCompleteResponse
- func (v NullableBackchannelAuthenticationCompleteResponse) Get() *BackchannelAuthenticationCompleteResponse
- func (v NullableBackchannelAuthenticationCompleteResponse) IsSet() bool
- func (v NullableBackchannelAuthenticationCompleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationCompleteResponse) Set(val *BackchannelAuthenticationCompleteResponse)
- func (v *NullableBackchannelAuthenticationCompleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationCompleteResponse) Unset()
- type NullableBackchannelAuthenticationFailRequest
- func (v NullableBackchannelAuthenticationFailRequest) Get() *BackchannelAuthenticationFailRequest
- func (v NullableBackchannelAuthenticationFailRequest) IsSet() bool
- func (v NullableBackchannelAuthenticationFailRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationFailRequest) Set(val *BackchannelAuthenticationFailRequest)
- func (v *NullableBackchannelAuthenticationFailRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationFailRequest) Unset()
- type NullableBackchannelAuthenticationFailResponse
- func (v NullableBackchannelAuthenticationFailResponse) Get() *BackchannelAuthenticationFailResponse
- func (v NullableBackchannelAuthenticationFailResponse) IsSet() bool
- func (v NullableBackchannelAuthenticationFailResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationFailResponse) Set(val *BackchannelAuthenticationFailResponse)
- func (v *NullableBackchannelAuthenticationFailResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationFailResponse) Unset()
- type NullableBackchannelAuthenticationIssueRequest
- func (v NullableBackchannelAuthenticationIssueRequest) Get() *BackchannelAuthenticationIssueRequest
- func (v NullableBackchannelAuthenticationIssueRequest) IsSet() bool
- func (v NullableBackchannelAuthenticationIssueRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationIssueRequest) Set(val *BackchannelAuthenticationIssueRequest)
- func (v *NullableBackchannelAuthenticationIssueRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationIssueRequest) Unset()
- type NullableBackchannelAuthenticationIssueResponse
- func (v NullableBackchannelAuthenticationIssueResponse) Get() *BackchannelAuthenticationIssueResponse
- func (v NullableBackchannelAuthenticationIssueResponse) IsSet() bool
- func (v NullableBackchannelAuthenticationIssueResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationIssueResponse) Set(val *BackchannelAuthenticationIssueResponse)
- func (v *NullableBackchannelAuthenticationIssueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationIssueResponse) Unset()
- type NullableBackchannelAuthenticationRequest
- func (v NullableBackchannelAuthenticationRequest) Get() *BackchannelAuthenticationRequest
- func (v NullableBackchannelAuthenticationRequest) IsSet() bool
- func (v NullableBackchannelAuthenticationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationRequest) Set(val *BackchannelAuthenticationRequest)
- func (v *NullableBackchannelAuthenticationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationRequest) Unset()
- type NullableBackchannelAuthenticationResponse
- func (v NullableBackchannelAuthenticationResponse) Get() *BackchannelAuthenticationResponse
- func (v NullableBackchannelAuthenticationResponse) IsSet() bool
- func (v NullableBackchannelAuthenticationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBackchannelAuthenticationResponse) Set(val *BackchannelAuthenticationResponse)
- func (v *NullableBackchannelAuthenticationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBackchannelAuthenticationResponse) Unset()
- type NullableBool
- type NullableClaimType
- type NullableClient
- type NullableClientAuthenticationMethod
- func (v NullableClientAuthenticationMethod) Get() *ClientAuthenticationMethod
- func (v NullableClientAuthenticationMethod) IsSet() bool
- func (v NullableClientAuthenticationMethod) MarshalJSON() ([]byte, error)
- func (v *NullableClientAuthenticationMethod) Set(val *ClientAuthenticationMethod)
- func (v *NullableClientAuthenticationMethod) UnmarshalJSON(src []byte) error
- func (v *NullableClientAuthenticationMethod) Unset()
- type NullableClientAuthorizationDeleteResponse
- func (v NullableClientAuthorizationDeleteResponse) Get() *ClientAuthorizationDeleteResponse
- func (v NullableClientAuthorizationDeleteResponse) IsSet() bool
- func (v NullableClientAuthorizationDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientAuthorizationDeleteResponse) Set(val *ClientAuthorizationDeleteResponse)
- func (v *NullableClientAuthorizationDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientAuthorizationDeleteResponse) Unset()
- type NullableClientAuthorizationGetListResponse
- func (v NullableClientAuthorizationGetListResponse) Get() *ClientAuthorizationGetListResponse
- func (v NullableClientAuthorizationGetListResponse) IsSet() bool
- func (v NullableClientAuthorizationGetListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientAuthorizationGetListResponse) Set(val *ClientAuthorizationGetListResponse)
- func (v *NullableClientAuthorizationGetListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientAuthorizationGetListResponse) Unset()
- type NullableClientAuthorizationUpdateRequest
- func (v NullableClientAuthorizationUpdateRequest) Get() *ClientAuthorizationUpdateRequest
- func (v NullableClientAuthorizationUpdateRequest) IsSet() bool
- func (v NullableClientAuthorizationUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientAuthorizationUpdateRequest) Set(val *ClientAuthorizationUpdateRequest)
- func (v *NullableClientAuthorizationUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientAuthorizationUpdateRequest) Unset()
- type NullableClientAuthorizationUpdateResponse
- func (v NullableClientAuthorizationUpdateResponse) Get() *ClientAuthorizationUpdateResponse
- func (v NullableClientAuthorizationUpdateResponse) IsSet() bool
- func (v NullableClientAuthorizationUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientAuthorizationUpdateResponse) Set(val *ClientAuthorizationUpdateResponse)
- func (v *NullableClientAuthorizationUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientAuthorizationUpdateResponse) Unset()
- type NullableClientExtension
- func (v NullableClientExtension) Get() *ClientExtension
- func (v NullableClientExtension) IsSet() bool
- func (v NullableClientExtension) MarshalJSON() ([]byte, error)
- func (v *NullableClientExtension) Set(val *ClientExtension)
- func (v *NullableClientExtension) UnmarshalJSON(src []byte) error
- func (v *NullableClientExtension) Unset()
- type NullableClientFlagUpdateRequest
- func (v NullableClientFlagUpdateRequest) Get() *ClientFlagUpdateRequest
- func (v NullableClientFlagUpdateRequest) IsSet() bool
- func (v NullableClientFlagUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientFlagUpdateRequest) Set(val *ClientFlagUpdateRequest)
- func (v *NullableClientFlagUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientFlagUpdateRequest) Unset()
- type NullableClientFlagUpdateResponse
- func (v NullableClientFlagUpdateResponse) Get() *ClientFlagUpdateResponse
- func (v NullableClientFlagUpdateResponse) IsSet() bool
- func (v NullableClientFlagUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientFlagUpdateResponse) Set(val *ClientFlagUpdateResponse)
- func (v *NullableClientFlagUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientFlagUpdateResponse) Unset()
- type NullableClientGetListResponse
- func (v NullableClientGetListResponse) Get() *ClientGetListResponse
- func (v NullableClientGetListResponse) IsSet() bool
- func (v NullableClientGetListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientGetListResponse) Set(val *ClientGetListResponse)
- func (v *NullableClientGetListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientGetListResponse) Unset()
- type NullableClientGrantedScopesDeleteResponse
- func (v NullableClientGrantedScopesDeleteResponse) Get() *ClientGrantedScopesDeleteResponse
- func (v NullableClientGrantedScopesDeleteResponse) IsSet() bool
- func (v NullableClientGrantedScopesDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientGrantedScopesDeleteResponse) Set(val *ClientGrantedScopesDeleteResponse)
- func (v *NullableClientGrantedScopesDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientGrantedScopesDeleteResponse) Unset()
- type NullableClientGrantedScopesGetResponse
- func (v NullableClientGrantedScopesGetResponse) Get() *ClientGrantedScopesGetResponse
- func (v NullableClientGrantedScopesGetResponse) IsSet() bool
- func (v NullableClientGrantedScopesGetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientGrantedScopesGetResponse) Set(val *ClientGrantedScopesGetResponse)
- func (v *NullableClientGrantedScopesGetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientGrantedScopesGetResponse) Unset()
- type NullableClientRegistrationDeleteRequest
- func (v NullableClientRegistrationDeleteRequest) Get() *ClientRegistrationDeleteRequest
- func (v NullableClientRegistrationDeleteRequest) IsSet() bool
- func (v NullableClientRegistrationDeleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationDeleteRequest) Set(val *ClientRegistrationDeleteRequest)
- func (v *NullableClientRegistrationDeleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationDeleteRequest) Unset()
- type NullableClientRegistrationDeleteResponse
- func (v NullableClientRegistrationDeleteResponse) Get() *ClientRegistrationDeleteResponse
- func (v NullableClientRegistrationDeleteResponse) IsSet() bool
- func (v NullableClientRegistrationDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationDeleteResponse) Set(val *ClientRegistrationDeleteResponse)
- func (v *NullableClientRegistrationDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationDeleteResponse) Unset()
- type NullableClientRegistrationGetRequest
- func (v NullableClientRegistrationGetRequest) Get() *ClientRegistrationGetRequest
- func (v NullableClientRegistrationGetRequest) IsSet() bool
- func (v NullableClientRegistrationGetRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationGetRequest) Set(val *ClientRegistrationGetRequest)
- func (v *NullableClientRegistrationGetRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationGetRequest) Unset()
- type NullableClientRegistrationGetResponse
- func (v NullableClientRegistrationGetResponse) Get() *ClientRegistrationGetResponse
- func (v NullableClientRegistrationGetResponse) IsSet() bool
- func (v NullableClientRegistrationGetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationGetResponse) Set(val *ClientRegistrationGetResponse)
- func (v *NullableClientRegistrationGetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationGetResponse) Unset()
- type NullableClientRegistrationRequest
- func (v NullableClientRegistrationRequest) Get() *ClientRegistrationRequest
- func (v NullableClientRegistrationRequest) IsSet() bool
- func (v NullableClientRegistrationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationRequest) Set(val *ClientRegistrationRequest)
- func (v *NullableClientRegistrationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationRequest) Unset()
- type NullableClientRegistrationResponse
- func (v NullableClientRegistrationResponse) Get() *ClientRegistrationResponse
- func (v NullableClientRegistrationResponse) IsSet() bool
- func (v NullableClientRegistrationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationResponse) Set(val *ClientRegistrationResponse)
- func (v *NullableClientRegistrationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationResponse) Unset()
- type NullableClientRegistrationType
- func (v NullableClientRegistrationType) Get() *ClientRegistrationType
- func (v NullableClientRegistrationType) IsSet() bool
- func (v NullableClientRegistrationType) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationType) Set(val *ClientRegistrationType)
- func (v *NullableClientRegistrationType) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationType) Unset()
- type NullableClientRegistrationUpdateRequest
- func (v NullableClientRegistrationUpdateRequest) Get() *ClientRegistrationUpdateRequest
- func (v NullableClientRegistrationUpdateRequest) IsSet() bool
- func (v NullableClientRegistrationUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationUpdateRequest) Set(val *ClientRegistrationUpdateRequest)
- func (v *NullableClientRegistrationUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationUpdateRequest) Unset()
- type NullableClientRegistrationUpdateResponse
- func (v NullableClientRegistrationUpdateResponse) Get() *ClientRegistrationUpdateResponse
- func (v NullableClientRegistrationUpdateResponse) IsSet() bool
- func (v NullableClientRegistrationUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientRegistrationUpdateResponse) Set(val *ClientRegistrationUpdateResponse)
- func (v *NullableClientRegistrationUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientRegistrationUpdateResponse) Unset()
- type NullableClientSecretRefreshResponse
- func (v NullableClientSecretRefreshResponse) Get() *ClientSecretRefreshResponse
- func (v NullableClientSecretRefreshResponse) IsSet() bool
- func (v NullableClientSecretRefreshResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientSecretRefreshResponse) Set(val *ClientSecretRefreshResponse)
- func (v *NullableClientSecretRefreshResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientSecretRefreshResponse) Unset()
- type NullableClientSecretUpdateRequest
- func (v NullableClientSecretUpdateRequest) Get() *ClientSecretUpdateRequest
- func (v NullableClientSecretUpdateRequest) IsSet() bool
- func (v NullableClientSecretUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClientSecretUpdateRequest) Set(val *ClientSecretUpdateRequest)
- func (v *NullableClientSecretUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClientSecretUpdateRequest) Unset()
- type NullableClientSecretUpdateResponse
- func (v NullableClientSecretUpdateResponse) Get() *ClientSecretUpdateResponse
- func (v NullableClientSecretUpdateResponse) IsSet() bool
- func (v NullableClientSecretUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClientSecretUpdateResponse) Set(val *ClientSecretUpdateResponse)
- func (v *NullableClientSecretUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClientSecretUpdateResponse) Unset()
- type NullableClientType
- type NullableDeliveryMode
- func (v NullableDeliveryMode) Get() *DeliveryMode
- func (v NullableDeliveryMode) IsSet() bool
- func (v NullableDeliveryMode) MarshalJSON() ([]byte, error)
- func (v *NullableDeliveryMode) Set(val *DeliveryMode)
- func (v *NullableDeliveryMode) UnmarshalJSON(src []byte) error
- func (v *NullableDeliveryMode) Unset()
- type NullableDeviceAuthorizationRequest
- func (v NullableDeviceAuthorizationRequest) Get() *DeviceAuthorizationRequest
- func (v NullableDeviceAuthorizationRequest) IsSet() bool
- func (v NullableDeviceAuthorizationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceAuthorizationRequest) Set(val *DeviceAuthorizationRequest)
- func (v *NullableDeviceAuthorizationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceAuthorizationRequest) Unset()
- type NullableDeviceAuthorizationResponse
- func (v NullableDeviceAuthorizationResponse) Get() *DeviceAuthorizationResponse
- func (v NullableDeviceAuthorizationResponse) IsSet() bool
- func (v NullableDeviceAuthorizationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceAuthorizationResponse) Set(val *DeviceAuthorizationResponse)
- func (v *NullableDeviceAuthorizationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceAuthorizationResponse) Unset()
- type NullableDeviceCompleteRequest
- func (v NullableDeviceCompleteRequest) Get() *DeviceCompleteRequest
- func (v NullableDeviceCompleteRequest) IsSet() bool
- func (v NullableDeviceCompleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCompleteRequest) Set(val *DeviceCompleteRequest)
- func (v *NullableDeviceCompleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCompleteRequest) Unset()
- type NullableDeviceCompleteResponse
- func (v NullableDeviceCompleteResponse) Get() *DeviceCompleteResponse
- func (v NullableDeviceCompleteResponse) IsSet() bool
- func (v NullableDeviceCompleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCompleteResponse) Set(val *DeviceCompleteResponse)
- func (v *NullableDeviceCompleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCompleteResponse) Unset()
- type NullableDeviceVerificationRequest
- func (v NullableDeviceVerificationRequest) Get() *DeviceVerificationRequest
- func (v NullableDeviceVerificationRequest) IsSet() bool
- func (v NullableDeviceVerificationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceVerificationRequest) Set(val *DeviceVerificationRequest)
- func (v *NullableDeviceVerificationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceVerificationRequest) Unset()
- type NullableDeviceVerificationResponse
- func (v NullableDeviceVerificationResponse) Get() *DeviceVerificationResponse
- func (v NullableDeviceVerificationResponse) IsSet() bool
- func (v NullableDeviceVerificationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceVerificationResponse) Set(val *DeviceVerificationResponse)
- func (v *NullableDeviceVerificationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceVerificationResponse) Unset()
- type NullableDisplay
- type NullableDynamicScope
- func (v NullableDynamicScope) Get() *DynamicScope
- func (v NullableDynamicScope) IsSet() bool
- func (v NullableDynamicScope) MarshalJSON() ([]byte, error)
- func (v *NullableDynamicScope) Set(val *DynamicScope)
- func (v *NullableDynamicScope) UnmarshalJSON(src []byte) error
- func (v *NullableDynamicScope) Unset()
- type NullableFederationConfigurationResponse
- func (v NullableFederationConfigurationResponse) Get() *FederationConfigurationResponse
- func (v NullableFederationConfigurationResponse) IsSet() bool
- func (v NullableFederationConfigurationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFederationConfigurationResponse) Set(val *FederationConfigurationResponse)
- func (v *NullableFederationConfigurationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFederationConfigurationResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGMRequest
- type NullableGMResponse
- type NullableGrant
- type NullableGrantManagementAction
- func (v NullableGrantManagementAction) Get() *GrantManagementAction
- func (v NullableGrantManagementAction) IsSet() bool
- func (v NullableGrantManagementAction) MarshalJSON() ([]byte, error)
- func (v *NullableGrantManagementAction) Set(val *GrantManagementAction)
- func (v *NullableGrantManagementAction) UnmarshalJSON(src []byte) error
- func (v *NullableGrantManagementAction) Unset()
- type NullableGrantScope
- type NullableGrantType
- type NullableInfoResponse
- func (v NullableInfoResponse) Get() *InfoResponse
- func (v NullableInfoResponse) IsSet() bool
- func (v NullableInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInfoResponse) Set(val *InfoResponse)
- func (v *NullableInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInfoResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIntrospectionRequest
- func (v NullableIntrospectionRequest) Get() *IntrospectionRequest
- func (v NullableIntrospectionRequest) IsSet() bool
- func (v NullableIntrospectionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableIntrospectionRequest) Set(val *IntrospectionRequest)
- func (v *NullableIntrospectionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableIntrospectionRequest) Unset()
- type NullableIntrospectionResponse
- func (v NullableIntrospectionResponse) Get() *IntrospectionResponse
- func (v NullableIntrospectionResponse) IsSet() bool
- func (v NullableIntrospectionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableIntrospectionResponse) Set(val *IntrospectionResponse)
- func (v *NullableIntrospectionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableIntrospectionResponse) Unset()
- type NullableJoseVerifyRequest
- func (v NullableJoseVerifyRequest) Get() *JoseVerifyRequest
- func (v NullableJoseVerifyRequest) IsSet() bool
- func (v NullableJoseVerifyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJoseVerifyRequest) Set(val *JoseVerifyRequest)
- func (v *NullableJoseVerifyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJoseVerifyRequest) Unset()
- type NullableJoseVerifyResponse
- func (v NullableJoseVerifyResponse) Get() *JoseVerifyResponse
- func (v NullableJoseVerifyResponse) IsSet() bool
- func (v NullableJoseVerifyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJoseVerifyResponse) Set(val *JoseVerifyResponse)
- func (v *NullableJoseVerifyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJoseVerifyResponse) Unset()
- type NullableJweAlg
- type NullableJweEnc
- type NullableJwsAlg
- type NullableNamedUri
- type NullablePair
- type NullablePrompt
- type NullableProperty
- type NullablePushedAuthReqRequest
- func (v NullablePushedAuthReqRequest) Get() *PushedAuthReqRequest
- func (v NullablePushedAuthReqRequest) IsSet() bool
- func (v NullablePushedAuthReqRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePushedAuthReqRequest) Set(val *PushedAuthReqRequest)
- func (v *NullablePushedAuthReqRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePushedAuthReqRequest) Unset()
- type NullablePushedAuthReqResponse
- func (v NullablePushedAuthReqResponse) Get() *PushedAuthReqResponse
- func (v NullablePushedAuthReqResponse) IsSet() bool
- func (v NullablePushedAuthReqResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePushedAuthReqResponse) Set(val *PushedAuthReqResponse)
- func (v *NullablePushedAuthReqResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePushedAuthReqResponse) Unset()
- type NullablePushedAuthorizationRequest
- func (v NullablePushedAuthorizationRequest) Get() *PushedAuthorizationRequest
- func (v NullablePushedAuthorizationRequest) IsSet() bool
- func (v NullablePushedAuthorizationRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePushedAuthorizationRequest) Set(val *PushedAuthorizationRequest)
- func (v *NullablePushedAuthorizationRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePushedAuthorizationRequest) Unset()
- type NullablePushedAuthorizationResponse
- func (v NullablePushedAuthorizationResponse) Get() *PushedAuthorizationResponse
- func (v NullablePushedAuthorizationResponse) IsSet() bool
- func (v NullablePushedAuthorizationResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePushedAuthorizationResponse) Set(val *PushedAuthorizationResponse)
- func (v *NullablePushedAuthorizationResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePushedAuthorizationResponse) Unset()
- type NullableResponseType
- func (v NullableResponseType) Get() *ResponseType
- func (v NullableResponseType) IsSet() bool
- func (v NullableResponseType) MarshalJSON() ([]byte, error)
- func (v *NullableResponseType) Set(val *ResponseType)
- func (v *NullableResponseType) UnmarshalJSON(src []byte) error
- func (v *NullableResponseType) Unset()
- type NullableResult
- type NullableRevocationRequest
- func (v NullableRevocationRequest) Get() *RevocationRequest
- func (v NullableRevocationRequest) IsSet() bool
- func (v NullableRevocationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRevocationRequest) Set(val *RevocationRequest)
- func (v *NullableRevocationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRevocationRequest) Unset()
- type NullableRevocationResponse
- func (v NullableRevocationResponse) Get() *RevocationResponse
- func (v NullableRevocationResponse) IsSet() bool
- func (v NullableRevocationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRevocationResponse) Set(val *RevocationResponse)
- func (v *NullableRevocationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRevocationResponse) Unset()
- type NullableScope
- type NullableService
- type NullableServiceGetListResponse
- func (v NullableServiceGetListResponse) Get() *ServiceGetListResponse
- func (v NullableServiceGetListResponse) IsSet() bool
- func (v NullableServiceGetListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServiceGetListResponse) Set(val *ServiceGetListResponse)
- func (v *NullableServiceGetListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServiceGetListResponse) Unset()
- type NullableServiceJwksGetResponse
- func (v NullableServiceJwksGetResponse) Get() *ServiceJwksGetResponse
- func (v NullableServiceJwksGetResponse) IsSet() bool
- func (v NullableServiceJwksGetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServiceJwksGetResponse) Set(val *ServiceJwksGetResponse)
- func (v *NullableServiceJwksGetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServiceJwksGetResponse) Unset()
- type NullableServiceProfile
- func (v NullableServiceProfile) Get() *ServiceProfile
- func (v NullableServiceProfile) IsSet() bool
- func (v NullableServiceProfile) MarshalJSON() ([]byte, error)
- func (v *NullableServiceProfile) Set(val *ServiceProfile)
- func (v *NullableServiceProfile) UnmarshalJSON(src []byte) error
- func (v *NullableServiceProfile) Unset()
- type NullableSns
- type NullableSnsCredentials
- func (v NullableSnsCredentials) Get() *SnsCredentials
- func (v NullableSnsCredentials) IsSet() bool
- func (v NullableSnsCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableSnsCredentials) Set(val *SnsCredentials)
- func (v *NullableSnsCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableSnsCredentials) Unset()
- type NullableStandardIntrospectionRequest
- func (v NullableStandardIntrospectionRequest) Get() *StandardIntrospectionRequest
- func (v NullableStandardIntrospectionRequest) IsSet() bool
- func (v NullableStandardIntrospectionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStandardIntrospectionRequest) Set(val *StandardIntrospectionRequest)
- func (v *NullableStandardIntrospectionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStandardIntrospectionRequest) Unset()
- type NullableStandardIntrospectionResponse
- func (v NullableStandardIntrospectionResponse) Get() *StandardIntrospectionResponse
- func (v NullableStandardIntrospectionResponse) IsSet() bool
- func (v NullableStandardIntrospectionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStandardIntrospectionResponse) Set(val *StandardIntrospectionResponse)
- func (v *NullableStandardIntrospectionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStandardIntrospectionResponse) Unset()
- type NullableString
- type NullableSubjectType
- func (v NullableSubjectType) Get() *SubjectType
- func (v NullableSubjectType) IsSet() bool
- func (v NullableSubjectType) MarshalJSON() ([]byte, error)
- func (v *NullableSubjectType) Set(val *SubjectType)
- func (v *NullableSubjectType) UnmarshalJSON(src []byte) error
- func (v *NullableSubjectType) Unset()
- type NullableTaggedValue
- func (v NullableTaggedValue) Get() *TaggedValue
- func (v NullableTaggedValue) IsSet() bool
- func (v NullableTaggedValue) MarshalJSON() ([]byte, error)
- func (v *NullableTaggedValue) Set(val *TaggedValue)
- func (v *NullableTaggedValue) UnmarshalJSON(src []byte) error
- func (v *NullableTaggedValue) Unset()
- type NullableTime
- type NullableTokenCreateRequest
- func (v NullableTokenCreateRequest) Get() *TokenCreateRequest
- func (v NullableTokenCreateRequest) IsSet() bool
- func (v NullableTokenCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenCreateRequest) Set(val *TokenCreateRequest)
- func (v *NullableTokenCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenCreateRequest) Unset()
- type NullableTokenCreateResponse
- func (v NullableTokenCreateResponse) Get() *TokenCreateResponse
- func (v NullableTokenCreateResponse) IsSet() bool
- func (v NullableTokenCreateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenCreateResponse) Set(val *TokenCreateResponse)
- func (v *NullableTokenCreateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenCreateResponse) Unset()
- type NullableTokenFailRequest
- func (v NullableTokenFailRequest) Get() *TokenFailRequest
- func (v NullableTokenFailRequest) IsSet() bool
- func (v NullableTokenFailRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenFailRequest) Set(val *TokenFailRequest)
- func (v *NullableTokenFailRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenFailRequest) Unset()
- type NullableTokenFailResponse
- func (v NullableTokenFailResponse) Get() *TokenFailResponse
- func (v NullableTokenFailResponse) IsSet() bool
- func (v NullableTokenFailResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenFailResponse) Set(val *TokenFailResponse)
- func (v *NullableTokenFailResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenFailResponse) Unset()
- type NullableTokenGetListResponse
- func (v NullableTokenGetListResponse) Get() *TokenGetListResponse
- func (v NullableTokenGetListResponse) IsSet() bool
- func (v NullableTokenGetListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenGetListResponse) Set(val *TokenGetListResponse)
- func (v *NullableTokenGetListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenGetListResponse) Unset()
- type NullableTokenInfo
- type NullableTokenIssueRequest
- func (v NullableTokenIssueRequest) Get() *TokenIssueRequest
- func (v NullableTokenIssueRequest) IsSet() bool
- func (v NullableTokenIssueRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenIssueRequest) Set(val *TokenIssueRequest)
- func (v *NullableTokenIssueRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenIssueRequest) Unset()
- type NullableTokenIssueResponse
- func (v NullableTokenIssueResponse) Get() *TokenIssueResponse
- func (v NullableTokenIssueResponse) IsSet() bool
- func (v NullableTokenIssueResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenIssueResponse) Set(val *TokenIssueResponse)
- func (v *NullableTokenIssueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenIssueResponse) Unset()
- type NullableTokenRequest
- func (v NullableTokenRequest) Get() *TokenRequest
- func (v NullableTokenRequest) IsSet() bool
- func (v NullableTokenRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenRequest) Set(val *TokenRequest)
- func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenRequest) Unset()
- type NullableTokenResponse
- func (v NullableTokenResponse) Get() *TokenResponse
- func (v NullableTokenResponse) IsSet() bool
- func (v NullableTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenResponse) Set(val *TokenResponse)
- func (v *NullableTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenResponse) Unset()
- type NullableTokenRevokeRequest
- func (v NullableTokenRevokeRequest) Get() *TokenRevokeRequest
- func (v NullableTokenRevokeRequest) IsSet() bool
- func (v NullableTokenRevokeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenRevokeRequest) Set(val *TokenRevokeRequest)
- func (v *NullableTokenRevokeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenRevokeRequest) Unset()
- type NullableTokenRevokeResponse
- func (v NullableTokenRevokeResponse) Get() *TokenRevokeResponse
- func (v NullableTokenRevokeResponse) IsSet() bool
- func (v NullableTokenRevokeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenRevokeResponse) Set(val *TokenRevokeResponse)
- func (v *NullableTokenRevokeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenRevokeResponse) Unset()
- type NullableTokenType
- type NullableTokenUpdateRequest
- func (v NullableTokenUpdateRequest) Get() *TokenUpdateRequest
- func (v NullableTokenUpdateRequest) IsSet() bool
- func (v NullableTokenUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenUpdateRequest) Set(val *TokenUpdateRequest)
- func (v *NullableTokenUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenUpdateRequest) Unset()
- type NullableTokenUpdateResponse
- func (v NullableTokenUpdateResponse) Get() *TokenUpdateResponse
- func (v NullableTokenUpdateResponse) IsSet() bool
- func (v NullableTokenUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTokenUpdateResponse) Set(val *TokenUpdateResponse)
- func (v *NullableTokenUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTokenUpdateResponse) Unset()
- type NullableTrustAnchor
- func (v NullableTrustAnchor) Get() *TrustAnchor
- func (v NullableTrustAnchor) IsSet() bool
- func (v NullableTrustAnchor) MarshalJSON() ([]byte, error)
- func (v *NullableTrustAnchor) Set(val *TrustAnchor)
- func (v *NullableTrustAnchor) UnmarshalJSON(src []byte) error
- func (v *NullableTrustAnchor) Unset()
- type NullableUserCodeCharset
- func (v NullableUserCodeCharset) Get() *UserCodeCharset
- func (v NullableUserCodeCharset) IsSet() bool
- func (v NullableUserCodeCharset) MarshalJSON() ([]byte, error)
- func (v *NullableUserCodeCharset) Set(val *UserCodeCharset)
- func (v *NullableUserCodeCharset) UnmarshalJSON(src []byte) error
- func (v *NullableUserCodeCharset) Unset()
- type NullableUserinfoIssueRequest
- func (v NullableUserinfoIssueRequest) Get() *UserinfoIssueRequest
- func (v NullableUserinfoIssueRequest) IsSet() bool
- func (v NullableUserinfoIssueRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUserinfoIssueRequest) Set(val *UserinfoIssueRequest)
- func (v *NullableUserinfoIssueRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUserinfoIssueRequest) Unset()
- type NullableUserinfoIssueResponse
- func (v NullableUserinfoIssueResponse) Get() *UserinfoIssueResponse
- func (v NullableUserinfoIssueResponse) IsSet() bool
- func (v NullableUserinfoIssueResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUserinfoIssueResponse) Set(val *UserinfoIssueResponse)
- func (v *NullableUserinfoIssueResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUserinfoIssueResponse) Unset()
- type NullableUserinfoRequest
- func (v NullableUserinfoRequest) Get() *UserinfoRequest
- func (v NullableUserinfoRequest) IsSet() bool
- func (v NullableUserinfoRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUserinfoRequest) Set(val *UserinfoRequest)
- func (v *NullableUserinfoRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUserinfoRequest) Unset()
- type NullableUserinfoResponse
- func (v NullableUserinfoResponse) Get() *UserinfoResponse
- func (v NullableUserinfoResponse) IsSet() bool
- func (v NullableUserinfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUserinfoResponse) Set(val *UserinfoResponse)
- func (v *NullableUserinfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUserinfoResponse) Unset()
- type NullableVerifiedClaimsValidationSchema
- func (v NullableVerifiedClaimsValidationSchema) Get() *VerifiedClaimsValidationSchema
- func (v NullableVerifiedClaimsValidationSchema) IsSet() bool
- func (v NullableVerifiedClaimsValidationSchema) MarshalJSON() ([]byte, error)
- func (v *NullableVerifiedClaimsValidationSchema) Set(val *VerifiedClaimsValidationSchema)
- func (v *NullableVerifiedClaimsValidationSchema) UnmarshalJSON(src []byte) error
- func (v *NullableVerifiedClaimsValidationSchema) Unset()
- type Pair
- func (o *Pair) GetKey() string
- func (o *Pair) GetKeyOk() (*string, bool)
- func (o *Pair) GetValue() string
- func (o *Pair) GetValueOk() (*string, bool)
- func (o *Pair) HasKey() bool
- func (o *Pair) HasValue() bool
- func (o Pair) MarshalJSON() ([]byte, error)
- func (o *Pair) SetKey(v string)
- func (o *Pair) SetValue(v string)
- func (o Pair) ToMap() (map[string]interface{}, error)
- type Prompt
- type Property
- func (o *Property) GetHidden() bool
- func (o *Property) GetHiddenOk() (*bool, bool)
- func (o *Property) GetKey() string
- func (o *Property) GetKeyOk() (*string, bool)
- func (o *Property) GetValue() string
- func (o *Property) GetValueOk() (*string, bool)
- func (o *Property) HasHidden() bool
- func (o *Property) HasKey() bool
- func (o *Property) HasValue() bool
- func (o Property) MarshalJSON() ([]byte, error)
- func (o *Property) SetHidden(v bool)
- func (o *Property) SetKey(v string)
- func (o *Property) SetValue(v string)
- func (o Property) ToMap() (map[string]interface{}, error)
- type PushedAuthReqRequest
- func (o *PushedAuthReqRequest) GetClientCertificate() string
- func (o *PushedAuthReqRequest) GetClientCertificateOk() (*string, bool)
- func (o *PushedAuthReqRequest) GetClientCertificatePath() string
- func (o *PushedAuthReqRequest) GetClientCertificatePathOk() (*string, bool)
- func (o *PushedAuthReqRequest) GetClientId() string
- func (o *PushedAuthReqRequest) GetClientIdOk() (*string, bool)
- func (o *PushedAuthReqRequest) GetClientSecret() string
- func (o *PushedAuthReqRequest) GetClientSecretOk() (*string, bool)
- func (o *PushedAuthReqRequest) GetParameters() string
- func (o *PushedAuthReqRequest) GetParametersOk() (*string, bool)
- func (o *PushedAuthReqRequest) HasClientCertificate() bool
- func (o *PushedAuthReqRequest) HasClientCertificatePath() bool
- func (o *PushedAuthReqRequest) HasClientId() bool
- func (o *PushedAuthReqRequest) HasClientSecret() bool
- func (o PushedAuthReqRequest) MarshalJSON() ([]byte, error)
- func (o *PushedAuthReqRequest) SetClientCertificate(v string)
- func (o *PushedAuthReqRequest) SetClientCertificatePath(v string)
- func (o *PushedAuthReqRequest) SetClientId(v string)
- func (o *PushedAuthReqRequest) SetClientSecret(v string)
- func (o *PushedAuthReqRequest) SetParameters(v string)
- func (o PushedAuthReqRequest) ToMap() (map[string]interface{}, error)
- type PushedAuthReqResponse
- func (o *PushedAuthReqResponse) GetAction() string
- func (o *PushedAuthReqResponse) GetActionOk() (*string, bool)
- func (o *PushedAuthReqResponse) GetRequestUri() string
- func (o *PushedAuthReqResponse) GetRequestUriOk() (*string, bool)
- func (o *PushedAuthReqResponse) GetResponseContent() string
- func (o *PushedAuthReqResponse) GetResponseContentOk() (*string, bool)
- func (o *PushedAuthReqResponse) GetResultCode() string
- func (o *PushedAuthReqResponse) GetResultCodeOk() (*string, bool)
- func (o *PushedAuthReqResponse) GetResultMessage() string
- func (o *PushedAuthReqResponse) GetResultMessageOk() (*string, bool)
- func (o *PushedAuthReqResponse) HasAction() bool
- func (o *PushedAuthReqResponse) HasRequestUri() bool
- func (o *PushedAuthReqResponse) HasResponseContent() bool
- func (o *PushedAuthReqResponse) HasResultCode() bool
- func (o *PushedAuthReqResponse) HasResultMessage() bool
- func (o PushedAuthReqResponse) MarshalJSON() ([]byte, error)
- func (o *PushedAuthReqResponse) SetAction(v string)
- func (o *PushedAuthReqResponse) SetRequestUri(v string)
- func (o *PushedAuthReqResponse) SetResponseContent(v string)
- func (o *PushedAuthReqResponse) SetResultCode(v string)
- func (o *PushedAuthReqResponse) SetResultMessage(v string)
- func (o PushedAuthReqResponse) ToMap() (map[string]interface{}, error)
- type PushedAuthorizationEndpointApi
- type PushedAuthorizationEndpointApiService
- type PushedAuthorizationRequest
- func (o *PushedAuthorizationRequest) GetClientCertificate() string
- func (o *PushedAuthorizationRequest) GetClientCertificateOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetClientCertificatePath() string
- func (o *PushedAuthorizationRequest) GetClientCertificatePathOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetClientId() string
- func (o *PushedAuthorizationRequest) GetClientIdOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetClientSecret() string
- func (o *PushedAuthorizationRequest) GetClientSecretOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetDpop() string
- func (o *PushedAuthorizationRequest) GetDpopOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetHtm() string
- func (o *PushedAuthorizationRequest) GetHtmOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetHtu() string
- func (o *PushedAuthorizationRequest) GetHtuOk() (*string, bool)
- func (o *PushedAuthorizationRequest) GetParameters() string
- func (o *PushedAuthorizationRequest) GetParametersOk() (*string, bool)
- func (o *PushedAuthorizationRequest) HasClientCertificate() bool
- func (o *PushedAuthorizationRequest) HasClientCertificatePath() bool
- func (o *PushedAuthorizationRequest) HasClientId() bool
- func (o *PushedAuthorizationRequest) HasClientSecret() bool
- func (o *PushedAuthorizationRequest) HasDpop() bool
- func (o *PushedAuthorizationRequest) HasHtm() bool
- func (o *PushedAuthorizationRequest) HasHtu() bool
- func (o PushedAuthorizationRequest) MarshalJSON() ([]byte, error)
- func (o *PushedAuthorizationRequest) SetClientCertificate(v string)
- func (o *PushedAuthorizationRequest) SetClientCertificatePath(v string)
- func (o *PushedAuthorizationRequest) SetClientId(v string)
- func (o *PushedAuthorizationRequest) SetClientSecret(v string)
- func (o *PushedAuthorizationRequest) SetDpop(v string)
- func (o *PushedAuthorizationRequest) SetHtm(v string)
- func (o *PushedAuthorizationRequest) SetHtu(v string)
- func (o *PushedAuthorizationRequest) SetParameters(v string)
- func (o PushedAuthorizationRequest) ToMap() (map[string]interface{}, error)
- type PushedAuthorizationResponse
- func (o *PushedAuthorizationResponse) GetAction() string
- func (o *PushedAuthorizationResponse) GetActionOk() (*string, bool)
- func (o *PushedAuthorizationResponse) GetClientAuthMethod() string
- func (o *PushedAuthorizationResponse) GetClientAuthMethodOk() (*string, bool)
- func (o *PushedAuthorizationResponse) GetRequestUri() string
- func (o *PushedAuthorizationResponse) GetRequestUriOk() (*string, bool)
- func (o *PushedAuthorizationResponse) GetResponseContent() string
- func (o *PushedAuthorizationResponse) GetResponseContentOk() (*string, bool)
- func (o *PushedAuthorizationResponse) GetResultCode() string
- func (o *PushedAuthorizationResponse) GetResultCodeOk() (*string, bool)
- func (o *PushedAuthorizationResponse) GetResultMessage() string
- func (o *PushedAuthorizationResponse) GetResultMessageOk() (*string, bool)
- func (o *PushedAuthorizationResponse) HasAction() bool
- func (o *PushedAuthorizationResponse) HasClientAuthMethod() bool
- func (o *PushedAuthorizationResponse) HasRequestUri() bool
- func (o *PushedAuthorizationResponse) HasResponseContent() bool
- func (o *PushedAuthorizationResponse) HasResultCode() bool
- func (o *PushedAuthorizationResponse) HasResultMessage() bool
- func (o PushedAuthorizationResponse) MarshalJSON() ([]byte, error)
- func (o *PushedAuthorizationResponse) SetAction(v string)
- func (o *PushedAuthorizationResponse) SetClientAuthMethod(v string)
- func (o *PushedAuthorizationResponse) SetRequestUri(v string)
- func (o *PushedAuthorizationResponse) SetResponseContent(v string)
- func (o *PushedAuthorizationResponse) SetResultCode(v string)
- func (o *PushedAuthorizationResponse) SetResultMessage(v string)
- func (o PushedAuthorizationResponse) ToMap() (map[string]interface{}, error)
- type ResponseType
- type Result
- func (o *Result) GetResultCode() string
- func (o *Result) GetResultCodeOk() (*string, bool)
- func (o *Result) GetResultMessage() string
- func (o *Result) GetResultMessageOk() (*string, bool)
- func (o *Result) HasResultCode() bool
- func (o *Result) HasResultMessage() bool
- func (o Result) MarshalJSON() ([]byte, error)
- func (o *Result) SetResultCode(v string)
- func (o *Result) SetResultMessage(v string)
- func (o Result) ToMap() (map[string]interface{}, error)
- type RevocationEndpointApi
- type RevocationEndpointApiService
- type RevocationRequest
- func (o *RevocationRequest) GetClientCertificate() string
- func (o *RevocationRequest) GetClientCertificateOk() (*string, bool)
- func (o *RevocationRequest) GetClientCertificatePath() string
- func (o *RevocationRequest) GetClientCertificatePathOk() (*string, bool)
- func (o *RevocationRequest) GetClientId() string
- func (o *RevocationRequest) GetClientIdOk() (*string, bool)
- func (o *RevocationRequest) GetClientSecret() string
- func (o *RevocationRequest) GetClientSecretOk() (*string, bool)
- func (o *RevocationRequest) GetParameters() string
- func (o *RevocationRequest) GetParametersOk() (*string, bool)
- func (o *RevocationRequest) HasClientCertificate() bool
- func (o *RevocationRequest) HasClientCertificatePath() bool
- func (o *RevocationRequest) HasClientId() bool
- func (o *RevocationRequest) HasClientSecret() bool
- func (o RevocationRequest) MarshalJSON() ([]byte, error)
- func (o *RevocationRequest) SetClientCertificate(v string)
- func (o *RevocationRequest) SetClientCertificatePath(v string)
- func (o *RevocationRequest) SetClientId(v string)
- func (o *RevocationRequest) SetClientSecret(v string)
- func (o *RevocationRequest) SetParameters(v string)
- func (o RevocationRequest) ToMap() (map[string]interface{}, error)
- type RevocationResponse
- func (o *RevocationResponse) GetAction() string
- func (o *RevocationResponse) GetActionOk() (*string, bool)
- func (o *RevocationResponse) GetResponseContent() string
- func (o *RevocationResponse) GetResponseContentOk() (*string, bool)
- func (o *RevocationResponse) GetResultCode() string
- func (o *RevocationResponse) GetResultCodeOk() (*string, bool)
- func (o *RevocationResponse) GetResultMessage() string
- func (o *RevocationResponse) GetResultMessageOk() (*string, bool)
- func (o *RevocationResponse) HasAction() bool
- func (o *RevocationResponse) HasResponseContent() bool
- func (o *RevocationResponse) HasResultCode() bool
- func (o *RevocationResponse) HasResultMessage() bool
- func (o RevocationResponse) MarshalJSON() ([]byte, error)
- func (o *RevocationResponse) SetAction(v string)
- func (o *RevocationResponse) SetResponseContent(v string)
- func (o *RevocationResponse) SetResultCode(v string)
- func (o *RevocationResponse) SetResultMessage(v string)
- func (o RevocationResponse) ToMap() (map[string]interface{}, error)
- type Scope
- func (o *Scope) GetAttributes() []Pair
- func (o *Scope) GetAttributesOk() ([]Pair, bool)
- func (o *Scope) GetDefaultEntry() bool
- func (o *Scope) GetDefaultEntryOk() (*bool, bool)
- func (o *Scope) GetDescription() string
- func (o *Scope) GetDescriptionOk() (*string, bool)
- func (o *Scope) GetDescriptions() []TaggedValue
- func (o *Scope) GetDescriptionsOk() ([]TaggedValue, bool)
- func (o *Scope) GetName() string
- func (o *Scope) GetNameOk() (*string, bool)
- func (o *Scope) HasAttributes() bool
- func (o *Scope) HasDefaultEntry() bool
- func (o *Scope) HasDescription() bool
- func (o *Scope) HasDescriptions() bool
- func (o *Scope) HasName() bool
- func (o Scope) MarshalJSON() ([]byte, error)
- func (o *Scope) SetAttributes(v []Pair)
- func (o *Scope) SetDefaultEntry(v bool)
- func (o *Scope) SetDescription(v string)
- func (o *Scope) SetDescriptions(v []TaggedValue)
- func (o *Scope) SetName(v string)
- func (o Scope) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerMetadataApi
- type ServerMetadataApiService
- type ServerVariable
- type Service
- func (o *Service) GetAccessTokenDuration() int64
- func (o *Service) GetAccessTokenDurationOk() (*int64, bool)
- func (o *Service) GetAccessTokenForExternalAttachmentEmbedded() bool
- func (o *Service) GetAccessTokenForExternalAttachmentEmbeddedOk() (*bool, bool)
- func (o *Service) GetAccessTokenSignAlg() JwsAlg
- func (o *Service) GetAccessTokenSignAlgOk() (*JwsAlg, bool)
- func (o *Service) GetAccessTokenSignatureKeyId() string
- func (o *Service) GetAccessTokenSignatureKeyIdOk() (*string, bool)
- func (o *Service) GetAccessTokenType() string
- func (o *Service) GetAccessTokenTypeOk() (*string, bool)
- func (o *Service) GetAllowableClockSkew() int32
- func (o *Service) GetAllowableClockSkewOk() (*int32, bool)
- func (o *Service) GetApiKey() int64
- func (o *Service) GetApiKeyOk() (*int64, bool)
- func (o *Service) GetApiSecret() string
- func (o *Service) GetApiSecretOk() (*string, bool)
- func (o *Service) GetAttributes() []Pair
- func (o *Service) GetAttributesOk() ([]Pair, bool)
- func (o *Service) GetAuthenticationCallbackApiKey() string
- func (o *Service) GetAuthenticationCallbackApiKeyOk() (*string, bool)
- func (o *Service) GetAuthenticationCallbackApiSecret() string
- func (o *Service) GetAuthenticationCallbackApiSecretOk() (*string, bool)
- func (o *Service) GetAuthenticationCallbackEndpoint() string
- func (o *Service) GetAuthenticationCallbackEndpointOk() (*string, bool)
- func (o *Service) GetAuthorityHints() []string
- func (o *Service) GetAuthorityHintsOk() ([]string, bool)
- func (o *Service) GetAuthorizationEndpoint() string
- func (o *Service) GetAuthorizationEndpointOk() (*string, bool)
- func (o *Service) GetAuthorizationResponseDuration() int64
- func (o *Service) GetAuthorizationResponseDurationOk() (*int64, bool)
- func (o *Service) GetAuthorizationSignatureKeyId() string
- func (o *Service) GetAuthorizationSignatureKeyIdOk() (*string, bool)
- func (o *Service) GetBackchannelAuthReqIdDuration() int32
- func (o *Service) GetBackchannelAuthReqIdDurationOk() (*int32, bool)
- func (o *Service) GetBackchannelAuthenticationEndpoint() string
- func (o *Service) GetBackchannelAuthenticationEndpointOk() (*string, bool)
- func (o *Service) GetBackchannelBindingMessageRequiredInFapi() bool
- func (o *Service) GetBackchannelBindingMessageRequiredInFapiOk() (*bool, bool)
- func (o *Service) GetBackchannelPollingInterval() int32
- func (o *Service) GetBackchannelPollingIntervalOk() (*int32, bool)
- func (o *Service) GetBackchannelUserCodeParameterSupported() bool
- func (o *Service) GetBackchannelUserCodeParameterSupportedOk() (*bool, bool)
- func (o *Service) GetClaimShortcutRestrictive() bool
- func (o *Service) GetClaimShortcutRestrictiveOk() (*bool, bool)
- func (o *Service) GetClientIdAliasEnabled() bool
- func (o *Service) GetClientIdAliasEnabledOk() (*bool, bool)
- func (o *Service) GetClientsPerDeveloper() int32
- func (o *Service) GetClientsPerDeveloperOk() (*int32, bool)
- func (o *Service) GetCreatedAt() int64
- func (o *Service) GetCreatedAtOk() (*int64, bool)
- func (o *Service) GetDcrDuplicateSoftwareIdBlocked() bool
- func (o *Service) GetDcrDuplicateSoftwareIdBlockedOk() (*bool, bool)
- func (o *Service) GetDcrScopeUsedAsRequestable() bool
- func (o *Service) GetDcrScopeUsedAsRequestableOk() (*bool, bool)
- func (o *Service) GetDescription() string
- func (o *Service) GetDescriptionOk() (*string, bool)
- func (o *Service) GetDeveloperAuthenticationCallbackApiKey() string
- func (o *Service) GetDeveloperAuthenticationCallbackApiKeyOk() (*string, bool)
- func (o *Service) GetDeveloperAuthenticationCallbackApiSecret() string
- func (o *Service) GetDeveloperAuthenticationCallbackApiSecretOk() (*string, bool)
- func (o *Service) GetDeveloperAuthenticationCallbackEndpoint() string
- func (o *Service) GetDeveloperAuthenticationCallbackEndpointOk() (*string, bool)
- func (o *Service) GetDeveloperSnsCredentials() string
- func (o *Service) GetDeveloperSnsCredentialsOk() (*string, bool)
- func (o *Service) GetDeviceAuthorizationEndpoint() string
- func (o *Service) GetDeviceAuthorizationEndpointOk() (*string, bool)
- func (o *Service) GetDeviceFlowCodeDuration() int32
- func (o *Service) GetDeviceFlowCodeDurationOk() (*int32, bool)
- func (o *Service) GetDeviceFlowPollingInterval() int32
- func (o *Service) GetDeviceFlowPollingIntervalOk() (*int32, bool)
- func (o *Service) GetDeviceVerificationUri() string
- func (o *Service) GetDeviceVerificationUriComplete() string
- func (o *Service) GetDeviceVerificationUriCompleteOk() (*string, bool)
- func (o *Service) GetDeviceVerificationUriOk() (*string, bool)
- func (o *Service) GetDirectAuthorizationEndpointEnabled() bool
- func (o *Service) GetDirectAuthorizationEndpointEnabledOk() (*bool, bool)
- func (o *Service) GetDirectIntrospectionEndpointEnabled() bool
- func (o *Service) GetDirectIntrospectionEndpointEnabledOk() (*bool, bool)
- func (o *Service) GetDirectJwksEndpointEnabled() bool
- func (o *Service) GetDirectJwksEndpointEnabledOk() (*bool, bool)
- func (o *Service) GetDirectRevocationEndpointEnabled() bool
- func (o *Service) GetDirectRevocationEndpointEnabledOk() (*bool, bool)
- func (o *Service) GetDirectTokenEndpointEnabled() bool
- func (o *Service) GetDirectTokenEndpointEnabledOk() (*bool, bool)
- func (o *Service) GetDirectUserInfoEndpointEnabled() bool
- func (o *Service) GetDirectUserInfoEndpointEnabledOk() (*bool, bool)
- func (o *Service) GetDynamicRegistrationSupported() bool
- func (o *Service) GetDynamicRegistrationSupportedOk() (*bool, bool)
- func (o *Service) GetEndSessionEndpoint() string
- func (o *Service) GetEndSessionEndpointOk() (*string, bool)
- func (o *Service) GetErrorDescriptionOmitted() bool
- func (o *Service) GetErrorDescriptionOmittedOk() (*bool, bool)
- func (o *Service) GetErrorUriOmitted() bool
- func (o *Service) GetErrorUriOmittedOk() (*bool, bool)
- func (o *Service) GetFederationConfigurationDuration() int32
- func (o *Service) GetFederationConfigurationDurationOk() (*int32, bool)
- func (o *Service) GetFederationEnabled() bool
- func (o *Service) GetFederationEnabledOk() (*bool, bool)
- func (o *Service) GetFederationJwks() string
- func (o *Service) GetFederationJwksOk() (*string, bool)
- func (o *Service) GetFederationRegistrationEndpoint() string
- func (o *Service) GetFederationRegistrationEndpointOk() (*string, bool)
- func (o *Service) GetFederationSignatureKeyId() string
- func (o *Service) GetFederationSignatureKeyIdOk() (*string, bool)
- func (o *Service) GetFrontChannelRequestObjectEncryptionRequired() bool
- func (o *Service) GetFrontChannelRequestObjectEncryptionRequiredOk() (*bool, bool)
- func (o *Service) GetGrantManagementActionRequired() bool
- func (o *Service) GetGrantManagementActionRequiredOk() (*bool, bool)
- func (o *Service) GetGrantManagementEndpoint() string
- func (o *Service) GetGrantManagementEndpointOk() (*string, bool)
- func (o *Service) GetHsks() []Pair
- func (o *Service) GetHsksOk() ([]Pair, bool)
- func (o *Service) GetHsmEnabled() bool
- func (o *Service) GetHsmEnabledOk() (*bool, bool)
- func (o *Service) GetIdTokenDuration() int64
- func (o *Service) GetIdTokenDurationOk() (*int64, bool)
- func (o *Service) GetIdTokenSignatureKeyId() string
- func (o *Service) GetIdTokenSignatureKeyIdOk() (*string, bool)
- func (o *Service) GetIntrospectionEndpoint() string
- func (o *Service) GetIntrospectionEndpointOk() (*string, bool)
- func (o *Service) GetIssSuppressed() bool
- func (o *Service) GetIssSuppressedOk() (*bool, bool)
- func (o *Service) GetIssuer() string
- func (o *Service) GetIssuerOk() (*string, bool)
- func (o *Service) GetJwks() string
- func (o *Service) GetJwksOk() (*string, bool)
- func (o *Service) GetJwksUri() string
- func (o *Service) GetJwksUriOk() (*string, bool)
- func (o *Service) GetJwtGrantByIdentifiableClientsOnly() bool
- func (o *Service) GetJwtGrantByIdentifiableClientsOnlyOk() (*bool, bool)
- func (o *Service) GetJwtGrantEncryptedJwtRejected() bool
- func (o *Service) GetJwtGrantEncryptedJwtRejectedOk() (*bool, bool)
- func (o *Service) GetJwtGrantUnsignedJwtRejected() bool
- func (o *Service) GetJwtGrantUnsignedJwtRejectedOk() (*bool, bool)
- func (o *Service) GetLoopbackRedirectionUriVariable() bool
- func (o *Service) GetLoopbackRedirectionUriVariableOk() (*bool, bool)
- func (o *Service) GetMetadata() []Pair
- func (o *Service) GetMetadataOk() ([]Pair, bool)
- func (o *Service) GetMissingClientIdAllowed() bool
- func (o *Service) GetMissingClientIdAllowedOk() (*bool, bool)
- func (o *Service) GetModifiedAt() int64
- func (o *Service) GetModifiedAtOk() (*int64, bool)
- func (o *Service) GetMtlsEndpointAliases() []NamedUri
- func (o *Service) GetMtlsEndpointAliasesOk() ([]NamedUri, bool)
- func (o *Service) GetMutualTlsValidatePkiCertChain() bool
- func (o *Service) GetMutualTlsValidatePkiCertChainOk() (*bool, bool)
- func (o *Service) GetNbfOptional() bool
- func (o *Service) GetNbfOptionalOk() (*bool, bool)
- func (o *Service) GetNumber() int32
- func (o *Service) GetNumberOk() (*int32, bool)
- func (o *Service) GetOpenidDroppedOnRefreshWithoutOfflineAccess() bool
- func (o *Service) GetOpenidDroppedOnRefreshWithoutOfflineAccessOk() (*bool, bool)
- func (o *Service) GetOrganizationName() string
- func (o *Service) GetOrganizationNameOk() (*string, bool)
- func (o *Service) GetParRequired() bool
- func (o *Service) GetParRequiredOk() (*bool, bool)
- func (o *Service) GetPkceRequired() bool
- func (o *Service) GetPkceRequiredOk() (*bool, bool)
- func (o *Service) GetPkceS256Required() bool
- func (o *Service) GetPkceS256RequiredOk() (*bool, bool)
- func (o *Service) GetPolicyUri() string
- func (o *Service) GetPolicyUriOk() (*string, bool)
- func (o *Service) GetPredefinedTransformedClaims() string
- func (o *Service) GetPredefinedTransformedClaimsOk() (*string, bool)
- func (o *Service) GetPushedAuthReqDuration() int64
- func (o *Service) GetPushedAuthReqDurationOk() (*int64, bool)
- func (o *Service) GetPushedAuthReqEndpoint() string
- func (o *Service) GetPushedAuthReqEndpointOk() (*string, bool)
- func (o *Service) GetRefreshTokenDuration() int64
- func (o *Service) GetRefreshTokenDurationKept() bool
- func (o *Service) GetRefreshTokenDurationKeptOk() (*bool, bool)
- func (o *Service) GetRefreshTokenDurationOk() (*int64, bool)
- func (o *Service) GetRefreshTokenDurationReset() bool
- func (o *Service) GetRefreshTokenDurationResetOk() (*bool, bool)
- func (o *Service) GetRefreshTokenIdempotent() bool
- func (o *Service) GetRefreshTokenIdempotentOk() (*bool, bool)
- func (o *Service) GetRefreshTokenKept() bool
- func (o *Service) GetRefreshTokenKeptOk() (*bool, bool)
- func (o *Service) GetRegistrationEndpoint() string
- func (o *Service) GetRegistrationEndpointOk() (*string, bool)
- func (o *Service) GetRegistrationManagementEndpoint() string
- func (o *Service) GetRegistrationManagementEndpointOk() (*string, bool)
- func (o *Service) GetRequestObjectAudienceChecked() bool
- func (o *Service) GetRequestObjectAudienceCheckedOk() (*bool, bool)
- func (o *Service) GetRequestObjectEncryptionAlgMatchRequired() bool
- func (o *Service) GetRequestObjectEncryptionAlgMatchRequiredOk() (*bool, bool)
- func (o *Service) GetRequestObjectEncryptionEncMatchRequired() bool
- func (o *Service) GetRequestObjectEncryptionEncMatchRequiredOk() (*bool, bool)
- func (o *Service) GetRequestObjectRequired() bool
- func (o *Service) GetRequestObjectRequiredOk() (*bool, bool)
- func (o *Service) GetRevocationEndpoint() string
- func (o *Service) GetRevocationEndpointOk() (*string, bool)
- func (o *Service) GetRsResponseSigned() bool
- func (o *Service) GetRsResponseSignedOk() (*bool, bool)
- func (o *Service) GetRsSignedRequestKeyId() string
- func (o *Service) GetRsSignedRequestKeyIdOk() (*string, bool)
- func (o *Service) GetScopeRequired() bool
- func (o *Service) GetScopeRequiredOk() (*bool, bool)
- func (o *Service) GetServiceDocumentation() string
- func (o *Service) GetServiceDocumentationOk() (*string, bool)
- func (o *Service) GetServiceName() string
- func (o *Service) GetServiceNameOk() (*string, bool)
- func (o *Service) GetServiceOwnerNumber() int32
- func (o *Service) GetServiceOwnerNumberOk() (*int32, bool)
- func (o *Service) GetSignedJwksUri() string
- func (o *Service) GetSignedJwksUriOk() (*string, bool)
- func (o *Service) GetSingleAccessTokenPerSubject() bool
- func (o *Service) GetSingleAccessTokenPerSubjectOk() (*bool, bool)
- func (o *Service) GetSnsCredentials() []SnsCredentials
- func (o *Service) GetSnsCredentialsOk() ([]SnsCredentials, bool)
- func (o *Service) GetSupportedAcrs() []string
- func (o *Service) GetSupportedAcrsOk() ([]string, bool)
- func (o *Service) GetSupportedAttachments() []AttachmentType
- func (o *Service) GetSupportedAttachmentsOk() ([]AttachmentType, bool)
- func (o *Service) GetSupportedAuthorizationDetailsTypes() []string
- func (o *Service) GetSupportedAuthorizationDetailsTypesOk() ([]string, bool)
- func (o *Service) GetSupportedBackchannelTokenDeliveryModes() []DeliveryMode
- func (o *Service) GetSupportedBackchannelTokenDeliveryModesOk() ([]DeliveryMode, bool)
- func (o *Service) GetSupportedClaimLocales() []string
- func (o *Service) GetSupportedClaimLocalesOk() ([]string, bool)
- func (o *Service) GetSupportedClaimTypes() []ClaimType
- func (o *Service) GetSupportedClaimTypesOk() ([]ClaimType, bool)
- func (o *Service) GetSupportedClaims() []string
- func (o *Service) GetSupportedClaimsOk() ([]string, bool)
- func (o *Service) GetSupportedClientRegistrationTypes() []ClientRegistrationType
- func (o *Service) GetSupportedClientRegistrationTypesOk() ([]ClientRegistrationType, bool)
- func (o *Service) GetSupportedCustomClientMetadata() []string
- func (o *Service) GetSupportedCustomClientMetadataOk() ([]string, bool)
- func (o *Service) GetSupportedDeveloperSnses() []Sns
- func (o *Service) GetSupportedDeveloperSnsesOk() ([]Sns, bool)
- func (o *Service) GetSupportedDigestAlgorithms() []string
- func (o *Service) GetSupportedDigestAlgorithmsOk() ([]string, bool)
- func (o *Service) GetSupportedDisplays() []Display
- func (o *Service) GetSupportedDisplaysOk() ([]Display, bool)
- func (o *Service) GetSupportedDocuments() []string
- func (o *Service) GetSupportedDocumentsCheckMethods() []string
- func (o *Service) GetSupportedDocumentsCheckMethodsOk() ([]string, bool)
- func (o *Service) GetSupportedDocumentsMethods() []string
- func (o *Service) GetSupportedDocumentsMethodsOk() ([]string, bool)
- func (o *Service) GetSupportedDocumentsOk() ([]string, bool)
- func (o *Service) GetSupportedDocumentsValidationMethods() []string
- func (o *Service) GetSupportedDocumentsValidationMethodsOk() ([]string, bool)
- func (o *Service) GetSupportedDocumentsVerificationMethods() []string
- func (o *Service) GetSupportedDocumentsVerificationMethodsOk() ([]string, bool)
- func (o *Service) GetSupportedElectronicRecords() []string
- func (o *Service) GetSupportedElectronicRecordsOk() ([]string, bool)
- func (o *Service) GetSupportedEvidence() []string
- func (o *Service) GetSupportedEvidenceOk() ([]string, bool)
- func (o *Service) GetSupportedGrantTypes() []GrantType
- func (o *Service) GetSupportedGrantTypesOk() ([]GrantType, bool)
- func (o *Service) GetSupportedIdentityDocuments() []string
- func (o *Service) GetSupportedIdentityDocumentsOk() ([]string, bool)
- func (o *Service) GetSupportedIntrospectionAuthMethods() []ClientAuthenticationMethod
- func (o *Service) GetSupportedIntrospectionAuthMethodsOk() ([]ClientAuthenticationMethod, bool)
- func (o *Service) GetSupportedResponseTypes() []ResponseType
- func (o *Service) GetSupportedResponseTypesOk() ([]ResponseType, bool)
- func (o *Service) GetSupportedRevocationAuthMethods() []ClientAuthenticationMethod
- func (o *Service) GetSupportedRevocationAuthMethodsOk() ([]ClientAuthenticationMethod, bool)
- func (o *Service) GetSupportedScopes() []Scope
- func (o *Service) GetSupportedScopesOk() ([]Scope, bool)
- func (o *Service) GetSupportedServiceProfiles() []ServiceProfile
- func (o *Service) GetSupportedServiceProfilesOk() ([]ServiceProfile, bool)
- func (o *Service) GetSupportedSnses() []Sns
- func (o *Service) GetSupportedSnsesOk() ([]Sns, bool)
- func (o *Service) GetSupportedTokenAuthMethods() []ClientAuthenticationMethod
- func (o *Service) GetSupportedTokenAuthMethodsOk() ([]ClientAuthenticationMethod, bool)
- func (o *Service) GetSupportedTrustFrameworks() []string
- func (o *Service) GetSupportedTrustFrameworksOk() ([]string, bool)
- func (o *Service) GetSupportedUiLocales() []string
- func (o *Service) GetSupportedUiLocalesOk() ([]string, bool)
- func (o *Service) GetSupportedVerificationMethods() []string
- func (o *Service) GetSupportedVerificationMethodsOk() ([]string, bool)
- func (o *Service) GetSupportedVerifiedClaims() []string
- func (o *Service) GetSupportedVerifiedClaimsOk() ([]string, bool)
- func (o *Service) GetTlsClientCertificateBoundAccessTokens() bool
- func (o *Service) GetTlsClientCertificateBoundAccessTokensOk() (*bool, bool)
- func (o *Service) GetTokenEndpoint() string
- func (o *Service) GetTokenEndpointOk() (*string, bool)
- func (o *Service) GetTokenExchangeByConfidentialClientsOnly() bool
- func (o *Service) GetTokenExchangeByConfidentialClientsOnlyOk() (*bool, bool)
- func (o *Service) GetTokenExchangeByIdentifiableClientsOnly() bool
- func (o *Service) GetTokenExchangeByIdentifiableClientsOnlyOk() (*bool, bool)
- func (o *Service) GetTokenExchangeByPermittedClientsOnly() bool
- func (o *Service) GetTokenExchangeByPermittedClientsOnlyOk() (*bool, bool)
- func (o *Service) GetTokenExchangeEncryptedJwtRejected() bool
- func (o *Service) GetTokenExchangeEncryptedJwtRejectedOk() (*bool, bool)
- func (o *Service) GetTokenExchangeUnsignedJwtRejected() bool
- func (o *Service) GetTokenExchangeUnsignedJwtRejectedOk() (*bool, bool)
- func (o *Service) GetTokenExpirationLinked() bool
- func (o *Service) GetTokenExpirationLinkedOk() (*bool, bool)
- func (o *Service) GetTosUri() string
- func (o *Service) GetTosUriOk() (*string, bool)
- func (o *Service) GetTraditionalRequestObjectProcessingApplied() bool
- func (o *Service) GetTraditionalRequestObjectProcessingAppliedOk() (*bool, bool)
- func (o *Service) GetTrustAnchors() []TrustAnchor
- func (o *Service) GetTrustAnchorsOk() ([]TrustAnchor, bool)
- func (o *Service) GetTrustedRootCertificates() []string
- func (o *Service) GetTrustedRootCertificatesOk() ([]string, bool)
- func (o *Service) GetUnauthorizedOnClientConfigSupported() bool
- func (o *Service) GetUnauthorizedOnClientConfigSupportedOk() (*bool, bool)
- func (o *Service) GetUserCodeCharset() UserCodeCharset
- func (o *Service) GetUserCodeCharsetOk() (*UserCodeCharset, bool)
- func (o *Service) GetUserCodeLength() int32
- func (o *Service) GetUserCodeLengthOk() (*int32, bool)
- func (o *Service) GetUserInfoEndpoint() string
- func (o *Service) GetUserInfoEndpointOk() (*string, bool)
- func (o *Service) GetUserInfoSignatureKeyId() string
- func (o *Service) GetUserInfoSignatureKeyIdOk() (*string, bool)
- func (o *Service) GetVerifiedClaimsValidationSchemaSet() VerifiedClaimsValidationSchema
- func (o *Service) GetVerifiedClaimsValidationSchemaSetOk() (*VerifiedClaimsValidationSchema, bool)
- func (o *Service) HasAccessTokenDuration() bool
- func (o *Service) HasAccessTokenForExternalAttachmentEmbedded() bool
- func (o *Service) HasAccessTokenSignAlg() bool
- func (o *Service) HasAccessTokenSignatureKeyId() bool
- func (o *Service) HasAccessTokenType() bool
- func (o *Service) HasAllowableClockSkew() bool
- func (o *Service) HasApiKey() bool
- func (o *Service) HasApiSecret() bool
- func (o *Service) HasAttributes() bool
- func (o *Service) HasAuthenticationCallbackApiKey() bool
- func (o *Service) HasAuthenticationCallbackApiSecret() bool
- func (o *Service) HasAuthenticationCallbackEndpoint() bool
- func (o *Service) HasAuthorityHints() bool
- func (o *Service) HasAuthorizationEndpoint() bool
- func (o *Service) HasAuthorizationResponseDuration() bool
- func (o *Service) HasAuthorizationSignatureKeyId() bool
- func (o *Service) HasBackchannelAuthReqIdDuration() bool
- func (o *Service) HasBackchannelAuthenticationEndpoint() bool
- func (o *Service) HasBackchannelBindingMessageRequiredInFapi() bool
- func (o *Service) HasBackchannelPollingInterval() bool
- func (o *Service) HasBackchannelUserCodeParameterSupported() bool
- func (o *Service) HasClaimShortcutRestrictive() bool
- func (o *Service) HasClientIdAliasEnabled() bool
- func (o *Service) HasClientsPerDeveloper() bool
- func (o *Service) HasCreatedAt() bool
- func (o *Service) HasDcrDuplicateSoftwareIdBlocked() bool
- func (o *Service) HasDcrScopeUsedAsRequestable() bool
- func (o *Service) HasDescription() bool
- func (o *Service) HasDeveloperAuthenticationCallbackApiKey() bool
- func (o *Service) HasDeveloperAuthenticationCallbackApiSecret() bool
- func (o *Service) HasDeveloperAuthenticationCallbackEndpoint() bool
- func (o *Service) HasDeveloperSnsCredentials() bool
- func (o *Service) HasDeviceAuthorizationEndpoint() bool
- func (o *Service) HasDeviceFlowCodeDuration() bool
- func (o *Service) HasDeviceFlowPollingInterval() bool
- func (o *Service) HasDeviceVerificationUri() bool
- func (o *Service) HasDeviceVerificationUriComplete() bool
- func (o *Service) HasDirectAuthorizationEndpointEnabled() bool
- func (o *Service) HasDirectIntrospectionEndpointEnabled() bool
- func (o *Service) HasDirectJwksEndpointEnabled() bool
- func (o *Service) HasDirectRevocationEndpointEnabled() bool
- func (o *Service) HasDirectTokenEndpointEnabled() bool
- func (o *Service) HasDirectUserInfoEndpointEnabled() bool
- func (o *Service) HasDynamicRegistrationSupported() bool
- func (o *Service) HasEndSessionEndpoint() bool
- func (o *Service) HasErrorDescriptionOmitted() bool
- func (o *Service) HasErrorUriOmitted() bool
- func (o *Service) HasFederationConfigurationDuration() bool
- func (o *Service) HasFederationEnabled() bool
- func (o *Service) HasFederationJwks() bool
- func (o *Service) HasFederationRegistrationEndpoint() bool
- func (o *Service) HasFederationSignatureKeyId() bool
- func (o *Service) HasFrontChannelRequestObjectEncryptionRequired() bool
- func (o *Service) HasGrantManagementActionRequired() bool
- func (o *Service) HasGrantManagementEndpoint() bool
- func (o *Service) HasHsks() bool
- func (o *Service) HasHsmEnabled() bool
- func (o *Service) HasIdTokenDuration() bool
- func (o *Service) HasIdTokenSignatureKeyId() bool
- func (o *Service) HasIntrospectionEndpoint() bool
- func (o *Service) HasIssSuppressed() bool
- func (o *Service) HasIssuer() bool
- func (o *Service) HasJwks() bool
- func (o *Service) HasJwksUri() bool
- func (o *Service) HasJwtGrantByIdentifiableClientsOnly() bool
- func (o *Service) HasJwtGrantEncryptedJwtRejected() bool
- func (o *Service) HasJwtGrantUnsignedJwtRejected() bool
- func (o *Service) HasLoopbackRedirectionUriVariable() bool
- func (o *Service) HasMetadata() bool
- func (o *Service) HasMissingClientIdAllowed() bool
- func (o *Service) HasModifiedAt() bool
- func (o *Service) HasMtlsEndpointAliases() bool
- func (o *Service) HasMutualTlsValidatePkiCertChain() bool
- func (o *Service) HasNbfOptional() bool
- func (o *Service) HasNumber() bool
- func (o *Service) HasOpenidDroppedOnRefreshWithoutOfflineAccess() bool
- func (o *Service) HasOrganizationName() bool
- func (o *Service) HasParRequired() bool
- func (o *Service) HasPkceRequired() bool
- func (o *Service) HasPkceS256Required() bool
- func (o *Service) HasPolicyUri() bool
- func (o *Service) HasPredefinedTransformedClaims() bool
- func (o *Service) HasPushedAuthReqDuration() bool
- func (o *Service) HasPushedAuthReqEndpoint() bool
- func (o *Service) HasRefreshTokenDuration() bool
- func (o *Service) HasRefreshTokenDurationKept() bool
- func (o *Service) HasRefreshTokenDurationReset() bool
- func (o *Service) HasRefreshTokenIdempotent() bool
- func (o *Service) HasRefreshTokenKept() bool
- func (o *Service) HasRegistrationEndpoint() bool
- func (o *Service) HasRegistrationManagementEndpoint() bool
- func (o *Service) HasRequestObjectAudienceChecked() bool
- func (o *Service) HasRequestObjectEncryptionAlgMatchRequired() bool
- func (o *Service) HasRequestObjectEncryptionEncMatchRequired() bool
- func (o *Service) HasRequestObjectRequired() bool
- func (o *Service) HasRevocationEndpoint() bool
- func (o *Service) HasRsResponseSigned() bool
- func (o *Service) HasRsSignedRequestKeyId() bool
- func (o *Service) HasScopeRequired() bool
- func (o *Service) HasServiceDocumentation() bool
- func (o *Service) HasServiceName() bool
- func (o *Service) HasServiceOwnerNumber() bool
- func (o *Service) HasSignedJwksUri() bool
- func (o *Service) HasSingleAccessTokenPerSubject() bool
- func (o *Service) HasSnsCredentials() bool
- func (o *Service) HasSupportedAcrs() bool
- func (o *Service) HasSupportedAttachments() bool
- func (o *Service) HasSupportedAuthorizationDetailsTypes() bool
- func (o *Service) HasSupportedBackchannelTokenDeliveryModes() bool
- func (o *Service) HasSupportedClaimLocales() bool
- func (o *Service) HasSupportedClaimTypes() bool
- func (o *Service) HasSupportedClaims() bool
- func (o *Service) HasSupportedClientRegistrationTypes() bool
- func (o *Service) HasSupportedCustomClientMetadata() bool
- func (o *Service) HasSupportedDeveloperSnses() bool
- func (o *Service) HasSupportedDigestAlgorithms() bool
- func (o *Service) HasSupportedDisplays() bool
- func (o *Service) HasSupportedDocuments() bool
- func (o *Service) HasSupportedDocumentsCheckMethods() bool
- func (o *Service) HasSupportedDocumentsMethods() bool
- func (o *Service) HasSupportedDocumentsValidationMethods() bool
- func (o *Service) HasSupportedDocumentsVerificationMethods() bool
- func (o *Service) HasSupportedElectronicRecords() bool
- func (o *Service) HasSupportedEvidence() bool
- func (o *Service) HasSupportedGrantTypes() bool
- func (o *Service) HasSupportedIdentityDocuments() bool
- func (o *Service) HasSupportedIntrospectionAuthMethods() bool
- func (o *Service) HasSupportedResponseTypes() bool
- func (o *Service) HasSupportedRevocationAuthMethods() bool
- func (o *Service) HasSupportedScopes() bool
- func (o *Service) HasSupportedServiceProfiles() bool
- func (o *Service) HasSupportedSnses() bool
- func (o *Service) HasSupportedTokenAuthMethods() bool
- func (o *Service) HasSupportedTrustFrameworks() bool
- func (o *Service) HasSupportedUiLocales() bool
- func (o *Service) HasSupportedVerificationMethods() bool
- func (o *Service) HasSupportedVerifiedClaims() bool
- func (o *Service) HasTlsClientCertificateBoundAccessTokens() bool
- func (o *Service) HasTokenEndpoint() bool
- func (o *Service) HasTokenExchangeByConfidentialClientsOnly() bool
- func (o *Service) HasTokenExchangeByIdentifiableClientsOnly() bool
- func (o *Service) HasTokenExchangeByPermittedClientsOnly() bool
- func (o *Service) HasTokenExchangeEncryptedJwtRejected() bool
- func (o *Service) HasTokenExchangeUnsignedJwtRejected() bool
- func (o *Service) HasTokenExpirationLinked() bool
- func (o *Service) HasTosUri() bool
- func (o *Service) HasTraditionalRequestObjectProcessingApplied() bool
- func (o *Service) HasTrustAnchors() bool
- func (o *Service) HasTrustedRootCertificates() bool
- func (o *Service) HasUnauthorizedOnClientConfigSupported() bool
- func (o *Service) HasUserCodeCharset() bool
- func (o *Service) HasUserCodeLength() bool
- func (o *Service) HasUserInfoEndpoint() bool
- func (o *Service) HasUserInfoSignatureKeyId() bool
- func (o *Service) HasVerifiedClaimsValidationSchemaSet() bool
- func (o Service) MarshalJSON() ([]byte, error)
- func (o *Service) SetAccessTokenDuration(v int64)
- func (o *Service) SetAccessTokenForExternalAttachmentEmbedded(v bool)
- func (o *Service) SetAccessTokenSignAlg(v JwsAlg)
- func (o *Service) SetAccessTokenSignatureKeyId(v string)
- func (o *Service) SetAccessTokenType(v string)
- func (o *Service) SetAllowableClockSkew(v int32)
- func (o *Service) SetApiKey(v int64)
- func (o *Service) SetApiSecret(v string)
- func (o *Service) SetAttributes(v []Pair)
- func (o *Service) SetAuthenticationCallbackApiKey(v string)
- func (o *Service) SetAuthenticationCallbackApiSecret(v string)
- func (o *Service) SetAuthenticationCallbackEndpoint(v string)
- func (o *Service) SetAuthorityHints(v []string)
- func (o *Service) SetAuthorizationEndpoint(v string)
- func (o *Service) SetAuthorizationResponseDuration(v int64)
- func (o *Service) SetAuthorizationSignatureKeyId(v string)
- func (o *Service) SetBackchannelAuthReqIdDuration(v int32)
- func (o *Service) SetBackchannelAuthenticationEndpoint(v string)
- func (o *Service) SetBackchannelBindingMessageRequiredInFapi(v bool)
- func (o *Service) SetBackchannelPollingInterval(v int32)
- func (o *Service) SetBackchannelUserCodeParameterSupported(v bool)
- func (o *Service) SetClaimShortcutRestrictive(v bool)
- func (o *Service) SetClientIdAliasEnabled(v bool)
- func (o *Service) SetClientsPerDeveloper(v int32)
- func (o *Service) SetCreatedAt(v int64)
- func (o *Service) SetDcrDuplicateSoftwareIdBlocked(v bool)
- func (o *Service) SetDcrScopeUsedAsRequestable(v bool)
- func (o *Service) SetDescription(v string)
- func (o *Service) SetDeveloperAuthenticationCallbackApiKey(v string)
- func (o *Service) SetDeveloperAuthenticationCallbackApiSecret(v string)
- func (o *Service) SetDeveloperAuthenticationCallbackEndpoint(v string)
- func (o *Service) SetDeveloperSnsCredentials(v string)
- func (o *Service) SetDeviceAuthorizationEndpoint(v string)
- func (o *Service) SetDeviceFlowCodeDuration(v int32)
- func (o *Service) SetDeviceFlowPollingInterval(v int32)
- func (o *Service) SetDeviceVerificationUri(v string)
- func (o *Service) SetDeviceVerificationUriComplete(v string)
- func (o *Service) SetDirectAuthorizationEndpointEnabled(v bool)
- func (o *Service) SetDirectIntrospectionEndpointEnabled(v bool)
- func (o *Service) SetDirectJwksEndpointEnabled(v bool)
- func (o *Service) SetDirectRevocationEndpointEnabled(v bool)
- func (o *Service) SetDirectTokenEndpointEnabled(v bool)
- func (o *Service) SetDirectUserInfoEndpointEnabled(v bool)
- func (o *Service) SetDynamicRegistrationSupported(v bool)
- func (o *Service) SetEndSessionEndpoint(v string)
- func (o *Service) SetErrorDescriptionOmitted(v bool)
- func (o *Service) SetErrorUriOmitted(v bool)
- func (o *Service) SetFederationConfigurationDuration(v int32)
- func (o *Service) SetFederationEnabled(v bool)
- func (o *Service) SetFederationJwks(v string)
- func (o *Service) SetFederationRegistrationEndpoint(v string)
- func (o *Service) SetFederationSignatureKeyId(v string)
- func (o *Service) SetFrontChannelRequestObjectEncryptionRequired(v bool)
- func (o *Service) SetGrantManagementActionRequired(v bool)
- func (o *Service) SetGrantManagementEndpoint(v string)
- func (o *Service) SetHsks(v []Pair)
- func (o *Service) SetHsmEnabled(v bool)
- func (o *Service) SetIdTokenDuration(v int64)
- func (o *Service) SetIdTokenSignatureKeyId(v string)
- func (o *Service) SetIntrospectionEndpoint(v string)
- func (o *Service) SetIssSuppressed(v bool)
- func (o *Service) SetIssuer(v string)
- func (o *Service) SetJwks(v string)
- func (o *Service) SetJwksUri(v string)
- func (o *Service) SetJwtGrantByIdentifiableClientsOnly(v bool)
- func (o *Service) SetJwtGrantEncryptedJwtRejected(v bool)
- func (o *Service) SetJwtGrantUnsignedJwtRejected(v bool)
- func (o *Service) SetLoopbackRedirectionUriVariable(v bool)
- func (o *Service) SetMetadata(v []Pair)
- func (o *Service) SetMissingClientIdAllowed(v bool)
- func (o *Service) SetModifiedAt(v int64)
- func (o *Service) SetMtlsEndpointAliases(v []NamedUri)
- func (o *Service) SetMutualTlsValidatePkiCertChain(v bool)
- func (o *Service) SetNbfOptional(v bool)
- func (o *Service) SetNumber(v int32)
- func (o *Service) SetOpenidDroppedOnRefreshWithoutOfflineAccess(v bool)
- func (o *Service) SetOrganizationName(v string)
- func (o *Service) SetParRequired(v bool)
- func (o *Service) SetPkceRequired(v bool)
- func (o *Service) SetPkceS256Required(v bool)
- func (o *Service) SetPolicyUri(v string)
- func (o *Service) SetPredefinedTransformedClaims(v string)
- func (o *Service) SetPushedAuthReqDuration(v int64)
- func (o *Service) SetPushedAuthReqEndpoint(v string)
- func (o *Service) SetRefreshTokenDuration(v int64)
- func (o *Service) SetRefreshTokenDurationKept(v bool)
- func (o *Service) SetRefreshTokenDurationReset(v bool)
- func (o *Service) SetRefreshTokenIdempotent(v bool)
- func (o *Service) SetRefreshTokenKept(v bool)
- func (o *Service) SetRegistrationEndpoint(v string)
- func (o *Service) SetRegistrationManagementEndpoint(v string)
- func (o *Service) SetRequestObjectAudienceChecked(v bool)
- func (o *Service) SetRequestObjectEncryptionAlgMatchRequired(v bool)
- func (o *Service) SetRequestObjectEncryptionEncMatchRequired(v bool)
- func (o *Service) SetRequestObjectRequired(v bool)
- func (o *Service) SetRevocationEndpoint(v string)
- func (o *Service) SetRsResponseSigned(v bool)
- func (o *Service) SetRsSignedRequestKeyId(v string)
- func (o *Service) SetScopeRequired(v bool)
- func (o *Service) SetServiceDocumentation(v string)
- func (o *Service) SetServiceName(v string)
- func (o *Service) SetServiceOwnerNumber(v int32)
- func (o *Service) SetSignedJwksUri(v string)
- func (o *Service) SetSingleAccessTokenPerSubject(v bool)
- func (o *Service) SetSnsCredentials(v []SnsCredentials)
- func (o *Service) SetSupportedAcrs(v []string)
- func (o *Service) SetSupportedAttachments(v []AttachmentType)
- func (o *Service) SetSupportedAuthorizationDetailsTypes(v []string)
- func (o *Service) SetSupportedBackchannelTokenDeliveryModes(v []DeliveryMode)
- func (o *Service) SetSupportedClaimLocales(v []string)
- func (o *Service) SetSupportedClaimTypes(v []ClaimType)
- func (o *Service) SetSupportedClaims(v []string)
- func (o *Service) SetSupportedClientRegistrationTypes(v []ClientRegistrationType)
- func (o *Service) SetSupportedCustomClientMetadata(v []string)
- func (o *Service) SetSupportedDeveloperSnses(v []Sns)
- func (o *Service) SetSupportedDigestAlgorithms(v []string)
- func (o *Service) SetSupportedDisplays(v []Display)
- func (o *Service) SetSupportedDocuments(v []string)
- func (o *Service) SetSupportedDocumentsCheckMethods(v []string)
- func (o *Service) SetSupportedDocumentsMethods(v []string)
- func (o *Service) SetSupportedDocumentsValidationMethods(v []string)
- func (o *Service) SetSupportedDocumentsVerificationMethods(v []string)
- func (o *Service) SetSupportedElectronicRecords(v []string)
- func (o *Service) SetSupportedEvidence(v []string)
- func (o *Service) SetSupportedGrantTypes(v []GrantType)
- func (o *Service) SetSupportedIdentityDocuments(v []string)
- func (o *Service) SetSupportedIntrospectionAuthMethods(v []ClientAuthenticationMethod)
- func (o *Service) SetSupportedResponseTypes(v []ResponseType)
- func (o *Service) SetSupportedRevocationAuthMethods(v []ClientAuthenticationMethod)
- func (o *Service) SetSupportedScopes(v []Scope)
- func (o *Service) SetSupportedServiceProfiles(v []ServiceProfile)
- func (o *Service) SetSupportedSnses(v []Sns)
- func (o *Service) SetSupportedTokenAuthMethods(v []ClientAuthenticationMethod)
- func (o *Service) SetSupportedTrustFrameworks(v []string)
- func (o *Service) SetSupportedUiLocales(v []string)
- func (o *Service) SetSupportedVerificationMethods(v []string)
- func (o *Service) SetSupportedVerifiedClaims(v []string)
- func (o *Service) SetTlsClientCertificateBoundAccessTokens(v bool)
- func (o *Service) SetTokenEndpoint(v string)
- func (o *Service) SetTokenExchangeByConfidentialClientsOnly(v bool)
- func (o *Service) SetTokenExchangeByIdentifiableClientsOnly(v bool)
- func (o *Service) SetTokenExchangeByPermittedClientsOnly(v bool)
- func (o *Service) SetTokenExchangeEncryptedJwtRejected(v bool)
- func (o *Service) SetTokenExchangeUnsignedJwtRejected(v bool)
- func (o *Service) SetTokenExpirationLinked(v bool)
- func (o *Service) SetTosUri(v string)
- func (o *Service) SetTraditionalRequestObjectProcessingApplied(v bool)
- func (o *Service) SetTrustAnchors(v []TrustAnchor)
- func (o *Service) SetTrustedRootCertificates(v []string)
- func (o *Service) SetUnauthorizedOnClientConfigSupported(v bool)
- func (o *Service) SetUserCodeCharset(v UserCodeCharset)
- func (o *Service) SetUserCodeLength(v int32)
- func (o *Service) SetUserInfoEndpoint(v string)
- func (o *Service) SetUserInfoSignatureKeyId(v string)
- func (o *Service) SetVerifiedClaimsValidationSchemaSet(v VerifiedClaimsValidationSchema)
- func (o *Service) SetVerifiedClaimsValidationSchemaSetNil()
- func (o Service) ToMap() (map[string]interface{}, error)
- func (o *Service) UnsetVerifiedClaimsValidationSchemaSet()
- type ServiceGetListResponse
- func (o *ServiceGetListResponse) GetEnd() int32
- func (o *ServiceGetListResponse) GetEndOk() (*int32, bool)
- func (o *ServiceGetListResponse) GetServices() []Service
- func (o *ServiceGetListResponse) GetServicesOk() ([]Service, bool)
- func (o *ServiceGetListResponse) GetStart() int32
- func (o *ServiceGetListResponse) GetStartOk() (*int32, bool)
- func (o *ServiceGetListResponse) GetTotalCount() int32
- func (o *ServiceGetListResponse) GetTotalCountOk() (*int32, bool)
- func (o *ServiceGetListResponse) HasEnd() bool
- func (o *ServiceGetListResponse) HasServices() bool
- func (o *ServiceGetListResponse) HasStart() bool
- func (o *ServiceGetListResponse) HasTotalCount() bool
- func (o ServiceGetListResponse) MarshalJSON() ([]byte, error)
- func (o *ServiceGetListResponse) SetEnd(v int32)
- func (o *ServiceGetListResponse) SetServices(v []Service)
- func (o *ServiceGetListResponse) SetStart(v int32)
- func (o *ServiceGetListResponse) SetTotalCount(v int32)
- func (o ServiceGetListResponse) ToMap() (map[string]interface{}, error)
- type ServiceJwksGetResponse
- func (o *ServiceJwksGetResponse) GetKeys() []map[string]interface{}
- func (o *ServiceJwksGetResponse) GetKeysOk() ([]map[string]interface{}, bool)
- func (o *ServiceJwksGetResponse) HasKeys() bool
- func (o ServiceJwksGetResponse) MarshalJSON() ([]byte, error)
- func (o *ServiceJwksGetResponse) SetKeys(v []map[string]interface{})
- func (o ServiceJwksGetResponse) ToMap() (map[string]interface{}, error)
- type ServiceManagementApi
- type ServiceManagementApiService
- func (a *ServiceManagementApiService) ServiceCreateApi(ctx context.Context) ApiServiceCreateApiRequest
- func (a *ServiceManagementApiService) ServiceCreateApiExecute(r ApiServiceCreateApiRequest) (*Service, *http.Response, error)
- func (a *ServiceManagementApiService) ServiceDeleteApi(ctx context.Context, serviceApiKey string) ApiServiceDeleteApiRequest
- func (a *ServiceManagementApiService) ServiceDeleteApiExecute(r ApiServiceDeleteApiRequest) (*http.Response, error)
- func (a *ServiceManagementApiService) ServiceGetApi(ctx context.Context, serviceApiKey string) ApiServiceGetApiRequest
- func (a *ServiceManagementApiService) ServiceGetApiExecute(r ApiServiceGetApiRequest) (*Service, *http.Response, error)
- func (a *ServiceManagementApiService) ServiceGetListApi(ctx context.Context) ApiServiceGetListApiRequest
- func (a *ServiceManagementApiService) ServiceGetListApiExecute(r ApiServiceGetListApiRequest) (*ServiceGetListResponse, *http.Response, error)
- func (a *ServiceManagementApiService) ServiceUpdateApi(ctx context.Context, serviceApiKey string) ApiServiceUpdateApiRequest
- func (a *ServiceManagementApiService) ServiceUpdateApiExecute(r ApiServiceUpdateApiRequest) (*Service, *http.Response, error)
- type ServiceProfile
- type Sns
- type SnsCredentials
- func (o *SnsCredentials) GetApiKey() string
- func (o *SnsCredentials) GetApiKeyOk() (*string, bool)
- func (o *SnsCredentials) GetApiSecret() string
- func (o *SnsCredentials) GetApiSecretOk() (*string, bool)
- func (o *SnsCredentials) GetSns() string
- func (o *SnsCredentials) GetSnsOk() (*string, bool)
- func (o *SnsCredentials) HasApiKey() bool
- func (o *SnsCredentials) HasApiSecret() bool
- func (o *SnsCredentials) HasSns() bool
- func (o SnsCredentials) MarshalJSON() ([]byte, error)
- func (o *SnsCredentials) SetApiKey(v string)
- func (o *SnsCredentials) SetApiSecret(v string)
- func (o *SnsCredentials) SetSns(v string)
- func (o SnsCredentials) ToMap() (map[string]interface{}, error)
- type StandardIntrospectionRequest
- func (o *StandardIntrospectionRequest) GetParameters() string
- func (o *StandardIntrospectionRequest) GetParametersOk() (*string, bool)
- func (o *StandardIntrospectionRequest) GetWithHiddenProperties() string
- func (o *StandardIntrospectionRequest) GetWithHiddenPropertiesOk() (*string, bool)
- func (o *StandardIntrospectionRequest) HasWithHiddenProperties() bool
- func (o StandardIntrospectionRequest) MarshalJSON() ([]byte, error)
- func (o *StandardIntrospectionRequest) SetParameters(v string)
- func (o *StandardIntrospectionRequest) SetWithHiddenProperties(v string)
- func (o StandardIntrospectionRequest) ToMap() (map[string]interface{}, error)
- type StandardIntrospectionResponse
- func (o *StandardIntrospectionResponse) GetAction() string
- func (o *StandardIntrospectionResponse) GetActionOk() (*string, bool)
- func (o *StandardIntrospectionResponse) GetResponseContent() string
- func (o *StandardIntrospectionResponse) GetResponseContentOk() (*string, bool)
- func (o *StandardIntrospectionResponse) GetResultCode() string
- func (o *StandardIntrospectionResponse) GetResultCodeOk() (*string, bool)
- func (o *StandardIntrospectionResponse) GetResultMessage() string
- func (o *StandardIntrospectionResponse) GetResultMessageOk() (*string, bool)
- func (o *StandardIntrospectionResponse) HasAction() bool
- func (o *StandardIntrospectionResponse) HasResponseContent() bool
- func (o *StandardIntrospectionResponse) HasResultCode() bool
- func (o *StandardIntrospectionResponse) HasResultMessage() bool
- func (o StandardIntrospectionResponse) MarshalJSON() ([]byte, error)
- func (o *StandardIntrospectionResponse) SetAction(v string)
- func (o *StandardIntrospectionResponse) SetResponseContent(v string)
- func (o *StandardIntrospectionResponse) SetResultCode(v string)
- func (o *StandardIntrospectionResponse) SetResultMessage(v string)
- func (o StandardIntrospectionResponse) ToMap() (map[string]interface{}, error)
- type SubjectType
- type TaggedValue
- func (o *TaggedValue) GetTag() string
- func (o *TaggedValue) GetTagOk() (*string, bool)
- func (o *TaggedValue) GetValue() string
- func (o *TaggedValue) GetValueOk() (*string, bool)
- func (o *TaggedValue) HasTag() bool
- func (o *TaggedValue) HasValue() bool
- func (o TaggedValue) MarshalJSON() ([]byte, error)
- func (o *TaggedValue) SetTag(v string)
- func (o *TaggedValue) SetValue(v string)
- func (o TaggedValue) ToMap() (map[string]interface{}, error)
- type TokenCreateRequest
- func (o *TokenCreateRequest) GetAccessToken() string
- func (o *TokenCreateRequest) GetAccessTokenDuration() int64
- func (o *TokenCreateRequest) GetAccessTokenDurationOk() (*int64, bool)
- func (o *TokenCreateRequest) GetAccessTokenOk() (*string, bool)
- func (o *TokenCreateRequest) GetAccessTokenPersistent() bool
- func (o *TokenCreateRequest) GetAccessTokenPersistentOk() (*bool, bool)
- func (o *TokenCreateRequest) GetAcr() string
- func (o *TokenCreateRequest) GetAcrOk() (*string, bool)
- func (o *TokenCreateRequest) GetAuthTime() int64
- func (o *TokenCreateRequest) GetAuthTimeOk() (*int64, bool)
- func (o *TokenCreateRequest) GetAuthorizationDetails() AuthorizationDetails
- func (o *TokenCreateRequest) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *TokenCreateRequest) GetCertificateThumbprint() string
- func (o *TokenCreateRequest) GetCertificateThumbprintOk() (*string, bool)
- func (o *TokenCreateRequest) GetClientEntityIdUsed() bool
- func (o *TokenCreateRequest) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *TokenCreateRequest) GetClientId() int64
- func (o *TokenCreateRequest) GetClientIdAliasUsed() bool
- func (o *TokenCreateRequest) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *TokenCreateRequest) GetClientIdOk() (*int64, bool)
- func (o *TokenCreateRequest) GetDpopKeyThumbprint() string
- func (o *TokenCreateRequest) GetDpopKeyThumbprintOk() (*string, bool)
- func (o *TokenCreateRequest) GetForExternalAttachment() bool
- func (o *TokenCreateRequest) GetForExternalAttachmentOk() (*bool, bool)
- func (o *TokenCreateRequest) GetGrantType() GrantType
- func (o *TokenCreateRequest) GetGrantTypeOk() (*GrantType, bool)
- func (o *TokenCreateRequest) GetJwtAtClaims() string
- func (o *TokenCreateRequest) GetJwtAtClaimsOk() (*string, bool)
- func (o *TokenCreateRequest) GetProperties() []Property
- func (o *TokenCreateRequest) GetPropertiesOk() ([]Property, bool)
- func (o *TokenCreateRequest) GetRefreshToken() string
- func (o *TokenCreateRequest) GetRefreshTokenDuration() int64
- func (o *TokenCreateRequest) GetRefreshTokenDurationOk() (*int64, bool)
- func (o *TokenCreateRequest) GetRefreshTokenOk() (*string, bool)
- func (o *TokenCreateRequest) GetResources() []string
- func (o *TokenCreateRequest) GetResourcesOk() ([]string, bool)
- func (o *TokenCreateRequest) GetScopes() []string
- func (o *TokenCreateRequest) GetScopesOk() ([]string, bool)
- func (o *TokenCreateRequest) GetSubject() string
- func (o *TokenCreateRequest) GetSubjectOk() (*string, bool)
- func (o *TokenCreateRequest) HasAccessToken() bool
- func (o *TokenCreateRequest) HasAccessTokenDuration() bool
- func (o *TokenCreateRequest) HasAccessTokenPersistent() bool
- func (o *TokenCreateRequest) HasAcr() bool
- func (o *TokenCreateRequest) HasAuthTime() bool
- func (o *TokenCreateRequest) HasAuthorizationDetails() bool
- func (o *TokenCreateRequest) HasCertificateThumbprint() bool
- func (o *TokenCreateRequest) HasClientEntityIdUsed() bool
- func (o *TokenCreateRequest) HasClientIdAliasUsed() bool
- func (o *TokenCreateRequest) HasDpopKeyThumbprint() bool
- func (o *TokenCreateRequest) HasForExternalAttachment() bool
- func (o *TokenCreateRequest) HasJwtAtClaims() bool
- func (o *TokenCreateRequest) HasProperties() bool
- func (o *TokenCreateRequest) HasRefreshToken() bool
- func (o *TokenCreateRequest) HasRefreshTokenDuration() bool
- func (o *TokenCreateRequest) HasResources() bool
- func (o *TokenCreateRequest) HasScopes() bool
- func (o *TokenCreateRequest) HasSubject() bool
- func (o TokenCreateRequest) MarshalJSON() ([]byte, error)
- func (o *TokenCreateRequest) SetAccessToken(v string)
- func (o *TokenCreateRequest) SetAccessTokenDuration(v int64)
- func (o *TokenCreateRequest) SetAccessTokenPersistent(v bool)
- func (o *TokenCreateRequest) SetAcr(v string)
- func (o *TokenCreateRequest) SetAuthTime(v int64)
- func (o *TokenCreateRequest) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *TokenCreateRequest) SetCertificateThumbprint(v string)
- func (o *TokenCreateRequest) SetClientEntityIdUsed(v bool)
- func (o *TokenCreateRequest) SetClientId(v int64)
- func (o *TokenCreateRequest) SetClientIdAliasUsed(v bool)
- func (o *TokenCreateRequest) SetDpopKeyThumbprint(v string)
- func (o *TokenCreateRequest) SetForExternalAttachment(v bool)
- func (o *TokenCreateRequest) SetGrantType(v GrantType)
- func (o *TokenCreateRequest) SetJwtAtClaims(v string)
- func (o *TokenCreateRequest) SetProperties(v []Property)
- func (o *TokenCreateRequest) SetRefreshToken(v string)
- func (o *TokenCreateRequest) SetRefreshTokenDuration(v int64)
- func (o *TokenCreateRequest) SetResources(v []string)
- func (o *TokenCreateRequest) SetScopes(v []string)
- func (o *TokenCreateRequest) SetSubject(v string)
- func (o TokenCreateRequest) ToMap() (map[string]interface{}, error)
- type TokenCreateResponse
- func (o *TokenCreateResponse) GetAccessToken() string
- func (o *TokenCreateResponse) GetAccessTokenOk() (*string, bool)
- func (o *TokenCreateResponse) GetAction() string
- func (o *TokenCreateResponse) GetActionOk() (*string, bool)
- func (o *TokenCreateResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *TokenCreateResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *TokenCreateResponse) GetClientId() int64
- func (o *TokenCreateResponse) GetClientIdOk() (*int64, bool)
- func (o *TokenCreateResponse) GetExpiresAt() int64
- func (o *TokenCreateResponse) GetExpiresAtOk() (*int64, bool)
- func (o *TokenCreateResponse) GetExpiresIn() int64
- func (o *TokenCreateResponse) GetExpiresInOk() (*int64, bool)
- func (o *TokenCreateResponse) GetForExternalAttachment() bool
- func (o *TokenCreateResponse) GetForExternalAttachmentOk() (*bool, bool)
- func (o *TokenCreateResponse) GetGrantType() string
- func (o *TokenCreateResponse) GetGrantTypeOk() (*string, bool)
- func (o *TokenCreateResponse) GetJwtAccessToken() string
- func (o *TokenCreateResponse) GetJwtAccessTokenOk() (*string, bool)
- func (o *TokenCreateResponse) GetProperties() []Property
- func (o *TokenCreateResponse) GetPropertiesOk() ([]Property, bool)
- func (o *TokenCreateResponse) GetRefreshToken() string
- func (o *TokenCreateResponse) GetRefreshTokenOk() (*string, bool)
- func (o *TokenCreateResponse) GetResultCode() string
- func (o *TokenCreateResponse) GetResultCodeOk() (*string, bool)
- func (o *TokenCreateResponse) GetResultMessage() string
- func (o *TokenCreateResponse) GetResultMessageOk() (*string, bool)
- func (o *TokenCreateResponse) GetScopes() []string
- func (o *TokenCreateResponse) GetScopesOk() ([]string, bool)
- func (o *TokenCreateResponse) GetSubject() string
- func (o *TokenCreateResponse) GetSubjectOk() (*string, bool)
- func (o *TokenCreateResponse) GetTokenId() string
- func (o *TokenCreateResponse) GetTokenIdOk() (*string, bool)
- func (o *TokenCreateResponse) GetTokenType() string
- func (o *TokenCreateResponse) GetTokenTypeOk() (*string, bool)
- func (o *TokenCreateResponse) HasAccessToken() bool
- func (o *TokenCreateResponse) HasAction() bool
- func (o *TokenCreateResponse) HasAuthorizationDetails() bool
- func (o *TokenCreateResponse) HasClientId() bool
- func (o *TokenCreateResponse) HasExpiresAt() bool
- func (o *TokenCreateResponse) HasExpiresIn() bool
- func (o *TokenCreateResponse) HasForExternalAttachment() bool
- func (o *TokenCreateResponse) HasGrantType() bool
- func (o *TokenCreateResponse) HasJwtAccessToken() bool
- func (o *TokenCreateResponse) HasProperties() bool
- func (o *TokenCreateResponse) HasRefreshToken() bool
- func (o *TokenCreateResponse) HasResultCode() bool
- func (o *TokenCreateResponse) HasResultMessage() bool
- func (o *TokenCreateResponse) HasScopes() bool
- func (o *TokenCreateResponse) HasSubject() bool
- func (o *TokenCreateResponse) HasTokenId() bool
- func (o *TokenCreateResponse) HasTokenType() bool
- func (o TokenCreateResponse) MarshalJSON() ([]byte, error)
- func (o *TokenCreateResponse) SetAccessToken(v string)
- func (o *TokenCreateResponse) SetAction(v string)
- func (o *TokenCreateResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *TokenCreateResponse) SetClientId(v int64)
- func (o *TokenCreateResponse) SetExpiresAt(v int64)
- func (o *TokenCreateResponse) SetExpiresIn(v int64)
- func (o *TokenCreateResponse) SetForExternalAttachment(v bool)
- func (o *TokenCreateResponse) SetGrantType(v string)
- func (o *TokenCreateResponse) SetJwtAccessToken(v string)
- func (o *TokenCreateResponse) SetProperties(v []Property)
- func (o *TokenCreateResponse) SetRefreshToken(v string)
- func (o *TokenCreateResponse) SetResultCode(v string)
- func (o *TokenCreateResponse) SetResultMessage(v string)
- func (o *TokenCreateResponse) SetScopes(v []string)
- func (o *TokenCreateResponse) SetSubject(v string)
- func (o *TokenCreateResponse) SetTokenId(v string)
- func (o *TokenCreateResponse) SetTokenType(v string)
- func (o TokenCreateResponse) ToMap() (map[string]interface{}, error)
- type TokenEndpointApi
- type TokenEndpointApiService
- func (a *TokenEndpointApiService) AuthTokenApi(ctx context.Context) ApiAuthTokenApiRequest
- func (a *TokenEndpointApiService) AuthTokenApiExecute(r ApiAuthTokenApiRequest) (*TokenResponse, *http.Response, error)
- func (a *TokenEndpointApiService) AuthTokenFailApi(ctx context.Context) ApiAuthTokenFailApiRequest
- func (a *TokenEndpointApiService) AuthTokenFailApiExecute(r ApiAuthTokenFailApiRequest) (*TokenFailResponse, *http.Response, error)
- func (a *TokenEndpointApiService) AuthTokenIssueApi(ctx context.Context) ApiAuthTokenIssueApiRequest
- func (a *TokenEndpointApiService) AuthTokenIssueApiExecute(r ApiAuthTokenIssueApiRequest) (*TokenIssueResponse, *http.Response, error)
- type TokenFailRequest
- func (o *TokenFailRequest) GetReason() string
- func (o *TokenFailRequest) GetReasonOk() (*string, bool)
- func (o *TokenFailRequest) GetTicket() string
- func (o *TokenFailRequest) GetTicketOk() (*string, bool)
- func (o TokenFailRequest) MarshalJSON() ([]byte, error)
- func (o *TokenFailRequest) SetReason(v string)
- func (o *TokenFailRequest) SetTicket(v string)
- func (o TokenFailRequest) ToMap() (map[string]interface{}, error)
- type TokenFailResponse
- func (o *TokenFailResponse) GetAction() string
- func (o *TokenFailResponse) GetActionOk() (*string, bool)
- func (o *TokenFailResponse) GetResponseContent() string
- func (o *TokenFailResponse) GetResponseContentOk() (*string, bool)
- func (o *TokenFailResponse) GetResultCode() string
- func (o *TokenFailResponse) GetResultCodeOk() (*string, bool)
- func (o *TokenFailResponse) GetResultMessage() string
- func (o *TokenFailResponse) GetResultMessageOk() (*string, bool)
- func (o *TokenFailResponse) HasAction() bool
- func (o *TokenFailResponse) HasResponseContent() bool
- func (o *TokenFailResponse) HasResultCode() bool
- func (o *TokenFailResponse) HasResultMessage() bool
- func (o TokenFailResponse) MarshalJSON() ([]byte, error)
- func (o *TokenFailResponse) SetAction(v string)
- func (o *TokenFailResponse) SetResponseContent(v string)
- func (o *TokenFailResponse) SetResultCode(v string)
- func (o *TokenFailResponse) SetResultMessage(v string)
- func (o TokenFailResponse) ToMap() (map[string]interface{}, error)
- type TokenGetListResponse
- func (o *TokenGetListResponse) GetAccessTokens() []AccessToken
- func (o *TokenGetListResponse) GetAccessTokensOk() ([]AccessToken, bool)
- func (o *TokenGetListResponse) GetClient() Client
- func (o *TokenGetListResponse) GetClientOk() (*Client, bool)
- func (o *TokenGetListResponse) GetEnd() int32
- func (o *TokenGetListResponse) GetEndOk() (*int32, bool)
- func (o *TokenGetListResponse) GetStart() int32
- func (o *TokenGetListResponse) GetStartOk() (*int32, bool)
- func (o *TokenGetListResponse) GetSubject() string
- func (o *TokenGetListResponse) GetSubjectOk() (*string, bool)
- func (o *TokenGetListResponse) GetTotalCount() int32
- func (o *TokenGetListResponse) GetTotalCountOk() (*int32, bool)
- func (o *TokenGetListResponse) HasAccessTokens() bool
- func (o *TokenGetListResponse) HasClient() bool
- func (o *TokenGetListResponse) HasEnd() bool
- func (o *TokenGetListResponse) HasStart() bool
- func (o *TokenGetListResponse) HasSubject() bool
- func (o *TokenGetListResponse) HasTotalCount() bool
- func (o TokenGetListResponse) MarshalJSON() ([]byte, error)
- func (o *TokenGetListResponse) SetAccessTokens(v []AccessToken)
- func (o *TokenGetListResponse) SetClient(v Client)
- func (o *TokenGetListResponse) SetEnd(v int32)
- func (o *TokenGetListResponse) SetStart(v int32)
- func (o *TokenGetListResponse) SetSubject(v string)
- func (o *TokenGetListResponse) SetTotalCount(v int32)
- func (o TokenGetListResponse) ToMap() (map[string]interface{}, error)
- type TokenInfo
- func (o *TokenInfo) GetAuthorizationDetails() AuthorizationDetailsElement
- func (o *TokenInfo) GetAuthorizationDetailsOk() (*AuthorizationDetailsElement, bool)
- func (o *TokenInfo) GetClientEntityId() string
- func (o *TokenInfo) GetClientEntityIdOk() (*string, bool)
- func (o *TokenInfo) GetClientEntityIdUsed() bool
- func (o *TokenInfo) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *TokenInfo) GetClientId() int32
- func (o *TokenInfo) GetClientIdAlias() string
- func (o *TokenInfo) GetClientIdAliasOk() (*string, bool)
- func (o *TokenInfo) GetClientIdAliasUsed() bool
- func (o *TokenInfo) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *TokenInfo) GetClientIdOk() (*int32, bool)
- func (o *TokenInfo) GetExpiresAt() int32
- func (o *TokenInfo) GetExpiresAtOk() (*int32, bool)
- func (o *TokenInfo) GetProperties() []Property
- func (o *TokenInfo) GetPropertiesOk() ([]Property, bool)
- func (o *TokenInfo) GetResources() []string
- func (o *TokenInfo) GetResourcesOk() ([]string, bool)
- func (o *TokenInfo) GetScopes() []string
- func (o *TokenInfo) GetScopesOk() ([]string, bool)
- func (o *TokenInfo) GetSubject() string
- func (o *TokenInfo) GetSubjectOk() (*string, bool)
- func (o *TokenInfo) HasAuthorizationDetails() bool
- func (o *TokenInfo) HasClientEntityId() bool
- func (o *TokenInfo) HasClientEntityIdUsed() bool
- func (o *TokenInfo) HasClientId() bool
- func (o *TokenInfo) HasClientIdAlias() bool
- func (o *TokenInfo) HasClientIdAliasUsed() bool
- func (o *TokenInfo) HasExpiresAt() bool
- func (o *TokenInfo) HasProperties() bool
- func (o *TokenInfo) HasResources() bool
- func (o *TokenInfo) HasScopes() bool
- func (o *TokenInfo) HasSubject() bool
- func (o TokenInfo) MarshalJSON() ([]byte, error)
- func (o *TokenInfo) SetAuthorizationDetails(v AuthorizationDetailsElement)
- func (o *TokenInfo) SetClientEntityId(v string)
- func (o *TokenInfo) SetClientEntityIdUsed(v bool)
- func (o *TokenInfo) SetClientId(v int32)
- func (o *TokenInfo) SetClientIdAlias(v string)
- func (o *TokenInfo) SetClientIdAliasUsed(v bool)
- func (o *TokenInfo) SetExpiresAt(v int32)
- func (o *TokenInfo) SetProperties(v []Property)
- func (o *TokenInfo) SetResources(v []string)
- func (o *TokenInfo) SetScopes(v []string)
- func (o *TokenInfo) SetSubject(v string)
- func (o TokenInfo) ToMap() (map[string]interface{}, error)
- type TokenIssueRequest
- func (o *TokenIssueRequest) GetAccessToken() string
- func (o *TokenIssueRequest) GetAccessTokenOk() (*string, bool)
- func (o *TokenIssueRequest) GetJwtAtClaims() string
- func (o *TokenIssueRequest) GetJwtAtClaimsOk() (*string, bool)
- func (o *TokenIssueRequest) GetProperties() []Property
- func (o *TokenIssueRequest) GetPropertiesOk() ([]Property, bool)
- func (o *TokenIssueRequest) GetSubject() string
- func (o *TokenIssueRequest) GetSubjectOk() (*string, bool)
- func (o *TokenIssueRequest) GetTicket() string
- func (o *TokenIssueRequest) GetTicketOk() (*string, bool)
- func (o *TokenIssueRequest) HasAccessToken() bool
- func (o *TokenIssueRequest) HasJwtAtClaims() bool
- func (o *TokenIssueRequest) HasProperties() bool
- func (o TokenIssueRequest) MarshalJSON() ([]byte, error)
- func (o *TokenIssueRequest) SetAccessToken(v string)
- func (o *TokenIssueRequest) SetJwtAtClaims(v string)
- func (o *TokenIssueRequest) SetProperties(v []Property)
- func (o *TokenIssueRequest) SetSubject(v string)
- func (o *TokenIssueRequest) SetTicket(v string)
- func (o TokenIssueRequest) ToMap() (map[string]interface{}, error)
- type TokenIssueResponse
- func (o *TokenIssueResponse) GetAccessToken() string
- func (o *TokenIssueResponse) GetAccessTokenDuration() int64
- func (o *TokenIssueResponse) GetAccessTokenDurationOk() (*int64, bool)
- func (o *TokenIssueResponse) GetAccessTokenExpiresAt() int64
- func (o *TokenIssueResponse) GetAccessTokenExpiresAtOk() (*int64, bool)
- func (o *TokenIssueResponse) GetAccessTokenOk() (*string, bool)
- func (o *TokenIssueResponse) GetAccessTokenResources() []string
- func (o *TokenIssueResponse) GetAccessTokenResourcesOk() ([]string, bool)
- func (o *TokenIssueResponse) GetAction() string
- func (o *TokenIssueResponse) GetActionOk() (*string, bool)
- func (o *TokenIssueResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *TokenIssueResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *TokenIssueResponse) GetClientAttributes() []Pair
- func (o *TokenIssueResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *TokenIssueResponse) GetClientEntityId() string
- func (o *TokenIssueResponse) GetClientEntityIdOk() (*string, bool)
- func (o *TokenIssueResponse) GetClientEntityIdUsed() bool
- func (o *TokenIssueResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *TokenIssueResponse) GetClientId() int64
- func (o *TokenIssueResponse) GetClientIdAlias() string
- func (o *TokenIssueResponse) GetClientIdAliasOk() (*string, bool)
- func (o *TokenIssueResponse) GetClientIdAliasUsed() bool
- func (o *TokenIssueResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *TokenIssueResponse) GetClientIdOk() (*int64, bool)
- func (o *TokenIssueResponse) GetJwtAccessToken() string
- func (o *TokenIssueResponse) GetJwtAccessTokenOk() (*string, bool)
- func (o *TokenIssueResponse) GetProperties() []Property
- func (o *TokenIssueResponse) GetPropertiesOk() ([]Property, bool)
- func (o *TokenIssueResponse) GetRefreshToken() string
- func (o *TokenIssueResponse) GetRefreshTokenDuration() int64
- func (o *TokenIssueResponse) GetRefreshTokenDurationOk() (*int64, bool)
- func (o *TokenIssueResponse) GetRefreshTokenExpiresAt() int64
- func (o *TokenIssueResponse) GetRefreshTokenExpiresAtOk() (*int64, bool)
- func (o *TokenIssueResponse) GetRefreshTokenOk() (*string, bool)
- func (o *TokenIssueResponse) GetResponseContent() string
- func (o *TokenIssueResponse) GetResponseContentOk() (*string, bool)
- func (o *TokenIssueResponse) GetResultCode() string
- func (o *TokenIssueResponse) GetResultCodeOk() (*string, bool)
- func (o *TokenIssueResponse) GetResultMessage() string
- func (o *TokenIssueResponse) GetResultMessageOk() (*string, bool)
- func (o *TokenIssueResponse) GetScopes() []string
- func (o *TokenIssueResponse) GetScopesOk() ([]string, bool)
- func (o *TokenIssueResponse) GetServiceAttributes() []Pair
- func (o *TokenIssueResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *TokenIssueResponse) GetSubject() string
- func (o *TokenIssueResponse) GetSubjectOk() (*string, bool)
- func (o *TokenIssueResponse) GetUsername() string
- func (o *TokenIssueResponse) GetUsernameOk() (*string, bool)
- func (o *TokenIssueResponse) HasAccessToken() bool
- func (o *TokenIssueResponse) HasAccessTokenDuration() bool
- func (o *TokenIssueResponse) HasAccessTokenExpiresAt() bool
- func (o *TokenIssueResponse) HasAccessTokenResources() bool
- func (o *TokenIssueResponse) HasAction() bool
- func (o *TokenIssueResponse) HasAuthorizationDetails() bool
- func (o *TokenIssueResponse) HasClientAttributes() bool
- func (o *TokenIssueResponse) HasClientEntityId() bool
- func (o *TokenIssueResponse) HasClientEntityIdUsed() bool
- func (o *TokenIssueResponse) HasClientId() bool
- func (o *TokenIssueResponse) HasClientIdAlias() bool
- func (o *TokenIssueResponse) HasClientIdAliasUsed() bool
- func (o *TokenIssueResponse) HasJwtAccessToken() bool
- func (o *TokenIssueResponse) HasProperties() bool
- func (o *TokenIssueResponse) HasRefreshToken() bool
- func (o *TokenIssueResponse) HasRefreshTokenDuration() bool
- func (o *TokenIssueResponse) HasRefreshTokenExpiresAt() bool
- func (o *TokenIssueResponse) HasResponseContent() bool
- func (o *TokenIssueResponse) HasResultCode() bool
- func (o *TokenIssueResponse) HasResultMessage() bool
- func (o *TokenIssueResponse) HasScopes() bool
- func (o *TokenIssueResponse) HasServiceAttributes() bool
- func (o *TokenIssueResponse) HasSubject() bool
- func (o *TokenIssueResponse) HasUsername() bool
- func (o TokenIssueResponse) MarshalJSON() ([]byte, error)
- func (o *TokenIssueResponse) SetAccessToken(v string)
- func (o *TokenIssueResponse) SetAccessTokenDuration(v int64)
- func (o *TokenIssueResponse) SetAccessTokenExpiresAt(v int64)
- func (o *TokenIssueResponse) SetAccessTokenResources(v []string)
- func (o *TokenIssueResponse) SetAction(v string)
- func (o *TokenIssueResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *TokenIssueResponse) SetClientAttributes(v []Pair)
- func (o *TokenIssueResponse) SetClientEntityId(v string)
- func (o *TokenIssueResponse) SetClientEntityIdUsed(v bool)
- func (o *TokenIssueResponse) SetClientId(v int64)
- func (o *TokenIssueResponse) SetClientIdAlias(v string)
- func (o *TokenIssueResponse) SetClientIdAliasUsed(v bool)
- func (o *TokenIssueResponse) SetJwtAccessToken(v string)
- func (o *TokenIssueResponse) SetProperties(v []Property)
- func (o *TokenIssueResponse) SetRefreshToken(v string)
- func (o *TokenIssueResponse) SetRefreshTokenDuration(v int64)
- func (o *TokenIssueResponse) SetRefreshTokenExpiresAt(v int64)
- func (o *TokenIssueResponse) SetResponseContent(v string)
- func (o *TokenIssueResponse) SetResultCode(v string)
- func (o *TokenIssueResponse) SetResultMessage(v string)
- func (o *TokenIssueResponse) SetScopes(v []string)
- func (o *TokenIssueResponse) SetServiceAttributes(v []Pair)
- func (o *TokenIssueResponse) SetSubject(v string)
- func (o *TokenIssueResponse) SetUsername(v string)
- func (o TokenIssueResponse) ToMap() (map[string]interface{}, error)
- type TokenOperationsApi
- type TokenOperationsApiService
- func (a *TokenOperationsApiService) AuthTokenCreateApi(ctx context.Context) ApiAuthTokenCreateApiRequest
- func (a *TokenOperationsApiService) AuthTokenCreateApiExecute(r ApiAuthTokenCreateApiRequest) (*TokenCreateResponse, *http.Response, error)
- func (a *TokenOperationsApiService) AuthTokenDeleteApi(ctx context.Context, accessTokenIdentifier string) ApiAuthTokenDeleteApiRequest
- func (a *TokenOperationsApiService) AuthTokenDeleteApiExecute(r ApiAuthTokenDeleteApiRequest) (*http.Response, error)
- func (a *TokenOperationsApiService) AuthTokenGetListApi(ctx context.Context) ApiAuthTokenGetListApiRequest
- func (a *TokenOperationsApiService) AuthTokenGetListApiExecute(r ApiAuthTokenGetListApiRequest) (*TokenGetListResponse, *http.Response, error)
- func (a *TokenOperationsApiService) AuthTokenRevokeApi(ctx context.Context) ApiAuthTokenRevokeApiRequest
- func (a *TokenOperationsApiService) AuthTokenRevokeApiExecute(r ApiAuthTokenRevokeApiRequest) (*TokenRevokeResponse, *http.Response, error)
- func (a *TokenOperationsApiService) AuthTokenUpdateApi(ctx context.Context) ApiAuthTokenUpdateApiRequest
- func (a *TokenOperationsApiService) AuthTokenUpdateApiExecute(r ApiAuthTokenUpdateApiRequest) (*TokenUpdateResponse, *http.Response, error)
- type TokenRequest
- func (o *TokenRequest) GetAccessToken() string
- func (o *TokenRequest) GetAccessTokenOk() (*string, bool)
- func (o *TokenRequest) GetClientCertificate() string
- func (o *TokenRequest) GetClientCertificateOk() (*string, bool)
- func (o *TokenRequest) GetClientCertificatePath() string
- func (o *TokenRequest) GetClientCertificatePathOk() (*string, bool)
- func (o *TokenRequest) GetClientId() string
- func (o *TokenRequest) GetClientIdOk() (*string, bool)
- func (o *TokenRequest) GetClientSecret() string
- func (o *TokenRequest) GetClientSecretOk() (*string, bool)
- func (o *TokenRequest) GetDpop() string
- func (o *TokenRequest) GetDpopOk() (*string, bool)
- func (o *TokenRequest) GetHtm() string
- func (o *TokenRequest) GetHtmOk() (*string, bool)
- func (o *TokenRequest) GetHtu() string
- func (o *TokenRequest) GetHtuOk() (*string, bool)
- func (o *TokenRequest) GetJwtAtClaims() string
- func (o *TokenRequest) GetJwtAtClaimsOk() (*string, bool)
- func (o *TokenRequest) GetParameters() string
- func (o *TokenRequest) GetParametersOk() (*string, bool)
- func (o *TokenRequest) GetProperties() string
- func (o *TokenRequest) GetPropertiesOk() (*string, bool)
- func (o *TokenRequest) HasAccessToken() bool
- func (o *TokenRequest) HasClientCertificate() bool
- func (o *TokenRequest) HasClientCertificatePath() bool
- func (o *TokenRequest) HasClientId() bool
- func (o *TokenRequest) HasClientSecret() bool
- func (o *TokenRequest) HasDpop() bool
- func (o *TokenRequest) HasHtm() bool
- func (o *TokenRequest) HasHtu() bool
- func (o *TokenRequest) HasJwtAtClaims() bool
- func (o *TokenRequest) HasProperties() bool
- func (o TokenRequest) MarshalJSON() ([]byte, error)
- func (o *TokenRequest) SetAccessToken(v string)
- func (o *TokenRequest) SetClientCertificate(v string)
- func (o *TokenRequest) SetClientCertificatePath(v string)
- func (o *TokenRequest) SetClientId(v string)
- func (o *TokenRequest) SetClientSecret(v string)
- func (o *TokenRequest) SetDpop(v string)
- func (o *TokenRequest) SetHtm(v string)
- func (o *TokenRequest) SetHtu(v string)
- func (o *TokenRequest) SetJwtAtClaims(v string)
- func (o *TokenRequest) SetParameters(v string)
- func (o *TokenRequest) SetProperties(v string)
- func (o TokenRequest) ToMap() (map[string]interface{}, error)
- type TokenResponse
- func (o *TokenResponse) GetAccessToken() string
- func (o *TokenResponse) GetAccessTokenDuration() int64
- func (o *TokenResponse) GetAccessTokenDurationOk() (*int64, bool)
- func (o *TokenResponse) GetAccessTokenExpiresAt() int64
- func (o *TokenResponse) GetAccessTokenExpiresAtOk() (*int64, bool)
- func (o *TokenResponse) GetAccessTokenOk() (*string, bool)
- func (o *TokenResponse) GetAccessTokenResources() []string
- func (o *TokenResponse) GetAccessTokenResourcesOk() ([]string, bool)
- func (o *TokenResponse) GetAction() string
- func (o *TokenResponse) GetActionOk() (*string, bool)
- func (o *TokenResponse) GetActorToken() string
- func (o *TokenResponse) GetActorTokenInfo() TokenInfo
- func (o *TokenResponse) GetActorTokenInfoOk() (*TokenInfo, bool)
- func (o *TokenResponse) GetActorTokenOk() (*string, bool)
- func (o *TokenResponse) GetActorTokenType() TokenType
- func (o *TokenResponse) GetActorTokenTypeOk() (*TokenType, bool)
- func (o *TokenResponse) GetAssertion() string
- func (o *TokenResponse) GetAssertionOk() (*string, bool)
- func (o *TokenResponse) GetAudiences() []string
- func (o *TokenResponse) GetAudiencesOk() ([]string, bool)
- func (o *TokenResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *TokenResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *TokenResponse) GetClientAttributes() []Pair
- func (o *TokenResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *TokenResponse) GetClientAuthMethod() string
- func (o *TokenResponse) GetClientAuthMethodOk() (*string, bool)
- func (o *TokenResponse) GetClientEntityId() string
- func (o *TokenResponse) GetClientEntityIdOk() (*string, bool)
- func (o *TokenResponse) GetClientEntityIdUsed() bool
- func (o *TokenResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *TokenResponse) GetClientId() int64
- func (o *TokenResponse) GetClientIdAlias() string
- func (o *TokenResponse) GetClientIdAliasOk() (*string, bool)
- func (o *TokenResponse) GetClientIdAliasUsed() bool
- func (o *TokenResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *TokenResponse) GetClientIdOk() (*int64, bool)
- func (o *TokenResponse) GetGrantId() string
- func (o *TokenResponse) GetGrantIdOk() (*string, bool)
- func (o *TokenResponse) GetGrantType() string
- func (o *TokenResponse) GetGrantTypeOk() (*string, bool)
- func (o *TokenResponse) GetIdToken() string
- func (o *TokenResponse) GetIdTokenOk() (*string, bool)
- func (o *TokenResponse) GetJwtAccessToken() string
- func (o *TokenResponse) GetJwtAccessTokenOk() (*string, bool)
- func (o *TokenResponse) GetPassword() string
- func (o *TokenResponse) GetPasswordOk() (*string, bool)
- func (o *TokenResponse) GetPreviousRefreshTokenUsed() bool
- func (o *TokenResponse) GetPreviousRefreshTokenUsedOk() (*bool, bool)
- func (o *TokenResponse) GetProperties() []Property
- func (o *TokenResponse) GetPropertiesOk() ([]Property, bool)
- func (o *TokenResponse) GetRefreshToken() string
- func (o *TokenResponse) GetRefreshTokenDuration() int64
- func (o *TokenResponse) GetRefreshTokenDurationOk() (*int64, bool)
- func (o *TokenResponse) GetRefreshTokenExpiresAt() int64
- func (o *TokenResponse) GetRefreshTokenExpiresAtOk() (*int64, bool)
- func (o *TokenResponse) GetRefreshTokenOk() (*string, bool)
- func (o *TokenResponse) GetRequestedTokenType() TokenType
- func (o *TokenResponse) GetRequestedTokenTypeOk() (*TokenType, bool)
- func (o *TokenResponse) GetResources() []string
- func (o *TokenResponse) GetResourcesOk() ([]string, bool)
- func (o *TokenResponse) GetResponseContent() string
- func (o *TokenResponse) GetResponseContentOk() (*string, bool)
- func (o *TokenResponse) GetResultCode() string
- func (o *TokenResponse) GetResultCodeOk() (*string, bool)
- func (o *TokenResponse) GetResultMessage() string
- func (o *TokenResponse) GetResultMessageOk() (*string, bool)
- func (o *TokenResponse) GetScopes() []string
- func (o *TokenResponse) GetScopesOk() ([]string, bool)
- func (o *TokenResponse) GetServiceAttributes() []Pair
- func (o *TokenResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *TokenResponse) GetSubject() string
- func (o *TokenResponse) GetSubjectOk() (*string, bool)
- func (o *TokenResponse) GetSubjectToken() string
- func (o *TokenResponse) GetSubjectTokenInfo() TokenInfo
- func (o *TokenResponse) GetSubjectTokenInfoOk() (*TokenInfo, bool)
- func (o *TokenResponse) GetSubjectTokenOk() (*string, bool)
- func (o *TokenResponse) GetSubjectTokenType() TokenType
- func (o *TokenResponse) GetSubjectTokenTypeOk() (*TokenType, bool)
- func (o *TokenResponse) GetTicket() string
- func (o *TokenResponse) GetTicketOk() (*string, bool)
- func (o *TokenResponse) GetUsername() string
- func (o *TokenResponse) GetUsernameOk() (*string, bool)
- func (o *TokenResponse) HasAccessToken() bool
- func (o *TokenResponse) HasAccessTokenDuration() bool
- func (o *TokenResponse) HasAccessTokenExpiresAt() bool
- func (o *TokenResponse) HasAccessTokenResources() bool
- func (o *TokenResponse) HasAction() bool
- func (o *TokenResponse) HasActorToken() bool
- func (o *TokenResponse) HasActorTokenInfo() bool
- func (o *TokenResponse) HasActorTokenType() bool
- func (o *TokenResponse) HasAssertion() bool
- func (o *TokenResponse) HasAudiences() bool
- func (o *TokenResponse) HasAuthorizationDetails() bool
- func (o *TokenResponse) HasClientAttributes() bool
- func (o *TokenResponse) HasClientAuthMethod() bool
- func (o *TokenResponse) HasClientEntityId() bool
- func (o *TokenResponse) HasClientEntityIdUsed() bool
- func (o *TokenResponse) HasClientId() bool
- func (o *TokenResponse) HasClientIdAlias() bool
- func (o *TokenResponse) HasClientIdAliasUsed() bool
- func (o *TokenResponse) HasGrantId() bool
- func (o *TokenResponse) HasGrantType() bool
- func (o *TokenResponse) HasIdToken() bool
- func (o *TokenResponse) HasJwtAccessToken() bool
- func (o *TokenResponse) HasPassword() bool
- func (o *TokenResponse) HasPreviousRefreshTokenUsed() bool
- func (o *TokenResponse) HasProperties() bool
- func (o *TokenResponse) HasRefreshToken() bool
- func (o *TokenResponse) HasRefreshTokenDuration() bool
- func (o *TokenResponse) HasRefreshTokenExpiresAt() bool
- func (o *TokenResponse) HasRequestedTokenType() bool
- func (o *TokenResponse) HasResources() bool
- func (o *TokenResponse) HasResponseContent() bool
- func (o *TokenResponse) HasResultCode() bool
- func (o *TokenResponse) HasResultMessage() bool
- func (o *TokenResponse) HasScopes() bool
- func (o *TokenResponse) HasServiceAttributes() bool
- func (o *TokenResponse) HasSubject() bool
- func (o *TokenResponse) HasSubjectToken() bool
- func (o *TokenResponse) HasSubjectTokenInfo() bool
- func (o *TokenResponse) HasSubjectTokenType() bool
- func (o *TokenResponse) HasTicket() bool
- func (o *TokenResponse) HasUsername() bool
- func (o TokenResponse) MarshalJSON() ([]byte, error)
- func (o *TokenResponse) SetAccessToken(v string)
- func (o *TokenResponse) SetAccessTokenDuration(v int64)
- func (o *TokenResponse) SetAccessTokenExpiresAt(v int64)
- func (o *TokenResponse) SetAccessTokenResources(v []string)
- func (o *TokenResponse) SetAction(v string)
- func (o *TokenResponse) SetActorToken(v string)
- func (o *TokenResponse) SetActorTokenInfo(v TokenInfo)
- func (o *TokenResponse) SetActorTokenType(v TokenType)
- func (o *TokenResponse) SetAssertion(v string)
- func (o *TokenResponse) SetAudiences(v []string)
- func (o *TokenResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *TokenResponse) SetClientAttributes(v []Pair)
- func (o *TokenResponse) SetClientAuthMethod(v string)
- func (o *TokenResponse) SetClientEntityId(v string)
- func (o *TokenResponse) SetClientEntityIdUsed(v bool)
- func (o *TokenResponse) SetClientId(v int64)
- func (o *TokenResponse) SetClientIdAlias(v string)
- func (o *TokenResponse) SetClientIdAliasUsed(v bool)
- func (o *TokenResponse) SetGrantId(v string)
- func (o *TokenResponse) SetGrantType(v string)
- func (o *TokenResponse) SetIdToken(v string)
- func (o *TokenResponse) SetJwtAccessToken(v string)
- func (o *TokenResponse) SetPassword(v string)
- func (o *TokenResponse) SetPreviousRefreshTokenUsed(v bool)
- func (o *TokenResponse) SetProperties(v []Property)
- func (o *TokenResponse) SetRefreshToken(v string)
- func (o *TokenResponse) SetRefreshTokenDuration(v int64)
- func (o *TokenResponse) SetRefreshTokenExpiresAt(v int64)
- func (o *TokenResponse) SetRequestedTokenType(v TokenType)
- func (o *TokenResponse) SetResources(v []string)
- func (o *TokenResponse) SetResponseContent(v string)
- func (o *TokenResponse) SetResultCode(v string)
- func (o *TokenResponse) SetResultMessage(v string)
- func (o *TokenResponse) SetScopes(v []string)
- func (o *TokenResponse) SetServiceAttributes(v []Pair)
- func (o *TokenResponse) SetSubject(v string)
- func (o *TokenResponse) SetSubjectToken(v string)
- func (o *TokenResponse) SetSubjectTokenInfo(v TokenInfo)
- func (o *TokenResponse) SetSubjectTokenType(v TokenType)
- func (o *TokenResponse) SetTicket(v string)
- func (o *TokenResponse) SetUsername(v string)
- func (o TokenResponse) ToMap() (map[string]interface{}, error)
- type TokenRevokeRequest
- func (o *TokenRevokeRequest) GetAccessTokenIdentifier() string
- func (o *TokenRevokeRequest) GetAccessTokenIdentifierOk() (*string, bool)
- func (o *TokenRevokeRequest) GetClientIdentifier() string
- func (o *TokenRevokeRequest) GetClientIdentifierOk() (*string, bool)
- func (o *TokenRevokeRequest) GetRefreshTokenIdentifier() string
- func (o *TokenRevokeRequest) GetRefreshTokenIdentifierOk() (*string, bool)
- func (o *TokenRevokeRequest) GetSubject() string
- func (o *TokenRevokeRequest) GetSubjectOk() (*string, bool)
- func (o *TokenRevokeRequest) HasClientIdentifier() bool
- func (o *TokenRevokeRequest) HasRefreshTokenIdentifier() bool
- func (o *TokenRevokeRequest) HasSubject() bool
- func (o TokenRevokeRequest) MarshalJSON() ([]byte, error)
- func (o *TokenRevokeRequest) SetAccessTokenIdentifier(v string)
- func (o *TokenRevokeRequest) SetClientIdentifier(v string)
- func (o *TokenRevokeRequest) SetRefreshTokenIdentifier(v string)
- func (o *TokenRevokeRequest) SetSubject(v string)
- func (o TokenRevokeRequest) ToMap() (map[string]interface{}, error)
- type TokenRevokeResponse
- func (o *TokenRevokeResponse) GetCount() int32
- func (o *TokenRevokeResponse) GetCountOk() (*int32, bool)
- func (o *TokenRevokeResponse) HasCount() bool
- func (o TokenRevokeResponse) MarshalJSON() ([]byte, error)
- func (o *TokenRevokeResponse) SetCount(v int32)
- func (o TokenRevokeResponse) ToMap() (map[string]interface{}, error)
- type TokenType
- type TokenUpdateRequest
- func (o *TokenUpdateRequest) GetAccessToken() string
- func (o *TokenUpdateRequest) GetAccessTokenExpiresAt() int64
- func (o *TokenUpdateRequest) GetAccessTokenExpiresAtOk() (*int64, bool)
- func (o *TokenUpdateRequest) GetAccessTokenExpiresAtUpdatedOnScopeUpdate() bool
- func (o *TokenUpdateRequest) GetAccessTokenExpiresAtUpdatedOnScopeUpdateOk() (*bool, bool)
- func (o *TokenUpdateRequest) GetAccessTokenHash() string
- func (o *TokenUpdateRequest) GetAccessTokenHashOk() (*string, bool)
- func (o *TokenUpdateRequest) GetAccessTokenOk() (*string, bool)
- func (o *TokenUpdateRequest) GetAccessTokenPersistent() bool
- func (o *TokenUpdateRequest) GetAccessTokenPersistentOk() (*bool, bool)
- func (o *TokenUpdateRequest) GetAccessTokenValueUpdated() bool
- func (o *TokenUpdateRequest) GetAccessTokenValueUpdatedOk() (*bool, bool)
- func (o *TokenUpdateRequest) GetAuthorizationDetails() AuthorizationDetails
- func (o *TokenUpdateRequest) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *TokenUpdateRequest) GetCertificateThumbprint() string
- func (o *TokenUpdateRequest) GetCertificateThumbprintOk() (*string, bool)
- func (o *TokenUpdateRequest) GetDpopKeyThumbprint() string
- func (o *TokenUpdateRequest) GetDpopKeyThumbprintOk() (*string, bool)
- func (o *TokenUpdateRequest) GetForExternalAttachment() bool
- func (o *TokenUpdateRequest) GetForExternalAttachmentOk() (*bool, bool)
- func (o *TokenUpdateRequest) GetProperties() []Property
- func (o *TokenUpdateRequest) GetPropertiesOk() ([]Property, bool)
- func (o *TokenUpdateRequest) GetScopes() []string
- func (o *TokenUpdateRequest) GetScopesOk() ([]string, bool)
- func (o *TokenUpdateRequest) HasAccessTokenExpiresAt() bool
- func (o *TokenUpdateRequest) HasAccessTokenExpiresAtUpdatedOnScopeUpdate() bool
- func (o *TokenUpdateRequest) HasAccessTokenHash() bool
- func (o *TokenUpdateRequest) HasAccessTokenPersistent() bool
- func (o *TokenUpdateRequest) HasAccessTokenValueUpdated() bool
- func (o *TokenUpdateRequest) HasAuthorizationDetails() bool
- func (o *TokenUpdateRequest) HasCertificateThumbprint() bool
- func (o *TokenUpdateRequest) HasDpopKeyThumbprint() bool
- func (o *TokenUpdateRequest) HasForExternalAttachment() bool
- func (o *TokenUpdateRequest) HasProperties() bool
- func (o *TokenUpdateRequest) HasScopes() bool
- func (o TokenUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *TokenUpdateRequest) SetAccessToken(v string)
- func (o *TokenUpdateRequest) SetAccessTokenExpiresAt(v int64)
- func (o *TokenUpdateRequest) SetAccessTokenExpiresAtUpdatedOnScopeUpdate(v bool)
- func (o *TokenUpdateRequest) SetAccessTokenHash(v string)
- func (o *TokenUpdateRequest) SetAccessTokenPersistent(v bool)
- func (o *TokenUpdateRequest) SetAccessTokenValueUpdated(v bool)
- func (o *TokenUpdateRequest) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *TokenUpdateRequest) SetCertificateThumbprint(v string)
- func (o *TokenUpdateRequest) SetDpopKeyThumbprint(v string)
- func (o *TokenUpdateRequest) SetForExternalAttachment(v bool)
- func (o *TokenUpdateRequest) SetProperties(v []Property)
- func (o *TokenUpdateRequest) SetScopes(v []string)
- func (o TokenUpdateRequest) ToMap() (map[string]interface{}, error)
- type TokenUpdateResponse
- func (o *TokenUpdateResponse) GetAccessToken() string
- func (o *TokenUpdateResponse) GetAccessTokenExpiresAt() int64
- func (o *TokenUpdateResponse) GetAccessTokenExpiresAtOk() (*int64, bool)
- func (o *TokenUpdateResponse) GetAccessTokenOk() (*string, bool)
- func (o *TokenUpdateResponse) GetAction() string
- func (o *TokenUpdateResponse) GetActionOk() (*string, bool)
- func (o *TokenUpdateResponse) GetAuthorizationDetails() AuthorizationDetails
- func (o *TokenUpdateResponse) GetAuthorizationDetailsOk() (*AuthorizationDetails, bool)
- func (o *TokenUpdateResponse) GetForExternalAttachment() bool
- func (o *TokenUpdateResponse) GetForExternalAttachmentOk() (*bool, bool)
- func (o *TokenUpdateResponse) GetProperties() []Property
- func (o *TokenUpdateResponse) GetPropertiesOk() ([]Property, bool)
- func (o *TokenUpdateResponse) GetResultCode() string
- func (o *TokenUpdateResponse) GetResultCodeOk() (*string, bool)
- func (o *TokenUpdateResponse) GetResultMessage() string
- func (o *TokenUpdateResponse) GetResultMessageOk() (*string, bool)
- func (o *TokenUpdateResponse) GetScopes() []string
- func (o *TokenUpdateResponse) GetScopesOk() ([]string, bool)
- func (o *TokenUpdateResponse) GetTokenId() string
- func (o *TokenUpdateResponse) GetTokenIdOk() (*string, bool)
- func (o *TokenUpdateResponse) GetTokenType() string
- func (o *TokenUpdateResponse) GetTokenTypeOk() (*string, bool)
- func (o *TokenUpdateResponse) HasAccessToken() bool
- func (o *TokenUpdateResponse) HasAccessTokenExpiresAt() bool
- func (o *TokenUpdateResponse) HasAction() bool
- func (o *TokenUpdateResponse) HasAuthorizationDetails() bool
- func (o *TokenUpdateResponse) HasForExternalAttachment() bool
- func (o *TokenUpdateResponse) HasProperties() bool
- func (o *TokenUpdateResponse) HasResultCode() bool
- func (o *TokenUpdateResponse) HasResultMessage() bool
- func (o *TokenUpdateResponse) HasScopes() bool
- func (o *TokenUpdateResponse) HasTokenId() bool
- func (o *TokenUpdateResponse) HasTokenType() bool
- func (o TokenUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *TokenUpdateResponse) SetAccessToken(v string)
- func (o *TokenUpdateResponse) SetAccessTokenExpiresAt(v int64)
- func (o *TokenUpdateResponse) SetAction(v string)
- func (o *TokenUpdateResponse) SetAuthorizationDetails(v AuthorizationDetails)
- func (o *TokenUpdateResponse) SetForExternalAttachment(v bool)
- func (o *TokenUpdateResponse) SetProperties(v []Property)
- func (o *TokenUpdateResponse) SetResultCode(v string)
- func (o *TokenUpdateResponse) SetResultMessage(v string)
- func (o *TokenUpdateResponse) SetScopes(v []string)
- func (o *TokenUpdateResponse) SetTokenId(v string)
- func (o *TokenUpdateResponse) SetTokenType(v string)
- func (o TokenUpdateResponse) ToMap() (map[string]interface{}, error)
- type TrustAnchor
- func (o *TrustAnchor) GetEntityId() string
- func (o *TrustAnchor) GetEntityIdOk() (*string, bool)
- func (o *TrustAnchor) GetJwks() string
- func (o *TrustAnchor) GetJwksOk() (*string, bool)
- func (o *TrustAnchor) HasEntityId() bool
- func (o *TrustAnchor) HasJwks() bool
- func (o TrustAnchor) MarshalJSON() ([]byte, error)
- func (o *TrustAnchor) SetEntityId(v string)
- func (o *TrustAnchor) SetJwks(v string)
- func (o TrustAnchor) ToMap() (map[string]interface{}, error)
- type UserCodeCharset
- type UserInfoEndpointApi
- type UserInfoEndpointApiService
- func (a *UserInfoEndpointApiService) AuthUserinfoApi(ctx context.Context) ApiAuthUserinfoApiRequest
- func (a *UserInfoEndpointApiService) AuthUserinfoApiExecute(r ApiAuthUserinfoApiRequest) (*UserinfoResponse, *http.Response, error)
- func (a *UserInfoEndpointApiService) AuthUserinfoIssueApi(ctx context.Context) ApiAuthUserinfoIssueApiRequest
- func (a *UserInfoEndpointApiService) AuthUserinfoIssueApiExecute(r ApiAuthUserinfoIssueApiRequest) (*UserinfoIssueResponse, *http.Response, error)
- type UserinfoIssueRequest
- func (o *UserinfoIssueRequest) GetClaims() string
- func (o *UserinfoIssueRequest) GetClaimsForTx() string
- func (o *UserinfoIssueRequest) GetClaimsForTxOk() (*string, bool)
- func (o *UserinfoIssueRequest) GetClaimsOk() (*string, bool)
- func (o *UserinfoIssueRequest) GetHeaders() []Pair
- func (o *UserinfoIssueRequest) GetHeadersOk() ([]Pair, bool)
- func (o *UserinfoIssueRequest) GetRequestSignature() string
- func (o *UserinfoIssueRequest) GetRequestSignatureOk() (*string, bool)
- func (o *UserinfoIssueRequest) GetSub() string
- func (o *UserinfoIssueRequest) GetSubOk() (*string, bool)
- func (o *UserinfoIssueRequest) GetToken() string
- func (o *UserinfoIssueRequest) GetTokenOk() (*string, bool)
- func (o *UserinfoIssueRequest) HasClaims() bool
- func (o *UserinfoIssueRequest) HasClaimsForTx() bool
- func (o *UserinfoIssueRequest) HasHeaders() bool
- func (o *UserinfoIssueRequest) HasRequestSignature() bool
- func (o *UserinfoIssueRequest) HasSub() bool
- func (o UserinfoIssueRequest) MarshalJSON() ([]byte, error)
- func (o *UserinfoIssueRequest) SetClaims(v string)
- func (o *UserinfoIssueRequest) SetClaimsForTx(v string)
- func (o *UserinfoIssueRequest) SetHeaders(v []Pair)
- func (o *UserinfoIssueRequest) SetRequestSignature(v string)
- func (o *UserinfoIssueRequest) SetSub(v string)
- func (o *UserinfoIssueRequest) SetToken(v string)
- func (o UserinfoIssueRequest) ToMap() (map[string]interface{}, error)
- type UserinfoIssueResponse
- func (o *UserinfoIssueResponse) GetAction() string
- func (o *UserinfoIssueResponse) GetActionOk() (*string, bool)
- func (o *UserinfoIssueResponse) GetContentDigest() string
- func (o *UserinfoIssueResponse) GetContentDigestOk() (*string, bool)
- func (o *UserinfoIssueResponse) GetResponseContent() string
- func (o *UserinfoIssueResponse) GetResponseContentOk() (*string, bool)
- func (o *UserinfoIssueResponse) GetResultCode() string
- func (o *UserinfoIssueResponse) GetResultCodeOk() (*string, bool)
- func (o *UserinfoIssueResponse) GetResultMessage() string
- func (o *UserinfoIssueResponse) GetResultMessageOk() (*string, bool)
- func (o *UserinfoIssueResponse) GetSignature() string
- func (o *UserinfoIssueResponse) GetSignatureInput() string
- func (o *UserinfoIssueResponse) GetSignatureInputOk() (*string, bool)
- func (o *UserinfoIssueResponse) GetSignatureOk() (*string, bool)
- func (o *UserinfoIssueResponse) HasAction() bool
- func (o *UserinfoIssueResponse) HasContentDigest() bool
- func (o *UserinfoIssueResponse) HasResponseContent() bool
- func (o *UserinfoIssueResponse) HasResultCode() bool
- func (o *UserinfoIssueResponse) HasResultMessage() bool
- func (o *UserinfoIssueResponse) HasSignature() bool
- func (o *UserinfoIssueResponse) HasSignatureInput() bool
- func (o UserinfoIssueResponse) MarshalJSON() ([]byte, error)
- func (o *UserinfoIssueResponse) SetAction(v string)
- func (o *UserinfoIssueResponse) SetContentDigest(v string)
- func (o *UserinfoIssueResponse) SetResponseContent(v string)
- func (o *UserinfoIssueResponse) SetResultCode(v string)
- func (o *UserinfoIssueResponse) SetResultMessage(v string)
- func (o *UserinfoIssueResponse) SetSignature(v string)
- func (o *UserinfoIssueResponse) SetSignatureInput(v string)
- func (o UserinfoIssueResponse) ToMap() (map[string]interface{}, error)
- type UserinfoRequest
- func (o *UserinfoRequest) GetClientCertificate() string
- func (o *UserinfoRequest) GetClientCertificateOk() (*string, bool)
- func (o *UserinfoRequest) GetDpop() string
- func (o *UserinfoRequest) GetDpopOk() (*string, bool)
- func (o *UserinfoRequest) GetHeaders() []Pair
- func (o *UserinfoRequest) GetHeadersOk() ([]Pair, bool)
- func (o *UserinfoRequest) GetHtm() string
- func (o *UserinfoRequest) GetHtmOk() (*string, bool)
- func (o *UserinfoRequest) GetHtu() string
- func (o *UserinfoRequest) GetHtuOk() (*string, bool)
- func (o *UserinfoRequest) GetMessage() string
- func (o *UserinfoRequest) GetMessageOk() (*string, bool)
- func (o *UserinfoRequest) GetToken() string
- func (o *UserinfoRequest) GetTokenOk() (*string, bool)
- func (o *UserinfoRequest) GetUri() string
- func (o *UserinfoRequest) GetUriOk() (*string, bool)
- func (o *UserinfoRequest) HasClientCertificate() bool
- func (o *UserinfoRequest) HasDpop() bool
- func (o *UserinfoRequest) HasHeaders() bool
- func (o *UserinfoRequest) HasHtm() bool
- func (o *UserinfoRequest) HasHtu() bool
- func (o *UserinfoRequest) HasMessage() bool
- func (o *UserinfoRequest) HasUri() bool
- func (o UserinfoRequest) MarshalJSON() ([]byte, error)
- func (o *UserinfoRequest) SetClientCertificate(v string)
- func (o *UserinfoRequest) SetDpop(v string)
- func (o *UserinfoRequest) SetHeaders(v []Pair)
- func (o *UserinfoRequest) SetHtm(v string)
- func (o *UserinfoRequest) SetHtu(v string)
- func (o *UserinfoRequest) SetMessage(v string)
- func (o *UserinfoRequest) SetToken(v string)
- func (o *UserinfoRequest) SetUri(v string)
- func (o UserinfoRequest) ToMap() (map[string]interface{}, error)
- type UserinfoResponse
- func (o *UserinfoResponse) GetAction() string
- func (o *UserinfoResponse) GetActionOk() (*string, bool)
- func (o *UserinfoResponse) GetClaims() []string
- func (o *UserinfoResponse) GetClaimsOk() ([]string, bool)
- func (o *UserinfoResponse) GetClientAttributes() []Pair
- func (o *UserinfoResponse) GetClientAttributesOk() ([]Pair, bool)
- func (o *UserinfoResponse) GetClientEntityId() string
- func (o *UserinfoResponse) GetClientEntityIdOk() (*string, bool)
- func (o *UserinfoResponse) GetClientEntityIdUsed() bool
- func (o *UserinfoResponse) GetClientEntityIdUsedOk() (*bool, bool)
- func (o *UserinfoResponse) GetClientId() int64
- func (o *UserinfoResponse) GetClientIdAlias() string
- func (o *UserinfoResponse) GetClientIdAliasOk() (*string, bool)
- func (o *UserinfoResponse) GetClientIdAliasUsed() bool
- func (o *UserinfoResponse) GetClientIdAliasUsedOk() (*bool, bool)
- func (o *UserinfoResponse) GetClientIdOk() (*int64, bool)
- func (o *UserinfoResponse) GetConsentedClaims() []string
- func (o *UserinfoResponse) GetConsentedClaimsOk() ([]string, bool)
- func (o *UserinfoResponse) GetProperties() []Property
- func (o *UserinfoResponse) GetPropertiesOk() ([]Property, bool)
- func (o *UserinfoResponse) GetRequestedClaimsForTx() []string
- func (o *UserinfoResponse) GetRequestedClaimsForTxOk() ([]string, bool)
- func (o *UserinfoResponse) GetRequestedVerifiedClaimsForTx() [][]string
- func (o *UserinfoResponse) GetRequestedVerifiedClaimsForTxOk() ([][]string, bool)
- func (o *UserinfoResponse) GetResponseContent() string
- func (o *UserinfoResponse) GetResponseContentOk() (*string, bool)
- func (o *UserinfoResponse) GetResultCode() string
- func (o *UserinfoResponse) GetResultCodeOk() (*string, bool)
- func (o *UserinfoResponse) GetResultMessage() string
- func (o *UserinfoResponse) GetResultMessageOk() (*string, bool)
- func (o *UserinfoResponse) GetScopes() []string
- func (o *UserinfoResponse) GetScopesOk() ([]string, bool)
- func (o *UserinfoResponse) GetServiceAttributes() []Pair
- func (o *UserinfoResponse) GetServiceAttributesOk() ([]Pair, bool)
- func (o *UserinfoResponse) GetSubject() string
- func (o *UserinfoResponse) GetSubjectOk() (*string, bool)
- func (o *UserinfoResponse) GetToken() string
- func (o *UserinfoResponse) GetTokenOk() (*string, bool)
- func (o *UserinfoResponse) GetTransformedClaims() string
- func (o *UserinfoResponse) GetTransformedClaimsOk() (*string, bool)
- func (o *UserinfoResponse) GetUserInfoClaims() string
- func (o *UserinfoResponse) GetUserInfoClaimsOk() (*string, bool)
- func (o *UserinfoResponse) HasAction() bool
- func (o *UserinfoResponse) HasClaims() bool
- func (o *UserinfoResponse) HasClientAttributes() bool
- func (o *UserinfoResponse) HasClientEntityId() bool
- func (o *UserinfoResponse) HasClientEntityIdUsed() bool
- func (o *UserinfoResponse) HasClientId() bool
- func (o *UserinfoResponse) HasClientIdAlias() bool
- func (o *UserinfoResponse) HasClientIdAliasUsed() bool
- func (o *UserinfoResponse) HasConsentedClaims() bool
- func (o *UserinfoResponse) HasProperties() bool
- func (o *UserinfoResponse) HasRequestedClaimsForTx() bool
- func (o *UserinfoResponse) HasRequestedVerifiedClaimsForTx() bool
- func (o *UserinfoResponse) HasResponseContent() bool
- func (o *UserinfoResponse) HasResultCode() bool
- func (o *UserinfoResponse) HasResultMessage() bool
- func (o *UserinfoResponse) HasScopes() bool
- func (o *UserinfoResponse) HasServiceAttributes() bool
- func (o *UserinfoResponse) HasSubject() bool
- func (o *UserinfoResponse) HasToken() bool
- func (o *UserinfoResponse) HasTransformedClaims() bool
- func (o *UserinfoResponse) HasUserInfoClaims() bool
- func (o UserinfoResponse) MarshalJSON() ([]byte, error)
- func (o *UserinfoResponse) SetAction(v string)
- func (o *UserinfoResponse) SetClaims(v []string)
- func (o *UserinfoResponse) SetClientAttributes(v []Pair)
- func (o *UserinfoResponse) SetClientEntityId(v string)
- func (o *UserinfoResponse) SetClientEntityIdUsed(v bool)
- func (o *UserinfoResponse) SetClientId(v int64)
- func (o *UserinfoResponse) SetClientIdAlias(v string)
- func (o *UserinfoResponse) SetClientIdAliasUsed(v bool)
- func (o *UserinfoResponse) SetConsentedClaims(v []string)
- func (o *UserinfoResponse) SetProperties(v []Property)
- func (o *UserinfoResponse) SetRequestedClaimsForTx(v []string)
- func (o *UserinfoResponse) SetRequestedVerifiedClaimsForTx(v [][]string)
- func (o *UserinfoResponse) SetResponseContent(v string)
- func (o *UserinfoResponse) SetResultCode(v string)
- func (o *UserinfoResponse) SetResultMessage(v string)
- func (o *UserinfoResponse) SetScopes(v []string)
- func (o *UserinfoResponse) SetServiceAttributes(v []Pair)
- func (o *UserinfoResponse) SetSubject(v string)
- func (o *UserinfoResponse) SetToken(v string)
- func (o *UserinfoResponse) SetTransformedClaims(v string)
- func (o *UserinfoResponse) SetUserInfoClaims(v string)
- func (o UserinfoResponse) ToMap() (map[string]interface{}, error)
- type VerifiedClaimsValidationSchema
Constants ¶
This section is empty.
Variables ¶
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") )
var AllowedApplicationTypeEnumValues = []ApplicationType{
"WEB",
"NATIVE",
"null",
}
All allowed values of ApplicationType enum
var AllowedAttachmentTypeEnumValues = []AttachmentType{
"EMBEDDED",
"EXTERNAL",
}
All allowed values of AttachmentType enum
var AllowedClaimTypeEnumValues = []ClaimType{
"NORMAL",
"AGGREGATED",
"DISTRIBUTED",
}
All allowed values of ClaimType enum
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
var AllowedClientRegistrationTypeEnumValues = []ClientRegistrationType{
"AUTOMATIC",
"EXPLICIT",
}
All allowed values of ClientRegistrationType enum
var AllowedClientTypeEnumValues = []ClientType{
"PUBLIC",
"CONFIDENTIAL",
}
All allowed values of ClientType enum
var AllowedDeliveryModeEnumValues = []DeliveryMode{
"PING",
"POLL",
"PUSH",
}
All allowed values of DeliveryMode enum
var AllowedDisplayEnumValues = []Display{
"PAGE",
"POPUP",
"TOUCH",
"WAP",
}
All allowed values of Display enum
var AllowedGrantManagementActionEnumValues = []GrantManagementAction{
"CREATE",
"QUERY",
"REPLACE",
"REVOKE",
"MERGE",
}
All allowed values of GrantManagementAction enum
var AllowedGrantTypeEnumValues = []GrantType{
"AUTHORIZATION_CODE",
"IMPLICIT",
"PASSWORD",
"CLIENT_CREDENTIALS",
"REFRESH_TOKEN",
"CIBA",
"DEVICE_CODE",
"TOKEN_EXCHANGE",
"JWT_BEARER",
}
All allowed values of GrantType enum
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
var AllowedJweEncEnumValues = []JweEnc{
"A128CBC_HS256",
"A192CBC_HS384",
"A256CBC_HS512",
"A128GCM",
"A192GCM",
"A256GCM",
}
All allowed values of JweEnc enum
var AllowedJwsAlgEnumValues = []JwsAlg{
"NONE",
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512",
"PS256",
"PS384",
"PS512",
"ES256K",
"EdDSA",
}
All allowed values of JwsAlg enum
var AllowedPromptEnumValues = []Prompt{
"NONE",
"LOGIN",
"CONSENT",
"SELECT_ACCOUNT",
}
All allowed values of Prompt enum
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
var AllowedServiceProfileEnumValues = []ServiceProfile{
"FAPI",
"OPEN_BANKING",
}
All allowed values of ServiceProfile enum
var AllowedSnsEnumValues = []Sns{
"FACEBOOK",
}
All allowed values of Sns enum
var AllowedSubjectTypeEnumValues = []SubjectType{
"PUBLIC",
"PAIRWISE",
}
All allowed values of SubjectType enum
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
var AllowedUserCodeCharsetEnumValues = []UserCodeCharset{
"BASE20",
"NUMERIC",
}
All allowed values of UserCodeCharset enum
var AllowedVerifiedClaimsValidationSchemaEnumValues = []VerifiedClaimsValidationSchema{
"standard",
"standard+id_document",
"null",
}
All allowed values of VerifiedClaimsValidationSchema enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 ¶
func (r ApiAuthAuthorizationApiRequest) Execute() (*AuthorizationResponse, *http.Response, error)
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 ¶
func (r ApiAuthAuthorizationFailApiRequest) Execute() (*AuthorizationFailResponse, *http.Response, error)
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 ¶
func (r ApiAuthAuthorizationIssueApiRequest) Execute() (*AuthorizationIssueResponse, *http.Response, error)
type ApiAuthIntrospectionApiRequest ¶
type ApiAuthIntrospectionApiRequest struct { ApiService IntrospectionEndpointApi // contains filtered or unexported fields }
func (ApiAuthIntrospectionApiRequest) Execute ¶
func (r ApiAuthIntrospectionApiRequest) Execute() (*IntrospectionResponse, *http.Response, error)
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 (r ApiAuthIntrospectionStandardApiRequest) Execute() (*StandardIntrospectionResponse, *http.Response, error)
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 (r ApiAuthRevocationApiRequest) Execute() (*RevocationResponse, *http.Response, error)
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 (r ApiAuthTokenApiRequest) Execute() (*TokenResponse, *http.Response, error)
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 (r ApiAuthTokenCreateApiRequest) Execute() (*TokenCreateResponse, *http.Response, error)
func (ApiAuthTokenCreateApiRequest) TokenCreateRequest ¶
func (r ApiAuthTokenCreateApiRequest) TokenCreateRequest(tokenCreateRequest TokenCreateRequest) ApiAuthTokenCreateApiRequest
type ApiAuthTokenDeleteApiRequest ¶
type ApiAuthTokenDeleteApiRequest struct { ApiService TokenOperationsApi // contains filtered or unexported fields }
type ApiAuthTokenFailApiRequest ¶
type ApiAuthTokenFailApiRequest struct { ApiService TokenEndpointApi // contains filtered or unexported fields }
func (ApiAuthTokenFailApiRequest) Execute ¶
func (r ApiAuthTokenFailApiRequest) Execute() (*TokenFailResponse, *http.Response, error)
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 ¶
func (r ApiAuthTokenGetListApiRequest) End(end int32) ApiAuthTokenGetListApiRequest
End index of search results (exclusive). The default value is 5.
func (ApiAuthTokenGetListApiRequest) Execute ¶
func (r ApiAuthTokenGetListApiRequest) Execute() (*TokenGetListResponse, *http.Response, error)
func (ApiAuthTokenGetListApiRequest) Start ¶
func (r ApiAuthTokenGetListApiRequest) Start(start int32) ApiAuthTokenGetListApiRequest
Start index of search results (inclusive). The default value is 0.
func (ApiAuthTokenGetListApiRequest) Subject ¶
func (r ApiAuthTokenGetListApiRequest) Subject(subject string) ApiAuthTokenGetListApiRequest
Unique user ID.
type ApiAuthTokenIssueApiRequest ¶
type ApiAuthTokenIssueApiRequest struct { ApiService TokenEndpointApi // contains filtered or unexported fields }
func (ApiAuthTokenIssueApiRequest) Execute ¶
func (r ApiAuthTokenIssueApiRequest) Execute() (*TokenIssueResponse, *http.Response, error)
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 (r ApiAuthTokenRevokeApiRequest) Execute() (*TokenRevokeResponse, *http.Response, error)
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 (r ApiAuthTokenUpdateApiRequest) Execute() (*TokenUpdateResponse, *http.Response, error)
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 (r ApiAuthUserinfoApiRequest) Execute() (*UserinfoResponse, *http.Response, error)
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 (r ApiAuthUserinfoIssueApiRequest) Execute() (*UserinfoIssueResponse, *http.Response, error)
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 ¶
func (r ApiBackchannelAuthenticationApiRequest) Execute() (*BackchannelAuthenticationResponse, *http.Response, error)
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 ¶
func (r ApiBackchannelAuthenticationCompleteApiRequest) Execute() (*BackchannelAuthenticationCompleteResponse, *http.Response, error)
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 ¶
func (r ApiBackchannelAuthenticationFailApiRequest) Execute() (*BackchannelAuthenticationFailResponse, *http.Response, error)
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 ¶
func (r ApiBackchannelAuthenticationIssueApiRequest) Execute() (*BackchannelAuthenticationIssueResponse, *http.Response, error)
type ApiClientAuthorizationDeleteApiRequest ¶
type ApiClientAuthorizationDeleteApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientAuthorizationDeleteApiRequest) Execute ¶
func (r ApiClientAuthorizationDeleteApiRequest) Execute() (*ClientAuthorizationDeleteResponse, *http.Response, error)
type ApiClientAuthorizationGetListApiRequest ¶
type ApiClientAuthorizationGetListApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientAuthorizationGetListApiRequest) Developer ¶
func (r ApiClientAuthorizationGetListApiRequest) Developer(developer string) ApiClientAuthorizationGetListApiRequest
Unique ID of a client developer.
func (ApiClientAuthorizationGetListApiRequest) End ¶
func (r ApiClientAuthorizationGetListApiRequest) End(end int32) ApiClientAuthorizationGetListApiRequest
End index of search results (exclusive). The default value is 5.
func (ApiClientAuthorizationGetListApiRequest) Execute ¶
func (r ApiClientAuthorizationGetListApiRequest) Execute() (*ClientAuthorizationGetListResponse, *http.Response, error)
func (ApiClientAuthorizationGetListApiRequest) Start ¶
func (r ApiClientAuthorizationGetListApiRequest) Start(start int32) ApiClientAuthorizationGetListApiRequest
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 ¶
func (r ApiClientAuthorizationUpdateApiRequest) Execute() (*ClientAuthorizationUpdateResponse, *http.Response, error)
type ApiClientCreateApiRequest ¶
type ApiClientCreateApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientCreateApiRequest) Client ¶
func (r ApiClientCreateApiRequest) Client(client Client) ApiClientCreateApiRequest
type ApiClientDeleteApiRequest ¶
type ApiClientDeleteApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
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
func (r ApiClientFlagUpdateApiRequest) Execute() (*ClientFlagUpdateResponse, *http.Response, error)
type ApiClientGetApiRequest ¶
type ApiClientGetApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
type ApiClientGetListApiRequest ¶
type ApiClientGetListApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientGetListApiRequest) Developer ¶
func (r ApiClientGetListApiRequest) Developer(developer string) ApiClientGetListApiRequest
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 ¶
func (r ApiClientGetListApiRequest) End(end int32) ApiClientGetListApiRequest
End index (exclusive) of the result set. The default value is 5. Must not be a negative number.
func (ApiClientGetListApiRequest) Execute ¶
func (r ApiClientGetListApiRequest) Execute() (*ClientGetListResponse, *http.Response, error)
func (ApiClientGetListApiRequest) Start ¶
func (r ApiClientGetListApiRequest) Start(start int32) ApiClientGetListApiRequest
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 ¶
func (r ApiClientGrantedScopesDeleteApiRequest) Execute() (*ClientGrantedScopesDeleteResponse, *http.Response, error)
type ApiClientGrantedScopesGetApiRequest ¶
type ApiClientGrantedScopesGetApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientGrantedScopesGetApiRequest) Execute ¶
func (r ApiClientGrantedScopesGetApiRequest) Execute() (*ClientAuthorizationDeleteResponse, *http.Response, error)
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 ¶
func (r ApiClientRegistrationApiRequest) Execute() (*ClientRegistrationResponse, *http.Response, error)
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 ¶
func (r ApiClientRegistrationDeleteApiRequest) Execute() (*ClientRegistrationDeleteResponse, *http.Response, error)
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 ¶
func (r ApiClientRegistrationGetApiRequest) Execute() (*ClientRegistrationGetResponse, *http.Response, error)
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 ¶
func (r ApiClientRegistrationUpdateApiRequest) Execute() (*ClientRegistrationUpdateResponse, *http.Response, error)
type ApiClientSecretRefreshApiRequest ¶
type ApiClientSecretRefreshApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientSecretRefreshApiRequest) Execute ¶
func (r ApiClientSecretRefreshApiRequest) Execute() (*ClientSecretRefreshResponse, *http.Response, error)
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 ¶
func (r ApiClientSecretUpdateApiRequest) Execute() (*ClientSecretUpdateResponse, *http.Response, error)
type ApiClientUpdateApiRequest ¶
type ApiClientUpdateApiRequest struct { ApiService ClientManagementApi // contains filtered or unexported fields }
func (ApiClientUpdateApiRequest) Client ¶
func (r ApiClientUpdateApiRequest) Client(client Client) ApiClientUpdateApiRequest
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 ¶
func (r ApiDeviceAuthorizationApiRequest) Execute() (*DeviceAuthorizationResponse, *http.Response, error)
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 ¶
func (r ApiDeviceCompleteApiRequest) Execute() (*DeviceCompleteResponse, *http.Response, error)
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 ¶
func (r ApiDeviceVerificationApiRequest) Execute() (*DeviceVerificationResponse, *http.Response, error)
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 (r ApiFederationConfigurationApiRequest) Body(body map[string]interface{}) ApiFederationConfigurationApiRequest
func (ApiFederationConfigurationApiRequest) Execute ¶ added in v1.1.1
func (r ApiFederationConfigurationApiRequest) Execute() (*FederationConfigurationResponse, *http.Response, error)
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 (r ApiJoseVerifyApiRequest) Execute() (*JoseVerifyResponse, *http.Response, error)
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 (r ApiPushedAuthReqApiRequest) Execute() (*PushedAuthorizationResponse, *http.Response, error)
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 ¶
func (r ApiServiceConfigurationApiRequest) Pretty(pretty bool) ApiServiceConfigurationApiRequest
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 (r ApiServiceCreateApiRequest) Execute() (*Service, *http.Response, error)
func (ApiServiceCreateApiRequest) Service ¶
func (r ApiServiceCreateApiRequest) Service(service Service) ApiServiceCreateApiRequest
type ApiServiceDeleteApiRequest ¶
type ApiServiceDeleteApiRequest struct { ApiService ServiceManagementApi // contains filtered or unexported fields }
type ApiServiceGetApiRequest ¶
type ApiServiceGetApiRequest struct { ApiService ServiceManagementApi // contains filtered or unexported fields }
type ApiServiceGetListApiRequest ¶
type ApiServiceGetListApiRequest struct { ApiService ServiceManagementApi // contains filtered or unexported fields }
func (ApiServiceGetListApiRequest) End ¶
func (r ApiServiceGetListApiRequest) End(end int32) ApiServiceGetListApiRequest
End index (exclusive) of the result set. The default value is 5. Must not be a negative number.
func (ApiServiceGetListApiRequest) Execute ¶
func (r ApiServiceGetListApiRequest) Execute() (*ServiceGetListResponse, *http.Response, error)
func (ApiServiceGetListApiRequest) Start ¶
func (r ApiServiceGetListApiRequest) Start(start int32) ApiServiceGetListApiRequest
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 (r ApiServiceJwksGetApiRequest) Execute() (*ServiceJwksGetResponse, *http.Response, error)
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 ¶
func (r ApiServiceJwksGetApiRequest) Pretty(pretty bool) ApiServiceJwksGetApiRequest
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 (r ApiServiceUpdateApiRequest) Execute() (*Service, *http.Response, error)
func (ApiServiceUpdateApiRequest) Service ¶
func (r ApiServiceUpdateApiRequest) Service(service Service) ApiServiceUpdateApiRequest
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 ¶
func (v ApplicationType) Ptr() *ApplicationType
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 ¶
func (o *AuthorizationDetails) GetElements() []AuthorizationDetailsElement
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 ¶
func (o *AuthorizationDetails) SetElements(v []AuthorizationDetailsElement)
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 ¶
func (a *AuthorizationEndpointApiService) AuthAuthorizationApi(ctx context.Context) ApiAuthAuthorizationApiRequest
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 ¶
func (a *AuthorizationEndpointApiService) AuthAuthorizationApiExecute(r ApiAuthAuthorizationApiRequest) (*AuthorizationResponse, *http.Response, error)
Execute executes the request
@return AuthorizationResponse
func (*AuthorizationEndpointApiService) AuthAuthorizationFailApi ¶
func (a *AuthorizationEndpointApiService) AuthAuthorizationFailApi(ctx context.Context) ApiAuthAuthorizationFailApiRequest
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 ¶
func (a *AuthorizationEndpointApiService) AuthAuthorizationFailApiExecute(r ApiAuthAuthorizationFailApiRequest) (*AuthorizationFailResponse, *http.Response, error)
Execute executes the request
@return AuthorizationFailResponse
func (*AuthorizationEndpointApiService) AuthAuthorizationIssueApi ¶
func (a *AuthorizationEndpointApiService) AuthAuthorizationIssueApi(ctx context.Context) ApiAuthAuthorizationIssueApiRequest
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 ¶
func (a *AuthorizationEndpointApiService) AuthAuthorizationIssueApiExecute(r ApiAuthAuthorizationIssueApiRequest) (*AuthorizationIssueResponse, *http.Response, error)
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
func (o *AuthorizationResponse) GetGmAction() GrantManagementAction
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
func (o *BackchannelAuthenticationCompleteRequest) GetAccessToken() string
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) GetAcr() string
GetAcr returns the Acr field value if set, zero value otherwise.
func (*BackchannelAuthenticationCompleteRequest) GetAcrOk ¶
func (o *BackchannelAuthenticationCompleteRequest) 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 (*BackchannelAuthenticationCompleteRequest) GetAuthTime ¶
func (o *BackchannelAuthenticationCompleteRequest) GetAuthTime() string
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) GetClaims() string
GetClaims returns the Claims field value if set, zero value otherwise.
func (*BackchannelAuthenticationCompleteRequest) GetClaimsOk ¶
func (o *BackchannelAuthenticationCompleteRequest) 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 (*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 ¶
func (o *BackchannelAuthenticationCompleteRequest) GetErrorUri() string
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
func (o *BackchannelAuthenticationCompleteRequest) GetJwtAtClaims() string
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) GetProperties() []Property
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) GetResult() string
GetResult returns the Result field value
func (*BackchannelAuthenticationCompleteRequest) GetResultOk ¶
func (o *BackchannelAuthenticationCompleteRequest) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*BackchannelAuthenticationCompleteRequest) GetScopes ¶
func (o *BackchannelAuthenticationCompleteRequest) GetScopes() []string
GetScopes returns the Scopes field value if set, zero value otherwise.
func (*BackchannelAuthenticationCompleteRequest) GetScopesOk ¶
func (o *BackchannelAuthenticationCompleteRequest) 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 (*BackchannelAuthenticationCompleteRequest) GetSub ¶
func (o *BackchannelAuthenticationCompleteRequest) GetSub() string
GetSub returns the Sub field value if set, zero value otherwise.
func (*BackchannelAuthenticationCompleteRequest) GetSubOk ¶
func (o *BackchannelAuthenticationCompleteRequest) 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 (*BackchannelAuthenticationCompleteRequest) GetSubject ¶
func (o *BackchannelAuthenticationCompleteRequest) GetSubject() string
GetSubject returns the Subject field value
func (*BackchannelAuthenticationCompleteRequest) GetSubjectOk ¶
func (o *BackchannelAuthenticationCompleteRequest) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (*BackchannelAuthenticationCompleteRequest) GetTicket ¶
func (o *BackchannelAuthenticationCompleteRequest) GetTicket() string
GetTicket returns the Ticket field value
func (*BackchannelAuthenticationCompleteRequest) GetTicketOk ¶
func (o *BackchannelAuthenticationCompleteRequest) GetTicketOk() (*string, bool)
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) HasAcr() bool
HasAcr returns a boolean if a field has been set.
func (*BackchannelAuthenticationCompleteRequest) HasAuthTime ¶
func (o *BackchannelAuthenticationCompleteRequest) HasAuthTime() bool
HasAuthTime returns a boolean if a field has been set.
func (*BackchannelAuthenticationCompleteRequest) HasClaims ¶
func (o *BackchannelAuthenticationCompleteRequest) HasClaims() bool
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) HasErrorUri() bool
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*BackchannelAuthenticationCompleteRequest) HasScopes ¶
func (o *BackchannelAuthenticationCompleteRequest) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (*BackchannelAuthenticationCompleteRequest) HasSub ¶
func (o *BackchannelAuthenticationCompleteRequest) HasSub() bool
HasSub returns a boolean if a field has been set.
func (BackchannelAuthenticationCompleteRequest) MarshalJSON ¶
func (o BackchannelAuthenticationCompleteRequest) MarshalJSON() ([]byte, error)
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) SetAcr(v string)
SetAcr gets a reference to the given string and assigns it to the Acr field.
func (*BackchannelAuthenticationCompleteRequest) SetAuthTime ¶
func (o *BackchannelAuthenticationCompleteRequest) SetAuthTime(v string)
SetAuthTime gets a reference to the given string and assigns it to the AuthTime field.
func (*BackchannelAuthenticationCompleteRequest) SetClaims ¶
func (o *BackchannelAuthenticationCompleteRequest) SetClaims(v string)
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) SetErrorUri(v string)
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 ¶
func (o *BackchannelAuthenticationCompleteRequest) SetResult(v string)
SetResult sets field value
func (*BackchannelAuthenticationCompleteRequest) SetScopes ¶
func (o *BackchannelAuthenticationCompleteRequest) SetScopes(v []string)
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*BackchannelAuthenticationCompleteRequest) SetSub ¶
func (o *BackchannelAuthenticationCompleteRequest) SetSub(v string)
SetSub gets a reference to the given string and assigns it to the Sub field.
func (*BackchannelAuthenticationCompleteRequest) SetSubject ¶
func (o *BackchannelAuthenticationCompleteRequest) SetSubject(v string)
SetSubject sets field value
func (*BackchannelAuthenticationCompleteRequest) SetTicket ¶
func (o *BackchannelAuthenticationCompleteRequest) SetTicket(v string)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetAccessToken() string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*BackchannelAuthenticationCompleteResponse) GetActionOk ¶
func (o *BackchannelAuthenticationCompleteResponse) 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 (*BackchannelAuthenticationCompleteResponse) GetAuthReqId ¶
func (o *BackchannelAuthenticationCompleteResponse) GetAuthReqId() string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetAuthorizationDetails() AuthorizationDetails
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetClientId() int64
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetClientName() string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetDeliveryMode() DeliveryMode
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
func (o *BackchannelAuthenticationCompleteResponse) GetGrantId() string
GetGrantId returns the GrantId field value if set, zero value otherwise.
func (*BackchannelAuthenticationCompleteResponse) GetGrantIdOk ¶ added in v1.1.1
func (o *BackchannelAuthenticationCompleteResponse) 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 (*BackchannelAuthenticationCompleteResponse) GetIdToken ¶
func (o *BackchannelAuthenticationCompleteResponse) GetIdToken() string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) 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 (*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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetRefreshToken() string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetResources() []string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) GetResultCode() string
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*BackchannelAuthenticationCompleteResponse) HasAuthReqId ¶
func (o *BackchannelAuthenticationCompleteResponse) HasAuthReqId() bool
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) HasClientId() bool
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) HasClientName() bool
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
func (o *BackchannelAuthenticationCompleteResponse) HasGrantId() bool
HasGrantId returns a boolean if a field has been set.
func (*BackchannelAuthenticationCompleteResponse) HasIdToken ¶
func (o *BackchannelAuthenticationCompleteResponse) HasIdToken() bool
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) HasResources() bool
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) HasResultCode() bool
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 (o BackchannelAuthenticationCompleteResponse) MarshalJSON() ([]byte, error)
func (*BackchannelAuthenticationCompleteResponse) SetAccessToken ¶
func (o *BackchannelAuthenticationCompleteResponse) SetAccessToken(v string)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*BackchannelAuthenticationCompleteResponse) SetAuthReqId ¶
func (o *BackchannelAuthenticationCompleteResponse) SetAuthReqId(v string)
SetAuthReqId gets a reference to the given string and assigns it to the AuthReqId field.
func (*BackchannelAuthenticationCompleteResponse) SetAuthorizationDetails ¶
func (o *BackchannelAuthenticationCompleteResponse) SetAuthorizationDetails(v AuthorizationDetails)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) SetClientId(v int64)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) SetClientName(v string)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) SetDeliveryMode(v DeliveryMode)
SetDeliveryMode gets a reference to the given DeliveryMode and assigns it to the DeliveryMode field.
func (*BackchannelAuthenticationCompleteResponse) SetGrantId ¶ added in v1.1.1
func (o *BackchannelAuthenticationCompleteResponse) SetGrantId(v string)
SetGrantId gets a reference to the given string and assigns it to the GrantId field.
func (*BackchannelAuthenticationCompleteResponse) SetIdToken ¶
func (o *BackchannelAuthenticationCompleteResponse) SetIdToken(v string)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) SetResources(v []string)
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 ¶
func (o *BackchannelAuthenticationCompleteResponse) SetResultCode(v string)
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 ¶
func (o *BackchannelAuthenticationFailRequest) GetErrorUri() string
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 ¶
func (o *BackchannelAuthenticationFailRequest) GetReason() string
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 ¶
func (o *BackchannelAuthenticationFailRequest) GetTicket() string
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 ¶
func (o *BackchannelAuthenticationFailRequest) SetReason(v string)
SetReason sets field value
func (*BackchannelAuthenticationFailRequest) SetTicket ¶
func (o *BackchannelAuthenticationFailRequest) SetTicket(v string)
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 ¶
func (o *BackchannelAuthenticationFailResponse) GetAction() string
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 ¶
func (o *BackchannelAuthenticationFailResponse) HasAction() bool
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 ¶
func (o *BackchannelAuthenticationFailResponse) SetAction(v string)
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 ¶
func (o *BackchannelAuthenticationIssueRequest) GetTicket() string
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 ¶
func (o *BackchannelAuthenticationIssueRequest) SetTicket(v string)
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 ¶
func (o *BackchannelAuthenticationIssueResponse) GetAction() string
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 ¶
func (o *BackchannelAuthenticationIssueResponse) GetAuthReqId() string
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 ¶
func (o *BackchannelAuthenticationIssueResponse) GetExpiresIn() int32
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 ¶
func (o *BackchannelAuthenticationIssueResponse) GetInterval() int32
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 ¶
func (o *BackchannelAuthenticationIssueResponse) GetResultCode() string
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 ¶
func (o *BackchannelAuthenticationIssueResponse) HasAction() bool
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 ¶
func (o *BackchannelAuthenticationIssueResponse) HasInterval() bool
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 ¶
func (o *BackchannelAuthenticationIssueResponse) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*BackchannelAuthenticationIssueResponse) SetAuthReqId ¶
func (o *BackchannelAuthenticationIssueResponse) SetAuthReqId(v string)
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 ¶
func (o *BackchannelAuthenticationIssueResponse) SetInterval(v int32)
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 ¶
func (o *BackchannelAuthenticationResponse) GetAcrs() []string
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 ¶
func (o *BackchannelAuthenticationResponse) GetAction() string
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
func (o *BackchannelAuthenticationResponse) GetGmAction() GrantManagementAction
GetGmAction returns the GmAction field value if set, zero value otherwise.
func (*BackchannelAuthenticationResponse) GetGmActionOk ¶ added in v1.1.1
func (o *BackchannelAuthenticationResponse) 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 (*BackchannelAuthenticationResponse) GetGrant ¶ added in v1.1.1
func (o *BackchannelAuthenticationResponse) GetGrant() Grant
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 ¶
func (o *BackchannelAuthenticationResponse) GetHint() string
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 ¶
func (o *BackchannelAuthenticationResponse) GetSub() string
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 ¶
func (o *BackchannelAuthenticationResponse) GetTicket() string
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 ¶
func (o *BackchannelAuthenticationResponse) HasAcrs() bool
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
func (o *BackchannelAuthenticationResponse) HasGrant() bool
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 ¶
func (o *BackchannelAuthenticationResponse) HasHint() bool
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 ¶
func (o *BackchannelAuthenticationResponse) HasSub() bool
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
func (o *BackchannelAuthenticationResponse) SetGmAction(v GrantManagementAction)
SetGmAction gets a reference to the given GrantManagementAction and assigns it to the GmAction field.
func (*BackchannelAuthenticationResponse) SetGrant ¶ added in v1.1.1
func (o *BackchannelAuthenticationResponse) SetGrant(v Grant)
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 ¶
func (o *BackchannelAuthenticationResponse) SetHint(v string)
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 ¶
func (o *BackchannelAuthenticationResponse) SetSub(v string)
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 ¶
func (a *CIBAApiService) BackchannelAuthenticationApiExecute(r ApiBackchannelAuthenticationApiRequest) (*BackchannelAuthenticationResponse, *http.Response, error)
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 ¶
func (a *CIBAApiService) BackchannelAuthenticationCompleteApiExecute(r ApiBackchannelAuthenticationCompleteApiRequest) (*BackchannelAuthenticationCompleteResponse, *http.Response, error)
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 ¶
func (a *CIBAApiService) BackchannelAuthenticationFailApiExecute(r ApiBackchannelAuthenticationFailApiRequest) (*BackchannelAuthenticationFailResponse, *http.Response, error)
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 ¶
func (a *CIBAApiService) BackchannelAuthenticationIssueApiExecute(r ApiBackchannelAuthenticationIssueApiRequest) (*BackchannelAuthenticationIssueResponse, *http.Response, error)
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 ¶
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) UnmarshalJSON ¶
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 ¶
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Client) GetAttributesOk ¶
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 ¶
GetAuthTimeRequired returns the AuthTimeRequired field value if set, zero value otherwise.
func (*Client) GetAuthTimeRequiredOk ¶
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 ¶
GetAuthorizationDetailsTypes returns the AuthorizationDetailsTypes field value if set, zero value otherwise.
func (*Client) GetAuthorizationDetailsTypesOk ¶
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 ¶
GetAuthorizationEncryptionAlg returns the AuthorizationEncryptionAlg field value if set, zero value otherwise.
func (*Client) GetAuthorizationEncryptionAlgOk ¶
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 ¶
GetAuthorizationEncryptionEnc returns the AuthorizationEncryptionEnc field value if set, zero value otherwise.
func (*Client) GetAuthorizationEncryptionEncOk ¶
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 ¶
GetAuthorizationSignAlg returns the AuthorizationSignAlg field value if set, zero value otherwise.
func (*Client) GetAuthorizationSignAlgOk ¶
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
GetAutomaticallyRegistered returns the AutomaticallyRegistered field value if set, zero value otherwise.
func (*Client) GetAutomaticallyRegisteredOk ¶ added in v1.2.0
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 ¶
GetBcDeliveryMode returns the BcDeliveryMode field value if set, zero value otherwise.
func (*Client) GetBcDeliveryModeOk ¶
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 ¶
GetBcNotificationEndpoint returns the BcNotificationEndpoint field value if set, zero value otherwise.
func (*Client) GetBcNotificationEndpointOk ¶
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 ¶
GetBcRequestSignAlg returns the BcRequestSignAlg field value if set, zero value otherwise.
func (*Client) GetBcRequestSignAlgOk ¶
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 ¶
GetBcUserCodeRequired returns the BcUserCodeRequired field value if set, zero value otherwise.
func (*Client) GetBcUserCodeRequiredOk ¶
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 ¶
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*Client) GetClientIdAlias ¶
GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.
func (*Client) GetClientIdAliasEnabled ¶
GetClientIdAliasEnabled returns the ClientIdAliasEnabled field value if set, zero value otherwise.
func (*Client) GetClientIdAliasEnabledOk ¶
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 ¶
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 ¶
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 ¶
GetClientName returns the ClientName field value if set, zero value otherwise.
func (*Client) GetClientNameOk ¶
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 ¶
GetClientSecret returns the ClientSecret field value if set, zero value otherwise.
func (*Client) GetClientSecretOk ¶
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 ¶
GetClientUri returns the ClientUri field value if set, zero value otherwise.
func (*Client) GetClientUriOk ¶
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 ¶
GetContacts returns the Contacts field value if set, zero value otherwise.
func (*Client) GetContactsOk ¶
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 ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Client) GetCreatedAtOk ¶
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 ¶
GetCustomMetadata returns the CustomMetadata field value if set, zero value otherwise.
func (*Client) GetCustomMetadataOk ¶
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 ¶
GetDefaultAcrs returns the DefaultAcrs field value if set, zero value otherwise.
func (*Client) GetDefaultAcrsOk ¶
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 ¶
GetDefaultMaxAge returns the DefaultMaxAge field value if set, zero value otherwise.
func (*Client) GetDefaultMaxAgeOk ¶
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 ¶
GetDerivedSectorIdentifier returns the DerivedSectorIdentifier field value if set, zero value otherwise.
func (*Client) GetDerivedSectorIdentifierOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Client) GetDescriptionOk ¶
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 ¶
GetDeveloper returns the Developer field value if set, zero value otherwise.
func (*Client) GetDeveloperOk ¶
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
GetDigestAlgorithm returns the DigestAlgorithm field value if set, zero value otherwise.
func (*Client) GetDigestAlgorithmOk ¶ added in v1.1.1
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
GetDpopRequired returns the DpopRequired field value if set, zero value otherwise.
func (*Client) GetDpopRequiredOk ¶ added in v1.2.0
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 ¶
GetDynamicallyRegistered returns the DynamicallyRegistered field value if set, zero value otherwise.
func (*Client) GetDynamicallyRegisteredOk ¶
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
GetEntityId returns the EntityId field value if set, zero value otherwise.
func (*Client) GetEntityIdOk ¶ added in v1.2.0
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
GetExplicitlyRegistered returns the ExplicitlyRegistered field value if set, zero value otherwise.
func (*Client) GetExplicitlyRegisteredOk ¶ added in v1.2.0
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 ¶
GetFrontChannelRequestObjectEncryptionRequired returns the FrontChannelRequestObjectEncryptionRequired field value if set, zero value otherwise.
func (*Client) GetFrontChannelRequestObjectEncryptionRequiredOk ¶
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 ¶
GetGrantTypes returns the GrantTypes field value if set, zero value otherwise.
func (*Client) GetGrantTypesOk ¶
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 ¶
GetIdTokenEncryptionAlg returns the IdTokenEncryptionAlg field value if set, zero value otherwise.
func (*Client) GetIdTokenEncryptionAlgOk ¶
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 ¶
GetIdTokenEncryptionEnc returns the IdTokenEncryptionEnc field value if set, zero value otherwise.
func (*Client) GetIdTokenEncryptionEncOk ¶
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 ¶
GetIdTokenSignAlg returns the IdTokenSignAlg field value if set, zero value otherwise.
func (*Client) GetIdTokenSignAlgOk ¶
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) GetJwksOk ¶
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 ¶
GetJwksUri returns the JwksUri field value if set, zero value otherwise.
func (*Client) GetJwksUriOk ¶
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 ¶
GetLoginUri returns the LoginUri field value if set, zero value otherwise.
func (*Client) GetLoginUriOk ¶
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 ¶
GetLogoUri returns the LogoUri field value if set, zero value otherwise.
func (*Client) GetLogoUriOk ¶
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 ¶
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*Client) GetModifiedAtOk ¶
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) GetNumberOk ¶
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
GetOrganizationName returns the OrganizationName field value if set, zero value otherwise.
func (*Client) GetOrganizationNameOk ¶ added in v1.2.0
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 ¶
GetParRequired returns the ParRequired field value if set, zero value otherwise.
func (*Client) GetParRequiredOk ¶
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
GetPkceRequired returns the PkceRequired field value if set, zero value otherwise.
func (*Client) GetPkceRequiredOk ¶ added in v1.1.1
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
GetPkceS256Required returns the PkceS256Required field value if set, zero value otherwise.
func (*Client) GetPkceS256RequiredOk ¶ added in v1.1.1
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 ¶
GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.
func (*Client) GetPolicyUriOk ¶
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 ¶
GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.
func (*Client) GetRedirectUrisOk ¶
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 ¶
GetRegistrationAccessTokenHash returns the RegistrationAccessTokenHash field value if set, zero value otherwise.
func (*Client) GetRegistrationAccessTokenHashOk ¶
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 ¶
GetRequestEncryptionAlg returns the RequestEncryptionAlg field value if set, zero value otherwise.
func (*Client) GetRequestEncryptionAlgOk ¶
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 ¶
GetRequestEncryptionEnc returns the RequestEncryptionEnc field value if set, zero value otherwise.
func (*Client) GetRequestEncryptionEncOk ¶
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 ¶
GetRequestObjectEncryptionAlgMatchRequired returns the RequestObjectEncryptionAlgMatchRequired field value if set, zero value otherwise.
func (*Client) GetRequestObjectEncryptionAlgMatchRequiredOk ¶
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 ¶
GetRequestObjectEncryptionEncMatchRequired returns the RequestObjectEncryptionEncMatchRequired field value if set, zero value otherwise.
func (*Client) GetRequestObjectEncryptionEncMatchRequiredOk ¶
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 ¶
GetRequestObjectRequired returns the RequestObjectRequired field value if set, zero value otherwise.
func (*Client) GetRequestObjectRequiredOk ¶
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 ¶
GetRequestSignAlg returns the RequestSignAlg field value if set, zero value otherwise.
func (*Client) GetRequestSignAlgOk ¶
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 ¶
GetRequestUris returns the RequestUris field value if set, zero value otherwise.
func (*Client) GetRequestUrisOk ¶
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
GetRsResponseSigned returns the RsResponseSigned field value if set, zero value otherwise.
func (*Client) GetRsResponseSignedOk ¶ added in v1.2.0
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
GetRsSignedRequestKeyId returns the RsSignedRequestKeyId field value if set, zero value otherwise.
func (*Client) GetRsSignedRequestKeyIdOk ¶ added in v1.2.0
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 ¶
GetSectorIdentifierUri returns the SectorIdentifierUri field value if set, zero value otherwise.
func (*Client) GetSectorIdentifierUriOk ¶
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 ¶
GetSelfSignedCertificateKeyId returns the SelfSignedCertificateKeyId field value if set, zero value otherwise.
func (*Client) GetSelfSignedCertificateKeyIdOk ¶
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 ¶
GetServiceNumber returns the ServiceNumber field value if set, zero value otherwise.
func (*Client) GetServiceNumberOk ¶
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
GetSignedJwksUri returns the SignedJwksUri field value if set, zero value otherwise.
func (*Client) GetSignedJwksUriOk ¶ added in v1.2.0
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
GetSingleAccessTokenPerSubject returns the SingleAccessTokenPerSubject field value if set, zero value otherwise.
func (*Client) GetSingleAccessTokenPerSubjectOk ¶ added in v1.1.1
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 ¶
GetSoftwareId returns the SoftwareId field value if set, zero value otherwise.
func (*Client) GetSoftwareIdOk ¶
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 ¶
GetSoftwareVersion returns the SoftwareVersion field value if set, zero value otherwise.
func (*Client) GetSoftwareVersionOk ¶
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 ¶
GetTlsClientAuthSanDns returns the TlsClientAuthSanDns field value if set, zero value otherwise.
func (*Client) GetTlsClientAuthSanDnsOk ¶
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 ¶
GetTlsClientAuthSanEmail returns the TlsClientAuthSanEmail field value if set, zero value otherwise.
func (*Client) GetTlsClientAuthSanEmailOk ¶
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 ¶
GetTlsClientAuthSanIp returns the TlsClientAuthSanIp field value if set, zero value otherwise.
func (*Client) GetTlsClientAuthSanIpOk ¶
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 ¶
GetTlsClientAuthSanUri returns the TlsClientAuthSanUri field value if set, zero value otherwise.
func (*Client) GetTlsClientAuthSanUriOk ¶
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 ¶
GetTlsClientAuthSubjectDn returns the TlsClientAuthSubjectDn field value if set, zero value otherwise.
func (*Client) GetTlsClientAuthSubjectDnOk ¶
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 ¶
GetTlsClientCertificateBoundAccessTokens returns the TlsClientCertificateBoundAccessTokens field value if set, zero value otherwise.
func (*Client) GetTlsClientCertificateBoundAccessTokensOk ¶
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 ¶
GetTokenAuthSignAlg returns the TokenAuthSignAlg field value if set, zero value otherwise.
func (*Client) GetTokenAuthSignAlgOk ¶
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) GetTosUriOk ¶
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
GetTrustAnchorId returns the TrustAnchorId field value if set, zero value otherwise.
func (*Client) GetTrustAnchorIdOk ¶ added in v1.2.0
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
GetTrustChain returns the TrustChain field value if set, zero value otherwise.
func (*Client) GetTrustChainExpiresAt ¶ added in v1.2.0
GetTrustChainExpiresAt returns the TrustChainExpiresAt field value if set, zero value otherwise.
func (*Client) GetTrustChainExpiresAtOk ¶ added in v1.2.0
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
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
GetTrustChainUpdatedAt returns the TrustChainUpdatedAt field value if set, zero value otherwise.
func (*Client) GetTrustChainUpdatedAtOk ¶ added in v1.2.0
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 ¶
GetUserInfoEncryptionAlg returns the UserInfoEncryptionAlg field value if set, zero value otherwise.
func (*Client) GetUserInfoEncryptionAlgOk ¶
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 ¶
GetUserInfoEncryptionEnc returns the UserInfoEncryptionEnc field value if set, zero value otherwise.
func (*Client) GetUserInfoEncryptionEncOk ¶
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 ¶
GetUserInfoSignAlg returns the UserInfoSignAlg field value if set, zero value otherwise.
func (*Client) GetUserInfoSignAlgOk ¶
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 ¶
HasApplicationType returns a boolean if a field has been set.
func (*Client) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*Client) HasAuthTimeRequired ¶
HasAuthTimeRequired returns a boolean if a field has been set.
func (*Client) HasAuthorizationDetailsTypes ¶
HasAuthorizationDetailsTypes returns a boolean if a field has been set.
func (*Client) HasAuthorizationEncryptionAlg ¶
HasAuthorizationEncryptionAlg returns a boolean if a field has been set.
func (*Client) HasAuthorizationEncryptionEnc ¶
HasAuthorizationEncryptionEnc returns a boolean if a field has been set.
func (*Client) HasAuthorizationSignAlg ¶
HasAuthorizationSignAlg returns a boolean if a field has been set.
func (*Client) HasAutomaticallyRegistered ¶ added in v1.2.0
HasAutomaticallyRegistered returns a boolean if a field has been set.
func (*Client) HasBcDeliveryMode ¶
HasBcDeliveryMode returns a boolean if a field has been set.
func (*Client) HasBcNotificationEndpoint ¶
HasBcNotificationEndpoint returns a boolean if a field has been set.
func (*Client) HasBcRequestSignAlg ¶
HasBcRequestSignAlg returns a boolean if a field has been set.
func (*Client) HasBcUserCodeRequired ¶
HasBcUserCodeRequired returns a boolean if a field has been set.
func (*Client) HasClientId ¶
HasClientId returns a boolean if a field has been set.
func (*Client) HasClientIdAlias ¶
HasClientIdAlias returns a boolean if a field has been set.
func (*Client) HasClientIdAliasEnabled ¶
HasClientIdAliasEnabled returns a boolean if a field has been set.
func (*Client) HasClientName ¶
HasClientName returns a boolean if a field has been set.
func (*Client) HasClientNames ¶
HasClientNames returns a boolean if a field has been set.
func (*Client) HasClientRegistrationTypes ¶ added in v1.2.0
HasClientRegistrationTypes returns a boolean if a field has been set.
func (*Client) HasClientSecret ¶
HasClientSecret returns a boolean if a field has been set.
func (*Client) HasClientType ¶
HasClientType returns a boolean if a field has been set.
func (*Client) HasClientUri ¶
HasClientUri returns a boolean if a field has been set.
func (*Client) HasClientUris ¶
HasClientUris returns a boolean if a field has been set.
func (*Client) HasContacts ¶
HasContacts returns a boolean if a field has been set.
func (*Client) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Client) HasCustomMetadata ¶
HasCustomMetadata returns a boolean if a field has been set.
func (*Client) HasDefaultAcrs ¶
HasDefaultAcrs returns a boolean if a field has been set.
func (*Client) HasDefaultMaxAge ¶
HasDefaultMaxAge returns a boolean if a field has been set.
func (*Client) HasDerivedSectorIdentifier ¶
HasDerivedSectorIdentifier returns a boolean if a field has been set.
func (*Client) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Client) HasDescriptions ¶
HasDescriptions returns a boolean if a field has been set.
func (*Client) HasDeveloper ¶
HasDeveloper returns a boolean if a field has been set.
func (*Client) HasDigestAlgorithm ¶ added in v1.1.1
HasDigestAlgorithm returns a boolean if a field has been set.
func (*Client) HasDpopRequired ¶ added in v1.2.0
HasDpopRequired returns a boolean if a field has been set.
func (*Client) HasDynamicallyRegistered ¶
HasDynamicallyRegistered returns a boolean if a field has been set.
func (*Client) HasEntityId ¶ added in v1.2.0
HasEntityId returns a boolean if a field has been set.
func (*Client) HasExplicitlyRegistered ¶ added in v1.2.0
HasExplicitlyRegistered returns a boolean if a field has been set.
func (*Client) HasExtension ¶
HasExtension returns a boolean if a field has been set.
func (*Client) HasFrontChannelRequestObjectEncryptionRequired ¶
HasFrontChannelRequestObjectEncryptionRequired returns a boolean if a field has been set.
func (*Client) HasGrantTypes ¶
HasGrantTypes returns a boolean if a field has been set.
func (*Client) HasIdTokenEncryptionAlg ¶
HasIdTokenEncryptionAlg returns a boolean if a field has been set.
func (*Client) HasIdTokenEncryptionEnc ¶
HasIdTokenEncryptionEnc returns a boolean if a field has been set.
func (*Client) HasIdTokenSignAlg ¶
HasIdTokenSignAlg returns a boolean if a field has been set.
func (*Client) HasJwksUri ¶
HasJwksUri returns a boolean if a field has been set.
func (*Client) HasLoginUri ¶
HasLoginUri returns a boolean if a field has been set.
func (*Client) HasLogoUri ¶
HasLogoUri returns a boolean if a field has been set.
func (*Client) HasLogoUris ¶
HasLogoUris returns a boolean if a field has been set.
func (*Client) HasModifiedAt ¶
HasModifiedAt returns a boolean if a field has been set.
func (*Client) HasOrganizationName ¶ added in v1.2.0
HasOrganizationName returns a boolean if a field has been set.
func (*Client) HasParRequired ¶
HasParRequired returns a boolean if a field has been set.
func (*Client) HasPkceRequired ¶ added in v1.1.1
HasPkceRequired returns a boolean if a field has been set.
func (*Client) HasPkceS256Required ¶ added in v1.1.1
HasPkceS256Required returns a boolean if a field has been set.
func (*Client) HasPolicyUri ¶
HasPolicyUri returns a boolean if a field has been set.
func (*Client) HasPolicyUris ¶
HasPolicyUris returns a boolean if a field has been set.
func (*Client) HasRedirectUris ¶
HasRedirectUris returns a boolean if a field has been set.
func (*Client) HasRegistrationAccessTokenHash ¶
HasRegistrationAccessTokenHash returns a boolean if a field has been set.
func (*Client) HasRequestEncryptionAlg ¶
HasRequestEncryptionAlg returns a boolean if a field has been set.
func (*Client) HasRequestEncryptionEnc ¶
HasRequestEncryptionEnc returns a boolean if a field has been set.
func (*Client) HasRequestObjectEncryptionAlgMatchRequired ¶
HasRequestObjectEncryptionAlgMatchRequired returns a boolean if a field has been set.
func (*Client) HasRequestObjectEncryptionEncMatchRequired ¶
HasRequestObjectEncryptionEncMatchRequired returns a boolean if a field has been set.
func (*Client) HasRequestObjectRequired ¶
HasRequestObjectRequired returns a boolean if a field has been set.
func (*Client) HasRequestSignAlg ¶
HasRequestSignAlg returns a boolean if a field has been set.
func (*Client) HasRequestUris ¶
HasRequestUris returns a boolean if a field has been set.
func (*Client) HasResponseTypes ¶
HasResponseTypes returns a boolean if a field has been set.
func (*Client) HasRsResponseSigned ¶ added in v1.2.0
HasRsResponseSigned returns a boolean if a field has been set.
func (*Client) HasRsSignedRequestKeyId ¶ added in v1.2.0
HasRsSignedRequestKeyId returns a boolean if a field has been set.
func (*Client) HasSectorIdentifierUri ¶
HasSectorIdentifierUri returns a boolean if a field has been set.
func (*Client) HasSelfSignedCertificateKeyId ¶
HasSelfSignedCertificateKeyId returns a boolean if a field has been set.
func (*Client) HasServiceNumber ¶
HasServiceNumber returns a boolean if a field has been set.
func (*Client) HasSignedJwksUri ¶ added in v1.2.0
HasSignedJwksUri returns a boolean if a field has been set.
func (*Client) HasSingleAccessTokenPerSubject ¶ added in v1.1.1
HasSingleAccessTokenPerSubject returns a boolean if a field has been set.
func (*Client) HasSoftwareId ¶
HasSoftwareId returns a boolean if a field has been set.
func (*Client) HasSoftwareVersion ¶
HasSoftwareVersion returns a boolean if a field has been set.
func (*Client) HasSubjectType ¶
HasSubjectType returns a boolean if a field has been set.
func (*Client) HasTlsClientAuthSanDns ¶
HasTlsClientAuthSanDns returns a boolean if a field has been set.
func (*Client) HasTlsClientAuthSanEmail ¶
HasTlsClientAuthSanEmail returns a boolean if a field has been set.
func (*Client) HasTlsClientAuthSanIp ¶
HasTlsClientAuthSanIp returns a boolean if a field has been set.
func (*Client) HasTlsClientAuthSanUri ¶
HasTlsClientAuthSanUri returns a boolean if a field has been set.
func (*Client) HasTlsClientAuthSubjectDn ¶
HasTlsClientAuthSubjectDn returns a boolean if a field has been set.
func (*Client) HasTlsClientCertificateBoundAccessTokens ¶
HasTlsClientCertificateBoundAccessTokens returns a boolean if a field has been set.
func (*Client) HasTokenAuthMethod ¶
HasTokenAuthMethod returns a boolean if a field has been set.
func (*Client) HasTokenAuthSignAlg ¶
HasTokenAuthSignAlg returns a boolean if a field has been set.
func (*Client) HasTosUris ¶
HasTosUris returns a boolean if a field has been set.
func (*Client) HasTrustAnchorId ¶ added in v1.2.0
HasTrustAnchorId returns a boolean if a field has been set.
func (*Client) HasTrustChain ¶ added in v1.2.0
HasTrustChain returns a boolean if a field has been set.
func (*Client) HasTrustChainExpiresAt ¶ added in v1.2.0
HasTrustChainExpiresAt returns a boolean if a field has been set.
func (*Client) HasTrustChainUpdatedAt ¶ added in v1.2.0
HasTrustChainUpdatedAt returns a boolean if a field has been set.
func (*Client) HasUserInfoEncryptionAlg ¶
HasUserInfoEncryptionAlg returns a boolean if a field has been set.
func (*Client) HasUserInfoEncryptionEnc ¶
HasUserInfoEncryptionEnc returns a boolean if a field has been set.
func (*Client) HasUserInfoSignAlg ¶
HasUserInfoSignAlg returns a boolean if a field has been set.
func (Client) MarshalJSON ¶
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 ¶
SetAttributes gets a reference to the given []Pair and assigns it to the Attributes field.
func (*Client) SetAuthTimeRequired ¶
SetAuthTimeRequired gets a reference to the given bool and assigns it to the AuthTimeRequired field.
func (*Client) SetAuthorizationDetailsTypes ¶
SetAuthorizationDetailsTypes gets a reference to the given []string and assigns it to the AuthorizationDetailsTypes field.
func (*Client) SetAuthorizationEncryptionAlg ¶
SetAuthorizationEncryptionAlg gets a reference to the given JweAlg and assigns it to the AuthorizationEncryptionAlg field.
func (*Client) SetAuthorizationEncryptionEnc ¶
SetAuthorizationEncryptionEnc gets a reference to the given JweEnc and assigns it to the AuthorizationEncryptionEnc field.
func (*Client) SetAuthorizationSignAlg ¶
SetAuthorizationSignAlg gets a reference to the given JwsAlg and assigns it to the AuthorizationSignAlg field.
func (*Client) SetAutomaticallyRegistered ¶ added in v1.2.0
SetAutomaticallyRegistered gets a reference to the given bool and assigns it to the AutomaticallyRegistered field.
func (*Client) SetBcDeliveryMode ¶
SetBcDeliveryMode gets a reference to the given string and assigns it to the BcDeliveryMode field.
func (*Client) SetBcNotificationEndpoint ¶
SetBcNotificationEndpoint gets a reference to the given string and assigns it to the BcNotificationEndpoint field.
func (*Client) SetBcRequestSignAlg ¶
SetBcRequestSignAlg gets a reference to the given JwsAlg and assigns it to the BcRequestSignAlg field.
func (*Client) SetBcUserCodeRequired ¶
SetBcUserCodeRequired gets a reference to the given bool and assigns it to the BcUserCodeRequired field.
func (*Client) SetClientId ¶
SetClientId gets a reference to the given int64 and assigns it to the ClientId field.
func (*Client) SetClientIdAlias ¶
SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.
func (*Client) SetClientIdAliasEnabled ¶
SetClientIdAliasEnabled gets a reference to the given bool and assigns it to the ClientIdAliasEnabled field.
func (*Client) SetClientName ¶
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 ¶
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 ¶
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 ¶
SetContacts gets a reference to the given []string and assigns it to the Contacts field.
func (*Client) SetCreatedAt ¶
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*Client) SetCustomMetadata ¶
SetCustomMetadata gets a reference to the given string and assigns it to the CustomMetadata field.
func (*Client) SetDefaultAcrs ¶
SetDefaultAcrs gets a reference to the given []string and assigns it to the DefaultAcrs field.
func (*Client) SetDefaultMaxAge ¶
SetDefaultMaxAge gets a reference to the given int32 and assigns it to the DefaultMaxAge field.
func (*Client) SetDerivedSectorIdentifier ¶
SetDerivedSectorIdentifier gets a reference to the given string and assigns it to the DerivedSectorIdentifier field.
func (*Client) SetDescription ¶
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 ¶
SetDeveloper gets a reference to the given string and assigns it to the Developer field.
func (*Client) SetDigestAlgorithm ¶ added in v1.1.1
SetDigestAlgorithm gets a reference to the given string and assigns it to the DigestAlgorithm field.
func (*Client) SetDpopRequired ¶ added in v1.2.0
SetDpopRequired gets a reference to the given bool and assigns it to the DpopRequired field.
func (*Client) SetDynamicallyRegistered ¶
SetDynamicallyRegistered gets a reference to the given bool and assigns it to the DynamicallyRegistered field.
func (*Client) SetEntityId ¶ added in v1.2.0
SetEntityId gets a reference to the given string and assigns it to the EntityId field.
func (*Client) SetExplicitlyRegistered ¶ added in v1.2.0
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 ¶
SetFrontChannelRequestObjectEncryptionRequired gets a reference to the given bool and assigns it to the FrontChannelRequestObjectEncryptionRequired field.
func (*Client) SetGrantTypes ¶
SetGrantTypes gets a reference to the given []GrantType and assigns it to the GrantTypes field.
func (*Client) SetIdTokenEncryptionAlg ¶
SetIdTokenEncryptionAlg gets a reference to the given JweAlg and assigns it to the IdTokenEncryptionAlg field.
func (*Client) SetIdTokenEncryptionEnc ¶
SetIdTokenEncryptionEnc gets a reference to the given JweEnc and assigns it to the IdTokenEncryptionEnc field.
func (*Client) SetIdTokenSignAlg ¶
SetIdTokenSignAlg gets a reference to the given JwsAlg and assigns it to the IdTokenSignAlg field.
func (*Client) SetJwks ¶
SetJwks gets a reference to the given string and assigns it to the Jwks field.
func (*Client) SetJwksUri ¶
SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.
func (*Client) SetLoginUri ¶
SetLoginUri gets a reference to the given string and assigns it to the LoginUri field.
func (*Client) SetLogoUri ¶
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 ¶
SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.
func (*Client) SetNumber ¶
SetNumber gets a reference to the given int32 and assigns it to the Number field.
func (*Client) SetOrganizationName ¶ added in v1.2.0
SetOrganizationName gets a reference to the given string and assigns it to the OrganizationName field.
func (*Client) SetParRequired ¶
SetParRequired gets a reference to the given bool and assigns it to the ParRequired field.
func (*Client) SetPkceRequired ¶ added in v1.1.1
SetPkceRequired gets a reference to the given bool and assigns it to the PkceRequired field.
func (*Client) SetPkceS256Required ¶ added in v1.1.1
SetPkceS256Required gets a reference to the given bool and assigns it to the PkceS256Required field.
func (*Client) SetPolicyUri ¶
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 ¶
SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.
func (*Client) SetRegistrationAccessTokenHash ¶
SetRegistrationAccessTokenHash gets a reference to the given string and assigns it to the RegistrationAccessTokenHash field.
func (*Client) SetRequestEncryptionAlg ¶
SetRequestEncryptionAlg gets a reference to the given JweAlg and assigns it to the RequestEncryptionAlg field.
func (*Client) SetRequestEncryptionEnc ¶
SetRequestEncryptionEnc gets a reference to the given JweEnc and assigns it to the RequestEncryptionEnc field.
func (*Client) SetRequestObjectEncryptionAlgMatchRequired ¶
SetRequestObjectEncryptionAlgMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionAlgMatchRequired field.
func (*Client) SetRequestObjectEncryptionEncMatchRequired ¶
SetRequestObjectEncryptionEncMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionEncMatchRequired field.
func (*Client) SetRequestObjectRequired ¶
SetRequestObjectRequired gets a reference to the given bool and assigns it to the RequestObjectRequired field.
func (*Client) SetRequestSignAlg ¶
SetRequestSignAlg gets a reference to the given JwsAlg and assigns it to the RequestSignAlg field.
func (*Client) SetRequestUris ¶
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
SetRsResponseSigned gets a reference to the given bool and assigns it to the RsResponseSigned field.
func (*Client) SetRsSignedRequestKeyId ¶ added in v1.2.0
SetRsSignedRequestKeyId gets a reference to the given string and assigns it to the RsSignedRequestKeyId field.
func (*Client) SetSectorIdentifierUri ¶
SetSectorIdentifierUri gets a reference to the given string and assigns it to the SectorIdentifierUri field.
func (*Client) SetSelfSignedCertificateKeyId ¶
SetSelfSignedCertificateKeyId gets a reference to the given string and assigns it to the SelfSignedCertificateKeyId field.
func (*Client) SetServiceNumber ¶
SetServiceNumber gets a reference to the given int32 and assigns it to the ServiceNumber field.
func (*Client) SetSignedJwksUri ¶ added in v1.2.0
SetSignedJwksUri gets a reference to the given string and assigns it to the SignedJwksUri field.
func (*Client) SetSingleAccessTokenPerSubject ¶ added in v1.1.1
SetSingleAccessTokenPerSubject gets a reference to the given bool and assigns it to the SingleAccessTokenPerSubject field.
func (*Client) SetSoftwareId ¶
SetSoftwareId gets a reference to the given string and assigns it to the SoftwareId field.
func (*Client) SetSoftwareVersion ¶
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 ¶
SetTlsClientAuthSanDns gets a reference to the given string and assigns it to the TlsClientAuthSanDns field.
func (*Client) SetTlsClientAuthSanEmail ¶
SetTlsClientAuthSanEmail gets a reference to the given string and assigns it to the TlsClientAuthSanEmail field.
func (*Client) SetTlsClientAuthSanIp ¶
SetTlsClientAuthSanIp gets a reference to the given string and assigns it to the TlsClientAuthSanIp field.
func (*Client) SetTlsClientAuthSanUri ¶
SetTlsClientAuthSanUri gets a reference to the given string and assigns it to the TlsClientAuthSanUri field.
func (*Client) SetTlsClientAuthSubjectDn ¶
SetTlsClientAuthSubjectDn gets a reference to the given string and assigns it to the TlsClientAuthSubjectDn field.
func (*Client) SetTlsClientCertificateBoundAccessTokens ¶
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 ¶
SetTokenAuthSignAlg gets a reference to the given JwsAlg and assigns it to the TokenAuthSignAlg field.
func (*Client) SetTosUri ¶
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
SetTrustAnchorId gets a reference to the given string and assigns it to the TrustAnchorId field.
func (*Client) SetTrustChain ¶ added in v1.2.0
SetTrustChain gets a reference to the given []string and assigns it to the TrustChain field.
func (*Client) SetTrustChainExpiresAt ¶ added in v1.2.0
SetTrustChainExpiresAt gets a reference to the given int64 and assigns it to the TrustChainExpiresAt field.
func (*Client) SetTrustChainUpdatedAt ¶ added in v1.2.0
SetTrustChainUpdatedAt gets a reference to the given int64 and assigns it to the TrustChainUpdatedAt field.
func (*Client) SetUserInfoEncryptionAlg ¶
SetUserInfoEncryptionAlg gets a reference to the given JweAlg and assigns it to the UserInfoEncryptionAlg field.
func (*Client) SetUserInfoEncryptionEnc ¶
SetUserInfoEncryptionEnc gets a reference to the given JweEnc and assigns it to the UserInfoEncryptionEnc field.
func (*Client) SetUserInfoSignAlg ¶
SetUserInfoSignAlg gets a reference to the given JwsAlg and assigns it to the UserInfoSignAlg field.
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 ¶
func (v ClientAuthenticationMethod) Ptr() *ClientAuthenticationMethod
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 ¶
func (o *ClientAuthorizationGetListResponse) GetEnd() int32
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 ¶
func (o *ClientAuthorizationGetListResponse) GetStart() int32
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 ¶
func (o *ClientAuthorizationGetListResponse) GetSubject() string
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 ¶
func (o *ClientAuthorizationGetListResponse) HasEnd() bool
HasEnd returns a boolean if a field has been set.
func (*ClientAuthorizationGetListResponse) HasStart ¶
func (o *ClientAuthorizationGetListResponse) HasStart() bool
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 ¶
func (o *ClientAuthorizationGetListResponse) SetEnd(v int32)
SetEnd gets a reference to the given int32 and assigns it to the End field.
func (*ClientAuthorizationGetListResponse) SetStart ¶
func (o *ClientAuthorizationGetListResponse) SetStart(v int32)
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 ¶
func (a *ClientManagementApiService) ClientAuthorizationDeleteApiExecute(r ApiClientAuthorizationDeleteApiRequest) (*ClientAuthorizationDeleteResponse, *http.Response, error)
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 ¶
func (a *ClientManagementApiService) ClientAuthorizationGetListApiExecute(r ApiClientAuthorizationGetListApiRequest) (*ClientAuthorizationGetListResponse, *http.Response, error)
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 ¶
func (a *ClientManagementApiService) ClientAuthorizationUpdateApiExecute(r ApiClientAuthorizationUpdateApiRequest) (*ClientAuthorizationUpdateResponse, *http.Response, error)
Execute executes the request
@return ClientAuthorizationUpdateResponse
func (*ClientManagementApiService) ClientCreateApi ¶
func (a *ClientManagementApiService) ClientCreateApi(ctx context.Context) ApiClientCreateApiRequest
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 ¶
func (a *ClientManagementApiService) ClientCreateApiExecute(r ApiClientCreateApiRequest) (*Client, *http.Response, error)
Execute executes the request
@return Client
func (*ClientManagementApiService) ClientDeleteApi ¶
func (a *ClientManagementApiService) ClientDeleteApi(ctx context.Context, clientId string) ApiClientDeleteApiRequest
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
func (a *ClientManagementApiService) ClientFlagUpdateApiExecute(r ApiClientFlagUpdateApiRequest) (*ClientFlagUpdateResponse, *http.Response, error)
Execute executes the request
@return ClientFlagUpdateResponse
func (*ClientManagementApiService) ClientGetApi ¶
func (a *ClientManagementApiService) ClientGetApi(ctx context.Context, clientId string) ApiClientGetApiRequest
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 ¶
func (a *ClientManagementApiService) ClientGetApiExecute(r ApiClientGetApiRequest) (*Client, *http.Response, error)
Execute executes the request
@return Client
func (*ClientManagementApiService) ClientGetListApi ¶
func (a *ClientManagementApiService) ClientGetListApi(ctx context.Context) ApiClientGetListApiRequest
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 ¶
func (a *ClientManagementApiService) ClientGetListApiExecute(r ApiClientGetListApiRequest) (*ClientGetListResponse, *http.Response, error)
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 ¶
func (a *ClientManagementApiService) ClientGrantedScopesDeleteApiExecute(r ApiClientGrantedScopesDeleteApiRequest) (*ClientGrantedScopesDeleteResponse, *http.Response, error)
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 ¶
func (a *ClientManagementApiService) ClientGrantedScopesGetApiExecute(r ApiClientGrantedScopesGetApiRequest) (*ClientAuthorizationDeleteResponse, *http.Response, error)
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 ¶
func (a *ClientManagementApiService) ClientSecretRefreshApiExecute(r ApiClientSecretRefreshApiRequest) (*ClientSecretRefreshResponse, *http.Response, error)
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 ¶
func (a *ClientManagementApiService) ClientSecretUpdateApiExecute(r ApiClientSecretUpdateApiRequest) (*ClientSecretUpdateResponse, *http.Response, error)
Execute executes the request
@return ClientSecretUpdateResponse
func (*ClientManagementApiService) ClientUpdateApi ¶
func (a *ClientManagementApiService) ClientUpdateApi(ctx context.Context, clientId string) ApiClientUpdateApiRequest
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 ¶
func (a *ClientManagementApiService) ClientUpdateApiExecute(r ApiClientUpdateApiRequest) (*Client, *http.Response, error)
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 ¶
func (o *ClientRegistrationDeleteRequest) GetToken() string
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 ¶
func (o *ClientRegistrationDeleteResponse) GetAction() string
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
func (v ClientRegistrationType) Ptr() *ClientRegistrationType
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 ¶
func (o *ClientRegistrationUpdateRequest) GetJson() string
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 ¶
func (o *ClientRegistrationUpdateRequest) GetToken() string
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 ¶
func (o *ClientRegistrationUpdateRequest) SetJson(v string)
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 ¶
func (o *ClientRegistrationUpdateResponse) GetAction() string
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 ¶
func (o *ClientRegistrationUpdateResponse) GetClient() Client
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) ServerURLWithContext ¶
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 ¶
func (a *ConfigurationEndpointApiService) ServiceConfigurationApi(ctx context.Context) ApiServiceConfigurationApiRequest
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
func (o *DeviceAuthorizationResponse) GetGmAction() GrantManagementAction
GetGmAction returns the GmAction field value if set, zero value otherwise.
func (*DeviceAuthorizationResponse) GetGmActionOk ¶ added in v1.1.1
func (o *DeviceAuthorizationResponse) 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 (*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
func (o *DeviceAuthorizationResponse) SetGmAction(v GrantManagementAction)
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 ¶
func (a *DeviceFlowApiService) DeviceAuthorizationApi(ctx context.Context) ApiDeviceAuthorizationApiRequest
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 ¶
func (a *DeviceFlowApiService) DeviceAuthorizationApiExecute(r ApiDeviceAuthorizationApiRequest) (*DeviceAuthorizationResponse, *http.Response, error)
Execute executes the request
@return DeviceAuthorizationResponse
func (*DeviceFlowApiService) DeviceCompleteApi ¶
func (a *DeviceFlowApiService) DeviceCompleteApi(ctx context.Context) ApiDeviceCompleteApiRequest
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 ¶
func (a *DeviceFlowApiService) DeviceCompleteApiExecute(r ApiDeviceCompleteApiRequest) (*DeviceCompleteResponse, *http.Response, error)
Execute executes the request
@return DeviceCompleteResponse
func (*DeviceFlowApiService) DeviceVerificationApi ¶
func (a *DeviceFlowApiService) DeviceVerificationApi(ctx context.Context) ApiDeviceVerificationApiRequest
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 ¶
func (a *DeviceFlowApiService) DeviceVerificationApiExecute(r ApiDeviceVerificationApiRequest) (*DeviceVerificationResponse, *http.Response, error)
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
func (o *DeviceVerificationResponse) GetGmAction() GrantManagementAction
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
func (o *DeviceVerificationResponse) SetGmAction(v GrantManagementAction)
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 ¶
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) UnmarshalJSON ¶
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 ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationApi(ctx context.Context) ApiClientRegistrationApiRequest
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 ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationApiExecute(r ApiClientRegistrationApiRequest) (*ClientRegistrationResponse, *http.Response, error)
Execute executes the request
@return ClientRegistrationResponse
func (*DynamicClientRegistrationApiService) ClientRegistrationDeleteApi ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationDeleteApi(ctx context.Context) ApiClientRegistrationDeleteApiRequest
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 ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationDeleteApiExecute(r ApiClientRegistrationDeleteApiRequest) (*ClientRegistrationDeleteResponse, *http.Response, error)
Execute executes the request
@return ClientRegistrationDeleteResponse
func (*DynamicClientRegistrationApiService) ClientRegistrationGetApi ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationGetApi(ctx context.Context) ApiClientRegistrationGetApiRequest
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 ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationGetApiExecute(r ApiClientRegistrationGetApiRequest) (*ClientRegistrationGetResponse, *http.Response, error)
Execute executes the request
@return ClientRegistrationGetResponse
func (*DynamicClientRegistrationApiService) ClientRegistrationUpdateApi ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationUpdateApi(ctx context.Context) ApiClientRegistrationUpdateApiRequest
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 ¶
func (a *DynamicClientRegistrationApiService) ClientRegistrationUpdateApiExecute(r ApiClientRegistrationUpdateApiRequest) (*ClientRegistrationUpdateResponse, *http.Response, error)
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
func (a *FederationEndpointApiService) FederationConfigurationApi(ctx context.Context) ApiFederationConfigurationApiRequest
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
func (a *FederationEndpointApiService) FederationConfigurationApiExecute(r ApiFederationConfigurationApiRequest) (*FederationConfigurationResponse, *http.Response, error)
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
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*GMRequest) GetAccessTokenOk ¶ added in v1.1.1
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
GetClientCertificate returns the ClientCertificate field value if set, zero value otherwise.
func (*GMRequest) GetClientCertificateOk ¶ added in v1.1.1
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
GetDpop returns the Dpop field value if set, zero value otherwise.
func (*GMRequest) GetDpopOk ¶ added in v1.1.1
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
GetGrantId returns the GrantId field value if set, zero value otherwise.
func (*GMRequest) 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 (*GMRequest) GetHtm ¶ added in v1.1.1
GetHtm returns the Htm field value if set, zero value otherwise.
func (*GMRequest) GetHtmOk ¶ added in v1.1.1
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
GetHtu returns the Htu field value if set, zero value otherwise.
func (*GMRequest) GetHtuOk ¶ added in v1.1.1
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
GetResources returns the Resources field value if set, zero value otherwise.
func (*GMRequest) GetResourcesOk ¶ added in v1.1.1
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
GetScopes returns the Scopes field value if set, zero value otherwise.
func (*GMRequest) GetScopesOk ¶ added in v1.1.1
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
GetSubject returns the Subject field value if set, zero value otherwise.
func (*GMRequest) GetSubjectOk ¶ added in v1.1.1
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
HasAccessToken returns a boolean if a field has been set.
func (*GMRequest) HasClientCertificate ¶ added in v1.1.1
HasClientCertificate returns a boolean if a field has been set.
func (*GMRequest) HasGmAction ¶ added in v1.1.1
HasGmAction returns a boolean if a field has been set.
func (*GMRequest) HasGrantId ¶ added in v1.1.1
HasGrantId returns a boolean if a field has been set.
func (*GMRequest) HasResources ¶ added in v1.1.1
HasResources returns a boolean if a field has been set.
func (*GMRequest) HasSubject ¶ added in v1.1.1
HasSubject returns a boolean if a field has been set.
func (GMRequest) MarshalJSON ¶ added in v1.1.1
func (*GMRequest) SetAccessToken ¶ added in v1.1.1
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*GMRequest) SetClientCertificate ¶ added in v1.1.1
SetClientCertificate gets a reference to the given string and assigns it to the ClientCertificate field.
func (*GMRequest) SetDpop ¶ added in v1.1.1
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
SetGrantId gets a reference to the given string and assigns it to the GrantId field.
func (*GMRequest) SetHtm ¶ added in v1.1.1
SetHtm gets a reference to the given string and assigns it to the Htm field.
func (*GMRequest) SetHtu ¶ added in v1.1.1
SetHtu gets a reference to the given string and assigns it to the Htu field.
func (*GMRequest) SetResources ¶ added in v1.1.1
SetResources gets a reference to the given []string and assigns it to the Resources field.
func (*GMRequest) SetScopes ¶ added in v1.1.1
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*GMRequest) SetSubject ¶ added in v1.1.1
SetSubject gets a reference to the given string and assigns it to the Subject field.
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
GetClaims returns the Claims field value if set, zero value otherwise.
func (*Grant) GetClaimsOk ¶ added in v1.1.1
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
HasAuthorizationDetails returns a boolean if a field has been set.
func (Grant) MarshalJSON ¶ added in v1.1.1
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
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.
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
func (v GrantManagementAction) Ptr() *GrantManagementAction
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
func (a *GrantManagementEndpointApiService) GrantMApi(ctx context.Context) ApiGrantMApiRequest
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
func (a *GrantManagementEndpointApiService) GrantMApiExecute(r ApiGrantMApiRequest) (*GMResponse, *http.Response, error)
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 ¶
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) UnmarshalJSON ¶
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 ¶
func (a *IntrospectionEndpointApiService) AuthIntrospectionApi(ctx context.Context) ApiAuthIntrospectionApiRequest
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 ¶
func (a *IntrospectionEndpointApiService) AuthIntrospectionApiExecute(r ApiAuthIntrospectionApiRequest) (*IntrospectionResponse, *http.Response, error)
Execute executes the request
@return IntrospectionResponse
func (*IntrospectionEndpointApiService) AuthIntrospectionStandardApi ¶
func (a *IntrospectionEndpointApiService) AuthIntrospectionStandardApi(ctx context.Context) ApiAuthIntrospectionStandardApiRequest
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 ¶
func (a *IntrospectionEndpointApiService) AuthIntrospectionStandardApiExecute(r ApiAuthIntrospectionStandardApiRequest) (*StandardIntrospectionResponse, *http.Response, error)
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 ¶
func (a *JWKSetEndpointApiService) ServiceJwksGetApi(ctx context.Context) ApiServiceJwksGetApiRequest
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 ¶
func (a *JWKSetEndpointApiService) ServiceJwksGetApiExecute(r ApiServiceJwksGetApiRequest) (*ServiceJwksGetResponse, *http.Response, error)
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 ¶
func (a *JoseObjectApiService) JoseVerifyApi(ctx context.Context) ApiJoseVerifyApiRequest
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 ¶
func (a *JoseObjectApiService) JoseVerifyApiExecute(r ApiJoseVerifyApiRequest) (*JoseVerifyResponse, *http.Response, error)
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 ¶
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) UnmarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
type MappedNullable ¶ added in v1.1.1
type NamedUri ¶
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) GetNameOk ¶
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) GetUriOk ¶
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) MarshalJSON ¶
func (*NamedUri) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
type NullableAccessToken ¶
type NullableAccessToken struct {
// contains filtered or unexported fields
}
func NewNullableAccessToken ¶
func NewNullableAccessToken(val *AccessToken) *NullableAccessToken
func (NullableAccessToken) Get ¶
func (v NullableAccessToken) Get() *AccessToken
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 (v NullableApplicationType) Get() *ApplicationType
func (NullableApplicationType) IsSet ¶
func (v NullableApplicationType) IsSet() bool
func (NullableApplicationType) MarshalJSON ¶
func (v NullableApplicationType) MarshalJSON() ([]byte, error)
func (*NullableApplicationType) Set ¶
func (v *NullableApplicationType) Set(val *ApplicationType)
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 (v NullableAttachmentType) Get() *AttachmentType
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 (v *NullableAttachmentType) Set(val *AttachmentType)
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 (v NullableAuthorizationDetails) Get() *AuthorizationDetails
func (NullableAuthorizationDetails) IsSet ¶
func (v NullableAuthorizationDetails) IsSet() bool
func (NullableAuthorizationDetails) MarshalJSON ¶
func (v NullableAuthorizationDetails) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationDetails) Set ¶
func (v *NullableAuthorizationDetails) Set(val *AuthorizationDetails)
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 NewNullableAuthorizationDetailsElement ¶
func NewNullableAuthorizationDetailsElement(val *AuthorizationDetailsElement) *NullableAuthorizationDetailsElement
func (NullableAuthorizationDetailsElement) Get ¶
func (v NullableAuthorizationDetailsElement) Get() *AuthorizationDetailsElement
func (NullableAuthorizationDetailsElement) IsSet ¶
func (v NullableAuthorizationDetailsElement) IsSet() bool
func (NullableAuthorizationDetailsElement) MarshalJSON ¶
func (v NullableAuthorizationDetailsElement) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationDetailsElement) Set ¶
func (v *NullableAuthorizationDetailsElement) Set(val *AuthorizationDetailsElement)
func (*NullableAuthorizationDetailsElement) UnmarshalJSON ¶
func (v *NullableAuthorizationDetailsElement) UnmarshalJSON(src []byte) error
func (*NullableAuthorizationDetailsElement) Unset ¶
func (v *NullableAuthorizationDetailsElement) Unset()
type NullableAuthorizationFailRequest ¶
type NullableAuthorizationFailRequest struct {
// contains filtered or unexported fields
}
func NewNullableAuthorizationFailRequest ¶
func NewNullableAuthorizationFailRequest(val *AuthorizationFailRequest) *NullableAuthorizationFailRequest
func (NullableAuthorizationFailRequest) Get ¶
func (v NullableAuthorizationFailRequest) Get() *AuthorizationFailRequest
func (NullableAuthorizationFailRequest) IsSet ¶
func (v NullableAuthorizationFailRequest) IsSet() bool
func (NullableAuthorizationFailRequest) MarshalJSON ¶
func (v NullableAuthorizationFailRequest) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationFailRequest) Set ¶
func (v *NullableAuthorizationFailRequest) Set(val *AuthorizationFailRequest)
func (*NullableAuthorizationFailRequest) UnmarshalJSON ¶
func (v *NullableAuthorizationFailRequest) UnmarshalJSON(src []byte) error
func (*NullableAuthorizationFailRequest) Unset ¶
func (v *NullableAuthorizationFailRequest) Unset()
type NullableAuthorizationFailResponse ¶
type NullableAuthorizationFailResponse struct {
// contains filtered or unexported fields
}
func NewNullableAuthorizationFailResponse ¶
func NewNullableAuthorizationFailResponse(val *AuthorizationFailResponse) *NullableAuthorizationFailResponse
func (NullableAuthorizationFailResponse) Get ¶
func (v NullableAuthorizationFailResponse) Get() *AuthorizationFailResponse
func (NullableAuthorizationFailResponse) IsSet ¶
func (v NullableAuthorizationFailResponse) IsSet() bool
func (NullableAuthorizationFailResponse) MarshalJSON ¶
func (v NullableAuthorizationFailResponse) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationFailResponse) Set ¶
func (v *NullableAuthorizationFailResponse) Set(val *AuthorizationFailResponse)
func (*NullableAuthorizationFailResponse) UnmarshalJSON ¶
func (v *NullableAuthorizationFailResponse) UnmarshalJSON(src []byte) error
func (*NullableAuthorizationFailResponse) Unset ¶
func (v *NullableAuthorizationFailResponse) Unset()
type NullableAuthorizationIssueRequest ¶
type NullableAuthorizationIssueRequest struct {
// contains filtered or unexported fields
}
func NewNullableAuthorizationIssueRequest ¶
func NewNullableAuthorizationIssueRequest(val *AuthorizationIssueRequest) *NullableAuthorizationIssueRequest
func (NullableAuthorizationIssueRequest) Get ¶
func (v NullableAuthorizationIssueRequest) Get() *AuthorizationIssueRequest
func (NullableAuthorizationIssueRequest) IsSet ¶
func (v NullableAuthorizationIssueRequest) IsSet() bool
func (NullableAuthorizationIssueRequest) MarshalJSON ¶
func (v NullableAuthorizationIssueRequest) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationIssueRequest) Set ¶
func (v *NullableAuthorizationIssueRequest) Set(val *AuthorizationIssueRequest)
func (*NullableAuthorizationIssueRequest) UnmarshalJSON ¶
func (v *NullableAuthorizationIssueRequest) UnmarshalJSON(src []byte) error
func (*NullableAuthorizationIssueRequest) Unset ¶
func (v *NullableAuthorizationIssueRequest) Unset()
type NullableAuthorizationIssueResponse ¶
type NullableAuthorizationIssueResponse struct {
// contains filtered or unexported fields
}
func NewNullableAuthorizationIssueResponse ¶
func NewNullableAuthorizationIssueResponse(val *AuthorizationIssueResponse) *NullableAuthorizationIssueResponse
func (NullableAuthorizationIssueResponse) Get ¶
func (v NullableAuthorizationIssueResponse) Get() *AuthorizationIssueResponse
func (NullableAuthorizationIssueResponse) IsSet ¶
func (v NullableAuthorizationIssueResponse) IsSet() bool
func (NullableAuthorizationIssueResponse) MarshalJSON ¶
func (v NullableAuthorizationIssueResponse) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationIssueResponse) Set ¶
func (v *NullableAuthorizationIssueResponse) Set(val *AuthorizationIssueResponse)
func (*NullableAuthorizationIssueResponse) UnmarshalJSON ¶
func (v *NullableAuthorizationIssueResponse) UnmarshalJSON(src []byte) error
func (*NullableAuthorizationIssueResponse) Unset ¶
func (v *NullableAuthorizationIssueResponse) Unset()
type NullableAuthorizationRequest ¶
type NullableAuthorizationRequest struct {
// contains filtered or unexported fields
}
func NewNullableAuthorizationRequest ¶
func NewNullableAuthorizationRequest(val *AuthorizationRequest) *NullableAuthorizationRequest
func (NullableAuthorizationRequest) Get ¶
func (v NullableAuthorizationRequest) Get() *AuthorizationRequest
func (NullableAuthorizationRequest) IsSet ¶
func (v NullableAuthorizationRequest) IsSet() bool
func (NullableAuthorizationRequest) MarshalJSON ¶
func (v NullableAuthorizationRequest) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationRequest) Set ¶
func (v *NullableAuthorizationRequest) Set(val *AuthorizationRequest)
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 NewNullableAuthorizationResponse ¶
func NewNullableAuthorizationResponse(val *AuthorizationResponse) *NullableAuthorizationResponse
func (NullableAuthorizationResponse) Get ¶
func (v NullableAuthorizationResponse) Get() *AuthorizationResponse
func (NullableAuthorizationResponse) IsSet ¶
func (v NullableAuthorizationResponse) IsSet() bool
func (NullableAuthorizationResponse) MarshalJSON ¶
func (v NullableAuthorizationResponse) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationResponse) Set ¶
func (v *NullableAuthorizationResponse) Set(val *AuthorizationResponse)
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 NewNullableBackchannelAuthenticationCompleteRequest ¶
func NewNullableBackchannelAuthenticationCompleteRequest(val *BackchannelAuthenticationCompleteRequest) *NullableBackchannelAuthenticationCompleteRequest
func (NullableBackchannelAuthenticationCompleteRequest) IsSet ¶
func (v NullableBackchannelAuthenticationCompleteRequest) IsSet() bool
func (NullableBackchannelAuthenticationCompleteRequest) MarshalJSON ¶
func (v NullableBackchannelAuthenticationCompleteRequest) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationCompleteRequest) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationCompleteRequest) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationCompleteRequest) Unset ¶
func (v *NullableBackchannelAuthenticationCompleteRequest) Unset()
type NullableBackchannelAuthenticationCompleteResponse ¶
type NullableBackchannelAuthenticationCompleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationCompleteResponse ¶
func NewNullableBackchannelAuthenticationCompleteResponse(val *BackchannelAuthenticationCompleteResponse) *NullableBackchannelAuthenticationCompleteResponse
func (NullableBackchannelAuthenticationCompleteResponse) IsSet ¶
func (v NullableBackchannelAuthenticationCompleteResponse) IsSet() bool
func (NullableBackchannelAuthenticationCompleteResponse) MarshalJSON ¶
func (v NullableBackchannelAuthenticationCompleteResponse) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationCompleteResponse) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationCompleteResponse) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationCompleteResponse) Unset ¶
func (v *NullableBackchannelAuthenticationCompleteResponse) Unset()
type NullableBackchannelAuthenticationFailRequest ¶
type NullableBackchannelAuthenticationFailRequest struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationFailRequest ¶
func NewNullableBackchannelAuthenticationFailRequest(val *BackchannelAuthenticationFailRequest) *NullableBackchannelAuthenticationFailRequest
func (NullableBackchannelAuthenticationFailRequest) IsSet ¶
func (v NullableBackchannelAuthenticationFailRequest) IsSet() bool
func (NullableBackchannelAuthenticationFailRequest) MarshalJSON ¶
func (v NullableBackchannelAuthenticationFailRequest) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationFailRequest) Set ¶
func (v *NullableBackchannelAuthenticationFailRequest) Set(val *BackchannelAuthenticationFailRequest)
func (*NullableBackchannelAuthenticationFailRequest) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationFailRequest) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationFailRequest) Unset ¶
func (v *NullableBackchannelAuthenticationFailRequest) Unset()
type NullableBackchannelAuthenticationFailResponse ¶
type NullableBackchannelAuthenticationFailResponse struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationFailResponse ¶
func NewNullableBackchannelAuthenticationFailResponse(val *BackchannelAuthenticationFailResponse) *NullableBackchannelAuthenticationFailResponse
func (NullableBackchannelAuthenticationFailResponse) IsSet ¶
func (v NullableBackchannelAuthenticationFailResponse) IsSet() bool
func (NullableBackchannelAuthenticationFailResponse) MarshalJSON ¶
func (v NullableBackchannelAuthenticationFailResponse) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationFailResponse) Set ¶
func (v *NullableBackchannelAuthenticationFailResponse) Set(val *BackchannelAuthenticationFailResponse)
func (*NullableBackchannelAuthenticationFailResponse) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationFailResponse) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationFailResponse) Unset ¶
func (v *NullableBackchannelAuthenticationFailResponse) Unset()
type NullableBackchannelAuthenticationIssueRequest ¶
type NullableBackchannelAuthenticationIssueRequest struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationIssueRequest ¶
func NewNullableBackchannelAuthenticationIssueRequest(val *BackchannelAuthenticationIssueRequest) *NullableBackchannelAuthenticationIssueRequest
func (NullableBackchannelAuthenticationIssueRequest) IsSet ¶
func (v NullableBackchannelAuthenticationIssueRequest) IsSet() bool
func (NullableBackchannelAuthenticationIssueRequest) MarshalJSON ¶
func (v NullableBackchannelAuthenticationIssueRequest) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationIssueRequest) Set ¶
func (v *NullableBackchannelAuthenticationIssueRequest) Set(val *BackchannelAuthenticationIssueRequest)
func (*NullableBackchannelAuthenticationIssueRequest) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationIssueRequest) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationIssueRequest) Unset ¶
func (v *NullableBackchannelAuthenticationIssueRequest) Unset()
type NullableBackchannelAuthenticationIssueResponse ¶
type NullableBackchannelAuthenticationIssueResponse struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationIssueResponse ¶
func NewNullableBackchannelAuthenticationIssueResponse(val *BackchannelAuthenticationIssueResponse) *NullableBackchannelAuthenticationIssueResponse
func (NullableBackchannelAuthenticationIssueResponse) IsSet ¶
func (v NullableBackchannelAuthenticationIssueResponse) IsSet() bool
func (NullableBackchannelAuthenticationIssueResponse) MarshalJSON ¶
func (v NullableBackchannelAuthenticationIssueResponse) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationIssueResponse) Set ¶
func (v *NullableBackchannelAuthenticationIssueResponse) Set(val *BackchannelAuthenticationIssueResponse)
func (*NullableBackchannelAuthenticationIssueResponse) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationIssueResponse) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationIssueResponse) Unset ¶
func (v *NullableBackchannelAuthenticationIssueResponse) Unset()
type NullableBackchannelAuthenticationRequest ¶
type NullableBackchannelAuthenticationRequest struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationRequest ¶
func NewNullableBackchannelAuthenticationRequest(val *BackchannelAuthenticationRequest) *NullableBackchannelAuthenticationRequest
func (NullableBackchannelAuthenticationRequest) IsSet ¶
func (v NullableBackchannelAuthenticationRequest) IsSet() bool
func (NullableBackchannelAuthenticationRequest) MarshalJSON ¶
func (v NullableBackchannelAuthenticationRequest) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationRequest) Set ¶
func (v *NullableBackchannelAuthenticationRequest) Set(val *BackchannelAuthenticationRequest)
func (*NullableBackchannelAuthenticationRequest) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationRequest) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationRequest) Unset ¶
func (v *NullableBackchannelAuthenticationRequest) Unset()
type NullableBackchannelAuthenticationResponse ¶
type NullableBackchannelAuthenticationResponse struct {
// contains filtered or unexported fields
}
func NewNullableBackchannelAuthenticationResponse ¶
func NewNullableBackchannelAuthenticationResponse(val *BackchannelAuthenticationResponse) *NullableBackchannelAuthenticationResponse
func (NullableBackchannelAuthenticationResponse) IsSet ¶
func (v NullableBackchannelAuthenticationResponse) IsSet() bool
func (NullableBackchannelAuthenticationResponse) MarshalJSON ¶
func (v NullableBackchannelAuthenticationResponse) MarshalJSON() ([]byte, error)
func (*NullableBackchannelAuthenticationResponse) Set ¶
func (v *NullableBackchannelAuthenticationResponse) Set(val *BackchannelAuthenticationResponse)
func (*NullableBackchannelAuthenticationResponse) UnmarshalJSON ¶
func (v *NullableBackchannelAuthenticationResponse) UnmarshalJSON(src []byte) error
func (*NullableBackchannelAuthenticationResponse) Unset ¶
func (v *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 NewNullableClientAuthenticationMethod ¶
func NewNullableClientAuthenticationMethod(val *ClientAuthenticationMethod) *NullableClientAuthenticationMethod
func (NullableClientAuthenticationMethod) Get ¶
func (v NullableClientAuthenticationMethod) Get() *ClientAuthenticationMethod
func (NullableClientAuthenticationMethod) IsSet ¶
func (v NullableClientAuthenticationMethod) IsSet() bool
func (NullableClientAuthenticationMethod) MarshalJSON ¶
func (v NullableClientAuthenticationMethod) MarshalJSON() ([]byte, error)
func (*NullableClientAuthenticationMethod) Set ¶
func (v *NullableClientAuthenticationMethod) Set(val *ClientAuthenticationMethod)
func (*NullableClientAuthenticationMethod) UnmarshalJSON ¶
func (v *NullableClientAuthenticationMethod) UnmarshalJSON(src []byte) error
func (*NullableClientAuthenticationMethod) Unset ¶
func (v *NullableClientAuthenticationMethod) Unset()
type NullableClientAuthorizationDeleteResponse ¶
type NullableClientAuthorizationDeleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientAuthorizationDeleteResponse ¶
func NewNullableClientAuthorizationDeleteResponse(val *ClientAuthorizationDeleteResponse) *NullableClientAuthorizationDeleteResponse
func (NullableClientAuthorizationDeleteResponse) IsSet ¶
func (v NullableClientAuthorizationDeleteResponse) IsSet() bool
func (NullableClientAuthorizationDeleteResponse) MarshalJSON ¶
func (v NullableClientAuthorizationDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableClientAuthorizationDeleteResponse) Set ¶
func (v *NullableClientAuthorizationDeleteResponse) Set(val *ClientAuthorizationDeleteResponse)
func (*NullableClientAuthorizationDeleteResponse) UnmarshalJSON ¶
func (v *NullableClientAuthorizationDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableClientAuthorizationDeleteResponse) Unset ¶
func (v *NullableClientAuthorizationDeleteResponse) Unset()
type NullableClientAuthorizationGetListResponse ¶
type NullableClientAuthorizationGetListResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientAuthorizationGetListResponse ¶
func NewNullableClientAuthorizationGetListResponse(val *ClientAuthorizationGetListResponse) *NullableClientAuthorizationGetListResponse
func (NullableClientAuthorizationGetListResponse) IsSet ¶
func (v NullableClientAuthorizationGetListResponse) IsSet() bool
func (NullableClientAuthorizationGetListResponse) MarshalJSON ¶
func (v NullableClientAuthorizationGetListResponse) MarshalJSON() ([]byte, error)
func (*NullableClientAuthorizationGetListResponse) Set ¶
func (v *NullableClientAuthorizationGetListResponse) Set(val *ClientAuthorizationGetListResponse)
func (*NullableClientAuthorizationGetListResponse) UnmarshalJSON ¶
func (v *NullableClientAuthorizationGetListResponse) UnmarshalJSON(src []byte) error
func (*NullableClientAuthorizationGetListResponse) Unset ¶
func (v *NullableClientAuthorizationGetListResponse) Unset()
type NullableClientAuthorizationUpdateRequest ¶
type NullableClientAuthorizationUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableClientAuthorizationUpdateRequest ¶
func NewNullableClientAuthorizationUpdateRequest(val *ClientAuthorizationUpdateRequest) *NullableClientAuthorizationUpdateRequest
func (NullableClientAuthorizationUpdateRequest) IsSet ¶
func (v NullableClientAuthorizationUpdateRequest) IsSet() bool
func (NullableClientAuthorizationUpdateRequest) MarshalJSON ¶
func (v NullableClientAuthorizationUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableClientAuthorizationUpdateRequest) Set ¶
func (v *NullableClientAuthorizationUpdateRequest) Set(val *ClientAuthorizationUpdateRequest)
func (*NullableClientAuthorizationUpdateRequest) UnmarshalJSON ¶
func (v *NullableClientAuthorizationUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableClientAuthorizationUpdateRequest) Unset ¶
func (v *NullableClientAuthorizationUpdateRequest) Unset()
type NullableClientAuthorizationUpdateResponse ¶
type NullableClientAuthorizationUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientAuthorizationUpdateResponse ¶
func NewNullableClientAuthorizationUpdateResponse(val *ClientAuthorizationUpdateResponse) *NullableClientAuthorizationUpdateResponse
func (NullableClientAuthorizationUpdateResponse) IsSet ¶
func (v NullableClientAuthorizationUpdateResponse) IsSet() bool
func (NullableClientAuthorizationUpdateResponse) MarshalJSON ¶
func (v NullableClientAuthorizationUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableClientAuthorizationUpdateResponse) Set ¶
func (v *NullableClientAuthorizationUpdateResponse) Set(val *ClientAuthorizationUpdateResponse)
func (*NullableClientAuthorizationUpdateResponse) UnmarshalJSON ¶
func (v *NullableClientAuthorizationUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableClientAuthorizationUpdateResponse) Unset ¶
func (v *NullableClientAuthorizationUpdateResponse) Unset()
type NullableClientExtension ¶
type NullableClientExtension struct {
// contains filtered or unexported fields
}
func NewNullableClientExtension ¶
func NewNullableClientExtension(val *ClientExtension) *NullableClientExtension
func (NullableClientExtension) Get ¶
func (v NullableClientExtension) Get() *ClientExtension
func (NullableClientExtension) IsSet ¶
func (v NullableClientExtension) IsSet() bool
func (NullableClientExtension) MarshalJSON ¶
func (v NullableClientExtension) MarshalJSON() ([]byte, error)
func (*NullableClientExtension) Set ¶
func (v *NullableClientExtension) Set(val *ClientExtension)
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 (v NullableClientFlagUpdateRequest) Get() *ClientFlagUpdateRequest
func (NullableClientFlagUpdateRequest) IsSet ¶ added in v1.2.0
func (v NullableClientFlagUpdateRequest) IsSet() bool
func (NullableClientFlagUpdateRequest) MarshalJSON ¶ added in v1.2.0
func (v NullableClientFlagUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableClientFlagUpdateRequest) Set ¶ added in v1.2.0
func (v *NullableClientFlagUpdateRequest) Set(val *ClientFlagUpdateRequest)
func (*NullableClientFlagUpdateRequest) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableClientFlagUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableClientFlagUpdateRequest) Unset ¶ added in v1.2.0
func (v *NullableClientFlagUpdateRequest) Unset()
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 (v NullableClientFlagUpdateResponse) Get() *ClientFlagUpdateResponse
func (NullableClientFlagUpdateResponse) IsSet ¶ added in v1.2.0
func (v NullableClientFlagUpdateResponse) IsSet() bool
func (NullableClientFlagUpdateResponse) MarshalJSON ¶ added in v1.2.0
func (v NullableClientFlagUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableClientFlagUpdateResponse) Set ¶ added in v1.2.0
func (v *NullableClientFlagUpdateResponse) Set(val *ClientFlagUpdateResponse)
func (*NullableClientFlagUpdateResponse) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableClientFlagUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableClientFlagUpdateResponse) Unset ¶ added in v1.2.0
func (v *NullableClientFlagUpdateResponse) Unset()
type NullableClientGetListResponse ¶
type NullableClientGetListResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientGetListResponse ¶
func NewNullableClientGetListResponse(val *ClientGetListResponse) *NullableClientGetListResponse
func (NullableClientGetListResponse) Get ¶
func (v NullableClientGetListResponse) Get() *ClientGetListResponse
func (NullableClientGetListResponse) IsSet ¶
func (v NullableClientGetListResponse) IsSet() bool
func (NullableClientGetListResponse) MarshalJSON ¶
func (v NullableClientGetListResponse) MarshalJSON() ([]byte, error)
func (*NullableClientGetListResponse) Set ¶
func (v *NullableClientGetListResponse) Set(val *ClientGetListResponse)
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 NewNullableClientGrantedScopesDeleteResponse ¶
func NewNullableClientGrantedScopesDeleteResponse(val *ClientGrantedScopesDeleteResponse) *NullableClientGrantedScopesDeleteResponse
func (NullableClientGrantedScopesDeleteResponse) IsSet ¶
func (v NullableClientGrantedScopesDeleteResponse) IsSet() bool
func (NullableClientGrantedScopesDeleteResponse) MarshalJSON ¶
func (v NullableClientGrantedScopesDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableClientGrantedScopesDeleteResponse) Set ¶
func (v *NullableClientGrantedScopesDeleteResponse) Set(val *ClientGrantedScopesDeleteResponse)
func (*NullableClientGrantedScopesDeleteResponse) UnmarshalJSON ¶
func (v *NullableClientGrantedScopesDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableClientGrantedScopesDeleteResponse) Unset ¶
func (v *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 (v NullableClientGrantedScopesGetResponse) Get() *ClientGrantedScopesGetResponse
func (NullableClientGrantedScopesGetResponse) IsSet ¶ added in v1.2.0
func (v NullableClientGrantedScopesGetResponse) IsSet() bool
func (NullableClientGrantedScopesGetResponse) MarshalJSON ¶ added in v1.2.0
func (v NullableClientGrantedScopesGetResponse) MarshalJSON() ([]byte, error)
func (*NullableClientGrantedScopesGetResponse) Set ¶ added in v1.2.0
func (v *NullableClientGrantedScopesGetResponse) Set(val *ClientGrantedScopesGetResponse)
func (*NullableClientGrantedScopesGetResponse) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableClientGrantedScopesGetResponse) UnmarshalJSON(src []byte) error
func (*NullableClientGrantedScopesGetResponse) Unset ¶ added in v1.2.0
func (v *NullableClientGrantedScopesGetResponse) Unset()
type NullableClientRegistrationDeleteRequest ¶
type NullableClientRegistrationDeleteRequest struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationDeleteRequest ¶
func NewNullableClientRegistrationDeleteRequest(val *ClientRegistrationDeleteRequest) *NullableClientRegistrationDeleteRequest
func (NullableClientRegistrationDeleteRequest) IsSet ¶
func (v NullableClientRegistrationDeleteRequest) IsSet() bool
func (NullableClientRegistrationDeleteRequest) MarshalJSON ¶
func (v NullableClientRegistrationDeleteRequest) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationDeleteRequest) Set ¶
func (v *NullableClientRegistrationDeleteRequest) Set(val *ClientRegistrationDeleteRequest)
func (*NullableClientRegistrationDeleteRequest) UnmarshalJSON ¶
func (v *NullableClientRegistrationDeleteRequest) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationDeleteRequest) Unset ¶
func (v *NullableClientRegistrationDeleteRequest) Unset()
type NullableClientRegistrationDeleteResponse ¶
type NullableClientRegistrationDeleteResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationDeleteResponse ¶
func NewNullableClientRegistrationDeleteResponse(val *ClientRegistrationDeleteResponse) *NullableClientRegistrationDeleteResponse
func (NullableClientRegistrationDeleteResponse) IsSet ¶
func (v NullableClientRegistrationDeleteResponse) IsSet() bool
func (NullableClientRegistrationDeleteResponse) MarshalJSON ¶
func (v NullableClientRegistrationDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationDeleteResponse) Set ¶
func (v *NullableClientRegistrationDeleteResponse) Set(val *ClientRegistrationDeleteResponse)
func (*NullableClientRegistrationDeleteResponse) UnmarshalJSON ¶
func (v *NullableClientRegistrationDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationDeleteResponse) Unset ¶
func (v *NullableClientRegistrationDeleteResponse) Unset()
type NullableClientRegistrationGetRequest ¶
type NullableClientRegistrationGetRequest struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationGetRequest ¶
func NewNullableClientRegistrationGetRequest(val *ClientRegistrationGetRequest) *NullableClientRegistrationGetRequest
func (NullableClientRegistrationGetRequest) Get ¶
func (v NullableClientRegistrationGetRequest) Get() *ClientRegistrationGetRequest
func (NullableClientRegistrationGetRequest) IsSet ¶
func (v NullableClientRegistrationGetRequest) IsSet() bool
func (NullableClientRegistrationGetRequest) MarshalJSON ¶
func (v NullableClientRegistrationGetRequest) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationGetRequest) Set ¶
func (v *NullableClientRegistrationGetRequest) Set(val *ClientRegistrationGetRequest)
func (*NullableClientRegistrationGetRequest) UnmarshalJSON ¶
func (v *NullableClientRegistrationGetRequest) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationGetRequest) Unset ¶
func (v *NullableClientRegistrationGetRequest) Unset()
type NullableClientRegistrationGetResponse ¶
type NullableClientRegistrationGetResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationGetResponse ¶
func NewNullableClientRegistrationGetResponse(val *ClientRegistrationGetResponse) *NullableClientRegistrationGetResponse
func (NullableClientRegistrationGetResponse) Get ¶
func (v NullableClientRegistrationGetResponse) Get() *ClientRegistrationGetResponse
func (NullableClientRegistrationGetResponse) IsSet ¶
func (v NullableClientRegistrationGetResponse) IsSet() bool
func (NullableClientRegistrationGetResponse) MarshalJSON ¶
func (v NullableClientRegistrationGetResponse) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationGetResponse) Set ¶
func (v *NullableClientRegistrationGetResponse) Set(val *ClientRegistrationGetResponse)
func (*NullableClientRegistrationGetResponse) UnmarshalJSON ¶
func (v *NullableClientRegistrationGetResponse) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationGetResponse) Unset ¶
func (v *NullableClientRegistrationGetResponse) Unset()
type NullableClientRegistrationRequest ¶
type NullableClientRegistrationRequest struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationRequest ¶
func NewNullableClientRegistrationRequest(val *ClientRegistrationRequest) *NullableClientRegistrationRequest
func (NullableClientRegistrationRequest) Get ¶
func (v NullableClientRegistrationRequest) Get() *ClientRegistrationRequest
func (NullableClientRegistrationRequest) IsSet ¶
func (v NullableClientRegistrationRequest) IsSet() bool
func (NullableClientRegistrationRequest) MarshalJSON ¶
func (v NullableClientRegistrationRequest) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationRequest) Set ¶
func (v *NullableClientRegistrationRequest) Set(val *ClientRegistrationRequest)
func (*NullableClientRegistrationRequest) UnmarshalJSON ¶
func (v *NullableClientRegistrationRequest) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationRequest) Unset ¶
func (v *NullableClientRegistrationRequest) Unset()
type NullableClientRegistrationResponse ¶
type NullableClientRegistrationResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationResponse ¶
func NewNullableClientRegistrationResponse(val *ClientRegistrationResponse) *NullableClientRegistrationResponse
func (NullableClientRegistrationResponse) Get ¶
func (v NullableClientRegistrationResponse) Get() *ClientRegistrationResponse
func (NullableClientRegistrationResponse) IsSet ¶
func (v NullableClientRegistrationResponse) IsSet() bool
func (NullableClientRegistrationResponse) MarshalJSON ¶
func (v NullableClientRegistrationResponse) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationResponse) Set ¶
func (v *NullableClientRegistrationResponse) Set(val *ClientRegistrationResponse)
func (*NullableClientRegistrationResponse) UnmarshalJSON ¶
func (v *NullableClientRegistrationResponse) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationResponse) Unset ¶
func (v *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 (v NullableClientRegistrationType) Get() *ClientRegistrationType
func (NullableClientRegistrationType) IsSet ¶ added in v1.1.1
func (v NullableClientRegistrationType) IsSet() bool
func (NullableClientRegistrationType) MarshalJSON ¶ added in v1.1.1
func (v NullableClientRegistrationType) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationType) Set ¶ added in v1.1.1
func (v *NullableClientRegistrationType) Set(val *ClientRegistrationType)
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 NewNullableClientRegistrationUpdateRequest ¶
func NewNullableClientRegistrationUpdateRequest(val *ClientRegistrationUpdateRequest) *NullableClientRegistrationUpdateRequest
func (NullableClientRegistrationUpdateRequest) IsSet ¶
func (v NullableClientRegistrationUpdateRequest) IsSet() bool
func (NullableClientRegistrationUpdateRequest) MarshalJSON ¶
func (v NullableClientRegistrationUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationUpdateRequest) Set ¶
func (v *NullableClientRegistrationUpdateRequest) Set(val *ClientRegistrationUpdateRequest)
func (*NullableClientRegistrationUpdateRequest) UnmarshalJSON ¶
func (v *NullableClientRegistrationUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationUpdateRequest) Unset ¶
func (v *NullableClientRegistrationUpdateRequest) Unset()
type NullableClientRegistrationUpdateResponse ¶
type NullableClientRegistrationUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientRegistrationUpdateResponse ¶
func NewNullableClientRegistrationUpdateResponse(val *ClientRegistrationUpdateResponse) *NullableClientRegistrationUpdateResponse
func (NullableClientRegistrationUpdateResponse) IsSet ¶
func (v NullableClientRegistrationUpdateResponse) IsSet() bool
func (NullableClientRegistrationUpdateResponse) MarshalJSON ¶
func (v NullableClientRegistrationUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableClientRegistrationUpdateResponse) Set ¶
func (v *NullableClientRegistrationUpdateResponse) Set(val *ClientRegistrationUpdateResponse)
func (*NullableClientRegistrationUpdateResponse) UnmarshalJSON ¶
func (v *NullableClientRegistrationUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableClientRegistrationUpdateResponse) Unset ¶
func (v *NullableClientRegistrationUpdateResponse) Unset()
type NullableClientSecretRefreshResponse ¶
type NullableClientSecretRefreshResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientSecretRefreshResponse ¶
func NewNullableClientSecretRefreshResponse(val *ClientSecretRefreshResponse) *NullableClientSecretRefreshResponse
func (NullableClientSecretRefreshResponse) Get ¶
func (v NullableClientSecretRefreshResponse) Get() *ClientSecretRefreshResponse
func (NullableClientSecretRefreshResponse) IsSet ¶
func (v NullableClientSecretRefreshResponse) IsSet() bool
func (NullableClientSecretRefreshResponse) MarshalJSON ¶
func (v NullableClientSecretRefreshResponse) MarshalJSON() ([]byte, error)
func (*NullableClientSecretRefreshResponse) Set ¶
func (v *NullableClientSecretRefreshResponse) Set(val *ClientSecretRefreshResponse)
func (*NullableClientSecretRefreshResponse) UnmarshalJSON ¶
func (v *NullableClientSecretRefreshResponse) UnmarshalJSON(src []byte) error
func (*NullableClientSecretRefreshResponse) Unset ¶
func (v *NullableClientSecretRefreshResponse) Unset()
type NullableClientSecretUpdateRequest ¶
type NullableClientSecretUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableClientSecretUpdateRequest ¶
func NewNullableClientSecretUpdateRequest(val *ClientSecretUpdateRequest) *NullableClientSecretUpdateRequest
func (NullableClientSecretUpdateRequest) Get ¶
func (v NullableClientSecretUpdateRequest) Get() *ClientSecretUpdateRequest
func (NullableClientSecretUpdateRequest) IsSet ¶
func (v NullableClientSecretUpdateRequest) IsSet() bool
func (NullableClientSecretUpdateRequest) MarshalJSON ¶
func (v NullableClientSecretUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableClientSecretUpdateRequest) Set ¶
func (v *NullableClientSecretUpdateRequest) Set(val *ClientSecretUpdateRequest)
func (*NullableClientSecretUpdateRequest) UnmarshalJSON ¶
func (v *NullableClientSecretUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableClientSecretUpdateRequest) Unset ¶
func (v *NullableClientSecretUpdateRequest) Unset()
type NullableClientSecretUpdateResponse ¶
type NullableClientSecretUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableClientSecretUpdateResponse ¶
func NewNullableClientSecretUpdateResponse(val *ClientSecretUpdateResponse) *NullableClientSecretUpdateResponse
func (NullableClientSecretUpdateResponse) Get ¶
func (v NullableClientSecretUpdateResponse) Get() *ClientSecretUpdateResponse
func (NullableClientSecretUpdateResponse) IsSet ¶
func (v NullableClientSecretUpdateResponse) IsSet() bool
func (NullableClientSecretUpdateResponse) MarshalJSON ¶
func (v NullableClientSecretUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableClientSecretUpdateResponse) Set ¶
func (v *NullableClientSecretUpdateResponse) Set(val *ClientSecretUpdateResponse)
func (*NullableClientSecretUpdateResponse) UnmarshalJSON ¶
func (v *NullableClientSecretUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableClientSecretUpdateResponse) Unset ¶
func (v *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 (v NullableDeliveryMode) Get() *DeliveryMode
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 NewNullableDeviceAuthorizationRequest ¶
func NewNullableDeviceAuthorizationRequest(val *DeviceAuthorizationRequest) *NullableDeviceAuthorizationRequest
func (NullableDeviceAuthorizationRequest) Get ¶
func (v NullableDeviceAuthorizationRequest) Get() *DeviceAuthorizationRequest
func (NullableDeviceAuthorizationRequest) IsSet ¶
func (v NullableDeviceAuthorizationRequest) IsSet() bool
func (NullableDeviceAuthorizationRequest) MarshalJSON ¶
func (v NullableDeviceAuthorizationRequest) MarshalJSON() ([]byte, error)
func (*NullableDeviceAuthorizationRequest) Set ¶
func (v *NullableDeviceAuthorizationRequest) Set(val *DeviceAuthorizationRequest)
func (*NullableDeviceAuthorizationRequest) UnmarshalJSON ¶
func (v *NullableDeviceAuthorizationRequest) UnmarshalJSON(src []byte) error
func (*NullableDeviceAuthorizationRequest) Unset ¶
func (v *NullableDeviceAuthorizationRequest) Unset()
type NullableDeviceAuthorizationResponse ¶
type NullableDeviceAuthorizationResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeviceAuthorizationResponse ¶
func NewNullableDeviceAuthorizationResponse(val *DeviceAuthorizationResponse) *NullableDeviceAuthorizationResponse
func (NullableDeviceAuthorizationResponse) Get ¶
func (v NullableDeviceAuthorizationResponse) Get() *DeviceAuthorizationResponse
func (NullableDeviceAuthorizationResponse) IsSet ¶
func (v NullableDeviceAuthorizationResponse) IsSet() bool
func (NullableDeviceAuthorizationResponse) MarshalJSON ¶
func (v NullableDeviceAuthorizationResponse) MarshalJSON() ([]byte, error)
func (*NullableDeviceAuthorizationResponse) Set ¶
func (v *NullableDeviceAuthorizationResponse) Set(val *DeviceAuthorizationResponse)
func (*NullableDeviceAuthorizationResponse) UnmarshalJSON ¶
func (v *NullableDeviceAuthorizationResponse) UnmarshalJSON(src []byte) error
func (*NullableDeviceAuthorizationResponse) Unset ¶
func (v *NullableDeviceAuthorizationResponse) Unset()
type NullableDeviceCompleteRequest ¶
type NullableDeviceCompleteRequest struct {
// contains filtered or unexported fields
}
func NewNullableDeviceCompleteRequest ¶
func NewNullableDeviceCompleteRequest(val *DeviceCompleteRequest) *NullableDeviceCompleteRequest
func (NullableDeviceCompleteRequest) Get ¶
func (v NullableDeviceCompleteRequest) Get() *DeviceCompleteRequest
func (NullableDeviceCompleteRequest) IsSet ¶
func (v NullableDeviceCompleteRequest) IsSet() bool
func (NullableDeviceCompleteRequest) MarshalJSON ¶
func (v NullableDeviceCompleteRequest) MarshalJSON() ([]byte, error)
func (*NullableDeviceCompleteRequest) Set ¶
func (v *NullableDeviceCompleteRequest) Set(val *DeviceCompleteRequest)
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 NewNullableDeviceCompleteResponse ¶
func NewNullableDeviceCompleteResponse(val *DeviceCompleteResponse) *NullableDeviceCompleteResponse
func (NullableDeviceCompleteResponse) Get ¶
func (v NullableDeviceCompleteResponse) Get() *DeviceCompleteResponse
func (NullableDeviceCompleteResponse) IsSet ¶
func (v NullableDeviceCompleteResponse) IsSet() bool
func (NullableDeviceCompleteResponse) MarshalJSON ¶
func (v NullableDeviceCompleteResponse) MarshalJSON() ([]byte, error)
func (*NullableDeviceCompleteResponse) Set ¶
func (v *NullableDeviceCompleteResponse) Set(val *DeviceCompleteResponse)
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 NewNullableDeviceVerificationRequest ¶
func NewNullableDeviceVerificationRequest(val *DeviceVerificationRequest) *NullableDeviceVerificationRequest
func (NullableDeviceVerificationRequest) Get ¶
func (v NullableDeviceVerificationRequest) Get() *DeviceVerificationRequest
func (NullableDeviceVerificationRequest) IsSet ¶
func (v NullableDeviceVerificationRequest) IsSet() bool
func (NullableDeviceVerificationRequest) MarshalJSON ¶
func (v NullableDeviceVerificationRequest) MarshalJSON() ([]byte, error)
func (*NullableDeviceVerificationRequest) Set ¶
func (v *NullableDeviceVerificationRequest) Set(val *DeviceVerificationRequest)
func (*NullableDeviceVerificationRequest) UnmarshalJSON ¶
func (v *NullableDeviceVerificationRequest) UnmarshalJSON(src []byte) error
func (*NullableDeviceVerificationRequest) Unset ¶
func (v *NullableDeviceVerificationRequest) Unset()
type NullableDeviceVerificationResponse ¶
type NullableDeviceVerificationResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeviceVerificationResponse ¶
func NewNullableDeviceVerificationResponse(val *DeviceVerificationResponse) *NullableDeviceVerificationResponse
func (NullableDeviceVerificationResponse) Get ¶
func (v NullableDeviceVerificationResponse) Get() *DeviceVerificationResponse
func (NullableDeviceVerificationResponse) IsSet ¶
func (v NullableDeviceVerificationResponse) IsSet() bool
func (NullableDeviceVerificationResponse) MarshalJSON ¶
func (v NullableDeviceVerificationResponse) MarshalJSON() ([]byte, error)
func (*NullableDeviceVerificationResponse) Set ¶
func (v *NullableDeviceVerificationResponse) Set(val *DeviceVerificationResponse)
func (*NullableDeviceVerificationResponse) UnmarshalJSON ¶
func (v *NullableDeviceVerificationResponse) UnmarshalJSON(src []byte) error
func (*NullableDeviceVerificationResponse) Unset ¶
func (v *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 (v NullableDynamicScope) Get() *DynamicScope
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) IsSet ¶ added in v1.1.1
func (v NullableFederationConfigurationResponse) IsSet() bool
func (NullableFederationConfigurationResponse) MarshalJSON ¶ added in v1.1.1
func (v NullableFederationConfigurationResponse) MarshalJSON() ([]byte, error)
func (*NullableFederationConfigurationResponse) Set ¶ added in v1.1.1
func (v *NullableFederationConfigurationResponse) Set(val *FederationConfigurationResponse)
func (*NullableFederationConfigurationResponse) UnmarshalJSON ¶ added in v1.1.1
func (v *NullableFederationConfigurationResponse) UnmarshalJSON(src []byte) error
func (*NullableFederationConfigurationResponse) Unset ¶ added in v1.1.1
func (v *NullableFederationConfigurationResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type 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 (v NullableGrantManagementAction) Get() *GrantManagementAction
func (NullableGrantManagementAction) IsSet ¶ added in v1.1.1
func (v NullableGrantManagementAction) IsSet() bool
func (NullableGrantManagementAction) MarshalJSON ¶ added in v1.1.1
func (v NullableGrantManagementAction) MarshalJSON() ([]byte, error)
func (*NullableGrantManagementAction) Set ¶ added in v1.1.1
func (v *NullableGrantManagementAction) Set(val *GrantManagementAction)
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 (v NullableInfoResponse) Get() *InfoResponse
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 (v NullableIntrospectionRequest) Get() *IntrospectionRequest
func (NullableIntrospectionRequest) IsSet ¶
func (v NullableIntrospectionRequest) IsSet() bool
func (NullableIntrospectionRequest) MarshalJSON ¶
func (v NullableIntrospectionRequest) MarshalJSON() ([]byte, error)
func (*NullableIntrospectionRequest) Set ¶
func (v *NullableIntrospectionRequest) Set(val *IntrospectionRequest)
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 NewNullableIntrospectionResponse ¶
func NewNullableIntrospectionResponse(val *IntrospectionResponse) *NullableIntrospectionResponse
func (NullableIntrospectionResponse) Get ¶
func (v NullableIntrospectionResponse) Get() *IntrospectionResponse
func (NullableIntrospectionResponse) IsSet ¶
func (v NullableIntrospectionResponse) IsSet() bool
func (NullableIntrospectionResponse) MarshalJSON ¶
func (v NullableIntrospectionResponse) MarshalJSON() ([]byte, error)
func (*NullableIntrospectionResponse) Set ¶
func (v *NullableIntrospectionResponse) Set(val *IntrospectionResponse)
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 (v NullableJoseVerifyRequest) Get() *JoseVerifyRequest
func (NullableJoseVerifyRequest) IsSet ¶
func (v NullableJoseVerifyRequest) IsSet() bool
func (NullableJoseVerifyRequest) MarshalJSON ¶
func (v NullableJoseVerifyRequest) MarshalJSON() ([]byte, error)
func (*NullableJoseVerifyRequest) Set ¶
func (v *NullableJoseVerifyRequest) Set(val *JoseVerifyRequest)
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 (v NullableJoseVerifyResponse) Get() *JoseVerifyResponse
func (NullableJoseVerifyResponse) IsSet ¶
func (v NullableJoseVerifyResponse) IsSet() bool
func (NullableJoseVerifyResponse) MarshalJSON ¶
func (v NullableJoseVerifyResponse) MarshalJSON() ([]byte, error)
func (*NullableJoseVerifyResponse) Set ¶
func (v *NullableJoseVerifyResponse) Set(val *JoseVerifyResponse)
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 (v NullablePushedAuthReqRequest) Get() *PushedAuthReqRequest
func (NullablePushedAuthReqRequest) IsSet ¶ added in v1.2.0
func (v NullablePushedAuthReqRequest) IsSet() bool
func (NullablePushedAuthReqRequest) MarshalJSON ¶ added in v1.2.0
func (v NullablePushedAuthReqRequest) MarshalJSON() ([]byte, error)
func (*NullablePushedAuthReqRequest) Set ¶ added in v1.2.0
func (v *NullablePushedAuthReqRequest) Set(val *PushedAuthReqRequest)
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 (v NullablePushedAuthReqResponse) Get() *PushedAuthReqResponse
func (NullablePushedAuthReqResponse) IsSet ¶ added in v1.2.0
func (v NullablePushedAuthReqResponse) IsSet() bool
func (NullablePushedAuthReqResponse) MarshalJSON ¶ added in v1.2.0
func (v NullablePushedAuthReqResponse) MarshalJSON() ([]byte, error)
func (*NullablePushedAuthReqResponse) Set ¶ added in v1.2.0
func (v *NullablePushedAuthReqResponse) Set(val *PushedAuthReqResponse)
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 NewNullablePushedAuthorizationRequest ¶
func NewNullablePushedAuthorizationRequest(val *PushedAuthorizationRequest) *NullablePushedAuthorizationRequest
func (NullablePushedAuthorizationRequest) Get ¶
func (v NullablePushedAuthorizationRequest) Get() *PushedAuthorizationRequest
func (NullablePushedAuthorizationRequest) IsSet ¶
func (v NullablePushedAuthorizationRequest) IsSet() bool
func (NullablePushedAuthorizationRequest) MarshalJSON ¶
func (v NullablePushedAuthorizationRequest) MarshalJSON() ([]byte, error)
func (*NullablePushedAuthorizationRequest) Set ¶
func (v *NullablePushedAuthorizationRequest) Set(val *PushedAuthorizationRequest)
func (*NullablePushedAuthorizationRequest) UnmarshalJSON ¶
func (v *NullablePushedAuthorizationRequest) UnmarshalJSON(src []byte) error
func (*NullablePushedAuthorizationRequest) Unset ¶
func (v *NullablePushedAuthorizationRequest) Unset()
type NullablePushedAuthorizationResponse ¶
type NullablePushedAuthorizationResponse struct {
// contains filtered or unexported fields
}
func NewNullablePushedAuthorizationResponse ¶
func NewNullablePushedAuthorizationResponse(val *PushedAuthorizationResponse) *NullablePushedAuthorizationResponse
func (NullablePushedAuthorizationResponse) Get ¶
func (v NullablePushedAuthorizationResponse) Get() *PushedAuthorizationResponse
func (NullablePushedAuthorizationResponse) IsSet ¶
func (v NullablePushedAuthorizationResponse) IsSet() bool
func (NullablePushedAuthorizationResponse) MarshalJSON ¶
func (v NullablePushedAuthorizationResponse) MarshalJSON() ([]byte, error)
func (*NullablePushedAuthorizationResponse) Set ¶
func (v *NullablePushedAuthorizationResponse) Set(val *PushedAuthorizationResponse)
func (*NullablePushedAuthorizationResponse) UnmarshalJSON ¶
func (v *NullablePushedAuthorizationResponse) UnmarshalJSON(src []byte) error
func (*NullablePushedAuthorizationResponse) Unset ¶
func (v *NullablePushedAuthorizationResponse) Unset()
type NullableResponseType ¶
type NullableResponseType struct {
// contains filtered or unexported fields
}
func NewNullableResponseType ¶
func NewNullableResponseType(val *ResponseType) *NullableResponseType
func (NullableResponseType) Get ¶
func (v NullableResponseType) Get() *ResponseType
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 (v NullableRevocationRequest) Get() *RevocationRequest
func (NullableRevocationRequest) IsSet ¶
func (v NullableRevocationRequest) IsSet() bool
func (NullableRevocationRequest) MarshalJSON ¶
func (v NullableRevocationRequest) MarshalJSON() ([]byte, error)
func (*NullableRevocationRequest) Set ¶
func (v *NullableRevocationRequest) Set(val *RevocationRequest)
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 (v NullableRevocationResponse) Get() *RevocationResponse
func (NullableRevocationResponse) IsSet ¶
func (v NullableRevocationResponse) IsSet() bool
func (NullableRevocationResponse) MarshalJSON ¶
func (v NullableRevocationResponse) MarshalJSON() ([]byte, error)
func (*NullableRevocationResponse) Set ¶
func (v *NullableRevocationResponse) Set(val *RevocationResponse)
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 NewNullableServiceGetListResponse ¶
func NewNullableServiceGetListResponse(val *ServiceGetListResponse) *NullableServiceGetListResponse
func (NullableServiceGetListResponse) Get ¶
func (v NullableServiceGetListResponse) Get() *ServiceGetListResponse
func (NullableServiceGetListResponse) IsSet ¶
func (v NullableServiceGetListResponse) IsSet() bool
func (NullableServiceGetListResponse) MarshalJSON ¶
func (v NullableServiceGetListResponse) MarshalJSON() ([]byte, error)
func (*NullableServiceGetListResponse) Set ¶
func (v *NullableServiceGetListResponse) Set(val *ServiceGetListResponse)
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 NewNullableServiceJwksGetResponse ¶
func NewNullableServiceJwksGetResponse(val *ServiceJwksGetResponse) *NullableServiceJwksGetResponse
func (NullableServiceJwksGetResponse) Get ¶
func (v NullableServiceJwksGetResponse) Get() *ServiceJwksGetResponse
func (NullableServiceJwksGetResponse) IsSet ¶
func (v NullableServiceJwksGetResponse) IsSet() bool
func (NullableServiceJwksGetResponse) MarshalJSON ¶
func (v NullableServiceJwksGetResponse) MarshalJSON() ([]byte, error)
func (*NullableServiceJwksGetResponse) Set ¶
func (v *NullableServiceJwksGetResponse) Set(val *ServiceJwksGetResponse)
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 (v NullableServiceProfile) Get() *ServiceProfile
func (NullableServiceProfile) IsSet ¶
func (v NullableServiceProfile) IsSet() bool
func (NullableServiceProfile) MarshalJSON ¶
func (v NullableServiceProfile) MarshalJSON() ([]byte, error)
func (*NullableServiceProfile) Set ¶
func (v *NullableServiceProfile) Set(val *ServiceProfile)
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 (v NullableSnsCredentials) Get() *SnsCredentials
func (NullableSnsCredentials) IsSet ¶
func (v NullableSnsCredentials) IsSet() bool
func (NullableSnsCredentials) MarshalJSON ¶
func (v NullableSnsCredentials) MarshalJSON() ([]byte, error)
func (*NullableSnsCredentials) Set ¶
func (v *NullableSnsCredentials) Set(val *SnsCredentials)
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 NewNullableStandardIntrospectionRequest ¶
func NewNullableStandardIntrospectionRequest(val *StandardIntrospectionRequest) *NullableStandardIntrospectionRequest
func (NullableStandardIntrospectionRequest) Get ¶
func (v NullableStandardIntrospectionRequest) Get() *StandardIntrospectionRequest
func (NullableStandardIntrospectionRequest) IsSet ¶
func (v NullableStandardIntrospectionRequest) IsSet() bool
func (NullableStandardIntrospectionRequest) MarshalJSON ¶
func (v NullableStandardIntrospectionRequest) MarshalJSON() ([]byte, error)
func (*NullableStandardIntrospectionRequest) Set ¶
func (v *NullableStandardIntrospectionRequest) Set(val *StandardIntrospectionRequest)
func (*NullableStandardIntrospectionRequest) UnmarshalJSON ¶
func (v *NullableStandardIntrospectionRequest) UnmarshalJSON(src []byte) error
func (*NullableStandardIntrospectionRequest) Unset ¶
func (v *NullableStandardIntrospectionRequest) Unset()
type NullableStandardIntrospectionResponse ¶
type NullableStandardIntrospectionResponse struct {
// contains filtered or unexported fields
}
func NewNullableStandardIntrospectionResponse ¶
func NewNullableStandardIntrospectionResponse(val *StandardIntrospectionResponse) *NullableStandardIntrospectionResponse
func (NullableStandardIntrospectionResponse) Get ¶
func (v NullableStandardIntrospectionResponse) Get() *StandardIntrospectionResponse
func (NullableStandardIntrospectionResponse) IsSet ¶
func (v NullableStandardIntrospectionResponse) IsSet() bool
func (NullableStandardIntrospectionResponse) MarshalJSON ¶
func (v NullableStandardIntrospectionResponse) MarshalJSON() ([]byte, error)
func (*NullableStandardIntrospectionResponse) Set ¶
func (v *NullableStandardIntrospectionResponse) Set(val *StandardIntrospectionResponse)
func (*NullableStandardIntrospectionResponse) UnmarshalJSON ¶
func (v *NullableStandardIntrospectionResponse) UnmarshalJSON(src []byte) error
func (*NullableStandardIntrospectionResponse) Unset ¶
func (v *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 (v NullableSubjectType) Get() *SubjectType
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 (v NullableTaggedValue) Get() *TaggedValue
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 (v NullableTokenCreateRequest) Get() *TokenCreateRequest
func (NullableTokenCreateRequest) IsSet ¶
func (v NullableTokenCreateRequest) IsSet() bool
func (NullableTokenCreateRequest) MarshalJSON ¶
func (v NullableTokenCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableTokenCreateRequest) Set ¶
func (v *NullableTokenCreateRequest) Set(val *TokenCreateRequest)
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 (v NullableTokenCreateResponse) Get() *TokenCreateResponse
func (NullableTokenCreateResponse) IsSet ¶
func (v NullableTokenCreateResponse) IsSet() bool
func (NullableTokenCreateResponse) MarshalJSON ¶
func (v NullableTokenCreateResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenCreateResponse) Set ¶
func (v *NullableTokenCreateResponse) Set(val *TokenCreateResponse)
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 (v NullableTokenFailRequest) Get() *TokenFailRequest
func (NullableTokenFailRequest) IsSet ¶
func (v NullableTokenFailRequest) IsSet() bool
func (NullableTokenFailRequest) MarshalJSON ¶
func (v NullableTokenFailRequest) MarshalJSON() ([]byte, error)
func (*NullableTokenFailRequest) Set ¶
func (v *NullableTokenFailRequest) Set(val *TokenFailRequest)
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 (v NullableTokenFailResponse) Get() *TokenFailResponse
func (NullableTokenFailResponse) IsSet ¶
func (v NullableTokenFailResponse) IsSet() bool
func (NullableTokenFailResponse) MarshalJSON ¶
func (v NullableTokenFailResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenFailResponse) Set ¶
func (v *NullableTokenFailResponse) Set(val *TokenFailResponse)
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 (v NullableTokenGetListResponse) Get() *TokenGetListResponse
func (NullableTokenGetListResponse) IsSet ¶
func (v NullableTokenGetListResponse) IsSet() bool
func (NullableTokenGetListResponse) MarshalJSON ¶
func (v NullableTokenGetListResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenGetListResponse) Set ¶
func (v *NullableTokenGetListResponse) Set(val *TokenGetListResponse)
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 (v NullableTokenIssueRequest) Get() *TokenIssueRequest
func (NullableTokenIssueRequest) IsSet ¶
func (v NullableTokenIssueRequest) IsSet() bool
func (NullableTokenIssueRequest) MarshalJSON ¶
func (v NullableTokenIssueRequest) MarshalJSON() ([]byte, error)
func (*NullableTokenIssueRequest) Set ¶
func (v *NullableTokenIssueRequest) Set(val *TokenIssueRequest)
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 (v NullableTokenIssueResponse) Get() *TokenIssueResponse
func (NullableTokenIssueResponse) IsSet ¶
func (v NullableTokenIssueResponse) IsSet() bool
func (NullableTokenIssueResponse) MarshalJSON ¶
func (v NullableTokenIssueResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenIssueResponse) Set ¶
func (v *NullableTokenIssueResponse) Set(val *TokenIssueResponse)
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 (v NullableTokenRequest) Get() *TokenRequest
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 (v NullableTokenResponse) Get() *TokenResponse
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 (v NullableTokenRevokeRequest) Get() *TokenRevokeRequest
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 (v *NullableTokenRevokeRequest) Set(val *TokenRevokeRequest)
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 (v NullableTokenRevokeResponse) Get() *TokenRevokeResponse
func (NullableTokenRevokeResponse) IsSet ¶ added in v1.1.1
func (v NullableTokenRevokeResponse) IsSet() bool
func (NullableTokenRevokeResponse) MarshalJSON ¶ added in v1.1.1
func (v NullableTokenRevokeResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenRevokeResponse) Set ¶ added in v1.1.1
func (v *NullableTokenRevokeResponse) Set(val *TokenRevokeResponse)
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 (v NullableTokenUpdateRequest) Get() *TokenUpdateRequest
func (NullableTokenUpdateRequest) IsSet ¶
func (v NullableTokenUpdateRequest) IsSet() bool
func (NullableTokenUpdateRequest) MarshalJSON ¶
func (v NullableTokenUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableTokenUpdateRequest) Set ¶
func (v *NullableTokenUpdateRequest) Set(val *TokenUpdateRequest)
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 (v NullableTokenUpdateResponse) Get() *TokenUpdateResponse
func (NullableTokenUpdateResponse) IsSet ¶
func (v NullableTokenUpdateResponse) IsSet() bool
func (NullableTokenUpdateResponse) MarshalJSON ¶
func (v NullableTokenUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableTokenUpdateResponse) Set ¶
func (v *NullableTokenUpdateResponse) Set(val *TokenUpdateResponse)
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 (v NullableTrustAnchor) Get() *TrustAnchor
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 (v NullableUserCodeCharset) Get() *UserCodeCharset
func (NullableUserCodeCharset) IsSet ¶
func (v NullableUserCodeCharset) IsSet() bool
func (NullableUserCodeCharset) MarshalJSON ¶
func (v NullableUserCodeCharset) MarshalJSON() ([]byte, error)
func (*NullableUserCodeCharset) Set ¶
func (v *NullableUserCodeCharset) Set(val *UserCodeCharset)
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 (v NullableUserinfoIssueRequest) Get() *UserinfoIssueRequest
func (NullableUserinfoIssueRequest) IsSet ¶
func (v NullableUserinfoIssueRequest) IsSet() bool
func (NullableUserinfoIssueRequest) MarshalJSON ¶
func (v NullableUserinfoIssueRequest) MarshalJSON() ([]byte, error)
func (*NullableUserinfoIssueRequest) Set ¶
func (v *NullableUserinfoIssueRequest) Set(val *UserinfoIssueRequest)
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 NewNullableUserinfoIssueResponse ¶
func NewNullableUserinfoIssueResponse(val *UserinfoIssueResponse) *NullableUserinfoIssueResponse
func (NullableUserinfoIssueResponse) Get ¶
func (v NullableUserinfoIssueResponse) Get() *UserinfoIssueResponse
func (NullableUserinfoIssueResponse) IsSet ¶
func (v NullableUserinfoIssueResponse) IsSet() bool
func (NullableUserinfoIssueResponse) MarshalJSON ¶
func (v NullableUserinfoIssueResponse) MarshalJSON() ([]byte, error)
func (*NullableUserinfoIssueResponse) Set ¶
func (v *NullableUserinfoIssueResponse) Set(val *UserinfoIssueResponse)
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 (v NullableUserinfoRequest) Get() *UserinfoRequest
func (NullableUserinfoRequest) IsSet ¶
func (v NullableUserinfoRequest) IsSet() bool
func (NullableUserinfoRequest) MarshalJSON ¶
func (v NullableUserinfoRequest) MarshalJSON() ([]byte, error)
func (*NullableUserinfoRequest) Set ¶
func (v *NullableUserinfoRequest) Set(val *UserinfoRequest)
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 (v NullableUserinfoResponse) Get() *UserinfoResponse
func (NullableUserinfoResponse) IsSet ¶
func (v NullableUserinfoResponse) IsSet() bool
func (NullableUserinfoResponse) MarshalJSON ¶
func (v NullableUserinfoResponse) MarshalJSON() ([]byte, error)
func (*NullableUserinfoResponse) Set ¶
func (v *NullableUserinfoResponse) Set(val *UserinfoResponse)
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 (v NullableVerifiedClaimsValidationSchema) Get() *VerifiedClaimsValidationSchema
func (NullableVerifiedClaimsValidationSchema) IsSet ¶ added in v1.2.3
func (v NullableVerifiedClaimsValidationSchema) IsSet() bool
func (NullableVerifiedClaimsValidationSchema) MarshalJSON ¶ added in v1.2.3
func (v NullableVerifiedClaimsValidationSchema) MarshalJSON() ([]byte, error)
func (*NullableVerifiedClaimsValidationSchema) Set ¶ added in v1.2.3
func (v *NullableVerifiedClaimsValidationSchema) Set(val *VerifiedClaimsValidationSchema)
func (*NullableVerifiedClaimsValidationSchema) UnmarshalJSON ¶ added in v1.2.3
func (v *NullableVerifiedClaimsValidationSchema) UnmarshalJSON(src []byte) error
func (*NullableVerifiedClaimsValidationSchema) Unset ¶ added in v1.2.3
func (v *NullableVerifiedClaimsValidationSchema) Unset()
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) GetKeyOk ¶
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) GetValueOk ¶
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) MarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
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) GetHiddenOk ¶
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) GetKeyOk ¶
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) GetValueOk ¶
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) MarshalJSON ¶
func (*Property) SetHidden ¶
SetHidden gets a reference to the given bool and assigns it to the Hidden field.
func (*Property) SetKey ¶
SetKey gets a reference to the given string and assigns it to the Key field.
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
func (a *PushedAuthorizationEndpointApiService) PushedAuthReqApi(ctx context.Context) ApiPushedAuthReqApiRequest
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
func (a *PushedAuthorizationEndpointApiService) PushedAuthReqApiExecute(r ApiPushedAuthReqApiRequest) (*PushedAuthorizationResponse, *http.Response, error)
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 ¶
GetResultCode returns the ResultCode field value if set, zero value otherwise.
func (*Result) GetResultCodeOk ¶
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 ¶
GetResultMessage returns the ResultMessage field value if set, zero value otherwise.
func (*Result) GetResultMessageOk ¶
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 ¶
HasResultCode returns a boolean if a field has been set.
func (*Result) HasResultMessage ¶
HasResultMessage returns a boolean if a field has been set.
func (Result) MarshalJSON ¶
func (*Result) SetResultCode ¶
SetResultCode gets a reference to the given string and assigns it to the ResultCode field.
func (*Result) SetResultMessage ¶
SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.
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 ¶
func (a *RevocationEndpointApiService) AuthRevocationApi(ctx context.Context) ApiAuthRevocationApiRequest
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 ¶
func (a *RevocationEndpointApiService) AuthRevocationApiExecute(r ApiAuthRevocationApiRequest) (*RevocationResponse, *http.Response, error)
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 ¶
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Scope) GetAttributesOk ¶
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 ¶
GetDefaultEntry returns the DefaultEntry field value if set, zero value otherwise.
func (*Scope) GetDefaultEntryOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Scope) GetDescriptionOk ¶
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) GetNameOk ¶
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 ¶
HasAttributes returns a boolean if a field has been set.
func (*Scope) HasDefaultEntry ¶
HasDefaultEntry returns a boolean if a field has been set.
func (*Scope) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Scope) HasDescriptions ¶
HasDescriptions returns a boolean if a field has been set.
func (Scope) MarshalJSON ¶
func (*Scope) SetAttributes ¶
SetAttributes gets a reference to the given []Pair and assigns it to the Attributes field.
func (*Scope) SetDefaultEntry ¶
SetDefaultEntry gets a reference to the given bool and assigns it to the DefaultEntry field.
func (*Scope) SetDescription ¶
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.
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
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
func (a *ServerMetadataApiService) InfoApi(ctx context.Context) ApiInfoApiRequest
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
func (a *ServerMetadataApiService) InfoApiExecute(r ApiInfoApiRequest) (*InfoResponse, *http.Response, error)
Execute executes the request
@return InfoResponse
type ServerVariable ¶
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"` 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 ¶
GetAccessTokenDuration returns the AccessTokenDuration field value if set, zero value otherwise.
func (*Service) GetAccessTokenDurationOk ¶
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
GetAccessTokenForExternalAttachmentEmbedded returns the AccessTokenForExternalAttachmentEmbedded field value if set, zero value otherwise.
func (*Service) GetAccessTokenForExternalAttachmentEmbeddedOk ¶ added in v1.1.1
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 ¶
GetAccessTokenSignAlg returns the AccessTokenSignAlg field value if set, zero value otherwise.
func (*Service) GetAccessTokenSignAlgOk ¶
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 ¶
GetAccessTokenSignatureKeyId returns the AccessTokenSignatureKeyId field value if set, zero value otherwise.
func (*Service) GetAccessTokenSignatureKeyIdOk ¶
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 ¶
GetAccessTokenType returns the AccessTokenType field value if set, zero value otherwise.
func (*Service) GetAccessTokenTypeOk ¶
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 ¶
GetAllowableClockSkew returns the AllowableClockSkew field value if set, zero value otherwise.
func (*Service) GetAllowableClockSkewOk ¶
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) GetApiKeyOk ¶
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 ¶
GetApiSecret returns the ApiSecret field value if set, zero value otherwise.
func (*Service) GetApiSecretOk ¶
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 ¶
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Service) GetAttributesOk ¶
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 ¶
GetAuthenticationCallbackApiKey returns the AuthenticationCallbackApiKey field value if set, zero value otherwise.
func (*Service) GetAuthenticationCallbackApiKeyOk ¶
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 ¶
GetAuthenticationCallbackApiSecret returns the AuthenticationCallbackApiSecret field value if set, zero value otherwise.
func (*Service) GetAuthenticationCallbackApiSecretOk ¶
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 ¶
GetAuthenticationCallbackEndpoint returns the AuthenticationCallbackEndpoint field value if set, zero value otherwise.
func (*Service) GetAuthenticationCallbackEndpointOk ¶
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
GetAuthorityHints returns the AuthorityHints field value if set, zero value otherwise.
func (*Service) GetAuthorityHintsOk ¶ added in v1.1.1
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 ¶
GetAuthorizationEndpoint returns the AuthorizationEndpoint field value if set, zero value otherwise.
func (*Service) GetAuthorizationEndpointOk ¶
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 ¶
GetAuthorizationResponseDuration returns the AuthorizationResponseDuration field value if set, zero value otherwise.
func (*Service) GetAuthorizationResponseDurationOk ¶
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 ¶
GetAuthorizationSignatureKeyId returns the AuthorizationSignatureKeyId field value if set, zero value otherwise.
func (*Service) GetAuthorizationSignatureKeyIdOk ¶
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 ¶
GetBackchannelAuthReqIdDuration returns the BackchannelAuthReqIdDuration field value if set, zero value otherwise.
func (*Service) GetBackchannelAuthReqIdDurationOk ¶
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 ¶
GetBackchannelAuthenticationEndpoint returns the BackchannelAuthenticationEndpoint field value if set, zero value otherwise.
func (*Service) GetBackchannelAuthenticationEndpointOk ¶
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 ¶
GetBackchannelBindingMessageRequiredInFapi returns the BackchannelBindingMessageRequiredInFapi field value if set, zero value otherwise.
func (*Service) GetBackchannelBindingMessageRequiredInFapiOk ¶
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 ¶
GetBackchannelPollingInterval returns the BackchannelPollingInterval field value if set, zero value otherwise.
func (*Service) GetBackchannelPollingIntervalOk ¶
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 ¶
GetBackchannelUserCodeParameterSupported returns the BackchannelUserCodeParameterSupported field value if set, zero value otherwise.
func (*Service) GetBackchannelUserCodeParameterSupportedOk ¶
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 ¶
GetClaimShortcutRestrictive returns the ClaimShortcutRestrictive field value if set, zero value otherwise.
func (*Service) GetClaimShortcutRestrictiveOk ¶
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 ¶
GetClientIdAliasEnabled returns the ClientIdAliasEnabled field value if set, zero value otherwise.
func (*Service) GetClientIdAliasEnabledOk ¶
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 ¶
GetClientsPerDeveloper returns the ClientsPerDeveloper field value if set, zero value otherwise.
func (*Service) GetClientsPerDeveloperOk ¶
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 ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Service) GetCreatedAtOk ¶
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
GetDcrDuplicateSoftwareIdBlocked returns the DcrDuplicateSoftwareIdBlocked field value if set, zero value otherwise.
func (*Service) GetDcrDuplicateSoftwareIdBlockedOk ¶ added in v1.1.0
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 ¶
GetDcrScopeUsedAsRequestable returns the DcrScopeUsedAsRequestable field value if set, zero value otherwise.
func (*Service) GetDcrScopeUsedAsRequestableOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Service) GetDescriptionOk ¶
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 ¶
GetDeveloperAuthenticationCallbackApiKey returns the DeveloperAuthenticationCallbackApiKey field value if set, zero value otherwise.
func (*Service) GetDeveloperAuthenticationCallbackApiKeyOk ¶
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 ¶
GetDeveloperAuthenticationCallbackApiSecret returns the DeveloperAuthenticationCallbackApiSecret field value if set, zero value otherwise.
func (*Service) GetDeveloperAuthenticationCallbackApiSecretOk ¶
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 ¶
GetDeveloperAuthenticationCallbackEndpoint returns the DeveloperAuthenticationCallbackEndpoint field value if set, zero value otherwise.
func (*Service) GetDeveloperAuthenticationCallbackEndpointOk ¶
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 ¶
GetDeveloperSnsCredentials returns the DeveloperSnsCredentials field value if set, zero value otherwise.
func (*Service) GetDeveloperSnsCredentialsOk ¶
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 ¶
GetDeviceAuthorizationEndpoint returns the DeviceAuthorizationEndpoint field value if set, zero value otherwise.
func (*Service) GetDeviceAuthorizationEndpointOk ¶
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 ¶
GetDeviceFlowCodeDuration returns the DeviceFlowCodeDuration field value if set, zero value otherwise.
func (*Service) GetDeviceFlowCodeDurationOk ¶
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 ¶
GetDeviceFlowPollingInterval returns the DeviceFlowPollingInterval field value if set, zero value otherwise.
func (*Service) GetDeviceFlowPollingIntervalOk ¶
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 ¶
GetDeviceVerificationUri returns the DeviceVerificationUri field value if set, zero value otherwise.
func (*Service) GetDeviceVerificationUriComplete ¶
GetDeviceVerificationUriComplete returns the DeviceVerificationUriComplete field value if set, zero value otherwise.
func (*Service) GetDeviceVerificationUriCompleteOk ¶
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 ¶
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 ¶
GetDirectAuthorizationEndpointEnabled returns the DirectAuthorizationEndpointEnabled field value if set, zero value otherwise.
func (*Service) GetDirectAuthorizationEndpointEnabledOk ¶
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 ¶
GetDirectIntrospectionEndpointEnabled returns the DirectIntrospectionEndpointEnabled field value if set, zero value otherwise.
func (*Service) GetDirectIntrospectionEndpointEnabledOk ¶
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 ¶
GetDirectJwksEndpointEnabled returns the DirectJwksEndpointEnabled field value if set, zero value otherwise.
func (*Service) GetDirectJwksEndpointEnabledOk ¶
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 ¶
GetDirectRevocationEndpointEnabled returns the DirectRevocationEndpointEnabled field value if set, zero value otherwise.
func (*Service) GetDirectRevocationEndpointEnabledOk ¶
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 ¶
GetDirectTokenEndpointEnabled returns the DirectTokenEndpointEnabled field value if set, zero value otherwise.
func (*Service) GetDirectTokenEndpointEnabledOk ¶
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 ¶
GetDirectUserInfoEndpointEnabled returns the DirectUserInfoEndpointEnabled field value if set, zero value otherwise.
func (*Service) GetDirectUserInfoEndpointEnabledOk ¶
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 ¶
GetDynamicRegistrationSupported returns the DynamicRegistrationSupported field value if set, zero value otherwise.
func (*Service) GetDynamicRegistrationSupportedOk ¶
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 ¶
GetEndSessionEndpoint returns the EndSessionEndpoint field value if set, zero value otherwise.
func (*Service) GetEndSessionEndpointOk ¶
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 ¶
GetErrorDescriptionOmitted returns the ErrorDescriptionOmitted field value if set, zero value otherwise.
func (*Service) GetErrorDescriptionOmittedOk ¶
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 ¶
GetErrorUriOmitted returns the ErrorUriOmitted field value if set, zero value otherwise.
func (*Service) GetErrorUriOmittedOk ¶
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
GetFederationConfigurationDuration returns the FederationConfigurationDuration field value if set, zero value otherwise.
func (*Service) GetFederationConfigurationDurationOk ¶ added in v1.1.1
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
GetFederationEnabled returns the FederationEnabled field value if set, zero value otherwise.
func (*Service) GetFederationEnabledOk ¶ added in v1.1.1
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
GetFederationJwks returns the FederationJwks field value if set, zero value otherwise.
func (*Service) GetFederationJwksOk ¶ added in v1.1.1
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
GetFederationRegistrationEndpoint returns the FederationRegistrationEndpoint field value if set, zero value otherwise.
func (*Service) GetFederationRegistrationEndpointOk ¶ added in v1.1.1
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
GetFederationSignatureKeyId returns the FederationSignatureKeyId field value if set, zero value otherwise.
func (*Service) GetFederationSignatureKeyIdOk ¶ added in v1.1.1
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 ¶
GetFrontChannelRequestObjectEncryptionRequired returns the FrontChannelRequestObjectEncryptionRequired field value if set, zero value otherwise.
func (*Service) GetFrontChannelRequestObjectEncryptionRequiredOk ¶
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 ¶
GetGrantManagementActionRequired returns the GrantManagementActionRequired field value if set, zero value otherwise.
func (*Service) GetGrantManagementActionRequiredOk ¶
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 ¶
GetGrantManagementEndpoint returns the GrantManagementEndpoint field value if set, zero value otherwise.
func (*Service) GetGrantManagementEndpointOk ¶
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) GetHsksOk ¶
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 ¶
GetHsmEnabled returns the HsmEnabled field value if set, zero value otherwise.
func (*Service) GetHsmEnabledOk ¶
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 ¶
GetIdTokenDuration returns the IdTokenDuration field value if set, zero value otherwise.
func (*Service) GetIdTokenDurationOk ¶
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 ¶
GetIdTokenSignatureKeyId returns the IdTokenSignatureKeyId field value if set, zero value otherwise.
func (*Service) GetIdTokenSignatureKeyIdOk ¶
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 ¶
GetIntrospectionEndpoint returns the IntrospectionEndpoint field value if set, zero value otherwise.
func (*Service) GetIntrospectionEndpointOk ¶
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 ¶
GetIssSuppressed returns the IssSuppressed field value if set, zero value otherwise.
func (*Service) GetIssSuppressedOk ¶
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) GetIssuerOk ¶
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) GetJwksOk ¶
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 ¶
GetJwksUri returns the JwksUri field value if set, zero value otherwise.
func (*Service) GetJwksUriOk ¶
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
GetJwtGrantByIdentifiableClientsOnly returns the JwtGrantByIdentifiableClientsOnly field value if set, zero value otherwise.
func (*Service) GetJwtGrantByIdentifiableClientsOnlyOk ¶ added in v1.1.1
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
GetJwtGrantEncryptedJwtRejected returns the JwtGrantEncryptedJwtRejected field value if set, zero value otherwise.
func (*Service) GetJwtGrantEncryptedJwtRejectedOk ¶ added in v1.1.1
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
GetJwtGrantUnsignedJwtRejected returns the JwtGrantUnsignedJwtRejected field value if set, zero value otherwise.
func (*Service) GetJwtGrantUnsignedJwtRejectedOk ¶ added in v1.1.1
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
GetLoopbackRedirectionUriVariable returns the LoopbackRedirectionUriVariable field value if set, zero value otherwise.
func (*Service) GetLoopbackRedirectionUriVariableOk ¶ added in v0.2.0
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 ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Service) GetMetadataOk ¶
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 ¶
GetMissingClientIdAllowed returns the MissingClientIdAllowed field value if set, zero value otherwise.
func (*Service) GetMissingClientIdAllowedOk ¶
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 ¶
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*Service) GetModifiedAtOk ¶
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 ¶
GetMtlsEndpointAliases returns the MtlsEndpointAliases field value if set, zero value otherwise.
func (*Service) GetMtlsEndpointAliasesOk ¶
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 ¶
GetMutualTlsValidatePkiCertChain returns the MutualTlsValidatePkiCertChain field value if set, zero value otherwise.
func (*Service) GetMutualTlsValidatePkiCertChainOk ¶
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 ¶
GetNbfOptional returns the NbfOptional field value if set, zero value otherwise.
func (*Service) GetNbfOptionalOk ¶
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) GetNumberOk ¶
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
GetOpenidDroppedOnRefreshWithoutOfflineAccess returns the OpenidDroppedOnRefreshWithoutOfflineAccess field value if set, zero value otherwise.
func (*Service) GetOpenidDroppedOnRefreshWithoutOfflineAccessOk ¶ added in v1.1.1
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
GetOrganizationName returns the OrganizationName field value if set, zero value otherwise.
func (*Service) GetOrganizationNameOk ¶ added in v1.1.1
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 ¶
GetParRequired returns the ParRequired field value if set, zero value otherwise.
func (*Service) GetParRequiredOk ¶
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 ¶
GetPkceRequired returns the PkceRequired field value if set, zero value otherwise.
func (*Service) GetPkceRequiredOk ¶
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 ¶
GetPkceS256Required returns the PkceS256Required field value if set, zero value otherwise.
func (*Service) GetPkceS256RequiredOk ¶
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 ¶
GetPolicyUri returns the PolicyUri field value if set, zero value otherwise.
func (*Service) GetPolicyUriOk ¶
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
GetPredefinedTransformedClaims returns the PredefinedTransformedClaims field value if set, zero value otherwise.
func (*Service) GetPredefinedTransformedClaimsOk ¶ added in v1.1.1
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 ¶
GetPushedAuthReqDuration returns the PushedAuthReqDuration field value if set, zero value otherwise.
func (*Service) GetPushedAuthReqDurationOk ¶
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 ¶
GetPushedAuthReqEndpoint returns the PushedAuthReqEndpoint field value if set, zero value otherwise.
func (*Service) GetPushedAuthReqEndpointOk ¶
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 ¶
GetRefreshTokenDuration returns the RefreshTokenDuration field value if set, zero value otherwise.
func (*Service) GetRefreshTokenDurationKept ¶
GetRefreshTokenDurationKept returns the RefreshTokenDurationKept field value if set, zero value otherwise.
func (*Service) GetRefreshTokenDurationKeptOk ¶
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 ¶
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 ¶
GetRefreshTokenDurationReset returns the RefreshTokenDurationReset field value if set, zero value otherwise.
func (*Service) GetRefreshTokenDurationResetOk ¶
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
GetRefreshTokenIdempotent returns the RefreshTokenIdempotent field value if set, zero value otherwise.
func (*Service) GetRefreshTokenIdempotentOk ¶ added in v1.1.1
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 ¶
GetRefreshTokenKept returns the RefreshTokenKept field value if set, zero value otherwise.
func (*Service) GetRefreshTokenKeptOk ¶
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 ¶
GetRegistrationEndpoint returns the RegistrationEndpoint field value if set, zero value otherwise.
func (*Service) GetRegistrationEndpointOk ¶
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 ¶
GetRegistrationManagementEndpoint returns the RegistrationManagementEndpoint field value if set, zero value otherwise.
func (*Service) GetRegistrationManagementEndpointOk ¶
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
GetRequestObjectAudienceChecked returns the RequestObjectAudienceChecked field value if set, zero value otherwise.
func (*Service) GetRequestObjectAudienceCheckedOk ¶ added in v1.0.0
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 ¶
GetRequestObjectEncryptionAlgMatchRequired returns the RequestObjectEncryptionAlgMatchRequired field value if set, zero value otherwise.
func (*Service) GetRequestObjectEncryptionAlgMatchRequiredOk ¶
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 ¶
GetRequestObjectEncryptionEncMatchRequired returns the RequestObjectEncryptionEncMatchRequired field value if set, zero value otherwise.
func (*Service) GetRequestObjectEncryptionEncMatchRequiredOk ¶
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 ¶
GetRequestObjectRequired returns the RequestObjectRequired field value if set, zero value otherwise.
func (*Service) GetRequestObjectRequiredOk ¶
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 ¶
GetRevocationEndpoint returns the RevocationEndpoint field value if set, zero value otherwise.
func (*Service) GetRevocationEndpointOk ¶
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
GetRsResponseSigned returns the RsResponseSigned field value if set, zero value otherwise.
func (*Service) GetRsResponseSignedOk ¶ added in v1.2.0
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
GetRsSignedRequestKeyId returns the RsSignedRequestKeyId field value if set, zero value otherwise.
func (*Service) GetRsSignedRequestKeyIdOk ¶ added in v1.2.0
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 ¶
GetScopeRequired returns the ScopeRequired field value if set, zero value otherwise.
func (*Service) GetScopeRequiredOk ¶
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 ¶
GetServiceDocumentation returns the ServiceDocumentation field value if set, zero value otherwise.
func (*Service) GetServiceDocumentationOk ¶
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 ¶
GetServiceName returns the ServiceName field value if set, zero value otherwise.
func (*Service) GetServiceNameOk ¶
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 ¶
GetServiceOwnerNumber returns the ServiceOwnerNumber field value if set, zero value otherwise.
func (*Service) GetServiceOwnerNumberOk ¶
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
GetSignedJwksUri returns the SignedJwksUri field value if set, zero value otherwise.
func (*Service) GetSignedJwksUriOk ¶ added in v1.1.1
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 ¶
GetSingleAccessTokenPerSubject returns the SingleAccessTokenPerSubject field value if set, zero value otherwise.
func (*Service) GetSingleAccessTokenPerSubjectOk ¶
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 ¶
GetSupportedAcrs returns the SupportedAcrs field value if set, zero value otherwise.
func (*Service) GetSupportedAcrsOk ¶
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 ¶
GetSupportedAuthorizationDetailsTypes returns the SupportedAuthorizationDetailsTypes field value if set, zero value otherwise.
func (*Service) GetSupportedAuthorizationDetailsTypesOk ¶
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 ¶
GetSupportedClaimLocales returns the SupportedClaimLocales field value if set, zero value otherwise.
func (*Service) GetSupportedClaimLocalesOk ¶
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 ¶
GetSupportedClaimTypes returns the SupportedClaimTypes field value if set, zero value otherwise.
func (*Service) GetSupportedClaimTypesOk ¶
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 ¶
GetSupportedClaims returns the SupportedClaims field value if set, zero value otherwise.
func (*Service) GetSupportedClaimsOk ¶
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 ¶
GetSupportedCustomClientMetadata returns the SupportedCustomClientMetadata field value if set, zero value otherwise.
func (*Service) GetSupportedCustomClientMetadataOk ¶
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 ¶
GetSupportedDeveloperSnses returns the SupportedDeveloperSnses field value if set, zero value otherwise.
func (*Service) GetSupportedDeveloperSnsesOk ¶
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
GetSupportedDigestAlgorithms returns the SupportedDigestAlgorithms field value if set, zero value otherwise.
func (*Service) GetSupportedDigestAlgorithmsOk ¶ added in v1.1.1
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 ¶
GetSupportedDisplays returns the SupportedDisplays field value if set, zero value otherwise.
func (*Service) GetSupportedDisplaysOk ¶
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
GetSupportedDocuments returns the SupportedDocuments field value if set, zero value otherwise.
func (*Service) GetSupportedDocumentsCheckMethods ¶ added in v1.2.0
GetSupportedDocumentsCheckMethods returns the SupportedDocumentsCheckMethods field value if set, zero value otherwise.
func (*Service) GetSupportedDocumentsCheckMethodsOk ¶ added in v1.2.0
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
GetSupportedDocumentsMethods returns the SupportedDocumentsMethods field value if set, zero value otherwise.
func (*Service) GetSupportedDocumentsMethodsOk ¶ added in v1.1.1
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
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
GetSupportedDocumentsValidationMethods returns the SupportedDocumentsValidationMethods field value if set, zero value otherwise.
func (*Service) GetSupportedDocumentsValidationMethodsOk ¶ added in v1.1.1
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
GetSupportedDocumentsVerificationMethods returns the SupportedDocumentsVerificationMethods field value if set, zero value otherwise.
func (*Service) GetSupportedDocumentsVerificationMethodsOk ¶ added in v1.1.1
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
GetSupportedElectronicRecords returns the SupportedElectronicRecords field value if set, zero value otherwise.
func (*Service) GetSupportedElectronicRecordsOk ¶ added in v1.1.1
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 ¶
GetSupportedEvidence returns the SupportedEvidence field value if set, zero value otherwise.
func (*Service) GetSupportedEvidenceOk ¶
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 ¶
GetSupportedGrantTypes returns the SupportedGrantTypes field value if set, zero value otherwise.
func (*Service) GetSupportedGrantTypesOk ¶
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 ¶
GetSupportedIdentityDocuments returns the SupportedIdentityDocuments field value if set, zero value otherwise.
func (*Service) GetSupportedIdentityDocumentsOk ¶
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 ¶
GetSupportedScopes returns the SupportedScopes field value if set, zero value otherwise.
func (*Service) GetSupportedScopesOk ¶
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 ¶
GetSupportedSnses returns the SupportedSnses field value if set, zero value otherwise.
func (*Service) GetSupportedSnsesOk ¶
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 ¶
GetSupportedTrustFrameworks returns the SupportedTrustFrameworks field value if set, zero value otherwise.
func (*Service) GetSupportedTrustFrameworksOk ¶
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 ¶
GetSupportedUiLocales returns the SupportedUiLocales field value if set, zero value otherwise.
func (*Service) GetSupportedUiLocalesOk ¶
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 ¶
GetSupportedVerificationMethods returns the SupportedVerificationMethods field value if set, zero value otherwise.
func (*Service) GetSupportedVerificationMethodsOk ¶
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 ¶
GetSupportedVerifiedClaims returns the SupportedVerifiedClaims field value if set, zero value otherwise.
func (*Service) GetSupportedVerifiedClaimsOk ¶
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 ¶
GetTlsClientCertificateBoundAccessTokens returns the TlsClientCertificateBoundAccessTokens field value if set, zero value otherwise.
func (*Service) GetTlsClientCertificateBoundAccessTokensOk ¶
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 ¶
GetTokenEndpoint returns the TokenEndpoint field value if set, zero value otherwise.
func (*Service) GetTokenEndpointOk ¶
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
GetTokenExchangeByConfidentialClientsOnly returns the TokenExchangeByConfidentialClientsOnly field value if set, zero value otherwise.
func (*Service) GetTokenExchangeByConfidentialClientsOnlyOk ¶ added in v1.1.1
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
GetTokenExchangeByIdentifiableClientsOnly returns the TokenExchangeByIdentifiableClientsOnly field value if set, zero value otherwise.
func (*Service) GetTokenExchangeByIdentifiableClientsOnlyOk ¶ added in v1.1.1
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
GetTokenExchangeByPermittedClientsOnly returns the TokenExchangeByPermittedClientsOnly field value if set, zero value otherwise.
func (*Service) GetTokenExchangeByPermittedClientsOnlyOk ¶ added in v1.1.1
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
GetTokenExchangeEncryptedJwtRejected returns the TokenExchangeEncryptedJwtRejected field value if set, zero value otherwise.
func (*Service) GetTokenExchangeEncryptedJwtRejectedOk ¶ added in v1.1.1
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
GetTokenExchangeUnsignedJwtRejected returns the TokenExchangeUnsignedJwtRejected field value if set, zero value otherwise.
func (*Service) GetTokenExchangeUnsignedJwtRejectedOk ¶ added in v1.1.1
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 ¶
GetTokenExpirationLinked returns the TokenExpirationLinked field value if set, zero value otherwise.
func (*Service) GetTokenExpirationLinkedOk ¶
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) GetTosUriOk ¶
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 ¶
GetTraditionalRequestObjectProcessingApplied returns the TraditionalRequestObjectProcessingApplied field value if set, zero value otherwise.
func (*Service) GetTraditionalRequestObjectProcessingAppliedOk ¶
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 ¶
GetTrustedRootCertificates returns the TrustedRootCertificates field value if set, zero value otherwise.
func (*Service) GetTrustedRootCertificatesOk ¶
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 ¶
GetUnauthorizedOnClientConfigSupported returns the UnauthorizedOnClientConfigSupported field value if set, zero value otherwise.
func (*Service) GetUnauthorizedOnClientConfigSupportedOk ¶
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 ¶
GetUserCodeLength returns the UserCodeLength field value if set, zero value otherwise.
func (*Service) GetUserCodeLengthOk ¶
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 ¶
GetUserInfoEndpoint returns the UserInfoEndpoint field value if set, zero value otherwise.
func (*Service) GetUserInfoEndpointOk ¶
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 ¶
GetUserInfoSignatureKeyId returns the UserInfoSignatureKeyId field value if set, zero value otherwise.
func (*Service) GetUserInfoSignatureKeyIdOk ¶
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 ¶
HasAccessTokenDuration returns a boolean if a field has been set.
func (*Service) HasAccessTokenForExternalAttachmentEmbedded ¶ added in v1.1.1
HasAccessTokenForExternalAttachmentEmbedded returns a boolean if a field has been set.
func (*Service) HasAccessTokenSignAlg ¶
HasAccessTokenSignAlg returns a boolean if a field has been set.
func (*Service) HasAccessTokenSignatureKeyId ¶
HasAccessTokenSignatureKeyId returns a boolean if a field has been set.
func (*Service) HasAccessTokenType ¶
HasAccessTokenType returns a boolean if a field has been set.
func (*Service) HasAllowableClockSkew ¶
HasAllowableClockSkew returns a boolean if a field has been set.
func (*Service) HasApiSecret ¶
HasApiSecret returns a boolean if a field has been set.
func (*Service) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*Service) HasAuthenticationCallbackApiKey ¶
HasAuthenticationCallbackApiKey returns a boolean if a field has been set.
func (*Service) HasAuthenticationCallbackApiSecret ¶
HasAuthenticationCallbackApiSecret returns a boolean if a field has been set.
func (*Service) HasAuthenticationCallbackEndpoint ¶
HasAuthenticationCallbackEndpoint returns a boolean if a field has been set.
func (*Service) HasAuthorityHints ¶ added in v1.1.1
HasAuthorityHints returns a boolean if a field has been set.
func (*Service) HasAuthorizationEndpoint ¶
HasAuthorizationEndpoint returns a boolean if a field has been set.
func (*Service) HasAuthorizationResponseDuration ¶
HasAuthorizationResponseDuration returns a boolean if a field has been set.
func (*Service) HasAuthorizationSignatureKeyId ¶
HasAuthorizationSignatureKeyId returns a boolean if a field has been set.
func (*Service) HasBackchannelAuthReqIdDuration ¶
HasBackchannelAuthReqIdDuration returns a boolean if a field has been set.
func (*Service) HasBackchannelAuthenticationEndpoint ¶
HasBackchannelAuthenticationEndpoint returns a boolean if a field has been set.
func (*Service) HasBackchannelBindingMessageRequiredInFapi ¶
HasBackchannelBindingMessageRequiredInFapi returns a boolean if a field has been set.
func (*Service) HasBackchannelPollingInterval ¶
HasBackchannelPollingInterval returns a boolean if a field has been set.
func (*Service) HasBackchannelUserCodeParameterSupported ¶
HasBackchannelUserCodeParameterSupported returns a boolean if a field has been set.
func (*Service) HasClaimShortcutRestrictive ¶
HasClaimShortcutRestrictive returns a boolean if a field has been set.
func (*Service) HasClientIdAliasEnabled ¶
HasClientIdAliasEnabled returns a boolean if a field has been set.
func (*Service) HasClientsPerDeveloper ¶
HasClientsPerDeveloper returns a boolean if a field has been set.
func (*Service) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Service) HasDcrDuplicateSoftwareIdBlocked ¶ added in v1.1.0
HasDcrDuplicateSoftwareIdBlocked returns a boolean if a field has been set.
func (*Service) HasDcrScopeUsedAsRequestable ¶
HasDcrScopeUsedAsRequestable returns a boolean if a field has been set.
func (*Service) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Service) HasDeveloperAuthenticationCallbackApiKey ¶
HasDeveloperAuthenticationCallbackApiKey returns a boolean if a field has been set.
func (*Service) HasDeveloperAuthenticationCallbackApiSecret ¶
HasDeveloperAuthenticationCallbackApiSecret returns a boolean if a field has been set.
func (*Service) HasDeveloperAuthenticationCallbackEndpoint ¶
HasDeveloperAuthenticationCallbackEndpoint returns a boolean if a field has been set.
func (*Service) HasDeveloperSnsCredentials ¶
HasDeveloperSnsCredentials returns a boolean if a field has been set.
func (*Service) HasDeviceAuthorizationEndpoint ¶
HasDeviceAuthorizationEndpoint returns a boolean if a field has been set.
func (*Service) HasDeviceFlowCodeDuration ¶
HasDeviceFlowCodeDuration returns a boolean if a field has been set.
func (*Service) HasDeviceFlowPollingInterval ¶
HasDeviceFlowPollingInterval returns a boolean if a field has been set.
func (*Service) HasDeviceVerificationUri ¶
HasDeviceVerificationUri returns a boolean if a field has been set.
func (*Service) HasDeviceVerificationUriComplete ¶
HasDeviceVerificationUriComplete returns a boolean if a field has been set.
func (*Service) HasDirectAuthorizationEndpointEnabled ¶
HasDirectAuthorizationEndpointEnabled returns a boolean if a field has been set.
func (*Service) HasDirectIntrospectionEndpointEnabled ¶
HasDirectIntrospectionEndpointEnabled returns a boolean if a field has been set.
func (*Service) HasDirectJwksEndpointEnabled ¶
HasDirectJwksEndpointEnabled returns a boolean if a field has been set.
func (*Service) HasDirectRevocationEndpointEnabled ¶
HasDirectRevocationEndpointEnabled returns a boolean if a field has been set.
func (*Service) HasDirectTokenEndpointEnabled ¶
HasDirectTokenEndpointEnabled returns a boolean if a field has been set.
func (*Service) HasDirectUserInfoEndpointEnabled ¶
HasDirectUserInfoEndpointEnabled returns a boolean if a field has been set.
func (*Service) HasDynamicRegistrationSupported ¶
HasDynamicRegistrationSupported returns a boolean if a field has been set.
func (*Service) HasEndSessionEndpoint ¶
HasEndSessionEndpoint returns a boolean if a field has been set.
func (*Service) HasErrorDescriptionOmitted ¶
HasErrorDescriptionOmitted returns a boolean if a field has been set.
func (*Service) HasErrorUriOmitted ¶
HasErrorUriOmitted returns a boolean if a field has been set.
func (*Service) HasFederationConfigurationDuration ¶ added in v1.1.1
HasFederationConfigurationDuration returns a boolean if a field has been set.
func (*Service) HasFederationEnabled ¶ added in v1.1.1
HasFederationEnabled returns a boolean if a field has been set.
func (*Service) HasFederationJwks ¶ added in v1.1.1
HasFederationJwks returns a boolean if a field has been set.
func (*Service) HasFederationRegistrationEndpoint ¶ added in v1.1.1
HasFederationRegistrationEndpoint returns a boolean if a field has been set.
func (*Service) HasFederationSignatureKeyId ¶ added in v1.1.1
HasFederationSignatureKeyId returns a boolean if a field has been set.
func (*Service) HasFrontChannelRequestObjectEncryptionRequired ¶
HasFrontChannelRequestObjectEncryptionRequired returns a boolean if a field has been set.
func (*Service) HasGrantManagementActionRequired ¶
HasGrantManagementActionRequired returns a boolean if a field has been set.
func (*Service) HasGrantManagementEndpoint ¶
HasGrantManagementEndpoint returns a boolean if a field has been set.
func (*Service) HasHsmEnabled ¶
HasHsmEnabled returns a boolean if a field has been set.
func (*Service) HasIdTokenDuration ¶
HasIdTokenDuration returns a boolean if a field has been set.
func (*Service) HasIdTokenSignatureKeyId ¶
HasIdTokenSignatureKeyId returns a boolean if a field has been set.
func (*Service) HasIntrospectionEndpoint ¶
HasIntrospectionEndpoint returns a boolean if a field has been set.
func (*Service) HasIssSuppressed ¶
HasIssSuppressed returns a boolean if a field has been set.
func (*Service) HasJwksUri ¶
HasJwksUri returns a boolean if a field has been set.
func (*Service) HasJwtGrantByIdentifiableClientsOnly ¶ added in v1.1.1
HasJwtGrantByIdentifiableClientsOnly returns a boolean if a field has been set.
func (*Service) HasJwtGrantEncryptedJwtRejected ¶ added in v1.1.1
HasJwtGrantEncryptedJwtRejected returns a boolean if a field has been set.
func (*Service) HasJwtGrantUnsignedJwtRejected ¶ added in v1.1.1
HasJwtGrantUnsignedJwtRejected returns a boolean if a field has been set.
func (*Service) HasLoopbackRedirectionUriVariable ¶ added in v0.2.0
HasLoopbackRedirectionUriVariable returns a boolean if a field has been set.
func (*Service) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Service) HasMissingClientIdAllowed ¶
HasMissingClientIdAllowed returns a boolean if a field has been set.
func (*Service) HasModifiedAt ¶
HasModifiedAt returns a boolean if a field has been set.
func (*Service) HasMtlsEndpointAliases ¶
HasMtlsEndpointAliases returns a boolean if a field has been set.
func (*Service) HasMutualTlsValidatePkiCertChain ¶
HasMutualTlsValidatePkiCertChain returns a boolean if a field has been set.
func (*Service) HasNbfOptional ¶
HasNbfOptional returns a boolean if a field has been set.
func (*Service) HasOpenidDroppedOnRefreshWithoutOfflineAccess ¶ added in v1.1.1
HasOpenidDroppedOnRefreshWithoutOfflineAccess returns a boolean if a field has been set.
func (*Service) HasOrganizationName ¶ added in v1.1.1
HasOrganizationName returns a boolean if a field has been set.
func (*Service) HasParRequired ¶
HasParRequired returns a boolean if a field has been set.
func (*Service) HasPkceRequired ¶
HasPkceRequired returns a boolean if a field has been set.
func (*Service) HasPkceS256Required ¶
HasPkceS256Required returns a boolean if a field has been set.
func (*Service) HasPolicyUri ¶
HasPolicyUri returns a boolean if a field has been set.
func (*Service) HasPredefinedTransformedClaims ¶ added in v1.1.1
HasPredefinedTransformedClaims returns a boolean if a field has been set.
func (*Service) HasPushedAuthReqDuration ¶
HasPushedAuthReqDuration returns a boolean if a field has been set.
func (*Service) HasPushedAuthReqEndpoint ¶
HasPushedAuthReqEndpoint returns a boolean if a field has been set.
func (*Service) HasRefreshTokenDuration ¶
HasRefreshTokenDuration returns a boolean if a field has been set.
func (*Service) HasRefreshTokenDurationKept ¶
HasRefreshTokenDurationKept returns a boolean if a field has been set.
func (*Service) HasRefreshTokenDurationReset ¶
HasRefreshTokenDurationReset returns a boolean if a field has been set.
func (*Service) HasRefreshTokenIdempotent ¶ added in v1.1.1
HasRefreshTokenIdempotent returns a boolean if a field has been set.
func (*Service) HasRefreshTokenKept ¶
HasRefreshTokenKept returns a boolean if a field has been set.
func (*Service) HasRegistrationEndpoint ¶
HasRegistrationEndpoint returns a boolean if a field has been set.
func (*Service) HasRegistrationManagementEndpoint ¶
HasRegistrationManagementEndpoint returns a boolean if a field has been set.
func (*Service) HasRequestObjectAudienceChecked ¶ added in v1.0.0
HasRequestObjectAudienceChecked returns a boolean if a field has been set.
func (*Service) HasRequestObjectEncryptionAlgMatchRequired ¶
HasRequestObjectEncryptionAlgMatchRequired returns a boolean if a field has been set.
func (*Service) HasRequestObjectEncryptionEncMatchRequired ¶
HasRequestObjectEncryptionEncMatchRequired returns a boolean if a field has been set.
func (*Service) HasRequestObjectRequired ¶
HasRequestObjectRequired returns a boolean if a field has been set.
func (*Service) HasRevocationEndpoint ¶
HasRevocationEndpoint returns a boolean if a field has been set.
func (*Service) HasRsResponseSigned ¶ added in v1.2.0
HasRsResponseSigned returns a boolean if a field has been set.
func (*Service) HasRsSignedRequestKeyId ¶ added in v1.2.0
HasRsSignedRequestKeyId returns a boolean if a field has been set.
func (*Service) HasScopeRequired ¶
HasScopeRequired returns a boolean if a field has been set.
func (*Service) HasServiceDocumentation ¶
HasServiceDocumentation returns a boolean if a field has been set.
func (*Service) HasServiceName ¶
HasServiceName returns a boolean if a field has been set.
func (*Service) HasServiceOwnerNumber ¶
HasServiceOwnerNumber returns a boolean if a field has been set.
func (*Service) HasSignedJwksUri ¶ added in v1.1.1
HasSignedJwksUri returns a boolean if a field has been set.
func (*Service) HasSingleAccessTokenPerSubject ¶
HasSingleAccessTokenPerSubject returns a boolean if a field has been set.
func (*Service) HasSnsCredentials ¶
HasSnsCredentials returns a boolean if a field has been set.
func (*Service) HasSupportedAcrs ¶
HasSupportedAcrs returns a boolean if a field has been set.
func (*Service) HasSupportedAttachments ¶ added in v1.1.1
HasSupportedAttachments returns a boolean if a field has been set.
func (*Service) HasSupportedAuthorizationDetailsTypes ¶
HasSupportedAuthorizationDetailsTypes returns a boolean if a field has been set.
func (*Service) HasSupportedBackchannelTokenDeliveryModes ¶
HasSupportedBackchannelTokenDeliveryModes returns a boolean if a field has been set.
func (*Service) HasSupportedClaimLocales ¶
HasSupportedClaimLocales returns a boolean if a field has been set.
func (*Service) HasSupportedClaimTypes ¶
HasSupportedClaimTypes returns a boolean if a field has been set.
func (*Service) HasSupportedClaims ¶
HasSupportedClaims returns a boolean if a field has been set.
func (*Service) HasSupportedClientRegistrationTypes ¶ added in v1.1.1
HasSupportedClientRegistrationTypes returns a boolean if a field has been set.
func (*Service) HasSupportedCustomClientMetadata ¶
HasSupportedCustomClientMetadata returns a boolean if a field has been set.
func (*Service) HasSupportedDeveloperSnses ¶
HasSupportedDeveloperSnses returns a boolean if a field has been set.
func (*Service) HasSupportedDigestAlgorithms ¶ added in v1.1.1
HasSupportedDigestAlgorithms returns a boolean if a field has been set.
func (*Service) HasSupportedDisplays ¶
HasSupportedDisplays returns a boolean if a field has been set.
func (*Service) HasSupportedDocuments ¶ added in v1.1.1
HasSupportedDocuments returns a boolean if a field has been set.
func (*Service) HasSupportedDocumentsCheckMethods ¶ added in v1.2.0
HasSupportedDocumentsCheckMethods returns a boolean if a field has been set.
func (*Service) HasSupportedDocumentsMethods ¶ added in v1.1.1
HasSupportedDocumentsMethods returns a boolean if a field has been set.
func (*Service) HasSupportedDocumentsValidationMethods ¶ added in v1.1.1
HasSupportedDocumentsValidationMethods returns a boolean if a field has been set.
func (*Service) HasSupportedDocumentsVerificationMethods ¶ added in v1.1.1
HasSupportedDocumentsVerificationMethods returns a boolean if a field has been set.
func (*Service) HasSupportedElectronicRecords ¶ added in v1.1.1
HasSupportedElectronicRecords returns a boolean if a field has been set.
func (*Service) HasSupportedEvidence ¶
HasSupportedEvidence returns a boolean if a field has been set.
func (*Service) HasSupportedGrantTypes ¶
HasSupportedGrantTypes returns a boolean if a field has been set.
func (*Service) HasSupportedIdentityDocuments ¶
HasSupportedIdentityDocuments returns a boolean if a field has been set.
func (*Service) HasSupportedIntrospectionAuthMethods ¶
HasSupportedIntrospectionAuthMethods returns a boolean if a field has been set.
func (*Service) HasSupportedResponseTypes ¶
HasSupportedResponseTypes returns a boolean if a field has been set.
func (*Service) HasSupportedRevocationAuthMethods ¶
HasSupportedRevocationAuthMethods returns a boolean if a field has been set.
func (*Service) HasSupportedScopes ¶
HasSupportedScopes returns a boolean if a field has been set.
func (*Service) HasSupportedServiceProfiles ¶
HasSupportedServiceProfiles returns a boolean if a field has been set.
func (*Service) HasSupportedSnses ¶
HasSupportedSnses returns a boolean if a field has been set.
func (*Service) HasSupportedTokenAuthMethods ¶
HasSupportedTokenAuthMethods returns a boolean if a field has been set.
func (*Service) HasSupportedTrustFrameworks ¶
HasSupportedTrustFrameworks returns a boolean if a field has been set.
func (*Service) HasSupportedUiLocales ¶
HasSupportedUiLocales returns a boolean if a field has been set.
func (*Service) HasSupportedVerificationMethods ¶
HasSupportedVerificationMethods returns a boolean if a field has been set.
func (*Service) HasSupportedVerifiedClaims ¶
HasSupportedVerifiedClaims returns a boolean if a field has been set.
func (*Service) HasTlsClientCertificateBoundAccessTokens ¶
HasTlsClientCertificateBoundAccessTokens returns a boolean if a field has been set.
func (*Service) HasTokenEndpoint ¶
HasTokenEndpoint returns a boolean if a field has been set.
func (*Service) HasTokenExchangeByConfidentialClientsOnly ¶ added in v1.1.1
HasTokenExchangeByConfidentialClientsOnly returns a boolean if a field has been set.
func (*Service) HasTokenExchangeByIdentifiableClientsOnly ¶ added in v1.1.1
HasTokenExchangeByIdentifiableClientsOnly returns a boolean if a field has been set.
func (*Service) HasTokenExchangeByPermittedClientsOnly ¶ added in v1.1.1
HasTokenExchangeByPermittedClientsOnly returns a boolean if a field has been set.
func (*Service) HasTokenExchangeEncryptedJwtRejected ¶ added in v1.1.1
HasTokenExchangeEncryptedJwtRejected returns a boolean if a field has been set.
func (*Service) HasTokenExchangeUnsignedJwtRejected ¶ added in v1.1.1
HasTokenExchangeUnsignedJwtRejected returns a boolean if a field has been set.
func (*Service) HasTokenExpirationLinked ¶
HasTokenExpirationLinked returns a boolean if a field has been set.
func (*Service) HasTraditionalRequestObjectProcessingApplied ¶
HasTraditionalRequestObjectProcessingApplied returns a boolean if a field has been set.
func (*Service) HasTrustAnchors ¶ added in v1.1.1
HasTrustAnchors returns a boolean if a field has been set.
func (*Service) HasTrustedRootCertificates ¶
HasTrustedRootCertificates returns a boolean if a field has been set.
func (*Service) HasUnauthorizedOnClientConfigSupported ¶
HasUnauthorizedOnClientConfigSupported returns a boolean if a field has been set.
func (*Service) HasUserCodeCharset ¶
HasUserCodeCharset returns a boolean if a field has been set.
func (*Service) HasUserCodeLength ¶
HasUserCodeLength returns a boolean if a field has been set.
func (*Service) HasUserInfoEndpoint ¶
HasUserInfoEndpoint returns a boolean if a field has been set.
func (*Service) HasUserInfoSignatureKeyId ¶
HasUserInfoSignatureKeyId returns a boolean if a field has been set.
func (*Service) HasVerifiedClaimsValidationSchemaSet ¶ added in v1.2.3
HasVerifiedClaimsValidationSchemaSet returns a boolean if a field has been set.
func (Service) MarshalJSON ¶
func (*Service) SetAccessTokenDuration ¶
SetAccessTokenDuration gets a reference to the given int64 and assigns it to the AccessTokenDuration field.
func (*Service) SetAccessTokenForExternalAttachmentEmbedded ¶ added in v1.1.1
SetAccessTokenForExternalAttachmentEmbedded gets a reference to the given bool and assigns it to the AccessTokenForExternalAttachmentEmbedded field.
func (*Service) SetAccessTokenSignAlg ¶
SetAccessTokenSignAlg gets a reference to the given JwsAlg and assigns it to the AccessTokenSignAlg field.
func (*Service) SetAccessTokenSignatureKeyId ¶
SetAccessTokenSignatureKeyId gets a reference to the given string and assigns it to the AccessTokenSignatureKeyId field.
func (*Service) SetAccessTokenType ¶
SetAccessTokenType gets a reference to the given string and assigns it to the AccessTokenType field.
func (*Service) SetAllowableClockSkew ¶
SetAllowableClockSkew gets a reference to the given int32 and assigns it to the AllowableClockSkew field.
func (*Service) SetApiKey ¶
SetApiKey gets a reference to the given int64 and assigns it to the ApiKey field.
func (*Service) SetApiSecret ¶
SetApiSecret gets a reference to the given string and assigns it to the ApiSecret field.
func (*Service) SetAttributes ¶
SetAttributes gets a reference to the given []Pair and assigns it to the Attributes field.
func (*Service) SetAuthenticationCallbackApiKey ¶
SetAuthenticationCallbackApiKey gets a reference to the given string and assigns it to the AuthenticationCallbackApiKey field.
func (*Service) SetAuthenticationCallbackApiSecret ¶
SetAuthenticationCallbackApiSecret gets a reference to the given string and assigns it to the AuthenticationCallbackApiSecret field.
func (*Service) SetAuthenticationCallbackEndpoint ¶
SetAuthenticationCallbackEndpoint gets a reference to the given string and assigns it to the AuthenticationCallbackEndpoint field.
func (*Service) SetAuthorityHints ¶ added in v1.1.1
SetAuthorityHints gets a reference to the given []string and assigns it to the AuthorityHints field.
func (*Service) SetAuthorizationEndpoint ¶
SetAuthorizationEndpoint gets a reference to the given string and assigns it to the AuthorizationEndpoint field.
func (*Service) SetAuthorizationResponseDuration ¶
SetAuthorizationResponseDuration gets a reference to the given int64 and assigns it to the AuthorizationResponseDuration field.
func (*Service) SetAuthorizationSignatureKeyId ¶
SetAuthorizationSignatureKeyId gets a reference to the given string and assigns it to the AuthorizationSignatureKeyId field.
func (*Service) SetBackchannelAuthReqIdDuration ¶
SetBackchannelAuthReqIdDuration gets a reference to the given int32 and assigns it to the BackchannelAuthReqIdDuration field.
func (*Service) SetBackchannelAuthenticationEndpoint ¶
SetBackchannelAuthenticationEndpoint gets a reference to the given string and assigns it to the BackchannelAuthenticationEndpoint field.
func (*Service) SetBackchannelBindingMessageRequiredInFapi ¶
SetBackchannelBindingMessageRequiredInFapi gets a reference to the given bool and assigns it to the BackchannelBindingMessageRequiredInFapi field.
func (*Service) SetBackchannelPollingInterval ¶
SetBackchannelPollingInterval gets a reference to the given int32 and assigns it to the BackchannelPollingInterval field.
func (*Service) SetBackchannelUserCodeParameterSupported ¶
SetBackchannelUserCodeParameterSupported gets a reference to the given bool and assigns it to the BackchannelUserCodeParameterSupported field.
func (*Service) SetClaimShortcutRestrictive ¶
SetClaimShortcutRestrictive gets a reference to the given bool and assigns it to the ClaimShortcutRestrictive field.
func (*Service) SetClientIdAliasEnabled ¶
SetClientIdAliasEnabled gets a reference to the given bool and assigns it to the ClientIdAliasEnabled field.
func (*Service) SetClientsPerDeveloper ¶
SetClientsPerDeveloper gets a reference to the given int32 and assigns it to the ClientsPerDeveloper field.
func (*Service) SetCreatedAt ¶
SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (*Service) SetDcrDuplicateSoftwareIdBlocked ¶ added in v1.1.0
SetDcrDuplicateSoftwareIdBlocked gets a reference to the given bool and assigns it to the DcrDuplicateSoftwareIdBlocked field.
func (*Service) SetDcrScopeUsedAsRequestable ¶
SetDcrScopeUsedAsRequestable gets a reference to the given bool and assigns it to the DcrScopeUsedAsRequestable field.
func (*Service) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Service) SetDeveloperAuthenticationCallbackApiKey ¶
SetDeveloperAuthenticationCallbackApiKey gets a reference to the given string and assigns it to the DeveloperAuthenticationCallbackApiKey field.
func (*Service) SetDeveloperAuthenticationCallbackApiSecret ¶
SetDeveloperAuthenticationCallbackApiSecret gets a reference to the given string and assigns it to the DeveloperAuthenticationCallbackApiSecret field.
func (*Service) SetDeveloperAuthenticationCallbackEndpoint ¶
SetDeveloperAuthenticationCallbackEndpoint gets a reference to the given string and assigns it to the DeveloperAuthenticationCallbackEndpoint field.
func (*Service) SetDeveloperSnsCredentials ¶
SetDeveloperSnsCredentials gets a reference to the given string and assigns it to the DeveloperSnsCredentials field.
func (*Service) SetDeviceAuthorizationEndpoint ¶
SetDeviceAuthorizationEndpoint gets a reference to the given string and assigns it to the DeviceAuthorizationEndpoint field.
func (*Service) SetDeviceFlowCodeDuration ¶
SetDeviceFlowCodeDuration gets a reference to the given int32 and assigns it to the DeviceFlowCodeDuration field.
func (*Service) SetDeviceFlowPollingInterval ¶
SetDeviceFlowPollingInterval gets a reference to the given int32 and assigns it to the DeviceFlowPollingInterval field.
func (*Service) SetDeviceVerificationUri ¶
SetDeviceVerificationUri gets a reference to the given string and assigns it to the DeviceVerificationUri field.
func (*Service) SetDeviceVerificationUriComplete ¶
SetDeviceVerificationUriComplete gets a reference to the given string and assigns it to the DeviceVerificationUriComplete field.
func (*Service) SetDirectAuthorizationEndpointEnabled ¶
SetDirectAuthorizationEndpointEnabled gets a reference to the given bool and assigns it to the DirectAuthorizationEndpointEnabled field.
func (*Service) SetDirectIntrospectionEndpointEnabled ¶
SetDirectIntrospectionEndpointEnabled gets a reference to the given bool and assigns it to the DirectIntrospectionEndpointEnabled field.
func (*Service) SetDirectJwksEndpointEnabled ¶
SetDirectJwksEndpointEnabled gets a reference to the given bool and assigns it to the DirectJwksEndpointEnabled field.
func (*Service) SetDirectRevocationEndpointEnabled ¶
SetDirectRevocationEndpointEnabled gets a reference to the given bool and assigns it to the DirectRevocationEndpointEnabled field.
func (*Service) SetDirectTokenEndpointEnabled ¶
SetDirectTokenEndpointEnabled gets a reference to the given bool and assigns it to the DirectTokenEndpointEnabled field.
func (*Service) SetDirectUserInfoEndpointEnabled ¶
SetDirectUserInfoEndpointEnabled gets a reference to the given bool and assigns it to the DirectUserInfoEndpointEnabled field.
func (*Service) SetDynamicRegistrationSupported ¶
SetDynamicRegistrationSupported gets a reference to the given bool and assigns it to the DynamicRegistrationSupported field.
func (*Service) SetEndSessionEndpoint ¶
SetEndSessionEndpoint gets a reference to the given string and assigns it to the EndSessionEndpoint field.
func (*Service) SetErrorDescriptionOmitted ¶
SetErrorDescriptionOmitted gets a reference to the given bool and assigns it to the ErrorDescriptionOmitted field.
func (*Service) SetErrorUriOmitted ¶
SetErrorUriOmitted gets a reference to the given bool and assigns it to the ErrorUriOmitted field.
func (*Service) SetFederationConfigurationDuration ¶ added in v1.1.1
SetFederationConfigurationDuration gets a reference to the given int32 and assigns it to the FederationConfigurationDuration field.
func (*Service) SetFederationEnabled ¶ added in v1.1.1
SetFederationEnabled gets a reference to the given bool and assigns it to the FederationEnabled field.
func (*Service) SetFederationJwks ¶ added in v1.1.1
SetFederationJwks gets a reference to the given string and assigns it to the FederationJwks field.
func (*Service) SetFederationRegistrationEndpoint ¶ added in v1.1.1
SetFederationRegistrationEndpoint gets a reference to the given string and assigns it to the FederationRegistrationEndpoint field.
func (*Service) SetFederationSignatureKeyId ¶ added in v1.1.1
SetFederationSignatureKeyId gets a reference to the given string and assigns it to the FederationSignatureKeyId field.
func (*Service) SetFrontChannelRequestObjectEncryptionRequired ¶
SetFrontChannelRequestObjectEncryptionRequired gets a reference to the given bool and assigns it to the FrontChannelRequestObjectEncryptionRequired field.
func (*Service) SetGrantManagementActionRequired ¶
SetGrantManagementActionRequired gets a reference to the given bool and assigns it to the GrantManagementActionRequired field.
func (*Service) SetGrantManagementEndpoint ¶
SetGrantManagementEndpoint gets a reference to the given string and assigns it to the GrantManagementEndpoint field.
func (*Service) SetHsks ¶
SetHsks gets a reference to the given []Pair and assigns it to the Hsks field.
func (*Service) SetHsmEnabled ¶
SetHsmEnabled gets a reference to the given bool and assigns it to the HsmEnabled field.
func (*Service) SetIdTokenDuration ¶
SetIdTokenDuration gets a reference to the given int64 and assigns it to the IdTokenDuration field.
func (*Service) SetIdTokenSignatureKeyId ¶
SetIdTokenSignatureKeyId gets a reference to the given string and assigns it to the IdTokenSignatureKeyId field.
func (*Service) SetIntrospectionEndpoint ¶
SetIntrospectionEndpoint gets a reference to the given string and assigns it to the IntrospectionEndpoint field.
func (*Service) SetIssSuppressed ¶
SetIssSuppressed gets a reference to the given bool and assigns it to the IssSuppressed field.
func (*Service) SetIssuer ¶
SetIssuer gets a reference to the given string and assigns it to the Issuer field.
func (*Service) SetJwks ¶
SetJwks gets a reference to the given string and assigns it to the Jwks field.
func (*Service) SetJwksUri ¶
SetJwksUri gets a reference to the given string and assigns it to the JwksUri field.
func (*Service) SetJwtGrantByIdentifiableClientsOnly ¶ added in v1.1.1
SetJwtGrantByIdentifiableClientsOnly gets a reference to the given bool and assigns it to the JwtGrantByIdentifiableClientsOnly field.
func (*Service) SetJwtGrantEncryptedJwtRejected ¶ added in v1.1.1
SetJwtGrantEncryptedJwtRejected gets a reference to the given bool and assigns it to the JwtGrantEncryptedJwtRejected field.
func (*Service) SetJwtGrantUnsignedJwtRejected ¶ added in v1.1.1
SetJwtGrantUnsignedJwtRejected gets a reference to the given bool and assigns it to the JwtGrantUnsignedJwtRejected field.
func (*Service) SetLoopbackRedirectionUriVariable ¶ added in v0.2.0
SetLoopbackRedirectionUriVariable gets a reference to the given bool and assigns it to the LoopbackRedirectionUriVariable field.
func (*Service) SetMetadata ¶
SetMetadata gets a reference to the given []Pair and assigns it to the Metadata field.
func (*Service) SetMissingClientIdAllowed ¶
SetMissingClientIdAllowed gets a reference to the given bool and assigns it to the MissingClientIdAllowed field.
func (*Service) SetModifiedAt ¶
SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.
func (*Service) SetMtlsEndpointAliases ¶
SetMtlsEndpointAliases gets a reference to the given []NamedUri and assigns it to the MtlsEndpointAliases field.
func (*Service) SetMutualTlsValidatePkiCertChain ¶
SetMutualTlsValidatePkiCertChain gets a reference to the given bool and assigns it to the MutualTlsValidatePkiCertChain field.
func (*Service) SetNbfOptional ¶
SetNbfOptional gets a reference to the given bool and assigns it to the NbfOptional field.
func (*Service) SetNumber ¶
SetNumber gets a reference to the given int32 and assigns it to the Number field.
func (*Service) SetOpenidDroppedOnRefreshWithoutOfflineAccess ¶ added in v1.1.1
SetOpenidDroppedOnRefreshWithoutOfflineAccess gets a reference to the given bool and assigns it to the OpenidDroppedOnRefreshWithoutOfflineAccess field.
func (*Service) SetOrganizationName ¶ added in v1.1.1
SetOrganizationName gets a reference to the given string and assigns it to the OrganizationName field.
func (*Service) SetParRequired ¶
SetParRequired gets a reference to the given bool and assigns it to the ParRequired field.
func (*Service) SetPkceRequired ¶
SetPkceRequired gets a reference to the given bool and assigns it to the PkceRequired field.
func (*Service) SetPkceS256Required ¶
SetPkceS256Required gets a reference to the given bool and assigns it to the PkceS256Required field.
func (*Service) SetPolicyUri ¶
SetPolicyUri gets a reference to the given string and assigns it to the PolicyUri field.
func (*Service) SetPredefinedTransformedClaims ¶ added in v1.1.1
SetPredefinedTransformedClaims gets a reference to the given string and assigns it to the PredefinedTransformedClaims field.
func (*Service) SetPushedAuthReqDuration ¶
SetPushedAuthReqDuration gets a reference to the given int64 and assigns it to the PushedAuthReqDuration field.
func (*Service) SetPushedAuthReqEndpoint ¶
SetPushedAuthReqEndpoint gets a reference to the given string and assigns it to the PushedAuthReqEndpoint field.
func (*Service) SetRefreshTokenDuration ¶
SetRefreshTokenDuration gets a reference to the given int64 and assigns it to the RefreshTokenDuration field.
func (*Service) SetRefreshTokenDurationKept ¶
SetRefreshTokenDurationKept gets a reference to the given bool and assigns it to the RefreshTokenDurationKept field.
func (*Service) SetRefreshTokenDurationReset ¶
SetRefreshTokenDurationReset gets a reference to the given bool and assigns it to the RefreshTokenDurationReset field.
func (*Service) SetRefreshTokenIdempotent ¶ added in v1.1.1
SetRefreshTokenIdempotent gets a reference to the given bool and assigns it to the RefreshTokenIdempotent field.
func (*Service) SetRefreshTokenKept ¶
SetRefreshTokenKept gets a reference to the given bool and assigns it to the RefreshTokenKept field.
func (*Service) SetRegistrationEndpoint ¶
SetRegistrationEndpoint gets a reference to the given string and assigns it to the RegistrationEndpoint field.
func (*Service) SetRegistrationManagementEndpoint ¶
SetRegistrationManagementEndpoint gets a reference to the given string and assigns it to the RegistrationManagementEndpoint field.
func (*Service) SetRequestObjectAudienceChecked ¶ added in v1.0.0
SetRequestObjectAudienceChecked gets a reference to the given bool and assigns it to the RequestObjectAudienceChecked field.
func (*Service) SetRequestObjectEncryptionAlgMatchRequired ¶
SetRequestObjectEncryptionAlgMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionAlgMatchRequired field.
func (*Service) SetRequestObjectEncryptionEncMatchRequired ¶
SetRequestObjectEncryptionEncMatchRequired gets a reference to the given bool and assigns it to the RequestObjectEncryptionEncMatchRequired field.
func (*Service) SetRequestObjectRequired ¶
SetRequestObjectRequired gets a reference to the given bool and assigns it to the RequestObjectRequired field.
func (*Service) SetRevocationEndpoint ¶
SetRevocationEndpoint gets a reference to the given string and assigns it to the RevocationEndpoint field.
func (*Service) SetRsResponseSigned ¶ added in v1.2.0
SetRsResponseSigned gets a reference to the given bool and assigns it to the RsResponseSigned field.
func (*Service) SetRsSignedRequestKeyId ¶ added in v1.2.0
SetRsSignedRequestKeyId gets a reference to the given string and assigns it to the RsSignedRequestKeyId field.
func (*Service) SetScopeRequired ¶
SetScopeRequired gets a reference to the given bool and assigns it to the ScopeRequired field.
func (*Service) SetServiceDocumentation ¶
SetServiceDocumentation gets a reference to the given string and assigns it to the ServiceDocumentation field.
func (*Service) SetServiceName ¶
SetServiceName gets a reference to the given string and assigns it to the ServiceName field.
func (*Service) SetServiceOwnerNumber ¶
SetServiceOwnerNumber gets a reference to the given int32 and assigns it to the ServiceOwnerNumber field.
func (*Service) SetSignedJwksUri ¶ added in v1.1.1
SetSignedJwksUri gets a reference to the given string and assigns it to the SignedJwksUri field.
func (*Service) SetSingleAccessTokenPerSubject ¶
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 ¶
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 ¶
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 ¶
SetSupportedClaimLocales gets a reference to the given []string and assigns it to the SupportedClaimLocales field.
func (*Service) SetSupportedClaimTypes ¶
SetSupportedClaimTypes gets a reference to the given []ClaimType and assigns it to the SupportedClaimTypes field.
func (*Service) SetSupportedClaims ¶
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 ¶
SetSupportedCustomClientMetadata gets a reference to the given []string and assigns it to the SupportedCustomClientMetadata field.
func (*Service) SetSupportedDeveloperSnses ¶
SetSupportedDeveloperSnses gets a reference to the given []Sns and assigns it to the SupportedDeveloperSnses field.
func (*Service) SetSupportedDigestAlgorithms ¶ added in v1.1.1
SetSupportedDigestAlgorithms gets a reference to the given []string and assigns it to the SupportedDigestAlgorithms field.
func (*Service) SetSupportedDisplays ¶
SetSupportedDisplays gets a reference to the given []Display and assigns it to the SupportedDisplays field.
func (*Service) SetSupportedDocuments ¶ added in v1.1.1
SetSupportedDocuments gets a reference to the given []string and assigns it to the SupportedDocuments field.
func (*Service) SetSupportedDocumentsCheckMethods ¶ added in v1.2.0
SetSupportedDocumentsCheckMethods gets a reference to the given []string and assigns it to the SupportedDocumentsCheckMethods field.
func (*Service) SetSupportedDocumentsMethods ¶ added in v1.1.1
SetSupportedDocumentsMethods gets a reference to the given []string and assigns it to the SupportedDocumentsMethods field.
func (*Service) SetSupportedDocumentsValidationMethods ¶ added in v1.1.1
SetSupportedDocumentsValidationMethods gets a reference to the given []string and assigns it to the SupportedDocumentsValidationMethods field.
func (*Service) SetSupportedDocumentsVerificationMethods ¶ added in v1.1.1
SetSupportedDocumentsVerificationMethods gets a reference to the given []string and assigns it to the SupportedDocumentsVerificationMethods field.
func (*Service) SetSupportedElectronicRecords ¶ added in v1.1.1
SetSupportedElectronicRecords gets a reference to the given []string and assigns it to the SupportedElectronicRecords field.
func (*Service) SetSupportedEvidence ¶
SetSupportedEvidence gets a reference to the given []string and assigns it to the SupportedEvidence field.
func (*Service) SetSupportedGrantTypes ¶
SetSupportedGrantTypes gets a reference to the given []GrantType and assigns it to the SupportedGrantTypes field.
func (*Service) SetSupportedIdentityDocuments ¶
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 ¶
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 ¶
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 ¶
SetSupportedTrustFrameworks gets a reference to the given []string and assigns it to the SupportedTrustFrameworks field.
func (*Service) SetSupportedUiLocales ¶
SetSupportedUiLocales gets a reference to the given []string and assigns it to the SupportedUiLocales field.
func (*Service) SetSupportedVerificationMethods ¶
SetSupportedVerificationMethods gets a reference to the given []string and assigns it to the SupportedVerificationMethods field.
func (*Service) SetSupportedVerifiedClaims ¶
SetSupportedVerifiedClaims gets a reference to the given []string and assigns it to the SupportedVerifiedClaims field.
func (*Service) SetTlsClientCertificateBoundAccessTokens ¶
SetTlsClientCertificateBoundAccessTokens gets a reference to the given bool and assigns it to the TlsClientCertificateBoundAccessTokens field.
func (*Service) SetTokenEndpoint ¶
SetTokenEndpoint gets a reference to the given string and assigns it to the TokenEndpoint field.
func (*Service) SetTokenExchangeByConfidentialClientsOnly ¶ added in v1.1.1
SetTokenExchangeByConfidentialClientsOnly gets a reference to the given bool and assigns it to the TokenExchangeByConfidentialClientsOnly field.
func (*Service) SetTokenExchangeByIdentifiableClientsOnly ¶ added in v1.1.1
SetTokenExchangeByIdentifiableClientsOnly gets a reference to the given bool and assigns it to the TokenExchangeByIdentifiableClientsOnly field.
func (*Service) SetTokenExchangeByPermittedClientsOnly ¶ added in v1.1.1
SetTokenExchangeByPermittedClientsOnly gets a reference to the given bool and assigns it to the TokenExchangeByPermittedClientsOnly field.
func (*Service) SetTokenExchangeEncryptedJwtRejected ¶ added in v1.1.1
SetTokenExchangeEncryptedJwtRejected gets a reference to the given bool and assigns it to the TokenExchangeEncryptedJwtRejected field.
func (*Service) SetTokenExchangeUnsignedJwtRejected ¶ added in v1.1.1
SetTokenExchangeUnsignedJwtRejected gets a reference to the given bool and assigns it to the TokenExchangeUnsignedJwtRejected field.
func (*Service) SetTokenExpirationLinked ¶
SetTokenExpirationLinked gets a reference to the given bool and assigns it to the TokenExpirationLinked field.
func (*Service) SetTosUri ¶
SetTosUri gets a reference to the given string and assigns it to the TosUri field.
func (*Service) SetTraditionalRequestObjectProcessingApplied ¶
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 ¶
SetTrustedRootCertificates gets a reference to the given []string and assigns it to the TrustedRootCertificates field.
func (*Service) SetUnauthorizedOnClientConfigSupported ¶
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 ¶
SetUserCodeLength gets a reference to the given int32 and assigns it to the UserCodeLength field.
func (*Service) SetUserInfoEndpoint ¶
SetUserInfoEndpoint gets a reference to the given string and assigns it to the UserInfoEndpoint field.
func (*Service) SetUserInfoSignatureKeyId ¶
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) 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 ¶
func (a *ServiceManagementApiService) ServiceCreateApi(ctx context.Context) ApiServiceCreateApiRequest
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 ¶
func (a *ServiceManagementApiService) ServiceCreateApiExecute(r ApiServiceCreateApiRequest) (*Service, *http.Response, error)
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 ¶
func (a *ServiceManagementApiService) ServiceGetApiExecute(r ApiServiceGetApiRequest) (*Service, *http.Response, error)
Execute executes the request
@return Service
func (*ServiceManagementApiService) ServiceGetListApi ¶
func (a *ServiceManagementApiService) ServiceGetListApi(ctx context.Context) ApiServiceGetListApiRequest
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 ¶
func (a *ServiceManagementApiService) ServiceGetListApiExecute(r ApiServiceGetListApiRequest) (*ServiceGetListResponse, *http.Response, error)
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 ¶
func (a *ServiceManagementApiService) ServiceUpdateApiExecute(r ApiServiceUpdateApiRequest) (*Service, *http.Response, error)
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 ¶
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) UnmarshalJSON ¶
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 ¶
func (a *TokenEndpointApiService) AuthTokenApi(ctx context.Context) ApiAuthTokenApiRequest
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.
- 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.
- 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.
- 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.
- 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`*
- Confirm that the format conforms to the JWT specification [RFC 7519][https://www.rfc-editor.org/rfc/rfc7519.html].
- 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" }.
- Confirm that the current time has not reached the time indicated by the {@code exp} claim if the JWT contains the claim.
- 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.
- 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`*
- 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>.
- Confirm that the access token has not expired.
- Confirm that the access token belongs to the service.
*Token Type: `urn:ietf:params:oauth:token-type:refresh_token`*
- 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>.
- Confirm that the refresh token has not expired.
- Confirm that the refresh token belongs to the service.
*Token Type: `urn:ietf:params:oauth:token-type:id_token`*
- Confirm that the format conforms to the JWT specification (<a href= "https://www.rfc-editor.org/rfc/rfc7519.html">RFC 7519</a>).
- 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"}.
- Confirm that the ID Token contains the {@code exp} claim and the current time has not reached the time indicated by the claim.
- 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.
- 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.
- 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.
- Confirm that the ID Token contains the {@code aud} claim and its value is a JSON string or an array of JSON strings.
- Confirm that the value of the {@code nonce} claim is a JSON string if the ID Token contains the claim.
- 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.
- 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}.
- 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.
- Confirm that the {@code assertion} request parameter is given and its value is not empty.
- 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>).
- 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.
- Confirm that the JWT contains the {@code iss} claim and its value is a JSON string.
- Confirm that the JWT contains the {@code sub} claim and its value is a JSON string.
- Confirm that the JWT contains the {@code aud} claim and its value is either a JSON string or an array of JSON strings.
- 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.
- Confirm that the JWT contains the {@code exp} claim and the current time has not reached the time indicated by the claim.
- 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.
- 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.
- 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 ¶
func (a *TokenEndpointApiService) AuthTokenApiExecute(r ApiAuthTokenApiRequest) (*TokenResponse, *http.Response, error)
Execute executes the request
@return TokenResponse
func (*TokenEndpointApiService) AuthTokenFailApi ¶
func (a *TokenEndpointApiService) AuthTokenFailApi(ctx context.Context) ApiAuthTokenFailApiRequest
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 ¶
func (a *TokenEndpointApiService) AuthTokenFailApiExecute(r ApiAuthTokenFailApiRequest) (*TokenFailResponse, *http.Response, error)
Execute executes the request
@return TokenFailResponse
func (*TokenEndpointApiService) AuthTokenIssueApi ¶
func (a *TokenEndpointApiService) AuthTokenIssueApi(ctx context.Context) ApiAuthTokenIssueApiRequest
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 ¶
func (a *TokenEndpointApiService) AuthTokenIssueApiExecute(r ApiAuthTokenIssueApiRequest) (*TokenIssueResponse, *http.Response, error)
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
GetClientEntityId returns the ClientEntityId field value if set, zero value otherwise.
func (*TokenInfo) GetClientEntityIdOk ¶ added in v1.2.0
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
GetClientEntityIdUsed returns the ClientEntityIdUsed field value if set, zero value otherwise.
func (*TokenInfo) GetClientEntityIdUsedOk ¶ added in v1.2.0
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
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*TokenInfo) GetClientIdAlias ¶ added in v1.1.1
GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.
func (*TokenInfo) GetClientIdAliasOk ¶ added in v1.1.1
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
GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.
func (*TokenInfo) GetClientIdAliasUsedOk ¶ added in v1.1.1
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
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
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*TokenInfo) GetExpiresAtOk ¶ added in v1.1.1
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
GetProperties returns the Properties field value if set, zero value otherwise.
func (*TokenInfo) GetPropertiesOk ¶ added in v1.1.1
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
GetResources returns the Resources field value if set, zero value otherwise.
func (*TokenInfo) GetResourcesOk ¶ added in v1.1.1
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
GetScopes returns the Scopes field value if set, zero value otherwise.
func (*TokenInfo) GetScopesOk ¶ added in v1.1.1
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
GetSubject returns the Subject field value if set, zero value otherwise.
func (*TokenInfo) GetSubjectOk ¶ added in v1.1.1
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
HasAuthorizationDetails returns a boolean if a field has been set.
func (*TokenInfo) HasClientEntityId ¶ added in v1.2.0
HasClientEntityId returns a boolean if a field has been set.
func (*TokenInfo) HasClientEntityIdUsed ¶ added in v1.2.0
HasClientEntityIdUsed returns a boolean if a field has been set.
func (*TokenInfo) HasClientId ¶ added in v1.1.1
HasClientId returns a boolean if a field has been set.
func (*TokenInfo) HasClientIdAlias ¶ added in v1.1.1
HasClientIdAlias returns a boolean if a field has been set.
func (*TokenInfo) HasClientIdAliasUsed ¶ added in v1.1.1
HasClientIdAliasUsed returns a boolean if a field has been set.
func (*TokenInfo) HasExpiresAt ¶ added in v1.1.1
HasExpiresAt returns a boolean if a field has been set.
func (*TokenInfo) HasProperties ¶ added in v1.1.1
HasProperties returns a boolean if a field has been set.
func (*TokenInfo) HasResources ¶ added in v1.1.1
HasResources returns a boolean if a field has been set.
func (*TokenInfo) HasSubject ¶ added in v1.1.1
HasSubject returns a boolean if a field has been set.
func (TokenInfo) MarshalJSON ¶ added in v1.1.1
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
SetClientEntityId gets a reference to the given string and assigns it to the ClientEntityId field.
func (*TokenInfo) SetClientEntityIdUsed ¶ added in v1.2.0
SetClientEntityIdUsed gets a reference to the given bool and assigns it to the ClientEntityIdUsed field.
func (*TokenInfo) SetClientId ¶ added in v1.1.1
SetClientId gets a reference to the given int32 and assigns it to the ClientId field.
func (*TokenInfo) SetClientIdAlias ¶ added in v1.1.1
SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.
func (*TokenInfo) SetClientIdAliasUsed ¶ added in v1.1.1
SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.
func (*TokenInfo) SetExpiresAt ¶ added in v1.1.1
SetExpiresAt gets a reference to the given int32 and assigns it to the ExpiresAt field.
func (*TokenInfo) SetProperties ¶ added in v1.1.1
SetProperties gets a reference to the given []Property and assigns it to the Properties field.
func (*TokenInfo) SetResources ¶ added in v1.1.1
SetResources gets a reference to the given []string and assigns it to the Resources field.
func (*TokenInfo) SetScopes ¶ added in v1.1.1
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*TokenInfo) SetSubject ¶ added in v1.1.1
SetSubject gets a reference to the given string and assigns it to the Subject field.
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 ¶
func (a *TokenOperationsApiService) AuthTokenCreateApi(ctx context.Context) ApiAuthTokenCreateApiRequest
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 ¶
func (a *TokenOperationsApiService) AuthTokenCreateApiExecute(r ApiAuthTokenCreateApiRequest) (*TokenCreateResponse, *http.Response, error)
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 ¶
func (a *TokenOperationsApiService) AuthTokenGetListApi(ctx context.Context) ApiAuthTokenGetListApiRequest
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 ¶
func (a *TokenOperationsApiService) AuthTokenGetListApiExecute(r ApiAuthTokenGetListApiRequest) (*TokenGetListResponse, *http.Response, error)
Execute executes the request
@return TokenGetListResponse
func (*TokenOperationsApiService) AuthTokenRevokeApi ¶ added in v1.1.1
func (a *TokenOperationsApiService) AuthTokenRevokeApi(ctx context.Context) ApiAuthTokenRevokeApiRequest
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
func (a *TokenOperationsApiService) AuthTokenRevokeApiExecute(r ApiAuthTokenRevokeApiRequest) (*TokenRevokeResponse, *http.Response, error)
Execute executes the request
@return TokenRevokeResponse
func (*TokenOperationsApiService) AuthTokenUpdateApi ¶
func (a *TokenOperationsApiService) AuthTokenUpdateApi(ctx context.Context) ApiAuthTokenUpdateApiRequest
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 ¶
func (a *TokenOperationsApiService) AuthTokenUpdateApiExecute(r ApiAuthTokenUpdateApiRequest) (*TokenUpdateResponse, *http.Response, error)
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
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
IsValid return true if the value is valid for the enum, false otherwise
func (*TokenType) UnmarshalJSON ¶ added in v1.1.1
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 ¶
func (v UserCodeCharset) Ptr() *UserCodeCharset
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 ¶
func (a *UserInfoEndpointApiService) AuthUserinfoApi(ctx context.Context) ApiAuthUserinfoApiRequest
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 ¶
func (a *UserInfoEndpointApiService) AuthUserinfoApiExecute(r ApiAuthUserinfoApiRequest) (*UserinfoResponse, *http.Response, error)
Execute executes the request
@return UserinfoResponse
func (*UserInfoEndpointApiService) AuthUserinfoIssueApi ¶
func (a *UserInfoEndpointApiService) AuthUserinfoIssueApi(ctx context.Context) ApiAuthUserinfoIssueApiRequest
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 ¶
func (a *UserInfoEndpointApiService) AuthUserinfoIssueApiExecute(r ApiAuthUserinfoIssueApiRequest) (*UserinfoIssueResponse, *http.Response, error)
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
func (v VerifiedClaimsValidationSchema) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (VerifiedClaimsValidationSchema) Ptr ¶ added in v1.2.3
func (v VerifiedClaimsValidationSchema) Ptr() *VerifiedClaimsValidationSchema
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 ¶
- api_authorization_endpoint.go
- api_ciba.go
- api_client_management.go
- api_configuration_endpoint.go
- api_device_flow.go
- api_dynamic_client_registration.go
- api_federation_endpoint.go
- api_grant_management_endpoint.go
- api_introspection_endpoint.go
- api_jose_object.go
- api_jwk_set_endpoint.go
- api_pushed_authorization_endpoint.go
- api_revocation_endpoint.go
- api_server_metadata.go
- api_service_management.go
- api_token_endpoint.go
- api_token_operations.go
- api_user_info_endpoint.go
- client.go
- configuration.go
- model_access_token.go
- model_application_type.go
- model_attachment_type.go
- model_authorization_details.go
- model_authorization_details_element.go
- model_authorization_fail_request.go
- model_authorization_fail_response.go
- model_authorization_issue_request.go
- model_authorization_issue_response.go
- model_authorization_request.go
- model_authorization_response.go
- model_backchannel_authentication_complete_request.go
- model_backchannel_authentication_complete_response.go
- model_backchannel_authentication_fail_request.go
- model_backchannel_authentication_fail_response.go
- model_backchannel_authentication_issue_request.go
- model_backchannel_authentication_issue_response.go
- model_backchannel_authentication_request.go
- model_backchannel_authentication_response.go
- model_claim_type.go
- model_client.go
- model_client_authentication_method.go
- model_client_authorization_delete_response.go
- model_client_authorization_get_list_response.go
- model_client_authorization_update_request.go
- model_client_authorization_update_response.go
- model_client_extension.go
- model_client_flag_update_request.go
- model_client_flag_update_response.go
- model_client_get_list_response.go
- model_client_granted_scopes_delete_response.go
- model_client_granted_scopes_get_response.go
- model_client_registration_delete_request.go
- model_client_registration_delete_response.go
- model_client_registration_get_request.go
- model_client_registration_get_response.go
- model_client_registration_request.go
- model_client_registration_response.go
- model_client_registration_type.go
- model_client_registration_update_request.go
- model_client_registration_update_response.go
- model_client_secret_refresh_response.go
- model_client_secret_update_request.go
- model_client_secret_update_response.go
- model_client_type.go
- model_delivery_mode.go
- model_device_authorization_request.go
- model_device_authorization_response.go
- model_device_complete_request.go
- model_device_complete_response.go
- model_device_verification_request.go
- model_device_verification_response.go
- model_display.go
- model_dynamic_scope.go
- model_federation_configuration_response.go
- model_g_m_request.go
- model_g_m_response.go
- model_grant.go
- model_grant_management_action.go
- model_grant_scope.go
- model_grant_type.go
- model_info_response.go
- model_introspection_request.go
- model_introspection_response.go
- model_jose_verify_request.go
- model_jose_verify_response.go
- model_jwe_alg.go
- model_jwe_enc.go
- model_jws_alg.go
- model_named_uri.go
- model_pair.go
- model_prompt.go
- model_property.go
- model_pushed_auth_req_request.go
- model_pushed_auth_req_response.go
- model_pushed_authorization_request.go
- model_pushed_authorization_response.go
- model_response_type.go
- model_result.go
- model_revocation_request.go
- model_revocation_response.go
- model_scope.go
- model_service.go
- model_service_get_list_response.go
- model_service_jwks_get_response.go
- model_service_profile.go
- model_sns.go
- model_sns_credentials.go
- model_standard_introspection_request.go
- model_standard_introspection_response.go
- model_subject_type.go
- model_tagged_value.go
- model_token_create_request.go
- model_token_create_response.go
- model_token_fail_request.go
- model_token_fail_response.go
- model_token_get_list_response.go
- model_token_info.go
- model_token_issue_request.go
- model_token_issue_response.go
- model_token_request.go
- model_token_response.go
- model_token_revoke_request.go
- model_token_revoke_response.go
- model_token_type.go
- model_token_update_request.go
- model_token_update_response.go
- model_trust_anchor.go
- model_user_code_charset.go
- model_userinfo_issue_request.go
- model_userinfo_issue_response.go
- model_userinfo_request.go
- model_userinfo_response.go
- model_verified_claims_validation_schema.go
- response.go
- utils.go