Documentation ¶
Index ¶
- type AuthCodeRequestV3Found
- type AuthCodeRequestV3Params
- func NewAuthCodeRequestV3Params() *AuthCodeRequestV3Params
- func NewAuthCodeRequestV3ParamsWithContext(ctx context.Context) *AuthCodeRequestV3Params
- func NewAuthCodeRequestV3ParamsWithHTTPClient(client *http.Client) *AuthCodeRequestV3Params
- func NewAuthCodeRequestV3ParamsWithTimeout(timeout time.Duration) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) SetClientID(clientID *string)
- func (o *AuthCodeRequestV3Params) SetContext(ctx context.Context)
- func (o *AuthCodeRequestV3Params) SetHTTPClient(client *http.Client)
- func (o *AuthCodeRequestV3Params) SetPlatformID(platformID string)
- func (o *AuthCodeRequestV3Params) SetRedirectURI(redirectURI *string)
- func (o *AuthCodeRequestV3Params) SetRequestID(requestID string)
- func (o *AuthCodeRequestV3Params) SetTimeout(timeout time.Duration)
- func (o *AuthCodeRequestV3Params) WithClientID(clientID *string) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WithContext(ctx context.Context) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WithHTTPClient(client *http.Client) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WithPlatformID(platformID string) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WithRedirectURI(redirectURI *string) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WithRequestID(requestID string) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WithTimeout(timeout time.Duration) *AuthCodeRequestV3Params
- func (o *AuthCodeRequestV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthCodeRequestV3Reader
- type AuthorizeV3Found
- type AuthorizeV3Params
- func (o *AuthorizeV3Params) SetClientID(clientID string)
- func (o *AuthorizeV3Params) SetCodeChallenge(codeChallenge *string)
- func (o *AuthorizeV3Params) SetCodeChallengeMethod(codeChallengeMethod *string)
- func (o *AuthorizeV3Params) SetContext(ctx context.Context)
- func (o *AuthorizeV3Params) SetHTTPClient(client *http.Client)
- func (o *AuthorizeV3Params) SetRedirectURI(redirectURI *string)
- func (o *AuthorizeV3Params) SetResponseType(responseType string)
- func (o *AuthorizeV3Params) SetScope(scope *string)
- func (o *AuthorizeV3Params) SetState(state *string)
- func (o *AuthorizeV3Params) SetTargetAuthPage(targetAuthPage *string)
- func (o *AuthorizeV3Params) SetTimeout(timeout time.Duration)
- func (o *AuthorizeV3Params) WithClientID(clientID string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithCodeChallenge(codeChallenge *string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithCodeChallengeMethod(codeChallengeMethod *string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithContext(ctx context.Context) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithHTTPClient(client *http.Client) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithRedirectURI(redirectURI *string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithResponseType(responseType string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithScope(scope *string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithState(state *string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithTargetAuthPage(targetAuthPage *string) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WithTimeout(timeout time.Duration) *AuthorizeV3Params
- func (o *AuthorizeV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthorizeV3Reader
- type Client
- func (a *Client) AuthCodeRequestV3(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error)
- func (a *Client) AuthorizeV3(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error)
- func (a *Client) GetJWKSV3(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error)
- func (a *Client) GetRevocationListV3(params *GetRevocationListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationListV3OK, *GetRevocationListV3Unauthorized, error)
- func (a *Client) PlatformTokenGrantV3(params *PlatformTokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenGrantV3OK, *PlatformTokenGrantV3BadRequest, ...)
- func (a *Client) RetrieveUserThirdPartyPlatformTokenV3(params *RetrieveUserThirdPartyPlatformTokenV3Params, ...) (*RetrieveUserThirdPartyPlatformTokenV3OK, ...)
- func (a *Client) RevokeUserV3(params *RevokeUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserV3OK, *RevokeUserV3BadRequest, *RevokeUserV3Unauthorized, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TokenGrantV3(params *TokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenGrantV3OK, *TokenGrantV3BadRequest, *TokenGrantV3Unauthorized, ...)
- func (a *Client) TokenIntrospectionV3(params *TokenIntrospectionV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenIntrospectionV3OK, *TokenIntrospectionV3BadRequest, ...)
- func (a *Client) TokenRevocationV3(params *TokenRevocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenRevocationV3OK, *TokenRevocationV3BadRequest, ...)
- type ClientService
- type GetJWKSV3OK
- type GetJWKSV3Params
- func (o *GetJWKSV3Params) SetContext(ctx context.Context)
- func (o *GetJWKSV3Params) SetHTTPClient(client *http.Client)
- func (o *GetJWKSV3Params) SetTimeout(timeout time.Duration)
- func (o *GetJWKSV3Params) WithContext(ctx context.Context) *GetJWKSV3Params
- func (o *GetJWKSV3Params) WithHTTPClient(client *http.Client) *GetJWKSV3Params
- func (o *GetJWKSV3Params) WithTimeout(timeout time.Duration) *GetJWKSV3Params
- func (o *GetJWKSV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJWKSV3Reader
- type GetRevocationListV3OK
- type GetRevocationListV3Params
- func NewGetRevocationListV3Params() *GetRevocationListV3Params
- func NewGetRevocationListV3ParamsWithContext(ctx context.Context) *GetRevocationListV3Params
- func NewGetRevocationListV3ParamsWithHTTPClient(client *http.Client) *GetRevocationListV3Params
- func NewGetRevocationListV3ParamsWithTimeout(timeout time.Duration) *GetRevocationListV3Params
- func (o *GetRevocationListV3Params) SetContext(ctx context.Context)
- func (o *GetRevocationListV3Params) SetHTTPClient(client *http.Client)
- func (o *GetRevocationListV3Params) SetTimeout(timeout time.Duration)
- func (o *GetRevocationListV3Params) WithContext(ctx context.Context) *GetRevocationListV3Params
- func (o *GetRevocationListV3Params) WithHTTPClient(client *http.Client) *GetRevocationListV3Params
- func (o *GetRevocationListV3Params) WithTimeout(timeout time.Duration) *GetRevocationListV3Params
- func (o *GetRevocationListV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRevocationListV3Reader
- type GetRevocationListV3Unauthorized
- type PlatformTokenGrantV3BadRequest
- type PlatformTokenGrantV3OK
- type PlatformTokenGrantV3Params
- func NewPlatformTokenGrantV3Params() *PlatformTokenGrantV3Params
- func NewPlatformTokenGrantV3ParamsWithContext(ctx context.Context) *PlatformTokenGrantV3Params
- func NewPlatformTokenGrantV3ParamsWithHTTPClient(client *http.Client) *PlatformTokenGrantV3Params
- func NewPlatformTokenGrantV3ParamsWithTimeout(timeout time.Duration) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) SetClientID(clientID *string)
- func (o *PlatformTokenGrantV3Params) SetContext(ctx context.Context)
- func (o *PlatformTokenGrantV3Params) SetDeviceID(deviceID *string)
- func (o *PlatformTokenGrantV3Params) SetHTTPClient(client *http.Client)
- func (o *PlatformTokenGrantV3Params) SetPlatformID(platformID string)
- func (o *PlatformTokenGrantV3Params) SetPlatformToken(platformToken *string)
- func (o *PlatformTokenGrantV3Params) SetTimeout(timeout time.Duration)
- func (o *PlatformTokenGrantV3Params) WithClientID(clientID *string) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WithContext(ctx context.Context) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WithDeviceID(deviceID *string) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WithHTTPClient(client *http.Client) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WithPlatformID(platformID string) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WithPlatformToken(platformToken *string) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WithTimeout(timeout time.Duration) *PlatformTokenGrantV3Params
- func (o *PlatformTokenGrantV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlatformTokenGrantV3Reader
- type PlatformTokenGrantV3Unauthorized
- type RetrieveUserThirdPartyPlatformTokenV3Forbidden
- type RetrieveUserThirdPartyPlatformTokenV3NotFound
- type RetrieveUserThirdPartyPlatformTokenV3OK
- type RetrieveUserThirdPartyPlatformTokenV3Params
- func NewRetrieveUserThirdPartyPlatformTokenV3Params() *RetrieveUserThirdPartyPlatformTokenV3Params
- func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext(ctx context.Context) *RetrieveUserThirdPartyPlatformTokenV3Params
- func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient(client *http.Client) *RetrieveUserThirdPartyPlatformTokenV3Params
- func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout(timeout time.Duration) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetContext(ctx context.Context)
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace(namespace string)
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID(platformID string)
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetUserID(userID string)
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithContext(ctx context.Context) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithHTTPClient(client *http.Client) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithNamespace(namespace string) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithPlatformID(platformID string) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithTimeout(timeout time.Duration) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithUserID(userID string) *RetrieveUserThirdPartyPlatformTokenV3Params
- func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveUserThirdPartyPlatformTokenV3Reader
- type RetrieveUserThirdPartyPlatformTokenV3Unauthorized
- type RevokeUserV3BadRequest
- type RevokeUserV3Forbidden
- type RevokeUserV3OK
- type RevokeUserV3Params
- func (o *RevokeUserV3Params) SetContext(ctx context.Context)
- func (o *RevokeUserV3Params) SetHTTPClient(client *http.Client)
- func (o *RevokeUserV3Params) SetNamespace(namespace string)
- func (o *RevokeUserV3Params) SetTimeout(timeout time.Duration)
- func (o *RevokeUserV3Params) SetUserID(userID string)
- func (o *RevokeUserV3Params) WithContext(ctx context.Context) *RevokeUserV3Params
- func (o *RevokeUserV3Params) WithHTTPClient(client *http.Client) *RevokeUserV3Params
- func (o *RevokeUserV3Params) WithNamespace(namespace string) *RevokeUserV3Params
- func (o *RevokeUserV3Params) WithTimeout(timeout time.Duration) *RevokeUserV3Params
- func (o *RevokeUserV3Params) WithUserID(userID string) *RevokeUserV3Params
- func (o *RevokeUserV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeUserV3Reader
- type RevokeUserV3Unauthorized
- type TokenGrantV3BadRequest
- type TokenGrantV3Forbidden
- type TokenGrantV3OK
- type TokenGrantV3Params
- func (o *TokenGrantV3Params) SetClientID(clientID *string)
- func (o *TokenGrantV3Params) SetCode(code *string)
- func (o *TokenGrantV3Params) SetCodeVerifier(codeVerifier *string)
- func (o *TokenGrantV3Params) SetContext(ctx context.Context)
- func (o *TokenGrantV3Params) SetDeviceID(deviceID *string)
- func (o *TokenGrantV3Params) SetGrantType(grantType string)
- func (o *TokenGrantV3Params) SetHTTPClient(client *http.Client)
- func (o *TokenGrantV3Params) SetRedirectURI(redirectURI *string)
- func (o *TokenGrantV3Params) SetRefreshToken(refreshToken *string)
- func (o *TokenGrantV3Params) SetTimeout(timeout time.Duration)
- func (o *TokenGrantV3Params) WithClientID(clientID *string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithCode(code *string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithCodeVerifier(codeVerifier *string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithContext(ctx context.Context) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithDeviceID(deviceID *string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithGrantType(grantType string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithHTTPClient(client *http.Client) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithRedirectURI(redirectURI *string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithRefreshToken(refreshToken *string) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WithTimeout(timeout time.Duration) *TokenGrantV3Params
- func (o *TokenGrantV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokenGrantV3Reader
- type TokenGrantV3Unauthorized
- type TokenIntrospectionV3BadRequest
- type TokenIntrospectionV3OK
- type TokenIntrospectionV3Params
- func NewTokenIntrospectionV3Params() *TokenIntrospectionV3Params
- func NewTokenIntrospectionV3ParamsWithContext(ctx context.Context) *TokenIntrospectionV3Params
- func NewTokenIntrospectionV3ParamsWithHTTPClient(client *http.Client) *TokenIntrospectionV3Params
- func NewTokenIntrospectionV3ParamsWithTimeout(timeout time.Duration) *TokenIntrospectionV3Params
- func (o *TokenIntrospectionV3Params) SetContext(ctx context.Context)
- func (o *TokenIntrospectionV3Params) SetHTTPClient(client *http.Client)
- func (o *TokenIntrospectionV3Params) SetTimeout(timeout time.Duration)
- func (o *TokenIntrospectionV3Params) SetToken(token string)
- func (o *TokenIntrospectionV3Params) WithContext(ctx context.Context) *TokenIntrospectionV3Params
- func (o *TokenIntrospectionV3Params) WithHTTPClient(client *http.Client) *TokenIntrospectionV3Params
- func (o *TokenIntrospectionV3Params) WithTimeout(timeout time.Duration) *TokenIntrospectionV3Params
- func (o *TokenIntrospectionV3Params) WithToken(token string) *TokenIntrospectionV3Params
- func (o *TokenIntrospectionV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokenIntrospectionV3Reader
- type TokenIntrospectionV3Unauthorized
- type TokenRevocationV3BadRequest
- type TokenRevocationV3OK
- type TokenRevocationV3Params
- func NewTokenRevocationV3Params() *TokenRevocationV3Params
- func NewTokenRevocationV3ParamsWithContext(ctx context.Context) *TokenRevocationV3Params
- func NewTokenRevocationV3ParamsWithHTTPClient(client *http.Client) *TokenRevocationV3Params
- func NewTokenRevocationV3ParamsWithTimeout(timeout time.Duration) *TokenRevocationV3Params
- func (o *TokenRevocationV3Params) SetContext(ctx context.Context)
- func (o *TokenRevocationV3Params) SetHTTPClient(client *http.Client)
- func (o *TokenRevocationV3Params) SetTimeout(timeout time.Duration)
- func (o *TokenRevocationV3Params) SetToken(token string)
- func (o *TokenRevocationV3Params) WithContext(ctx context.Context) *TokenRevocationV3Params
- func (o *TokenRevocationV3Params) WithHTTPClient(client *http.Client) *TokenRevocationV3Params
- func (o *TokenRevocationV3Params) WithTimeout(timeout time.Duration) *TokenRevocationV3Params
- func (o *TokenRevocationV3Params) WithToken(token string) *TokenRevocationV3Params
- func (o *TokenRevocationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokenRevocationV3Reader
- type TokenRevocationV3Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCodeRequestV3Found ¶ added in v0.2.0
type AuthCodeRequestV3Found struct { }
AuthCodeRequestV3Found handles this case with default header values.
Found. Redirect to client’s redirect URI with either code or error on the query parameter
func NewAuthCodeRequestV3Found ¶ added in v0.2.0
func NewAuthCodeRequestV3Found() *AuthCodeRequestV3Found
NewAuthCodeRequestV3Found creates a AuthCodeRequestV3Found with default headers values
func (*AuthCodeRequestV3Found) Error ¶ added in v0.2.0
func (o *AuthCodeRequestV3Found) Error() string
type AuthCodeRequestV3Params ¶ added in v0.2.0
type AuthCodeRequestV3Params struct { /*ClientID Client ID */ ClientID *string /*PlatformID Platform ID */ PlatformID string /*RedirectURI Redirect URI */ RedirectURI *string /*RequestID Request ID retrieved from authorize endpoint ([GET] iam/v3/oauth/authorize) */ RequestID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthCodeRequestV3Params contains all the parameters to send to the API endpoint for the auth code request v3 operation typically these are written to a http.Request
func NewAuthCodeRequestV3Params ¶ added in v0.2.0
func NewAuthCodeRequestV3Params() *AuthCodeRequestV3Params
NewAuthCodeRequestV3Params creates a new AuthCodeRequestV3Params object with the default values initialized.
func NewAuthCodeRequestV3ParamsWithContext ¶ added in v0.2.0
func NewAuthCodeRequestV3ParamsWithContext(ctx context.Context) *AuthCodeRequestV3Params
NewAuthCodeRequestV3ParamsWithContext creates a new AuthCodeRequestV3Params object with the default values initialized, and the ability to set a context for a request
func NewAuthCodeRequestV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewAuthCodeRequestV3ParamsWithHTTPClient(client *http.Client) *AuthCodeRequestV3Params
NewAuthCodeRequestV3ParamsWithHTTPClient creates a new AuthCodeRequestV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAuthCodeRequestV3ParamsWithTimeout ¶ added in v0.2.0
func NewAuthCodeRequestV3ParamsWithTimeout(timeout time.Duration) *AuthCodeRequestV3Params
NewAuthCodeRequestV3ParamsWithTimeout creates a new AuthCodeRequestV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AuthCodeRequestV3Params) SetClientID ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetClientID(clientID *string)
SetClientID adds the clientId to the auth code request v3 params
func (*AuthCodeRequestV3Params) SetContext ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetContext(ctx context.Context)
SetContext adds the context to the auth code request v3 params
func (*AuthCodeRequestV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth code request v3 params
func (*AuthCodeRequestV3Params) SetPlatformID ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetPlatformID(platformID string)
SetPlatformID adds the platformId to the auth code request v3 params
func (*AuthCodeRequestV3Params) SetRedirectURI ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetRedirectURI(redirectURI *string)
SetRedirectURI adds the redirectUri to the auth code request v3 params
func (*AuthCodeRequestV3Params) SetRequestID ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetRequestID(requestID string)
SetRequestID adds the requestId to the auth code request v3 params
func (*AuthCodeRequestV3Params) SetTimeout ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithClientID ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithClientID(clientID *string) *AuthCodeRequestV3Params
WithClientID adds the clientID to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithContext ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithContext(ctx context.Context) *AuthCodeRequestV3Params
WithContext adds the context to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithHTTPClient(client *http.Client) *AuthCodeRequestV3Params
WithHTTPClient adds the HTTPClient to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithPlatformID ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithPlatformID(platformID string) *AuthCodeRequestV3Params
WithPlatformID adds the platformID to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithRedirectURI ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithRedirectURI(redirectURI *string) *AuthCodeRequestV3Params
WithRedirectURI adds the redirectURI to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithRequestID ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithRequestID(requestID string) *AuthCodeRequestV3Params
WithRequestID adds the requestID to the auth code request v3 params
func (*AuthCodeRequestV3Params) WithTimeout ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WithTimeout(timeout time.Duration) *AuthCodeRequestV3Params
WithTimeout adds the timeout to the auth code request v3 params
func (*AuthCodeRequestV3Params) WriteToRequest ¶ added in v0.2.0
func (o *AuthCodeRequestV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthCodeRequestV3Reader ¶ added in v0.2.0
type AuthCodeRequestV3Reader struct {
// contains filtered or unexported fields
}
AuthCodeRequestV3Reader is a Reader for the AuthCodeRequestV3 structure.
func (*AuthCodeRequestV3Reader) ReadResponse ¶ added in v0.2.0
func (o *AuthCodeRequestV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthorizeV3Found ¶
type AuthorizeV3Found struct { /*The Location header */ Location string }
AuthorizeV3Found handles this case with default header values.
Found. Redirected to login page with either request_id or error.
func NewAuthorizeV3Found ¶
func NewAuthorizeV3Found() *AuthorizeV3Found
NewAuthorizeV3Found creates a AuthorizeV3Found with default headers values
func (*AuthorizeV3Found) Error ¶
func (o *AuthorizeV3Found) Error() string
type AuthorizeV3Params ¶
type AuthorizeV3Params struct { /*ClientID Registered client ID */ ClientID string /*CodeChallenge Value generated by transforming code verifier using code challenge method. Mandatory for public client. */ CodeChallenge *string /*CodeChallengeMethod Method that is used to transform code verifier to code challenge */ CodeChallengeMethod *string /*RedirectURI Redirect URI registered for requesting client. Required if client registered with multiple redirect URI. Registered redirect uri will be assigned if left empty. */ RedirectURI *string /*ResponseType Supported response type : 'code' */ ResponseType string /*Scope Defines the requested access request scope. Can be multiple values delimited by whitespace. */ Scope *string /*State Random value for preventing cross-site request forgery used by client. */ State *string /*TargetAuthPage Custom query to tell authorization web which page to present to user */ TargetAuthPage *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthorizeV3Params contains all the parameters to send to the API endpoint for the authorize v3 operation typically these are written to a http.Request
func NewAuthorizeV3Params ¶
func NewAuthorizeV3Params() *AuthorizeV3Params
NewAuthorizeV3Params creates a new AuthorizeV3Params object with the default values initialized.
func NewAuthorizeV3ParamsWithContext ¶
func NewAuthorizeV3ParamsWithContext(ctx context.Context) *AuthorizeV3Params
NewAuthorizeV3ParamsWithContext creates a new AuthorizeV3Params object with the default values initialized, and the ability to set a context for a request
func NewAuthorizeV3ParamsWithHTTPClient ¶
func NewAuthorizeV3ParamsWithHTTPClient(client *http.Client) *AuthorizeV3Params
NewAuthorizeV3ParamsWithHTTPClient creates a new AuthorizeV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAuthorizeV3ParamsWithTimeout ¶
func NewAuthorizeV3ParamsWithTimeout(timeout time.Duration) *AuthorizeV3Params
NewAuthorizeV3ParamsWithTimeout creates a new AuthorizeV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AuthorizeV3Params) SetClientID ¶
func (o *AuthorizeV3Params) SetClientID(clientID string)
SetClientID adds the clientId to the authorize v3 params
func (*AuthorizeV3Params) SetCodeChallenge ¶
func (o *AuthorizeV3Params) SetCodeChallenge(codeChallenge *string)
SetCodeChallenge adds the codeChallenge to the authorize v3 params
func (*AuthorizeV3Params) SetCodeChallengeMethod ¶
func (o *AuthorizeV3Params) SetCodeChallengeMethod(codeChallengeMethod *string)
SetCodeChallengeMethod adds the codeChallengeMethod to the authorize v3 params
func (*AuthorizeV3Params) SetContext ¶
func (o *AuthorizeV3Params) SetContext(ctx context.Context)
SetContext adds the context to the authorize v3 params
func (*AuthorizeV3Params) SetHTTPClient ¶
func (o *AuthorizeV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the authorize v3 params
func (*AuthorizeV3Params) SetRedirectURI ¶
func (o *AuthorizeV3Params) SetRedirectURI(redirectURI *string)
SetRedirectURI adds the redirectUri to the authorize v3 params
func (*AuthorizeV3Params) SetResponseType ¶
func (o *AuthorizeV3Params) SetResponseType(responseType string)
SetResponseType adds the responseType to the authorize v3 params
func (*AuthorizeV3Params) SetScope ¶
func (o *AuthorizeV3Params) SetScope(scope *string)
SetScope adds the scope to the authorize v3 params
func (*AuthorizeV3Params) SetState ¶
func (o *AuthorizeV3Params) SetState(state *string)
SetState adds the state to the authorize v3 params
func (*AuthorizeV3Params) SetTargetAuthPage ¶
func (o *AuthorizeV3Params) SetTargetAuthPage(targetAuthPage *string)
SetTargetAuthPage adds the targetAuthPage to the authorize v3 params
func (*AuthorizeV3Params) SetTimeout ¶
func (o *AuthorizeV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the authorize v3 params
func (*AuthorizeV3Params) WithClientID ¶
func (o *AuthorizeV3Params) WithClientID(clientID string) *AuthorizeV3Params
WithClientID adds the clientID to the authorize v3 params
func (*AuthorizeV3Params) WithCodeChallenge ¶
func (o *AuthorizeV3Params) WithCodeChallenge(codeChallenge *string) *AuthorizeV3Params
WithCodeChallenge adds the codeChallenge to the authorize v3 params
func (*AuthorizeV3Params) WithCodeChallengeMethod ¶
func (o *AuthorizeV3Params) WithCodeChallengeMethod(codeChallengeMethod *string) *AuthorizeV3Params
WithCodeChallengeMethod adds the codeChallengeMethod to the authorize v3 params
func (*AuthorizeV3Params) WithContext ¶
func (o *AuthorizeV3Params) WithContext(ctx context.Context) *AuthorizeV3Params
WithContext adds the context to the authorize v3 params
func (*AuthorizeV3Params) WithHTTPClient ¶
func (o *AuthorizeV3Params) WithHTTPClient(client *http.Client) *AuthorizeV3Params
WithHTTPClient adds the HTTPClient to the authorize v3 params
func (*AuthorizeV3Params) WithRedirectURI ¶
func (o *AuthorizeV3Params) WithRedirectURI(redirectURI *string) *AuthorizeV3Params
WithRedirectURI adds the redirectURI to the authorize v3 params
func (*AuthorizeV3Params) WithResponseType ¶
func (o *AuthorizeV3Params) WithResponseType(responseType string) *AuthorizeV3Params
WithResponseType adds the responseType to the authorize v3 params
func (*AuthorizeV3Params) WithScope ¶
func (o *AuthorizeV3Params) WithScope(scope *string) *AuthorizeV3Params
WithScope adds the scope to the authorize v3 params
func (*AuthorizeV3Params) WithState ¶
func (o *AuthorizeV3Params) WithState(state *string) *AuthorizeV3Params
WithState adds the state to the authorize v3 params
func (*AuthorizeV3Params) WithTargetAuthPage ¶
func (o *AuthorizeV3Params) WithTargetAuthPage(targetAuthPage *string) *AuthorizeV3Params
WithTargetAuthPage adds the targetAuthPage to the authorize v3 params
func (*AuthorizeV3Params) WithTimeout ¶
func (o *AuthorizeV3Params) WithTimeout(timeout time.Duration) *AuthorizeV3Params
WithTimeout adds the timeout to the authorize v3 params
func (*AuthorizeV3Params) WriteToRequest ¶
func (o *AuthorizeV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthorizeV3Reader ¶
type AuthorizeV3Reader struct {
// contains filtered or unexported fields
}
AuthorizeV3Reader is a Reader for the AuthorizeV3 structure.
func (*AuthorizeV3Reader) ReadResponse ¶
func (o *AuthorizeV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for o auth2 0 API
func (*Client) AuthCodeRequestV3 ¶ added in v0.2.0
func (a *Client) AuthCodeRequestV3(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error)
AuthCodeRequestV3 generates url to request auth code from third party platform
'Generate url to request auth code from third party platform <br>
<h2>Supported platforms:</h2><ul> <li><strong>steamopenid</strong></li>This endpoint redirects to steam login page, then redirect back to platform authenticate endpoint after successfully authenticating user steam. <li><strong>xblweb</strong></li>This endpoint redirects to xbox login page, then redirect back to platform authenticate endpoint after successfully authenticating xbox user. <li><strong>ps4web</strong></li>This endpoint redirects to psn login page, then redirect back to platform authenticate endpoint after successfully authenticating psn user. <li><strong>epicgames</strong></li>This endpoint redirects to Epicgames OAuth login page. then redirect to platform authenticate endpoint after successfully authenticating an Epicgames credential <li><strong>twitch</strong></li>This endpoint redirects to twitch login page, then redirect back to platform authenticate endpoint after successfully authenticating twitch user. </ul> action code : 10702'
func (*Client) AuthorizeV3 ¶
func (a *Client) AuthorizeV3(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error)
AuthorizeV3 os auth2 authorize API Initializes OAuth2.0 authorization code flow<br/>
<p>The endpoint stores authorization request and redirects to login page with the authorization request id.
The user can then do the authentication on the login page. The user will be redirected back to the requesting client with authorization code if successfully authenticated.
</p> <p>Only authorization code flow supported by this endpoint, implicit flow is not supported.</p> <ul>
<li><p><strong>Authorize success</strong>: redirects to login page with the following information: ?request_id={authorization_request_id}</p> </li> <li><p><strong>Authorize failure</strong>: redirects to the given redirect uri with the following information: ?error={error_code}&error_description={error description}</p> </li>
</ul>
<p>Following are the error code based on the specification:</p>
<ul>
<li><p>invalid_request: The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.</p> </li> <li><p>server_error: The authorization server encountered an unexpected condition that prevented it from fulfilling the request.</p> </li> <li><p>unauthorized_client: The client is not authorized to request a token using this method.</p></li> <li><p>access_denied: The resource owner or authorization server denied the request.</p></li> <li><p>invalid_scope: The requested scope is invalid, unknown, or malformed.</p></li> <li><p>unsupported_response_type: The authorization server does not support obtaining a token using this method.</p></li> <li><p>temporarily_unavailable: The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.</p> </li>
</ul>
<p>Please refer to the RFC for more information about authorization code flow: https://tools.ietf.org/html/rfc6749#section-4.1</p><br> action code: 10701
func (*Client) GetJWKSV3 ¶ added in v0.2.0
func (a *Client) GetJWKSV3(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error)
GetJWKSV3 JSONs web key set for verifying j w t <p>This endpoint serves public keys for verifying JWT access tokens generated by this service.</p> <p>When a client application wants to verify a JWT token, it needs to get the 'kid' value found in the JWT token header and use it to look up the corresponding public key from a set returned by this endpoint. The client application can then use that public key to verify the JWT.</p> <p>A client application might cache the keys so it doesn't need to do request every time it needs to verify a JWT token. If a client application caches the keys and a key with the same 'kid' cannot be found in the cache, it should then try to refresh the keys by making a request to this endpoint again.</p> <p>Please refer to the RFC for more information about JWK (JSON Web Key): https://tools.ietf.org/html/rfc7517</p> <br>action code : 10709
func (*Client) GetRevocationListV3 ¶ added in v0.2.0
func (a *Client) GetRevocationListV3(params *GetRevocationListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationListV3OK, *GetRevocationListV3Unauthorized, error)
GetRevocationListV3 os auth2 revocation list API <p>This endpoint will return a list of revoked users and revoked tokens. List of revoked tokens in bloom filter format.</p> <p>This endpoint requires authorized requests header with valid access token.</p> <p>The bloom filter uses MurmurHash3 algorithm for hashing the values</p> <p>action code : 10708</p>
func (*Client) PlatformTokenGrantV3 ¶ added in v0.2.0
func (a *Client) PlatformTokenGrantV3(params *PlatformTokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenGrantV3OK, *PlatformTokenGrantV3BadRequest, *PlatformTokenGrantV3Unauthorized, error)
PlatformTokenGrantV3 os auth2 access token generation specific to platform <p>Platform token grant specifically used for performing token grant using platform, e.g. Steam, Justice, etc. The endpoint automatically create an account if the account associated with the platform is not exists yet. This endpoint requires all requests to have Authorization header set with Basic access authentication constructed from client id and client secret. For publisher-game namespace schema : Specify only either platform_token or device_id. Device token grant should be requested along with device_id parameter against game namespace. Another 3rd party platform token grant should be requested along with platform_token parameter against publisher namespace.</p> <h2>Supported platforms:</h2> <ul> <li><strong>steam</strong>: The platform_token’s value is the authentication code returned by Steam.</li> <li><strong>steamopenid</strong>: Steam's user authentication method using OpenID 2.0. The platform_token's value is URL generated by Steam on web authentication</li> <li><strong>facebook</strong>: The platform_token’s value is the authorization code returned by Facebook OAuth</li> <li><strong>google</strong>: The platform_token’s value is the authorization code returned by Google OAuth</li> <li><strong>oculus</strong>: The platform_token’s value is a string composed of Oculus's user ID and the nonce separated by a colon (:).</li> <li><strong>twitch</strong>: The platform_token’s value is the authorization code returned by Twitch OAuth.</li> <li><strong>discord</strong>: The platform_token’s value is the authorization code returned by Discord OAuth</li> <li><strong>android</strong>: The device_id is the Android’s device ID</li> <li><strong>ios</strong>: The device_id is the iOS’s device ID.</li> <li><strong>device</strong>: Every device that does’nt run Android and iOS is categorized as a device. The device_id is the device’s ID.</li> <li><strong>justice</strong>: The platform_token’s value is the designated user’s access token.</li> <li><strong>epicgames</strong>: The platform_token’s value is an access-token obtained from Epicgames EOS Account Service.</li> <li><strong>stadia</strong>: The platform_token's value is a JWT Token, which can be obtained after calling the Stadia SDK's function.</li> <li><strong>ps4</strong>: The platform_token’s value is the authorization code returned by Sony OAuth.</li> <li><strong>ps5</strong>: The platform_token’s value is the authorization code returned by Sony OAuth.</li> <li><strong>nintendo</strong>: The platform_token’s value is the authorization code(id_token) returned by Nintendo OAuth.</li> <li><strong>awscognito</strong>: The platform_token’s value is the aws cognito access token (JWT).</li> </ul> <h2>Account Group</h2> <p>Several platforms are grouped under account groups. The accounts on these platforms have the same platform user id. Login using one of these platform will returns the same IAM user. </p> <p>Following is the current registered account grouping: </p> <ul> <li> (psn) ps4web </li> <li> (psn) ps4 </li> <li> (psn) ps5 </li> </ul> <h2>Access Token Content</h2> <p>Following is the access token’s content:</p> <ul> <li> <p><strong>namespace</strong>. It is the namespace the token was generated from.</p> </li> <li> <p><strong>display_name</strong>. The display name of the sub. It is empty if the token is generated from the client credential</p> </li> <li> <p><strong>roles</strong>. The sub’s roles. It is empty if the token is generated from the client credential</p> </li> <li> <p><strong>namespace_roles</strong>. The sub’s roles scoped to namespace. Improvement from roles, which make the role scoped to specific namespace instead of global to publisher namespace</p> </li> <li> <p><strong>permissions</strong>. The sub or aud’ permissions</p> </li> <li> <p><strong>bans</strong>. The sub’s list of bans. It is used by the IAM client for validating the token.</p> </li> <li> <p><strong>jflgs</strong>. It stands for Justice Flags. It is a special flag used for storing additional status information regarding the sub. It is implemented as a bit mask. Following explains what each bit represents:</p> <ul> <li><p>1: Email Address Verified</p></li> <li><p>2: Phone Number Verified</p></li> <li><p>4: Anonymous</p></li> <li><p>8: Suspicious Login</p></li> </ul> </li> <li> <p><strong>aud</strong>. The aud is the client ID.</p> </li> <li> <p><strong>iat</strong>. The time the token issues at. It is in Epoch time format</p> </li> <li> <p><strong>exp</strong>. The time the token expires. It is in Epoch time format</p> </li> <li> <p><strong>sub</strong>. The UserID. The sub is omitted if the token is generated from client credential</p> </li> <h2>Bans</h2> <p>The JWT contains user's active bans with its expiry date. List of ban types can be obtained from /bans.</p> <br>action code : 10704
func (*Client) RetrieveUserThirdPartyPlatformTokenV3 ¶ added in v0.2.0
func (a *Client) RetrieveUserThirdPartyPlatformTokenV3(params *RetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveUserThirdPartyPlatformTokenV3OK, *RetrieveUserThirdPartyPlatformTokenV3Unauthorized, *RetrieveUserThirdPartyPlatformTokenV3Forbidden, *RetrieveUserThirdPartyPlatformTokenV3NotFound, error)
RetrieveUserThirdPartyPlatformTokenV3 retrieves user third party platform token Retrieve User Third Party Platform Token<br/>
<p> This endpoint used for retrieving third party platform token for user that login using third party. Passing platform group name or it's member will return same access token that can be used across the platform members. </p> <p>The third party platform and platform group covered for this is:</p> <ul>
<li>(psn) ps4web</li> <li>(psn) ps4</li> <li>(psn) ps5</li> <li>epicgames</li> <li>twitch</li> <li>awscognito</li>
</ul>
func (*Client) RevokeUserV3 ¶ added in v0.2.0
func (a *Client) RevokeUserV3(params *RevokeUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserV3OK, *RevokeUserV3BadRequest, *RevokeUserV3Unauthorized, *RevokeUserV3Forbidden, error)
RevokeUserV3 revokes user s tokens <p>This endpoint revokes all access tokens and refresh tokens a user has prior the revocation time.</p> <p>This endpoint requires authorized requests header with valid access token.</p> <p>Required permission 'ADMIN:NAMESPACE:{namespace}:USER:{userId} [UPDATE]'</p> <p>It is a convenient feature for the developer (or admin) who wanted to revokes all user's access tokens and refresh tokens generated before some period of time.</p> <p>action code : 10707</p>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TokenGrantV3 ¶
func (a *Client) TokenGrantV3(params *TokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenGrantV3OK, *TokenGrantV3BadRequest, *TokenGrantV3Unauthorized, *TokenGrantV3Forbidden, error)
TokenGrantV3 os auth2 access token generation endpoint <p>This endpoint supports grant type:</p><ol> <li>Grant Type == <code>authorization_code</code>:<br /> It generates the user token by given the authorization code which generated in "/v3/oauth/auth" API response. It should also pass in the redirect_uri, which should be the same as generating the authorization code request. </li> <li>Grant Type == <code>refresh_token</code>:<br /> Used to get a new access token for a valid refresh token. </li> <li>Grant Type == <code>client_credentials</code>:<br /> It generates a token by checking the client credentials provided through Authorization header. </li></ol> <h2>Access Token Content</h2> <p>Following is the access token’s content:</p> <ul> <li> <p><strong>namespace</strong>. It is the namespace the token was generated from.</p> </li> <li> <p><strong>display_name</strong>. The display name of the sub. It is empty if the token is generated from the client credential</p> </li> <li> <p><strong>roles</strong>. The sub’s roles. It is empty if the token is generated from the client credential</p> </li> <li> <p><strong>namespace_roles</strong>. The sub’s roles scoped to namespace. Improvement from roles, which make the role scoped to specific namespace instead of global to publisher namespace</p> </li> <li> <p><strong>permissions</strong>. The sub or aud’ permissions</p> </li> <li> <p><strong>bans</strong>. The sub’s list of bans. It is used by the IAM client for validating the token.</p> </li> <li> <p><strong>jflgs</strong>. It stands for Justice Flags. It is a special flag used for storing additional status information regarding the sub. It is implemented as a bit mask. Following explains what each bit represents:</p> <ul> <li><p>1: Email Address Verified</p></li> <li><p>2: Phone Number Verified</p></li> <li><p>4: Anonymous</p></li> <li><p>8: Suspicious Login</p></li> </ul> </li> <li> <p><strong>aud</strong>. The aud is the targeted resource server.</p> </li> <li> <p><strong>iat</strong>. The time the token issues at. It is in Epoch time format</p> </li> <li> <p><strong>exp</strong>. The time the token expires. It is in Epoch time format</p> </li> <li> <p><strong>client_id</strong>. The UserID. The sub is omitted if the token is generated from client credential</p> </li> <li> <p><strong>scope</strong>. The scope of the access request, expressed as a list of space-delimited, case-sensitive strings</p> </li> </ul> <h2>Bans</h2> <p>The JWT contains user's active bans with its expiry date. List of ban types can be obtained from /bans.</p> <h2>Track Login History</h2> <p>This endpoint will track login history to detect suspicious login activity, please provide "device_id" (alphanumeric) in request header parameter otherwise we will set to "unknown".</p> <p>Align with General Data Protection Regulation in Europe, user login history will be kept within 28 days by default"</p> <p>action code: 10703
func (*Client) TokenIntrospectionV3 ¶ added in v0.2.0
func (a *Client) TokenIntrospectionV3(params *TokenIntrospectionV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenIntrospectionV3OK, *TokenIntrospectionV3BadRequest, *TokenIntrospectionV3Unauthorized, error)
TokenIntrospectionV3 os auth2 token introspection API <p>This endpoint returns information about an access token intended to be used by resource servers or other internal servers.</p> <p>This endpoint requires authorized requests header with valid basic or bearer token.</p> <p>action code : 10705</p>
func (*Client) TokenRevocationV3 ¶
func (a *Client) TokenRevocationV3(params *TokenRevocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenRevocationV3OK, *TokenRevocationV3BadRequest, *TokenRevocationV3Unauthorized, error)
TokenRevocationV3 os auth2 token revocation API <p>This endpoint revokes a token.</p> <p>This endpoint requires authorized requests header with valid access token.</p><br>action code: 10706
type ClientService ¶
type ClientService interface { AuthCodeRequestV3(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error) AuthorizeV3(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error) GetJWKSV3(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error) GetRevocationListV3(params *GetRevocationListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationListV3OK, *GetRevocationListV3Unauthorized, error) PlatformTokenGrantV3(params *PlatformTokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenGrantV3OK, *PlatformTokenGrantV3BadRequest, *PlatformTokenGrantV3Unauthorized, error) RetrieveUserThirdPartyPlatformTokenV3(params *RetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveUserThirdPartyPlatformTokenV3OK, *RetrieveUserThirdPartyPlatformTokenV3Unauthorized, *RetrieveUserThirdPartyPlatformTokenV3Forbidden, *RetrieveUserThirdPartyPlatformTokenV3NotFound, error) RevokeUserV3(params *RevokeUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserV3OK, *RevokeUserV3BadRequest, *RevokeUserV3Unauthorized, *RevokeUserV3Forbidden, error) TokenGrantV3(params *TokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenGrantV3OK, *TokenGrantV3BadRequest, *TokenGrantV3Unauthorized, *TokenGrantV3Forbidden, error) TokenIntrospectionV3(params *TokenIntrospectionV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenIntrospectionV3OK, *TokenIntrospectionV3BadRequest, *TokenIntrospectionV3Unauthorized, error) TokenRevocationV3(params *TokenRevocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenRevocationV3OK, *TokenRevocationV3BadRequest, *TokenRevocationV3Unauthorized, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new o auth2 0 API client.
type GetJWKSV3OK ¶ added in v0.2.0
type GetJWKSV3OK struct {
Payload *iamclientmodels.OauthcommonJWKSet
}
GetJWKSV3OK handles this case with default header values.
JWKS returned
func NewGetJWKSV3OK ¶ added in v0.2.0
func NewGetJWKSV3OK() *GetJWKSV3OK
NewGetJWKSV3OK creates a GetJWKSV3OK with default headers values
func (*GetJWKSV3OK) Error ¶ added in v0.2.0
func (o *GetJWKSV3OK) Error() string
func (*GetJWKSV3OK) GetPayload ¶ added in v0.2.0
func (o *GetJWKSV3OK) GetPayload() *iamclientmodels.OauthcommonJWKSet
type GetJWKSV3Params ¶ added in v0.2.0
type GetJWKSV3Params struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetJWKSV3Params contains all the parameters to send to the API endpoint for the get j w k s v3 operation typically these are written to a http.Request
func NewGetJWKSV3Params ¶ added in v0.2.0
func NewGetJWKSV3Params() *GetJWKSV3Params
NewGetJWKSV3Params creates a new GetJWKSV3Params object with the default values initialized.
func NewGetJWKSV3ParamsWithContext ¶ added in v0.2.0
func NewGetJWKSV3ParamsWithContext(ctx context.Context) *GetJWKSV3Params
NewGetJWKSV3ParamsWithContext creates a new GetJWKSV3Params object with the default values initialized, and the ability to set a context for a request
func NewGetJWKSV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewGetJWKSV3ParamsWithHTTPClient(client *http.Client) *GetJWKSV3Params
NewGetJWKSV3ParamsWithHTTPClient creates a new GetJWKSV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetJWKSV3ParamsWithTimeout ¶ added in v0.2.0
func NewGetJWKSV3ParamsWithTimeout(timeout time.Duration) *GetJWKSV3Params
NewGetJWKSV3ParamsWithTimeout creates a new GetJWKSV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetJWKSV3Params) SetContext ¶ added in v0.2.0
func (o *GetJWKSV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get j w k s v3 params
func (*GetJWKSV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *GetJWKSV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get j w k s v3 params
func (*GetJWKSV3Params) SetTimeout ¶ added in v0.2.0
func (o *GetJWKSV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get j w k s v3 params
func (*GetJWKSV3Params) WithContext ¶ added in v0.2.0
func (o *GetJWKSV3Params) WithContext(ctx context.Context) *GetJWKSV3Params
WithContext adds the context to the get j w k s v3 params
func (*GetJWKSV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *GetJWKSV3Params) WithHTTPClient(client *http.Client) *GetJWKSV3Params
WithHTTPClient adds the HTTPClient to the get j w k s v3 params
func (*GetJWKSV3Params) WithTimeout ¶ added in v0.2.0
func (o *GetJWKSV3Params) WithTimeout(timeout time.Duration) *GetJWKSV3Params
WithTimeout adds the timeout to the get j w k s v3 params
func (*GetJWKSV3Params) WriteToRequest ¶ added in v0.2.0
func (o *GetJWKSV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetJWKSV3Reader ¶ added in v0.2.0
type GetJWKSV3Reader struct {
// contains filtered or unexported fields
}
GetJWKSV3Reader is a Reader for the GetJWKSV3 structure.
func (*GetJWKSV3Reader) ReadResponse ¶ added in v0.2.0
func (o *GetJWKSV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRevocationListV3OK ¶ added in v0.2.0
type GetRevocationListV3OK struct {
Payload *iamclientmodels.OauthapiRevocationList
}
GetRevocationListV3OK handles this case with default header values.
Revocation list returned
func NewGetRevocationListV3OK ¶ added in v0.2.0
func NewGetRevocationListV3OK() *GetRevocationListV3OK
NewGetRevocationListV3OK creates a GetRevocationListV3OK with default headers values
func (*GetRevocationListV3OK) Error ¶ added in v0.2.0
func (o *GetRevocationListV3OK) Error() string
func (*GetRevocationListV3OK) GetPayload ¶ added in v0.2.0
func (o *GetRevocationListV3OK) GetPayload() *iamclientmodels.OauthapiRevocationList
type GetRevocationListV3Params ¶ added in v0.2.0
type GetRevocationListV3Params struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRevocationListV3Params contains all the parameters to send to the API endpoint for the get revocation list v3 operation typically these are written to a http.Request
func NewGetRevocationListV3Params ¶ added in v0.2.0
func NewGetRevocationListV3Params() *GetRevocationListV3Params
NewGetRevocationListV3Params creates a new GetRevocationListV3Params object with the default values initialized.
func NewGetRevocationListV3ParamsWithContext ¶ added in v0.2.0
func NewGetRevocationListV3ParamsWithContext(ctx context.Context) *GetRevocationListV3Params
NewGetRevocationListV3ParamsWithContext creates a new GetRevocationListV3Params object with the default values initialized, and the ability to set a context for a request
func NewGetRevocationListV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewGetRevocationListV3ParamsWithHTTPClient(client *http.Client) *GetRevocationListV3Params
NewGetRevocationListV3ParamsWithHTTPClient creates a new GetRevocationListV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRevocationListV3ParamsWithTimeout ¶ added in v0.2.0
func NewGetRevocationListV3ParamsWithTimeout(timeout time.Duration) *GetRevocationListV3Params
NewGetRevocationListV3ParamsWithTimeout creates a new GetRevocationListV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetRevocationListV3Params) SetContext ¶ added in v0.2.0
func (o *GetRevocationListV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get revocation list v3 params
func (*GetRevocationListV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *GetRevocationListV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get revocation list v3 params
func (*GetRevocationListV3Params) SetTimeout ¶ added in v0.2.0
func (o *GetRevocationListV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get revocation list v3 params
func (*GetRevocationListV3Params) WithContext ¶ added in v0.2.0
func (o *GetRevocationListV3Params) WithContext(ctx context.Context) *GetRevocationListV3Params
WithContext adds the context to the get revocation list v3 params
func (*GetRevocationListV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *GetRevocationListV3Params) WithHTTPClient(client *http.Client) *GetRevocationListV3Params
WithHTTPClient adds the HTTPClient to the get revocation list v3 params
func (*GetRevocationListV3Params) WithTimeout ¶ added in v0.2.0
func (o *GetRevocationListV3Params) WithTimeout(timeout time.Duration) *GetRevocationListV3Params
WithTimeout adds the timeout to the get revocation list v3 params
func (*GetRevocationListV3Params) WriteToRequest ¶ added in v0.2.0
func (o *GetRevocationListV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRevocationListV3Reader ¶ added in v0.2.0
type GetRevocationListV3Reader struct {
// contains filtered or unexported fields
}
GetRevocationListV3Reader is a Reader for the GetRevocationListV3 structure.
func (*GetRevocationListV3Reader) ReadResponse ¶ added in v0.2.0
func (o *GetRevocationListV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRevocationListV3Unauthorized ¶ added in v0.2.0
type GetRevocationListV3Unauthorized struct {
}GetRevocationListV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetRevocationListV3Unauthorized ¶ added in v0.2.0
func NewGetRevocationListV3Unauthorized() *GetRevocationListV3Unauthorized
NewGetRevocationListV3Unauthorized creates a GetRevocationListV3Unauthorized with default headers values
func (*GetRevocationListV3Unauthorized) Error ¶ added in v0.2.0
func (o *GetRevocationListV3Unauthorized) Error() string
func (*GetRevocationListV3Unauthorized) GetPayload ¶ added in v0.2.0
func (o *GetRevocationListV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
type PlatformTokenGrantV3BadRequest ¶ added in v0.2.0
type PlatformTokenGrantV3BadRequest struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
PlatformTokenGrantV3BadRequest handles this case with default header values.
General request error
func NewPlatformTokenGrantV3BadRequest ¶ added in v0.2.0
func NewPlatformTokenGrantV3BadRequest() *PlatformTokenGrantV3BadRequest
NewPlatformTokenGrantV3BadRequest creates a PlatformTokenGrantV3BadRequest with default headers values
func (*PlatformTokenGrantV3BadRequest) Error ¶ added in v0.2.0
func (o *PlatformTokenGrantV3BadRequest) Error() string
func (*PlatformTokenGrantV3BadRequest) GetPayload ¶ added in v0.2.0
func (o *PlatformTokenGrantV3BadRequest) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type PlatformTokenGrantV3OK ¶ added in v0.2.0
type PlatformTokenGrantV3OK struct {
Payload *iamclientmodels.OauthmodelTokenResponse
}
PlatformTokenGrantV3OK handles this case with default header values.
Token returned
func NewPlatformTokenGrantV3OK ¶ added in v0.2.0
func NewPlatformTokenGrantV3OK() *PlatformTokenGrantV3OK
NewPlatformTokenGrantV3OK creates a PlatformTokenGrantV3OK with default headers values
func (*PlatformTokenGrantV3OK) Error ¶ added in v0.2.0
func (o *PlatformTokenGrantV3OK) Error() string
func (*PlatformTokenGrantV3OK) GetPayload ¶ added in v0.2.0
func (o *PlatformTokenGrantV3OK) GetPayload() *iamclientmodels.OauthmodelTokenResponse
type PlatformTokenGrantV3Params ¶ added in v0.2.0
type PlatformTokenGrantV3Params struct { /*ClientID Client ID, only accept UUID version 4 without hyphen */ ClientID *string /*DeviceID Device/hardware identifier */ DeviceID *string /*PlatformID Platform ID to login with */ PlatformID string /*PlatformToken Token from platform auth */ PlatformToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlatformTokenGrantV3Params contains all the parameters to send to the API endpoint for the platform token grant v3 operation typically these are written to a http.Request
func NewPlatformTokenGrantV3Params ¶ added in v0.2.0
func NewPlatformTokenGrantV3Params() *PlatformTokenGrantV3Params
NewPlatformTokenGrantV3Params creates a new PlatformTokenGrantV3Params object with the default values initialized.
func NewPlatformTokenGrantV3ParamsWithContext ¶ added in v0.2.0
func NewPlatformTokenGrantV3ParamsWithContext(ctx context.Context) *PlatformTokenGrantV3Params
NewPlatformTokenGrantV3ParamsWithContext creates a new PlatformTokenGrantV3Params object with the default values initialized, and the ability to set a context for a request
func NewPlatformTokenGrantV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewPlatformTokenGrantV3ParamsWithHTTPClient(client *http.Client) *PlatformTokenGrantV3Params
NewPlatformTokenGrantV3ParamsWithHTTPClient creates a new PlatformTokenGrantV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPlatformTokenGrantV3ParamsWithTimeout ¶ added in v0.2.0
func NewPlatformTokenGrantV3ParamsWithTimeout(timeout time.Duration) *PlatformTokenGrantV3Params
NewPlatformTokenGrantV3ParamsWithTimeout creates a new PlatformTokenGrantV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PlatformTokenGrantV3Params) SetClientID ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetClientID(clientID *string)
SetClientID adds the clientId to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) SetContext ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetContext(ctx context.Context)
SetContext adds the context to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) SetDeviceID ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetDeviceID(deviceID *string)
SetDeviceID adds the deviceId to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) SetPlatformID ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetPlatformID(platformID string)
SetPlatformID adds the platformId to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) SetPlatformToken ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetPlatformToken(platformToken *string)
SetPlatformToken adds the platformToken to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) SetTimeout ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithClientID ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithClientID(clientID *string) *PlatformTokenGrantV3Params
WithClientID adds the clientID to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithContext ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithContext(ctx context.Context) *PlatformTokenGrantV3Params
WithContext adds the context to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithDeviceID ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithDeviceID(deviceID *string) *PlatformTokenGrantV3Params
WithDeviceID adds the deviceID to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithHTTPClient(client *http.Client) *PlatformTokenGrantV3Params
WithHTTPClient adds the HTTPClient to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithPlatformID ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithPlatformID(platformID string) *PlatformTokenGrantV3Params
WithPlatformID adds the platformID to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithPlatformToken ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithPlatformToken(platformToken *string) *PlatformTokenGrantV3Params
WithPlatformToken adds the platformToken to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WithTimeout ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WithTimeout(timeout time.Duration) *PlatformTokenGrantV3Params
WithTimeout adds the timeout to the platform token grant v3 params
func (*PlatformTokenGrantV3Params) WriteToRequest ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlatformTokenGrantV3Reader ¶ added in v0.2.0
type PlatformTokenGrantV3Reader struct {
// contains filtered or unexported fields
}
PlatformTokenGrantV3Reader is a Reader for the PlatformTokenGrantV3 structure.
func (*PlatformTokenGrantV3Reader) ReadResponse ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlatformTokenGrantV3Unauthorized ¶ added in v0.2.0
type PlatformTokenGrantV3Unauthorized struct {
}PlatformTokenGrantV3Unauthorized handles this case with default header values.
Client authentication failed
func NewPlatformTokenGrantV3Unauthorized ¶ added in v0.2.0
func NewPlatformTokenGrantV3Unauthorized() *PlatformTokenGrantV3Unauthorized
NewPlatformTokenGrantV3Unauthorized creates a PlatformTokenGrantV3Unauthorized with default headers values
func (*PlatformTokenGrantV3Unauthorized) Error ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Unauthorized) Error() string
func (*PlatformTokenGrantV3Unauthorized) GetPayload ¶ added in v0.2.0
func (o *PlatformTokenGrantV3Unauthorized) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type RetrieveUserThirdPartyPlatformTokenV3Forbidden ¶ added in v0.2.0
type RetrieveUserThirdPartyPlatformTokenV3Forbidden struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
RetrieveUserThirdPartyPlatformTokenV3Forbidden handles this case with default header values.
Unauthorized access
func NewRetrieveUserThirdPartyPlatformTokenV3Forbidden ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3Forbidden() *RetrieveUserThirdPartyPlatformTokenV3Forbidden
NewRetrieveUserThirdPartyPlatformTokenV3Forbidden creates a RetrieveUserThirdPartyPlatformTokenV3Forbidden with default headers values
func (*RetrieveUserThirdPartyPlatformTokenV3Forbidden) Error ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Forbidden) Error() string
func (*RetrieveUserThirdPartyPlatformTokenV3Forbidden) GetPayload ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Forbidden) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type RetrieveUserThirdPartyPlatformTokenV3NotFound ¶ added in v0.2.0
type RetrieveUserThirdPartyPlatformTokenV3NotFound struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
RetrieveUserThirdPartyPlatformTokenV3NotFound handles this case with default header values.
Platform Token Not Found
func NewRetrieveUserThirdPartyPlatformTokenV3NotFound ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3NotFound() *RetrieveUserThirdPartyPlatformTokenV3NotFound
NewRetrieveUserThirdPartyPlatformTokenV3NotFound creates a RetrieveUserThirdPartyPlatformTokenV3NotFound with default headers values
func (*RetrieveUserThirdPartyPlatformTokenV3NotFound) Error ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3NotFound) Error() string
func (*RetrieveUserThirdPartyPlatformTokenV3NotFound) GetPayload ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3NotFound) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type RetrieveUserThirdPartyPlatformTokenV3OK ¶ added in v0.2.0
type RetrieveUserThirdPartyPlatformTokenV3OK struct {
Payload *iamclientmodels.OauthmodelTokenThirdPartyResponse
}
RetrieveUserThirdPartyPlatformTokenV3OK handles this case with default header values.
Token returned
func NewRetrieveUserThirdPartyPlatformTokenV3OK ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3OK() *RetrieveUserThirdPartyPlatformTokenV3OK
NewRetrieveUserThirdPartyPlatformTokenV3OK creates a RetrieveUserThirdPartyPlatformTokenV3OK with default headers values
func (*RetrieveUserThirdPartyPlatformTokenV3OK) Error ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3OK) Error() string
func (*RetrieveUserThirdPartyPlatformTokenV3OK) GetPayload ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3OK) GetPayload() *iamclientmodels.OauthmodelTokenThirdPartyResponse
type RetrieveUserThirdPartyPlatformTokenV3Params ¶ added in v0.2.0
type RetrieveUserThirdPartyPlatformTokenV3Params struct { /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*PlatformID Platform ID */ PlatformID string /*UserID UserId */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveUserThirdPartyPlatformTokenV3Params contains all the parameters to send to the API endpoint for the retrieve user third party platform token v3 operation typically these are written to a http.Request
func NewRetrieveUserThirdPartyPlatformTokenV3Params ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3Params() *RetrieveUserThirdPartyPlatformTokenV3Params
NewRetrieveUserThirdPartyPlatformTokenV3Params creates a new RetrieveUserThirdPartyPlatformTokenV3Params object with the default values initialized.
func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext(ctx context.Context) *RetrieveUserThirdPartyPlatformTokenV3Params
NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext creates a new RetrieveUserThirdPartyPlatformTokenV3Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient(client *http.Client) *RetrieveUserThirdPartyPlatformTokenV3Params
NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient creates a new RetrieveUserThirdPartyPlatformTokenV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout(timeout time.Duration) *RetrieveUserThirdPartyPlatformTokenV3Params
NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout creates a new RetrieveUserThirdPartyPlatformTokenV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetContext ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID(platformID string)
SetPlatformID adds the platformId to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetTimeout ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetUserID ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetUserID(userID string)
SetUserID adds the userId to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithContext ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithContext(ctx context.Context) *RetrieveUserThirdPartyPlatformTokenV3Params
WithContext adds the context to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithHTTPClient(client *http.Client) *RetrieveUserThirdPartyPlatformTokenV3Params
WithHTTPClient adds the HTTPClient to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithNamespace ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithNamespace(namespace string) *RetrieveUserThirdPartyPlatformTokenV3Params
WithNamespace adds the namespace to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithPlatformID ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithPlatformID(platformID string) *RetrieveUserThirdPartyPlatformTokenV3Params
WithPlatformID adds the platformID to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithTimeout ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithTimeout(timeout time.Duration) *RetrieveUserThirdPartyPlatformTokenV3Params
WithTimeout adds the timeout to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithUserID ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WithUserID(userID string) *RetrieveUserThirdPartyPlatformTokenV3Params
WithUserID adds the userID to the retrieve user third party platform token v3 params
func (*RetrieveUserThirdPartyPlatformTokenV3Params) WriteToRequest ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveUserThirdPartyPlatformTokenV3Reader ¶ added in v0.2.0
type RetrieveUserThirdPartyPlatformTokenV3Reader struct {
// contains filtered or unexported fields
}
RetrieveUserThirdPartyPlatformTokenV3Reader is a Reader for the RetrieveUserThirdPartyPlatformTokenV3 structure.
func (*RetrieveUserThirdPartyPlatformTokenV3Reader) ReadResponse ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveUserThirdPartyPlatformTokenV3Unauthorized ¶ added in v0.2.0
type RetrieveUserThirdPartyPlatformTokenV3Unauthorized struct {
}RetrieveUserThirdPartyPlatformTokenV3Unauthorized handles this case with default header values.
Client authentication failed
func NewRetrieveUserThirdPartyPlatformTokenV3Unauthorized ¶ added in v0.2.0
func NewRetrieveUserThirdPartyPlatformTokenV3Unauthorized() *RetrieveUserThirdPartyPlatformTokenV3Unauthorized
NewRetrieveUserThirdPartyPlatformTokenV3Unauthorized creates a RetrieveUserThirdPartyPlatformTokenV3Unauthorized with default headers values
func (*RetrieveUserThirdPartyPlatformTokenV3Unauthorized) Error ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Unauthorized) Error() string
func (*RetrieveUserThirdPartyPlatformTokenV3Unauthorized) GetPayload ¶ added in v0.2.0
func (o *RetrieveUserThirdPartyPlatformTokenV3Unauthorized) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type RevokeUserV3BadRequest ¶ added in v0.2.0
type RevokeUserV3BadRequest struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
RevokeUserV3BadRequest handles this case with default header values.
invalid input
func NewRevokeUserV3BadRequest ¶ added in v0.2.0
func NewRevokeUserV3BadRequest() *RevokeUserV3BadRequest
NewRevokeUserV3BadRequest creates a RevokeUserV3BadRequest with default headers values
func (*RevokeUserV3BadRequest) Error ¶ added in v0.2.0
func (o *RevokeUserV3BadRequest) Error() string
func (*RevokeUserV3BadRequest) GetPayload ¶ added in v0.2.0
func (o *RevokeUserV3BadRequest) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type RevokeUserV3Forbidden ¶ added in v0.2.0
type RevokeUserV3Forbidden struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
RevokeUserV3Forbidden handles this case with default header values.
insufficient permission
func NewRevokeUserV3Forbidden ¶ added in v0.2.0
func NewRevokeUserV3Forbidden() *RevokeUserV3Forbidden
NewRevokeUserV3Forbidden creates a RevokeUserV3Forbidden with default headers values
func (*RevokeUserV3Forbidden) Error ¶ added in v0.2.0
func (o *RevokeUserV3Forbidden) Error() string
func (*RevokeUserV3Forbidden) GetPayload ¶ added in v0.2.0
func (o *RevokeUserV3Forbidden) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type RevokeUserV3OK ¶ added in v0.2.0
type RevokeUserV3OK struct { }
RevokeUserV3OK handles this case with default header values.
user revoked
func NewRevokeUserV3OK ¶ added in v0.2.0
func NewRevokeUserV3OK() *RevokeUserV3OK
NewRevokeUserV3OK creates a RevokeUserV3OK with default headers values
func (*RevokeUserV3OK) Error ¶ added in v0.2.0
func (o *RevokeUserV3OK) Error() string
type RevokeUserV3Params ¶ added in v0.2.0
type RevokeUserV3Params struct { /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*UserID User to be revoked */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeUserV3Params contains all the parameters to send to the API endpoint for the revoke user v3 operation typically these are written to a http.Request
func NewRevokeUserV3Params ¶ added in v0.2.0
func NewRevokeUserV3Params() *RevokeUserV3Params
NewRevokeUserV3Params creates a new RevokeUserV3Params object with the default values initialized.
func NewRevokeUserV3ParamsWithContext ¶ added in v0.2.0
func NewRevokeUserV3ParamsWithContext(ctx context.Context) *RevokeUserV3Params
NewRevokeUserV3ParamsWithContext creates a new RevokeUserV3Params object with the default values initialized, and the ability to set a context for a request
func NewRevokeUserV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewRevokeUserV3ParamsWithHTTPClient(client *http.Client) *RevokeUserV3Params
NewRevokeUserV3ParamsWithHTTPClient creates a new RevokeUserV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeUserV3ParamsWithTimeout ¶ added in v0.2.0
func NewRevokeUserV3ParamsWithTimeout(timeout time.Duration) *RevokeUserV3Params
NewRevokeUserV3ParamsWithTimeout creates a new RevokeUserV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeUserV3Params) SetContext ¶ added in v0.2.0
func (o *RevokeUserV3Params) SetContext(ctx context.Context)
SetContext adds the context to the revoke user v3 params
func (*RevokeUserV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *RevokeUserV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke user v3 params
func (*RevokeUserV3Params) SetNamespace ¶ added in v0.2.0
func (o *RevokeUserV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke user v3 params
func (*RevokeUserV3Params) SetTimeout ¶ added in v0.2.0
func (o *RevokeUserV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke user v3 params
func (*RevokeUserV3Params) SetUserID ¶ added in v0.2.0
func (o *RevokeUserV3Params) SetUserID(userID string)
SetUserID adds the userId to the revoke user v3 params
func (*RevokeUserV3Params) WithContext ¶ added in v0.2.0
func (o *RevokeUserV3Params) WithContext(ctx context.Context) *RevokeUserV3Params
WithContext adds the context to the revoke user v3 params
func (*RevokeUserV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *RevokeUserV3Params) WithHTTPClient(client *http.Client) *RevokeUserV3Params
WithHTTPClient adds the HTTPClient to the revoke user v3 params
func (*RevokeUserV3Params) WithNamespace ¶ added in v0.2.0
func (o *RevokeUserV3Params) WithNamespace(namespace string) *RevokeUserV3Params
WithNamespace adds the namespace to the revoke user v3 params
func (*RevokeUserV3Params) WithTimeout ¶ added in v0.2.0
func (o *RevokeUserV3Params) WithTimeout(timeout time.Duration) *RevokeUserV3Params
WithTimeout adds the timeout to the revoke user v3 params
func (*RevokeUserV3Params) WithUserID ¶ added in v0.2.0
func (o *RevokeUserV3Params) WithUserID(userID string) *RevokeUserV3Params
WithUserID adds the userID to the revoke user v3 params
func (*RevokeUserV3Params) WriteToRequest ¶ added in v0.2.0
func (o *RevokeUserV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeUserV3Reader ¶ added in v0.2.0
type RevokeUserV3Reader struct {
// contains filtered or unexported fields
}
RevokeUserV3Reader is a Reader for the RevokeUserV3 structure.
func (*RevokeUserV3Reader) ReadResponse ¶ added in v0.2.0
func (o *RevokeUserV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUserV3Unauthorized ¶ added in v0.2.0
type RevokeUserV3Unauthorized struct {
}RevokeUserV3Unauthorized handles this case with default header values.
Token is not exist, expired, or invalid
func NewRevokeUserV3Unauthorized ¶ added in v0.2.0
func NewRevokeUserV3Unauthorized() *RevokeUserV3Unauthorized
NewRevokeUserV3Unauthorized creates a RevokeUserV3Unauthorized with default headers values
func (*RevokeUserV3Unauthorized) Error ¶ added in v0.2.0
func (o *RevokeUserV3Unauthorized) Error() string
func (*RevokeUserV3Unauthorized) GetPayload ¶ added in v0.2.0
func (o *RevokeUserV3Unauthorized) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenGrantV3BadRequest ¶
type TokenGrantV3BadRequest struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
TokenGrantV3BadRequest handles this case with default header values.
InvalidRequest
func NewTokenGrantV3BadRequest ¶
func NewTokenGrantV3BadRequest() *TokenGrantV3BadRequest
NewTokenGrantV3BadRequest creates a TokenGrantV3BadRequest with default headers values
func (*TokenGrantV3BadRequest) Error ¶
func (o *TokenGrantV3BadRequest) Error() string
func (*TokenGrantV3BadRequest) GetPayload ¶
func (o *TokenGrantV3BadRequest) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenGrantV3Forbidden ¶
type TokenGrantV3Forbidden struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
TokenGrantV3Forbidden handles this case with default header values.
Unauthorized access
func NewTokenGrantV3Forbidden ¶
func NewTokenGrantV3Forbidden() *TokenGrantV3Forbidden
NewTokenGrantV3Forbidden creates a TokenGrantV3Forbidden with default headers values
func (*TokenGrantV3Forbidden) Error ¶
func (o *TokenGrantV3Forbidden) Error() string
func (*TokenGrantV3Forbidden) GetPayload ¶
func (o *TokenGrantV3Forbidden) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenGrantV3OK ¶
type TokenGrantV3OK struct {
Payload *iamclientmodels.OauthmodelTokenResponseV3
}
TokenGrantV3OK handles this case with default header values.
Token returned
func NewTokenGrantV3OK ¶
func NewTokenGrantV3OK() *TokenGrantV3OK
NewTokenGrantV3OK creates a TokenGrantV3OK with default headers values
func (*TokenGrantV3OK) Error ¶
func (o *TokenGrantV3OK) Error() string
func (*TokenGrantV3OK) GetPayload ¶
func (o *TokenGrantV3OK) GetPayload() *iamclientmodels.OauthmodelTokenResponseV3
type TokenGrantV3Params ¶
type TokenGrantV3Params struct { /*ClientID client_id (used with grant type 'authorization_code') */ ClientID *string /*Code The authorization code received from the authorization server (used with grant type 'authorization_code') */ Code *string /*CodeVerifier Code verifier received from the authorization server */ CodeVerifier *string /*DeviceID DeviceID (Used on grant type 'password' to track login history) ex. 90252d14544846d79f367148e3f9a3d9 */ DeviceID *string /*GrantType Grant Type */ GrantType string /*RedirectURI Redirect URI (used with grant type 'authorization_code') */ RedirectURI *string /*RefreshToken Refresh Token (used with grant type 'refresh_token'). This field is optional if the request header provides the "refresh_token" cookie */ RefreshToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TokenGrantV3Params contains all the parameters to send to the API endpoint for the token grant v3 operation typically these are written to a http.Request
func NewTokenGrantV3Params ¶
func NewTokenGrantV3Params() *TokenGrantV3Params
NewTokenGrantV3Params creates a new TokenGrantV3Params object with the default values initialized.
func NewTokenGrantV3ParamsWithContext ¶
func NewTokenGrantV3ParamsWithContext(ctx context.Context) *TokenGrantV3Params
NewTokenGrantV3ParamsWithContext creates a new TokenGrantV3Params object with the default values initialized, and the ability to set a context for a request
func NewTokenGrantV3ParamsWithHTTPClient ¶
func NewTokenGrantV3ParamsWithHTTPClient(client *http.Client) *TokenGrantV3Params
NewTokenGrantV3ParamsWithHTTPClient creates a new TokenGrantV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTokenGrantV3ParamsWithTimeout ¶
func NewTokenGrantV3ParamsWithTimeout(timeout time.Duration) *TokenGrantV3Params
NewTokenGrantV3ParamsWithTimeout creates a new TokenGrantV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*TokenGrantV3Params) SetClientID ¶
func (o *TokenGrantV3Params) SetClientID(clientID *string)
SetClientID adds the clientId to the token grant v3 params
func (*TokenGrantV3Params) SetCode ¶
func (o *TokenGrantV3Params) SetCode(code *string)
SetCode adds the code to the token grant v3 params
func (*TokenGrantV3Params) SetCodeVerifier ¶
func (o *TokenGrantV3Params) SetCodeVerifier(codeVerifier *string)
SetCodeVerifier adds the codeVerifier to the token grant v3 params
func (*TokenGrantV3Params) SetContext ¶
func (o *TokenGrantV3Params) SetContext(ctx context.Context)
SetContext adds the context to the token grant v3 params
func (*TokenGrantV3Params) SetDeviceID ¶
func (o *TokenGrantV3Params) SetDeviceID(deviceID *string)
SetDeviceID adds the deviceId to the token grant v3 params
func (*TokenGrantV3Params) SetGrantType ¶
func (o *TokenGrantV3Params) SetGrantType(grantType string)
SetGrantType adds the grantType to the token grant v3 params
func (*TokenGrantV3Params) SetHTTPClient ¶
func (o *TokenGrantV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the token grant v3 params
func (*TokenGrantV3Params) SetRedirectURI ¶
func (o *TokenGrantV3Params) SetRedirectURI(redirectURI *string)
SetRedirectURI adds the redirectUri to the token grant v3 params
func (*TokenGrantV3Params) SetRefreshToken ¶
func (o *TokenGrantV3Params) SetRefreshToken(refreshToken *string)
SetRefreshToken adds the refreshToken to the token grant v3 params
func (*TokenGrantV3Params) SetTimeout ¶
func (o *TokenGrantV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the token grant v3 params
func (*TokenGrantV3Params) WithClientID ¶
func (o *TokenGrantV3Params) WithClientID(clientID *string) *TokenGrantV3Params
WithClientID adds the clientID to the token grant v3 params
func (*TokenGrantV3Params) WithCode ¶
func (o *TokenGrantV3Params) WithCode(code *string) *TokenGrantV3Params
WithCode adds the code to the token grant v3 params
func (*TokenGrantV3Params) WithCodeVerifier ¶
func (o *TokenGrantV3Params) WithCodeVerifier(codeVerifier *string) *TokenGrantV3Params
WithCodeVerifier adds the codeVerifier to the token grant v3 params
func (*TokenGrantV3Params) WithContext ¶
func (o *TokenGrantV3Params) WithContext(ctx context.Context) *TokenGrantV3Params
WithContext adds the context to the token grant v3 params
func (*TokenGrantV3Params) WithDeviceID ¶
func (o *TokenGrantV3Params) WithDeviceID(deviceID *string) *TokenGrantV3Params
WithDeviceID adds the deviceID to the token grant v3 params
func (*TokenGrantV3Params) WithGrantType ¶
func (o *TokenGrantV3Params) WithGrantType(grantType string) *TokenGrantV3Params
WithGrantType adds the grantType to the token grant v3 params
func (*TokenGrantV3Params) WithHTTPClient ¶
func (o *TokenGrantV3Params) WithHTTPClient(client *http.Client) *TokenGrantV3Params
WithHTTPClient adds the HTTPClient to the token grant v3 params
func (*TokenGrantV3Params) WithRedirectURI ¶
func (o *TokenGrantV3Params) WithRedirectURI(redirectURI *string) *TokenGrantV3Params
WithRedirectURI adds the redirectURI to the token grant v3 params
func (*TokenGrantV3Params) WithRefreshToken ¶
func (o *TokenGrantV3Params) WithRefreshToken(refreshToken *string) *TokenGrantV3Params
WithRefreshToken adds the refreshToken to the token grant v3 params
func (*TokenGrantV3Params) WithTimeout ¶
func (o *TokenGrantV3Params) WithTimeout(timeout time.Duration) *TokenGrantV3Params
WithTimeout adds the timeout to the token grant v3 params
func (*TokenGrantV3Params) WriteToRequest ¶
func (o *TokenGrantV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TokenGrantV3Reader ¶
type TokenGrantV3Reader struct {
// contains filtered or unexported fields
}
TokenGrantV3Reader is a Reader for the TokenGrantV3 structure.
func (*TokenGrantV3Reader) ReadResponse ¶
func (o *TokenGrantV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TokenGrantV3Unauthorized ¶
type TokenGrantV3Unauthorized struct {
}TokenGrantV3Unauthorized handles this case with default header values.
Client authentication failed
func NewTokenGrantV3Unauthorized ¶
func NewTokenGrantV3Unauthorized() *TokenGrantV3Unauthorized
NewTokenGrantV3Unauthorized creates a TokenGrantV3Unauthorized with default headers values
func (*TokenGrantV3Unauthorized) Error ¶
func (o *TokenGrantV3Unauthorized) Error() string
func (*TokenGrantV3Unauthorized) GetPayload ¶
func (o *TokenGrantV3Unauthorized) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenIntrospectionV3BadRequest ¶ added in v0.2.0
type TokenIntrospectionV3BadRequest struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
TokenIntrospectionV3BadRequest handles this case with default header values.
invalid input
func NewTokenIntrospectionV3BadRequest ¶ added in v0.2.0
func NewTokenIntrospectionV3BadRequest() *TokenIntrospectionV3BadRequest
NewTokenIntrospectionV3BadRequest creates a TokenIntrospectionV3BadRequest with default headers values
func (*TokenIntrospectionV3BadRequest) Error ¶ added in v0.2.0
func (o *TokenIntrospectionV3BadRequest) Error() string
func (*TokenIntrospectionV3BadRequest) GetPayload ¶ added in v0.2.0
func (o *TokenIntrospectionV3BadRequest) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenIntrospectionV3OK ¶ added in v0.2.0
type TokenIntrospectionV3OK struct {
Payload *iamclientmodels.OauthmodelTokenIntrospectResponse
}
TokenIntrospectionV3OK handles this case with default header values.
OK
func NewTokenIntrospectionV3OK ¶ added in v0.2.0
func NewTokenIntrospectionV3OK() *TokenIntrospectionV3OK
NewTokenIntrospectionV3OK creates a TokenIntrospectionV3OK with default headers values
func (*TokenIntrospectionV3OK) Error ¶ added in v0.2.0
func (o *TokenIntrospectionV3OK) Error() string
func (*TokenIntrospectionV3OK) GetPayload ¶ added in v0.2.0
func (o *TokenIntrospectionV3OK) GetPayload() *iamclientmodels.OauthmodelTokenIntrospectResponse
type TokenIntrospectionV3Params ¶ added in v0.2.0
type TokenIntrospectionV3Params struct { /*Token Access Token / Refresh Token */ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TokenIntrospectionV3Params contains all the parameters to send to the API endpoint for the token introspection v3 operation typically these are written to a http.Request
func NewTokenIntrospectionV3Params ¶ added in v0.2.0
func NewTokenIntrospectionV3Params() *TokenIntrospectionV3Params
NewTokenIntrospectionV3Params creates a new TokenIntrospectionV3Params object with the default values initialized.
func NewTokenIntrospectionV3ParamsWithContext ¶ added in v0.2.0
func NewTokenIntrospectionV3ParamsWithContext(ctx context.Context) *TokenIntrospectionV3Params
NewTokenIntrospectionV3ParamsWithContext creates a new TokenIntrospectionV3Params object with the default values initialized, and the ability to set a context for a request
func NewTokenIntrospectionV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewTokenIntrospectionV3ParamsWithHTTPClient(client *http.Client) *TokenIntrospectionV3Params
NewTokenIntrospectionV3ParamsWithHTTPClient creates a new TokenIntrospectionV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTokenIntrospectionV3ParamsWithTimeout ¶ added in v0.2.0
func NewTokenIntrospectionV3ParamsWithTimeout(timeout time.Duration) *TokenIntrospectionV3Params
NewTokenIntrospectionV3ParamsWithTimeout creates a new TokenIntrospectionV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*TokenIntrospectionV3Params) SetContext ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) SetContext(ctx context.Context)
SetContext adds the context to the token introspection v3 params
func (*TokenIntrospectionV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the token introspection v3 params
func (*TokenIntrospectionV3Params) SetTimeout ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the token introspection v3 params
func (*TokenIntrospectionV3Params) SetToken ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) SetToken(token string)
SetToken adds the token to the token introspection v3 params
func (*TokenIntrospectionV3Params) WithContext ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) WithContext(ctx context.Context) *TokenIntrospectionV3Params
WithContext adds the context to the token introspection v3 params
func (*TokenIntrospectionV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) WithHTTPClient(client *http.Client) *TokenIntrospectionV3Params
WithHTTPClient adds the HTTPClient to the token introspection v3 params
func (*TokenIntrospectionV3Params) WithTimeout ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) WithTimeout(timeout time.Duration) *TokenIntrospectionV3Params
WithTimeout adds the timeout to the token introspection v3 params
func (*TokenIntrospectionV3Params) WithToken ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) WithToken(token string) *TokenIntrospectionV3Params
WithToken adds the token to the token introspection v3 params
func (*TokenIntrospectionV3Params) WriteToRequest ¶ added in v0.2.0
func (o *TokenIntrospectionV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TokenIntrospectionV3Reader ¶ added in v0.2.0
type TokenIntrospectionV3Reader struct {
// contains filtered or unexported fields
}
TokenIntrospectionV3Reader is a Reader for the TokenIntrospectionV3 structure.
func (*TokenIntrospectionV3Reader) ReadResponse ¶ added in v0.2.0
func (o *TokenIntrospectionV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TokenIntrospectionV3Unauthorized ¶ added in v0.2.0
type TokenIntrospectionV3Unauthorized struct {
}TokenIntrospectionV3Unauthorized handles this case with default header values.
invalid bearer or basic authorization header
func NewTokenIntrospectionV3Unauthorized ¶ added in v0.2.0
func NewTokenIntrospectionV3Unauthorized() *TokenIntrospectionV3Unauthorized
NewTokenIntrospectionV3Unauthorized creates a TokenIntrospectionV3Unauthorized with default headers values
func (*TokenIntrospectionV3Unauthorized) Error ¶ added in v0.2.0
func (o *TokenIntrospectionV3Unauthorized) Error() string
func (*TokenIntrospectionV3Unauthorized) GetPayload ¶ added in v0.2.0
func (o *TokenIntrospectionV3Unauthorized) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenRevocationV3BadRequest ¶
type TokenRevocationV3BadRequest struct {
Payload *iamclientmodels.OauthmodelErrorResponse
}
TokenRevocationV3BadRequest handles this case with default header values.
Invalid input
func NewTokenRevocationV3BadRequest ¶
func NewTokenRevocationV3BadRequest() *TokenRevocationV3BadRequest
NewTokenRevocationV3BadRequest creates a TokenRevocationV3BadRequest with default headers values
func (*TokenRevocationV3BadRequest) Error ¶
func (o *TokenRevocationV3BadRequest) Error() string
func (*TokenRevocationV3BadRequest) GetPayload ¶
func (o *TokenRevocationV3BadRequest) GetPayload() *iamclientmodels.OauthmodelErrorResponse
type TokenRevocationV3OK ¶
type TokenRevocationV3OK struct { }
TokenRevocationV3OK handles this case with default header values.
Token revoked or does not exist
func NewTokenRevocationV3OK ¶
func NewTokenRevocationV3OK() *TokenRevocationV3OK
NewTokenRevocationV3OK creates a TokenRevocationV3OK with default headers values
func (*TokenRevocationV3OK) Error ¶
func (o *TokenRevocationV3OK) Error() string
type TokenRevocationV3Params ¶
type TokenRevocationV3Params struct { /*Token Access token / Refresh token */ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TokenRevocationV3Params contains all the parameters to send to the API endpoint for the token revocation v3 operation typically these are written to a http.Request
func NewTokenRevocationV3Params ¶
func NewTokenRevocationV3Params() *TokenRevocationV3Params
NewTokenRevocationV3Params creates a new TokenRevocationV3Params object with the default values initialized.
func NewTokenRevocationV3ParamsWithContext ¶
func NewTokenRevocationV3ParamsWithContext(ctx context.Context) *TokenRevocationV3Params
NewTokenRevocationV3ParamsWithContext creates a new TokenRevocationV3Params object with the default values initialized, and the ability to set a context for a request
func NewTokenRevocationV3ParamsWithHTTPClient ¶
func NewTokenRevocationV3ParamsWithHTTPClient(client *http.Client) *TokenRevocationV3Params
NewTokenRevocationV3ParamsWithHTTPClient creates a new TokenRevocationV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTokenRevocationV3ParamsWithTimeout ¶
func NewTokenRevocationV3ParamsWithTimeout(timeout time.Duration) *TokenRevocationV3Params
NewTokenRevocationV3ParamsWithTimeout creates a new TokenRevocationV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*TokenRevocationV3Params) SetContext ¶
func (o *TokenRevocationV3Params) SetContext(ctx context.Context)
SetContext adds the context to the token revocation v3 params
func (*TokenRevocationV3Params) SetHTTPClient ¶
func (o *TokenRevocationV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the token revocation v3 params
func (*TokenRevocationV3Params) SetTimeout ¶
func (o *TokenRevocationV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the token revocation v3 params
func (*TokenRevocationV3Params) SetToken ¶
func (o *TokenRevocationV3Params) SetToken(token string)
SetToken adds the token to the token revocation v3 params
func (*TokenRevocationV3Params) WithContext ¶
func (o *TokenRevocationV3Params) WithContext(ctx context.Context) *TokenRevocationV3Params
WithContext adds the context to the token revocation v3 params
func (*TokenRevocationV3Params) WithHTTPClient ¶
func (o *TokenRevocationV3Params) WithHTTPClient(client *http.Client) *TokenRevocationV3Params
WithHTTPClient adds the HTTPClient to the token revocation v3 params
func (*TokenRevocationV3Params) WithTimeout ¶
func (o *TokenRevocationV3Params) WithTimeout(timeout time.Duration) *TokenRevocationV3Params
WithTimeout adds the timeout to the token revocation v3 params
func (*TokenRevocationV3Params) WithToken ¶
func (o *TokenRevocationV3Params) WithToken(token string) *TokenRevocationV3Params
WithToken adds the token to the token revocation v3 params
func (*TokenRevocationV3Params) WriteToRequest ¶
func (o *TokenRevocationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TokenRevocationV3Reader ¶
type TokenRevocationV3Reader struct {
// contains filtered or unexported fields
}
TokenRevocationV3Reader is a Reader for the TokenRevocationV3 structure.
func (*TokenRevocationV3Reader) ReadResponse ¶
func (o *TokenRevocationV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TokenRevocationV3Unauthorized ¶
type TokenRevocationV3Unauthorized struct {
}TokenRevocationV3Unauthorized handles this case with default header values.
Invalid basic auth header
func NewTokenRevocationV3Unauthorized ¶
func NewTokenRevocationV3Unauthorized() *TokenRevocationV3Unauthorized
NewTokenRevocationV3Unauthorized creates a TokenRevocationV3Unauthorized with default headers values
func (*TokenRevocationV3Unauthorized) Error ¶
func (o *TokenRevocationV3Unauthorized) Error() string
func (*TokenRevocationV3Unauthorized) GetPayload ¶
func (o *TokenRevocationV3Unauthorized) GetPayload() *iamclientmodels.OauthmodelErrorResponse
Source Files ¶
- auth_code_request_v3_parameters.go
- auth_code_request_v3_responses.go
- authorize_v3_parameters.go
- authorize_v3_responses.go
- get_j_w_k_s_v3_parameters.go
- get_j_w_k_s_v3_responses.go
- get_revocation_list_v3_parameters.go
- get_revocation_list_v3_responses.go
- o_auth20_client.go
- platform_token_grant_v3_parameters.go
- platform_token_grant_v3_responses.go
- retrieve_user_third_party_platform_token_v3_parameters.go
- retrieve_user_third_party_platform_token_v3_responses.go
- revoke_user_v3_parameters.go
- revoke_user_v3_responses.go
- token_grant_v3_parameters.go
- token_grant_v3_responses.go
- token_introspection_v3_parameters.go
- token_introspection_v3_responses.go
- token_revocation_v3_parameters.go
- token_revocation_v3_responses.go