Back to Hydra

TrustOAuth2JwtGrantIssuer

internal/httpclient/docs/TrustOAuth2JwtGrantIssuer.md

26.2.05.2 KB
Original Source

TrustOAuth2JwtGrantIssuer

Properties

NameTypeDescriptionNotes
AllowAnySubjectPointer to boolThe "allow_any_subject" indicates that the issuer is allowed to have any principal as the subject of the JWT.[optional]
ExpiresAttime.TimeThe "expires_at" indicates, when grant will expire, so we will reject assertion from "issuer" targeting "subject".
IssuerstringThe "issuer" identifies the principal that issued the JWT assertion (same as "iss" claim in JWT).
JwkJsonWebKey
Scope[]stringThe "scope" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])
SubjectPointer to stringThe "subject" identifies the principal that is the subject of the JWT.[optional]

Methods

NewTrustOAuth2JwtGrantIssuer

func NewTrustOAuth2JwtGrantIssuer(expiresAt time.Time, issuer string, jwk JsonWebKey, scope []string, ) *TrustOAuth2JwtGrantIssuer

NewTrustOAuth2JwtGrantIssuer instantiates a new TrustOAuth2JwtGrantIssuer 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

NewTrustOAuth2JwtGrantIssuerWithDefaults

func NewTrustOAuth2JwtGrantIssuerWithDefaults() *TrustOAuth2JwtGrantIssuer

NewTrustOAuth2JwtGrantIssuerWithDefaults instantiates a new TrustOAuth2JwtGrantIssuer 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

GetAllowAnySubject

func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubject() bool

GetAllowAnySubject returns the AllowAnySubject field if non-nil, zero value otherwise.

GetAllowAnySubjectOk

func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool)

GetAllowAnySubjectOk returns a tuple with the AllowAnySubject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllowAnySubject

func (o *TrustOAuth2JwtGrantIssuer) SetAllowAnySubject(v bool)

SetAllowAnySubject sets AllowAnySubject field to given value.

HasAllowAnySubject

func (o *TrustOAuth2JwtGrantIssuer) HasAllowAnySubject() bool

HasAllowAnySubject returns a boolean if a field has been set.

GetExpiresAt

func (o *TrustOAuth2JwtGrantIssuer) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.

GetExpiresAtOk

func (o *TrustOAuth2JwtGrantIssuer) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpiresAt

func (o *TrustOAuth2JwtGrantIssuer) SetExpiresAt(v time.Time)

SetExpiresAt sets ExpiresAt field to given value.

GetIssuer

func (o *TrustOAuth2JwtGrantIssuer) GetIssuer() string

GetIssuer returns the Issuer field if non-nil, zero value otherwise.

GetIssuerOk

func (o *TrustOAuth2JwtGrantIssuer) GetIssuerOk() (*string, bool)

GetIssuerOk returns a tuple with the Issuer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIssuer

func (o *TrustOAuth2JwtGrantIssuer) SetIssuer(v string)

SetIssuer sets Issuer field to given value.

GetJwk

func (o *TrustOAuth2JwtGrantIssuer) GetJwk() JsonWebKey

GetJwk returns the Jwk field if non-nil, zero value otherwise.

GetJwkOk

func (o *TrustOAuth2JwtGrantIssuer) GetJwkOk() (*JsonWebKey, bool)

GetJwkOk returns a tuple with the Jwk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJwk

func (o *TrustOAuth2JwtGrantIssuer) SetJwk(v JsonWebKey)

SetJwk sets Jwk field to given value.

GetScope

func (o *TrustOAuth2JwtGrantIssuer) GetScope() []string

GetScope returns the Scope field if non-nil, zero value otherwise.

GetScopeOk

func (o *TrustOAuth2JwtGrantIssuer) GetScopeOk() (*[]string, bool)

GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScope

func (o *TrustOAuth2JwtGrantIssuer) SetScope(v []string)

SetScope sets Scope field to given value.

GetSubject

func (o *TrustOAuth2JwtGrantIssuer) GetSubject() string

GetSubject returns the Subject field if non-nil, zero value otherwise.

GetSubjectOk

func (o *TrustOAuth2JwtGrantIssuer) 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.

SetSubject

func (o *TrustOAuth2JwtGrantIssuer) SetSubject(v string)

SetSubject sets Subject field to given value.

HasSubject

func (o *TrustOAuth2JwtGrantIssuer) HasSubject() bool

HasSubject returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]