Name | Type | Description | Notes |
---|---|---|---|
AccessExpires | Pointer to int64 | Access expiration date in Unix timestamp (select 0 for access without expiry date) | [optional] [default to 0] |
AllowedRedirectUri | Pointer to []string | Allowed redirect URIs after the authentication | [optional] |
BoundIps | Pointer to []string | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
ClientId | Pointer to string | Client ID | [optional] |
ClientSecret | Pointer to string | Client Secret | [optional] |
ForceSubClaims | Pointer to bool | if true: enforce role-association must include sub claims | [optional] |
GwBoundIps | Pointer to []string | A CIDR whitelist with the GW IPs that the access is restricted to | [optional] |
Issuer | Pointer to string | Issuer URL | [optional] |
JwtTtl | Pointer to int64 | Jwt TTL | [optional] |
Name | string | Auth Method name | |
RequiredScopes | Pointer to []string | RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve | [optional] |
RequiredScopesPrefix | Pointer to string | RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI) | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
UniqueIdentifier | string | A unique identifier (ID) value should be configured for OIDC, OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a "sub claim" that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization. |
func NewCreateAuthMethodOIDC(name string, uniqueIdentifier string, ) *CreateAuthMethodOIDC
NewCreateAuthMethodOIDC instantiates a new CreateAuthMethodOIDC 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 NewCreateAuthMethodOIDCWithDefaults() *CreateAuthMethodOIDC
NewCreateAuthMethodOIDCWithDefaults instantiates a new CreateAuthMethodOIDC 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 *CreateAuthMethodOIDC) GetAccessExpires() int64
GetAccessExpires returns the AccessExpires field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetAccessExpiresOk() (*int64, bool)
GetAccessExpiresOk returns a tuple with the AccessExpires field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetAccessExpires(v int64)
SetAccessExpires sets AccessExpires field to given value.
func (o *CreateAuthMethodOIDC) HasAccessExpires() bool
HasAccessExpires returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetAllowedRedirectUri() []string
GetAllowedRedirectUri returns the AllowedRedirectUri field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetAllowedRedirectUriOk() (*[]string, bool)
GetAllowedRedirectUriOk returns a tuple with the AllowedRedirectUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetAllowedRedirectUri(v []string)
SetAllowedRedirectUri sets AllowedRedirectUri field to given value.
func (o *CreateAuthMethodOIDC) HasAllowedRedirectUri() bool
HasAllowedRedirectUri returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetBoundIps() []string
GetBoundIps returns the BoundIps field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetBoundIpsOk() (*[]string, bool)
GetBoundIpsOk returns a tuple with the BoundIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetBoundIps(v []string)
SetBoundIps sets BoundIps field to given value.
func (o *CreateAuthMethodOIDC) HasBoundIps() bool
HasBoundIps returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetClientId() string
GetClientId returns the ClientId field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetClientId(v string)
SetClientId sets ClientId field to given value.
func (o *CreateAuthMethodOIDC) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetClientSecret() string
GetClientSecret returns the ClientSecret field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetClientSecret(v string)
SetClientSecret sets ClientSecret field to given value.
func (o *CreateAuthMethodOIDC) HasClientSecret() bool
HasClientSecret returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetForceSubClaims() bool
GetForceSubClaims returns the ForceSubClaims field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetForceSubClaimsOk() (*bool, bool)
GetForceSubClaimsOk returns a tuple with the ForceSubClaims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetForceSubClaims(v bool)
SetForceSubClaims sets ForceSubClaims field to given value.
func (o *CreateAuthMethodOIDC) HasForceSubClaims() bool
HasForceSubClaims returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetGwBoundIps() []string
GetGwBoundIps returns the GwBoundIps field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetGwBoundIpsOk() (*[]string, bool)
GetGwBoundIpsOk returns a tuple with the GwBoundIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetGwBoundIps(v []string)
SetGwBoundIps sets GwBoundIps field to given value.
func (o *CreateAuthMethodOIDC) HasGwBoundIps() bool
HasGwBoundIps returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetIssuer() string
GetIssuer returns the Issuer field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) 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.
func (o *CreateAuthMethodOIDC) SetIssuer(v string)
SetIssuer sets Issuer field to given value.
func (o *CreateAuthMethodOIDC) HasIssuer() bool
HasIssuer returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetJwtTtl() int64
GetJwtTtl returns the JwtTtl field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetJwtTtlOk() (*int64, bool)
GetJwtTtlOk returns a tuple with the JwtTtl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetJwtTtl(v int64)
SetJwtTtl sets JwtTtl field to given value.
func (o *CreateAuthMethodOIDC) HasJwtTtl() bool
HasJwtTtl returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetName(v string)
SetName sets Name field to given value.
func (o *CreateAuthMethodOIDC) GetRequiredScopes() []string
GetRequiredScopes returns the RequiredScopes field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetRequiredScopesOk() (*[]string, bool)
GetRequiredScopesOk returns a tuple with the RequiredScopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetRequiredScopes(v []string)
SetRequiredScopes sets RequiredScopes field to given value.
func (o *CreateAuthMethodOIDC) HasRequiredScopes() bool
HasRequiredScopes returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetRequiredScopesPrefix() string
GetRequiredScopesPrefix returns the RequiredScopesPrefix field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetRequiredScopesPrefixOk() (*string, bool)
GetRequiredScopesPrefixOk returns a tuple with the RequiredScopesPrefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetRequiredScopesPrefix(v string)
SetRequiredScopesPrefix sets RequiredScopesPrefix field to given value.
func (o *CreateAuthMethodOIDC) HasRequiredScopesPrefix() bool
HasRequiredScopesPrefix returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateAuthMethodOIDC) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateAuthMethodOIDC) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *CreateAuthMethodOIDC) GetUniqueIdentifier() string
GetUniqueIdentifier returns the UniqueIdentifier field if non-nil, zero value otherwise.
func (o *CreateAuthMethodOIDC) GetUniqueIdentifierOk() (*string, bool)
GetUniqueIdentifierOk returns a tuple with the UniqueIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodOIDC) SetUniqueIdentifier(v string)
SetUniqueIdentifier sets UniqueIdentifier field to given value.