Versions in this module Expand all Collapse all v0 v0.3.0 Oct 26, 2026 v0.2.0 Oct 22, 2026 v0.1.0 Sep 16, 2026 Changes in this version + func NewApproveAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewApproveAuthorizationRequestWithFormdataBody(server string, body ApproveAuthorizationFormdataRequestBody) (*http.Request, error) + func NewAuthorizeRequest(server string, params *AuthorizeParams) (*http.Request, error) + func NewDenyAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewDenyAuthorizationRequestWithFormdataBody(server string, body DenyAuthorizationFormdataRequestBody) (*http.Request, error) + func NewGetAuthorizationServerMetadataForPathRequest(server string, path string) (*http.Request, error) + func NewGetAuthorizationServerMetadataRequest(server string) (*http.Request, error) + func NewGetJSONWebKeySetRequest(server string) (*http.Request, error) + func NewGetProtectedResourceMetadataForPathRequest(server string, path string) (*http.Request, error) + func NewGetProtectedResourceMetadataRequest(server string) (*http.Request, error) + func NewGetProviderMetadataRequest(server string) (*http.Request, error) + func NewGetUserInfoRequest(server string) (*http.Request, error) + func NewIntrospectTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewIntrospectTokenRequestWithFormdataBody(server string, body IntrospectTokenFormdataRequestBody) (*http.Request, error) + func NewIssueTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewIssueTokenRequestWithFormdataBody(server string, body IssueTokenFormdataRequestBody) (*http.Request, error) + func NewLogoutRequest(server string, params *LogoutParams) (*http.Request, error) + func NewPostUserInfoRequest(server string) (*http.Request, error) + func NewRegisterClientRequest(server string, body RegisterClientJSONRequestBody) (*http.Request, error) + func NewRegisterClientRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewRevokeTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewRevokeTokenRequestWithFormdataBody(server string, body RevokeTokenFormdataRequestBody) (*http.Request, error) + func NewSubmitAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewSubmitAuthorizationRequestWithFormdataBody(server string, body SubmitAuthorizationFormdataRequestBody) (*http.Request, error) + func NewSubmitLogoutRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewSubmitLogoutRequestWithFormdataBody(server string, body SubmitLogoutFormdataRequestBody) (*http.Request, error) + type APIError = lock.APIError + type ApproveAuthorizationFormdataRequestBody = OAuthConsentRequest + type AuthorizationCodeRequest struct + ClientID *string + ClientSecret *string + Code string + CodeVerifier string + GrantType AuthorizationCodeRequestGrantType + RedirectURI *string + Resource *AuthorizationCodeRequest_Resource + Scope *string + type AuthorizationCodeRequestGrantType string + const AuthorizationCodeRequestGrantTypeAuthorizationCode + func (e AuthorizationCodeRequestGrantType) Valid() bool + type AuthorizationCodeRequestResource0 = string + type AuthorizationCodeRequestResource1 = []string + type AuthorizationCodeRequest_Resource struct + func (t *AuthorizationCodeRequest_Resource) FromAuthorizationCodeRequestResource0(v AuthorizationCodeRequestResource0) error + func (t *AuthorizationCodeRequest_Resource) FromAuthorizationCodeRequestResource1(v AuthorizationCodeRequestResource1) error + func (t *AuthorizationCodeRequest_Resource) MergeAuthorizationCodeRequestResource0(v AuthorizationCodeRequestResource0) error + func (t *AuthorizationCodeRequest_Resource) MergeAuthorizationCodeRequestResource1(v AuthorizationCodeRequestResource1) error + func (t *AuthorizationCodeRequest_Resource) UnmarshalJSON(b []byte) error + func (t AuthorizationCodeRequest_Resource) AsAuthorizationCodeRequestResource0() (AuthorizationCodeRequestResource0, error) + func (t AuthorizationCodeRequest_Resource) AsAuthorizationCodeRequestResource1() (AuthorizationCodeRequestResource1, error) + func (t AuthorizationCodeRequest_Resource) MarshalJSON() ([]byte, error) + type AuthorizeParams struct + AcrValues *string + ClientID string + CodeChallenge string + CodeChallengeMethod AuthorizeParamsCodeChallengeMethod + IDTokenHint *string + MaxAge *int + Nonce *string + Prompt *string + RedirectURI *string + Resource ... + ResponseMode *AuthorizeParamsResponseMode + ResponseType AuthorizeParamsResponseType + Scope *string + State *string + type AuthorizeParamsCodeChallengeMethod string + const AuthorizeParamsCodeChallengeMethodS256 + func (e AuthorizeParamsCodeChallengeMethod) Valid() bool + type AuthorizeParamsResource0 = string + type AuthorizeParamsResource1 = []string + type AuthorizeParamsResponseMode string + const AuthorizeParamsResponseModeQuery + func (e AuthorizeParamsResponseMode) Valid() bool + type AuthorizeParamsResponseType string + const AuthorizeParamsResponseTypeCode + func (e AuthorizeParamsResponseType) Valid() bool + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) ApproveAuthorization(ctx context.Context, body ApproveAuthorizationFormdataRequestBody, ...) (*Response, error) + func (c *Client) ApproveAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + func (c *Client) Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*Response, error) + func (c *Client) DenyAuthorization(ctx context.Context, body DenyAuthorizationFormdataRequestBody, ...) (*Response, error) + func (c *Client) DenyAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + func (c *Client) GetAuthorizationServerMetadata(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcProviderMetadata, error) + func (c *Client) GetAuthorizationServerMetadataForPath(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*OidcProviderMetadata, error) + func (c *Client) GetJSONWebKeySet(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcJwks, error) + func (c *Client) GetProtectedResourceMetadata(ctx context.Context, reqEditors ...RequestEditorFn) (*OAuthProtectedResource, error) + func (c *Client) GetProtectedResourceMetadataForPath(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*OAuthProtectedResource, error) + func (c *Client) GetProviderMetadata(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcProviderMetadata, error) + func (c *Client) GetUserInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcUserinfo, error) + func (c *Client) IntrospectToken(ctx context.Context, body IntrospectTokenFormdataRequestBody, ...) (*OAuthIntrospection, error) + func (c *Client) IntrospectTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*OAuthIntrospection, error) + func (c *Client) IssueToken(ctx context.Context, body IssueTokenFormdataRequestBody, ...) (*OAuthTokenResponse, error) + func (c *Client) IssueTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*OAuthTokenResponse, error) + func (c *Client) Logout(ctx context.Context, params *LogoutParams, reqEditors ...RequestEditorFn) (*Response, error) + func (c *Client) PostUserInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcUserinfo, error) + func (c *Client) RegisterClient(ctx context.Context, body RegisterClientJSONRequestBody, ...) (*OAuthRegisteredClient, error) + func (c *Client) RegisterClientWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*OAuthRegisteredClient, error) + func (c *Client) RevokeToken(ctx context.Context, body RevokeTokenFormdataRequestBody, ...) (*Response, error) + func (c *Client) RevokeTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + func (c *Client) SubmitAuthorization(ctx context.Context, body SubmitAuthorizationFormdataRequestBody, ...) (*Response, error) + func (c *Client) SubmitAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + func (c *Client) SubmitLogout(ctx context.Context, body SubmitLogoutFormdataRequestBody, ...) (*Response, error) + func (c *Client) SubmitLogoutWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + type ClientCredentialsRequest struct + ClientID *string + ClientSecret *string + GrantType ClientCredentialsRequestGrantType + Resource *ClientCredentialsRequest_Resource + Scope *string + type ClientCredentialsRequestGrantType string + const ClientCredentials + func (e ClientCredentialsRequestGrantType) Valid() bool + type ClientCredentialsRequestResource0 = string + type ClientCredentialsRequestResource1 = []string + type ClientCredentialsRequest_Resource struct + func (t *ClientCredentialsRequest_Resource) FromClientCredentialsRequestResource0(v ClientCredentialsRequestResource0) error + func (t *ClientCredentialsRequest_Resource) FromClientCredentialsRequestResource1(v ClientCredentialsRequestResource1) error + func (t *ClientCredentialsRequest_Resource) MergeClientCredentialsRequestResource0(v ClientCredentialsRequestResource0) error + func (t *ClientCredentialsRequest_Resource) MergeClientCredentialsRequestResource1(v ClientCredentialsRequestResource1) error + func (t *ClientCredentialsRequest_Resource) UnmarshalJSON(b []byte) error + func (t ClientCredentialsRequest_Resource) AsClientCredentialsRequestResource0() (ClientCredentialsRequestResource0, error) + func (t ClientCredentialsRequest_Resource) AsClientCredentialsRequestResource1() (ClientCredentialsRequestResource1, error) + func (t ClientCredentialsRequest_Resource) MarshalJSON() ([]byte, error) + type ClientInterface interface + ApproveAuthorization func(ctx context.Context, body ApproveAuthorizationFormdataRequestBody, ...) (*Response, error) + ApproveAuthorizationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + Authorize func(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*Response, error) + DenyAuthorization func(ctx context.Context, body DenyAuthorizationFormdataRequestBody, ...) (*Response, error) + DenyAuthorizationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + GetAuthorizationServerMetadata func(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcProviderMetadata, error) + GetAuthorizationServerMetadataForPath func(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*OidcProviderMetadata, error) + GetJSONWebKeySet func(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcJwks, error) + GetProtectedResourceMetadata func(ctx context.Context, reqEditors ...RequestEditorFn) (*OAuthProtectedResource, error) + GetProtectedResourceMetadataForPath func(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*OAuthProtectedResource, error) + GetProviderMetadata func(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcProviderMetadata, error) + GetUserInfo func(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcUserinfo, error) + IntrospectToken func(ctx context.Context, body IntrospectTokenFormdataRequestBody, ...) (*OAuthIntrospection, error) + IntrospectTokenWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*OAuthIntrospection, error) + IssueToken func(ctx context.Context, body IssueTokenFormdataRequestBody, ...) (*OAuthTokenResponse, error) + IssueTokenWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*OAuthTokenResponse, error) + Logout func(ctx context.Context, params *LogoutParams, reqEditors ...RequestEditorFn) (*Response, error) + PostUserInfo func(ctx context.Context, reqEditors ...RequestEditorFn) (*OidcUserinfo, error) + RegisterClient func(ctx context.Context, body RegisterClientJSONRequestBody, ...) (*OAuthRegisteredClient, error) + RegisterClientWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*OAuthRegisteredClient, error) + RevokeToken func(ctx context.Context, body RevokeTokenFormdataRequestBody, ...) (*Response, error) + RevokeTokenWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + SubmitAuthorization func(ctx context.Context, body SubmitAuthorizationFormdataRequestBody, ...) (*Response, error) + SubmitAuthorizationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + SubmitLogout func(ctx context.Context, body SubmitLogoutFormdataRequestBody, ...) (*Response, error) + SubmitLogoutWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*Response, error) + type ClientOption func(*Client) error + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + func WithToken(token string) ClientOption + type DenyAuthorizationFormdataRequestBody = OAuthConsentRequest + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type IntrospectTokenFormdataRequestBody = OAuthPresentedToken + type IssueTokenFormdataRequestBody = OAuthTokenRequest + type LogoutParams struct + ClientID *string + IDTokenHint *string + LogoutHint *string + PostLogoutRedirectURI *string + State *string + UILocales *string + type OAuthAuthorizationRequest struct + AcrValues *string + ClientID string + CodeChallenge string + CodeChallengeMethod OAuthAuthorizationRequestCodeChallengeMethod + IDTokenHint *string + MaxAge *int + Nonce *string + Prompt *string + RedirectURI *string + Resource *OAuthAuthorizationRequest_Resource + ResponseMode *OAuthAuthorizationRequestResponseMode + ResponseType OAuthAuthorizationRequestResponseType + Scope *string + State *string + UnderscoreToken *string + type OAuthAuthorizationRequestCodeChallengeMethod string + const OAuthAuthorizationRequestCodeChallengeMethodS256 + func (e OAuthAuthorizationRequestCodeChallengeMethod) Valid() bool + type OAuthAuthorizationRequestResource0 = string + type OAuthAuthorizationRequestResource1 = []string + type OAuthAuthorizationRequestResponseMode string + const OAuthAuthorizationRequestResponseModeQuery + func (e OAuthAuthorizationRequestResponseMode) Valid() bool + type OAuthAuthorizationRequestResponseType string + const OAuthAuthorizationRequestResponseTypeCode + func (e OAuthAuthorizationRequestResponseType) Valid() bool + type OAuthAuthorizationRequest_Resource struct + func (t *OAuthAuthorizationRequest_Resource) FromOAuthAuthorizationRequestResource0(v OAuthAuthorizationRequestResource0) error + func (t *OAuthAuthorizationRequest_Resource) FromOAuthAuthorizationRequestResource1(v OAuthAuthorizationRequestResource1) error + func (t *OAuthAuthorizationRequest_Resource) MergeOAuthAuthorizationRequestResource0(v OAuthAuthorizationRequestResource0) error + func (t *OAuthAuthorizationRequest_Resource) MergeOAuthAuthorizationRequestResource1(v OAuthAuthorizationRequestResource1) error + func (t *OAuthAuthorizationRequest_Resource) UnmarshalJSON(b []byte) error + func (t OAuthAuthorizationRequest_Resource) AsOAuthAuthorizationRequestResource0() (OAuthAuthorizationRequestResource0, error) + func (t OAuthAuthorizationRequest_Resource) AsOAuthAuthorizationRequestResource1() (OAuthAuthorizationRequestResource1, error) + func (t OAuthAuthorizationRequest_Resource) MarshalJSON() ([]byte, error) + type OAuthClientRegistration struct + BackchannelLogoutSessionRequired *bool + BackchannelLogoutURI *string + ClientName *string + GrantTypes *[]OAuthClientRegistrationGrantTypes + PostLogoutRedirectUris *[]string + RedirectUris []string + ResponseTypes *[]OAuthClientRegistrationResponseTypes + TokenEndpointAuthMethod *OAuthClientRegistrationTokenEndpointAuthMethod + type OAuthClientRegistrationGrantTypes string + const OAuthClientRegistrationGrantTypesAuthorizationCode + const OAuthClientRegistrationGrantTypesRefreshToken + func (e OAuthClientRegistrationGrantTypes) Valid() bool + type OAuthClientRegistrationResponseTypes string + const OAuthClientRegistrationResponseTypesCode + func (e OAuthClientRegistrationResponseTypes) Valid() bool + type OAuthClientRegistrationTokenEndpointAuthMethod string + const OAuthClientRegistrationTokenEndpointAuthMethodClientSecretBasic + const OAuthClientRegistrationTokenEndpointAuthMethodClientSecretPost + const OAuthClientRegistrationTokenEndpointAuthMethodNone + func (e OAuthClientRegistrationTokenEndpointAuthMethod) Valid() bool + type OAuthConsentRequest struct + AuthToken string + UnderscoreToken *string + type OAuthError struct + Error string + ErrorDescription string + type OAuthIntrospection struct + Active bool + Aud *[]string + ClientID *string + Exp *int + Iat *int + Iss *string + Jti *string + Nbf *int + Scope *string + Sub *string + TokenType *OAuthIntrospectionTokenType + type OAuthIntrospectionTokenType string + const OAuthIntrospectionTokenTypeBearer + func (e OAuthIntrospectionTokenType) Valid() bool + type OAuthLogoutRequest struct + ClientID *string + IDTokenHint *string + LogoutConfirmation *string + LogoutHint *string + PostLogoutRedirectURI *string + State *string + UILocales *string + UnderscoreToken *string + type OAuthPresentedToken struct + ClientID *string + ClientSecret *string + Token string + TokenTypeHint *string + type OAuthProtectedResource struct + AuthorizationServers []string + BearerMethodsSupported []OAuthProtectedResourceBearerMethodsSupported + Resource string + ScopesSupported []string + type OAuthProtectedResourceBearerMethodsSupported string + const Header + func (e OAuthProtectedResourceBearerMethodsSupported) Valid() bool + type OAuthRegisteredClient struct + BackchannelLogoutSessionRequired *bool + BackchannelLogoutURI *string + ClientID string + ClientIDIssuedAt int + ClientName string + ClientSecret *string + ClientSecretExpiresAt *OAuthRegisteredClientClientSecretExpiresAt + GrantTypes []OAuthRegisteredClientGrantTypes + PostLogoutRedirectUris []string + RedirectUris []string + ResponseTypes []OAuthRegisteredClientResponseTypes + Scope *string + TokenEndpointAuthMethod OAuthRegisteredClientTokenEndpointAuthMethod + type OAuthRegisteredClientClientSecretExpiresAt int + const N0 + func (e OAuthRegisteredClientClientSecretExpiresAt) Valid() bool + type OAuthRegisteredClientGrantTypes string + const OAuthRegisteredClientGrantTypesAuthorizationCode + const OAuthRegisteredClientGrantTypesRefreshToken + func (e OAuthRegisteredClientGrantTypes) Valid() bool + type OAuthRegisteredClientResponseTypes string + const OAuthRegisteredClientResponseTypesCode + func (e OAuthRegisteredClientResponseTypes) Valid() bool + type OAuthRegisteredClientTokenEndpointAuthMethod string + const OAuthRegisteredClientTokenEndpointAuthMethodClientSecretBasic + const OAuthRegisteredClientTokenEndpointAuthMethodClientSecretPost + const OAuthRegisteredClientTokenEndpointAuthMethodNone + func (e OAuthRegisteredClientTokenEndpointAuthMethod) Valid() bool + type OAuthTokenRequest struct + func (t *OAuthTokenRequest) FromAuthorizationCodeRequest(v AuthorizationCodeRequest) error + func (t *OAuthTokenRequest) FromClientCredentialsRequest(v ClientCredentialsRequest) error + func (t *OAuthTokenRequest) FromRefreshTokenRequest(v RefreshTokenRequest) error + func (t *OAuthTokenRequest) FromTokenExchangeRequest(v TokenExchangeRequest) error + func (t *OAuthTokenRequest) MergeAuthorizationCodeRequest(v AuthorizationCodeRequest) error + func (t *OAuthTokenRequest) MergeClientCredentialsRequest(v ClientCredentialsRequest) error + func (t *OAuthTokenRequest) MergeRefreshTokenRequest(v RefreshTokenRequest) error + func (t *OAuthTokenRequest) MergeTokenExchangeRequest(v TokenExchangeRequest) error + func (t *OAuthTokenRequest) UnmarshalJSON(b []byte) error + func (t OAuthTokenRequest) AsAuthorizationCodeRequest() (AuthorizationCodeRequest, error) + func (t OAuthTokenRequest) AsClientCredentialsRequest() (ClientCredentialsRequest, error) + func (t OAuthTokenRequest) AsRefreshTokenRequest() (RefreshTokenRequest, error) + func (t OAuthTokenRequest) AsTokenExchangeRequest() (TokenExchangeRequest, error) + func (t OAuthTokenRequest) Discriminator() (string, error) + func (t OAuthTokenRequest) MarshalJSON() ([]byte, error) + func (t OAuthTokenRequest) ValueByDiscriminator() (interface{}, error) + type OAuthTokenResponse struct + AccessToken string + AdditionalProperties map[string]interface{} + ExpiresIn int + IDToken *string + IssuedTokenType *OAuthTokenResponseIssuedTokenType + RefreshToken *string + Scope *string + TokenType OAuthTokenResponseTokenType + func (a *OAuthTokenResponse) Set(fieldName string, value interface{}) + func (a *OAuthTokenResponse) UnmarshalJSON(b []byte) error + func (a OAuthTokenResponse) Get(fieldName string) (value interface{}, found bool) + func (a OAuthTokenResponse) MarshalJSON() ([]byte, error) + type OAuthTokenResponseIssuedTokenType string + const OAuthTokenResponseIssuedTokenTypeUrnIetfParamsOauthTokenTypeAccessToken + func (e OAuthTokenResponseIssuedTokenType) Valid() bool + type OAuthTokenResponseTokenType string + const OAuthTokenResponseTokenTypeBearer + func (e OAuthTokenResponseTokenType) Valid() bool + type OidcJwks struct + Keys []struct{ ... } + type OidcJwksKeysAlg string + const RS256 + func (e OidcJwksKeysAlg) Valid() bool + type OidcJwksKeysKty string + const RSA + func (e OidcJwksKeysKty) Valid() bool + type OidcJwksKeysUse string + const Sig + func (e OidcJwksKeysUse) Valid() bool + type OidcProviderMetadata struct + AcrValuesSupported []string + AuthorizationEndpoint string + AuthorizationResponseIssParameterSupported OidcProviderMetadataAuthorizationResponseIssParameterSupported + BackchannelLogoutSessionSupported OidcProviderMetadataBackchannelLogoutSessionSupported + BackchannelLogoutSupported OidcProviderMetadataBackchannelLogoutSupported + ClaimsParameterSupported OidcProviderMetadataClaimsParameterSupported + ClaimsSupported []string + CodeChallengeMethodsSupported []string + EndSessionEndpoint *string + GrantTypesSupported []string + IDTokenSigningAlgValuesSupported []string + IntrospectionEndpoint *string + IntrospectionEndpointAuthMethodsSupported *[]string + Issuer string + JwksURI string + RegistrationEndpoint *string + RequestParameterSupported OidcProviderMetadataRequestParameterSupported + RequestURIParameterSupported OidcProviderMetadataRequestURIParameterSupported + ResponseModesSupported []string + ResponseTypesSupported []string + RevocationEndpoint *string + RevocationEndpointAuthMethodsSupported *[]string + ScopesSupported []string + SubjectTypesSupported []string + TokenEndpoint string + TokenEndpointAuthMethodsSupported []string + UserinfoEndpoint *string + type OidcProviderMetadataAuthorizationResponseIssParameterSupported bool + const OidcProviderMetadataAuthorizationResponseIssParameterSupportedTrue + func (e OidcProviderMetadataAuthorizationResponseIssParameterSupported) Valid() bool + type OidcProviderMetadataBackchannelLogoutSessionSupported bool + const OidcProviderMetadataBackchannelLogoutSessionSupportedTrue + func (e OidcProviderMetadataBackchannelLogoutSessionSupported) Valid() bool + type OidcProviderMetadataBackchannelLogoutSupported bool + const OidcProviderMetadataBackchannelLogoutSupportedTrue + func (e OidcProviderMetadataBackchannelLogoutSupported) Valid() bool + type OidcProviderMetadataClaimsParameterSupported bool + const OidcProviderMetadataClaimsParameterSupportedFalse + func (e OidcProviderMetadataClaimsParameterSupported) Valid() bool + type OidcProviderMetadataRequestParameterSupported bool + const OidcProviderMetadataRequestParameterSupportedFalse + func (e OidcProviderMetadataRequestParameterSupported) Valid() bool + type OidcProviderMetadataRequestURIParameterSupported bool + const OidcProviderMetadataRequestURIParameterSupportedFalse + func (e OidcProviderMetadataRequestURIParameterSupported) Valid() bool + type OidcUserinfo struct + AdditionalProperties map[string]interface{} + Email *openapi_types.Email + EmailVerified *bool + FamilyName *string + GivenName *string + Name *string + Picture *string + PreferredUsername *string + Sub string + func (a *OidcUserinfo) Set(fieldName string, value interface{}) + func (a *OidcUserinfo) UnmarshalJSON(b []byte) error + func (a OidcUserinfo) Get(fieldName string) (value interface{}, found bool) + func (a OidcUserinfo) MarshalJSON() ([]byte, error) + type RefreshTokenRequest struct + ClientID *string + ClientSecret *string + GrantType RefreshTokenRequestGrantType + RefreshToken string + Resource *RefreshTokenRequest_Resource + Scope *string + type RefreshTokenRequestGrantType string + const RefreshTokenRequestGrantTypeRefreshToken + func (e RefreshTokenRequestGrantType) Valid() bool + type RefreshTokenRequestResource0 = string + type RefreshTokenRequestResource1 = []string + type RefreshTokenRequest_Resource struct + func (t *RefreshTokenRequest_Resource) FromRefreshTokenRequestResource0(v RefreshTokenRequestResource0) error + func (t *RefreshTokenRequest_Resource) FromRefreshTokenRequestResource1(v RefreshTokenRequestResource1) error + func (t *RefreshTokenRequest_Resource) MergeRefreshTokenRequestResource0(v RefreshTokenRequestResource0) error + func (t *RefreshTokenRequest_Resource) MergeRefreshTokenRequestResource1(v RefreshTokenRequestResource1) error + func (t *RefreshTokenRequest_Resource) UnmarshalJSON(b []byte) error + func (t RefreshTokenRequest_Resource) AsRefreshTokenRequestResource0() (RefreshTokenRequestResource0, error) + func (t RefreshTokenRequest_Resource) AsRefreshTokenRequestResource1() (RefreshTokenRequestResource1, error) + func (t RefreshTokenRequest_Resource) MarshalJSON() ([]byte, error) + type RegisterClientJSONRequestBody = OAuthClientRegistration + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type Response = lock.Response + type RevokeTokenFormdataRequestBody = OAuthPresentedToken + type SubmitAuthorizationFormdataRequestBody = OAuthAuthorizationRequest + type SubmitLogoutFormdataRequestBody = OAuthLogoutRequest + type TokenExchangeRequest struct + Audience *string + ClientID *string + ClientSecret *string + GrantType TokenExchangeRequestGrantType + RequestedTokenType *TokenExchangeRequestRequestedTokenType + Resource *string + Scope *string + SubjectToken string + SubjectTokenType TokenExchangeRequestSubjectTokenType + func (t *TokenExchangeRequest) FromTokenExchangeRequest0(v TokenExchangeRequest0) error + func (t *TokenExchangeRequest) FromTokenExchangeRequest1(v TokenExchangeRequest1) error + func (t *TokenExchangeRequest) MergeTokenExchangeRequest0(v TokenExchangeRequest0) error + func (t *TokenExchangeRequest) MergeTokenExchangeRequest1(v TokenExchangeRequest1) error + func (t *TokenExchangeRequest) UnmarshalJSON(b []byte) error + func (t TokenExchangeRequest) AsTokenExchangeRequest0() (TokenExchangeRequest0, error) + func (t TokenExchangeRequest) AsTokenExchangeRequest1() (TokenExchangeRequest1, error) + func (t TokenExchangeRequest) MarshalJSON() ([]byte, error) + type TokenExchangeRequest0 = interface + type TokenExchangeRequest1 = interface + type TokenExchangeRequestGrantType string + const UrnIetfParamsOauthGrantTypeTokenExchange + func (e TokenExchangeRequestGrantType) Valid() bool + type TokenExchangeRequestRequestedTokenType string + const TokenExchangeRequestRequestedTokenTypeUrnIetfParamsOauthTokenTypeAccessToken + func (e TokenExchangeRequestRequestedTokenType) Valid() bool + type TokenExchangeRequestSubjectTokenType string + const TokenExchangeRequestSubjectTokenTypeUrnIetfParamsOauthTokenTypeAccessToken + func (e TokenExchangeRequestSubjectTokenType) Valid() bool