Name | Type | Description | Notes |
---|---|---|---|
AccessToken | Pointer to string | An access token to introspect. | [optional] |
Scopes | Pointer to []string | A string array listing names of scopes which the caller (= a protected resource endpoint of the service) requires. When the content type of the request from the service is `application/x-www-form-urlencoded`, the format of `scopes` is a space-separated list of scope names. If this parameter is a non-empty array and if it contains a scope which is not covered by the access token,`action=FORBIDDEN` with `error=insufficient_scope` is returned from Authlete. | [optional] |
Subject | Pointer to string | A subject (= a user account managed by the service) whom the caller (= a protected resource endpoint of the service) requires. If this parameter is not `null` and if the value does not match the subject who is associated with the access token, `action=FORBIDDEN` with `error=invalid_request` is returned from Authlete. | [optional] |
ClientCertificate | Pointer to string | Client certificate in PEM format, used to validate binding against access tokens using the TLS client certificate confirmation method. | [optional] |
Dpop | Pointer to string | `DPoP` header presented by the client during the request to the resource server. The header contains a signed JWT which includes the public key that is paired with the private key used to sign the JWT. See OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP) for details. | [optional] |
Htm | Pointer to string | HTTP method of the request from the client to the protected resource endpoint. This field is used to validate the `DPoP` header. See OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP) for details. | [optional] |
Htu | Pointer to string | URL of the protected resource endpoint. This field is used to validate the `DPoP` header. See OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer (DPoP) for details. | [optional] |
Resources | Pointer to []string | The resources specified by the `resource` request parameters in the token request. See "Resource Indicators for OAuth 2.0" for details. | [optional] |
GmAction | Pointer to GrantManagementAction | [optional] | |
GrantId | Pointer to string | The value of the `grant_id` request parameter of the device authorization request. The `grant_id` request parameter is defined in Grant Management for OAuth 2.0 , which is supported by Authlete 2.3 and newer versions. | [optional] |
func NewGMRequest() *GMRequest
NewGMRequest instantiates a new GMRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGMRequestWithDefaults() *GMRequest
NewGMRequestWithDefaults instantiates a new GMRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *GMRequest) GetAccessToken() string
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
func (o *GMRequest) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetAccessToken(v string)
SetAccessToken sets AccessToken field to given value.
func (o *GMRequest) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (o *GMRequest) GetScopes() []string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *GMRequest) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetScopes(v []string)
SetScopes sets Scopes field to given value.
func (o *GMRequest) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *GMRequest) GetSubject() string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *GMRequest) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetSubject(v string)
SetSubject sets Subject field to given value.
func (o *GMRequest) HasSubject() bool
HasSubject returns a boolean if a field has been set.
func (o *GMRequest) GetClientCertificate() string
GetClientCertificate returns the ClientCertificate field if non-nil, zero value otherwise.
func (o *GMRequest) GetClientCertificateOk() (*string, bool)
GetClientCertificateOk returns a tuple with the ClientCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetClientCertificate(v string)
SetClientCertificate sets ClientCertificate field to given value.
func (o *GMRequest) HasClientCertificate() bool
HasClientCertificate returns a boolean if a field has been set.
func (o *GMRequest) GetDpop() string
GetDpop returns the Dpop field if non-nil, zero value otherwise.
func (o *GMRequest) GetDpopOk() (*string, bool)
GetDpopOk returns a tuple with the Dpop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetDpop(v string)
SetDpop sets Dpop field to given value.
func (o *GMRequest) HasDpop() bool
HasDpop returns a boolean if a field has been set.
func (o *GMRequest) GetHtm() string
GetHtm returns the Htm field if non-nil, zero value otherwise.
func (o *GMRequest) GetHtmOk() (*string, bool)
GetHtmOk returns a tuple with the Htm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetHtm(v string)
SetHtm sets Htm field to given value.
func (o *GMRequest) HasHtm() bool
HasHtm returns a boolean if a field has been set.
func (o *GMRequest) GetHtu() string
GetHtu returns the Htu field if non-nil, zero value otherwise.
func (o *GMRequest) GetHtuOk() (*string, bool)
GetHtuOk returns a tuple with the Htu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetHtu(v string)
SetHtu sets Htu field to given value.
func (o *GMRequest) HasHtu() bool
HasHtu returns a boolean if a field has been set.
func (o *GMRequest) GetResources() []string
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *GMRequest) GetResourcesOk() (*[]string, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetResources(v []string)
SetResources sets Resources field to given value.
func (o *GMRequest) HasResources() bool
HasResources returns a boolean if a field has been set.
func (o *GMRequest) GetGmAction() GrantManagementAction
GetGmAction returns the GmAction field if non-nil, zero value otherwise.
func (o *GMRequest) GetGmActionOk() (*GrantManagementAction, bool)
GetGmActionOk returns a tuple with the GmAction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetGmAction(v GrantManagementAction)
SetGmAction sets GmAction field to given value.
func (o *GMRequest) HasGmAction() bool
HasGmAction returns a boolean if a field has been set.
func (o *GMRequest) GetGrantId() string
GetGrantId returns the GrantId field if non-nil, zero value otherwise.
func (o *GMRequest) GetGrantIdOk() (*string, bool)
GetGrantIdOk returns a tuple with the GrantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GMRequest) SetGrantId(v string)
SetGrantId sets GrantId field to given value.
func (o *GMRequest) HasGrantId() bool
HasGrantId returns a boolean if a field has been set.