Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
Name | string | Source's display Name. | |
Slug | string | Internal source name, used in URLs. | |
Enabled | Pointer to bool | [optional] | |
AuthenticationFlow | Pointer to NullableString | Flow to use when authenticating existing users. | [optional] |
EnrollmentFlow | Pointer to NullableString | Flow to use when enrolling new users. | [optional] |
UserPropertyMappings | Pointer to []string | [optional] | |
GroupPropertyMappings | Pointer to []string | [optional] | |
Component | string | Get object component so that we know how to edit the object | [readonly] |
VerboseName | string | Return object's verbose_name | [readonly] |
VerboseNamePlural | string | Return object's plural verbose_name | [readonly] |
MetaModelName | string | Return internal model name | [readonly] |
PolicyEngineMode | Pointer to PolicyEngineMode | [optional] | |
UserMatchingMode | Pointer to UserMatchingModeEnum | How the source determines if an existing user should be authenticated or a new user enrolled. | [optional] |
Managed | NullableString | Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update. | [readonly] |
UserPathTemplate | Pointer to string | [optional] | |
Icon | NullableString | [readonly] | |
GroupMatchingMode | Pointer to GroupMatchingModeEnum | How the source determines if an existing group should be used or a new group created. | [optional] |
ProviderType | ProviderTypeEnum | ||
RequestTokenUrl | Pointer to NullableString | URL used to request the initial token. This URL is only required for OAuth 1. | [optional] |
AuthorizationUrl | Pointer to NullableString | URL the user is redirect to to conest the flow. | [optional] |
AccessTokenUrl | Pointer to NullableString | URL used by authentik to retrieve tokens. | [optional] |
ProfileUrl | Pointer to NullableString | URL used by authentik to get user information. | [optional] |
ConsumerKey | string | ||
CallbackUrl | string | Get OAuth Callback URL | [readonly] |
AdditionalScopes | Pointer to string | [optional] | |
Type | SourceType | [readonly] | |
OidcWellKnownUrl | Pointer to string | [optional] | |
OidcJwksUrl | Pointer to string | [optional] | |
OidcJwks | Pointer to interface{} | [optional] |
func NewOAuthSource(pk string, name string, slug string, component string, verboseName string, verboseNamePlural string, metaModelName string, managed NullableString, icon NullableString, providerType ProviderTypeEnum, consumerKey string, callbackUrl string, type_ SourceType, ) *OAuthSource
NewOAuthSource instantiates a new OAuthSource 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 NewOAuthSourceWithDefaults() *OAuthSource
NewOAuthSourceWithDefaults instantiates a new OAuthSource 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 *OAuthSource) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *OAuthSource) GetPkOk() (*string, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetPk(v string)
SetPk sets Pk field to given value.
func (o *OAuthSource) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *OAuthSource) 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 *OAuthSource) SetName(v string)
SetName sets Name field to given value.
func (o *OAuthSource) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
func (o *OAuthSource) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *OAuthSource) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *OAuthSource) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *OAuthSource) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *OAuthSource) GetAuthenticationFlow() string
GetAuthenticationFlow returns the AuthenticationFlow field if non-nil, zero value otherwise.
func (o *OAuthSource) GetAuthenticationFlowOk() (*string, bool)
GetAuthenticationFlowOk returns a tuple with the AuthenticationFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetAuthenticationFlow(v string)
SetAuthenticationFlow sets AuthenticationFlow field to given value.
func (o *OAuthSource) HasAuthenticationFlow() bool
HasAuthenticationFlow returns a boolean if a field has been set.
func (o *OAuthSource) SetAuthenticationFlowNil(b bool)
SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil
func (o *OAuthSource) UnsetAuthenticationFlow()
UnsetAuthenticationFlow ensures that no value is present for AuthenticationFlow, not even an explicit nil
func (o *OAuthSource) GetEnrollmentFlow() string
GetEnrollmentFlow returns the EnrollmentFlow field if non-nil, zero value otherwise.
func (o *OAuthSource) GetEnrollmentFlowOk() (*string, bool)
GetEnrollmentFlowOk returns a tuple with the EnrollmentFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetEnrollmentFlow(v string)
SetEnrollmentFlow sets EnrollmentFlow field to given value.
func (o *OAuthSource) HasEnrollmentFlow() bool
HasEnrollmentFlow returns a boolean if a field has been set.
func (o *OAuthSource) SetEnrollmentFlowNil(b bool)
SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil
func (o *OAuthSource) UnsetEnrollmentFlow()
UnsetEnrollmentFlow ensures that no value is present for EnrollmentFlow, not even an explicit nil
func (o *OAuthSource) GetUserPropertyMappings() []string
GetUserPropertyMappings returns the UserPropertyMappings field if non-nil, zero value otherwise.
func (o *OAuthSource) GetUserPropertyMappingsOk() (*[]string, bool)
GetUserPropertyMappingsOk returns a tuple with the UserPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetUserPropertyMappings(v []string)
SetUserPropertyMappings sets UserPropertyMappings field to given value.
func (o *OAuthSource) HasUserPropertyMappings() bool
HasUserPropertyMappings returns a boolean if a field has been set.
func (o *OAuthSource) GetGroupPropertyMappings() []string
GetGroupPropertyMappings returns the GroupPropertyMappings field if non-nil, zero value otherwise.
func (o *OAuthSource) GetGroupPropertyMappingsOk() (*[]string, bool)
GetGroupPropertyMappingsOk returns a tuple with the GroupPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetGroupPropertyMappings(v []string)
SetGroupPropertyMappings sets GroupPropertyMappings field to given value.
func (o *OAuthSource) HasGroupPropertyMappings() bool
HasGroupPropertyMappings returns a boolean if a field has been set.
func (o *OAuthSource) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *OAuthSource) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *OAuthSource) GetVerboseName() string
GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.
func (o *OAuthSource) GetVerboseNameOk() (*string, bool)
GetVerboseNameOk returns a tuple with the VerboseName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetVerboseName(v string)
SetVerboseName sets VerboseName field to given value.
func (o *OAuthSource) GetVerboseNamePlural() string
GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.
func (o *OAuthSource) GetVerboseNamePluralOk() (*string, bool)
GetVerboseNamePluralOk returns a tuple with the VerboseNamePlural field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetVerboseNamePlural(v string)
SetVerboseNamePlural sets VerboseNamePlural field to given value.
func (o *OAuthSource) GetMetaModelName() string
GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.
func (o *OAuthSource) GetMetaModelNameOk() (*string, bool)
GetMetaModelNameOk returns a tuple with the MetaModelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetMetaModelName(v string)
SetMetaModelName sets MetaModelName field to given value.
func (o *OAuthSource) GetPolicyEngineMode() PolicyEngineMode
GetPolicyEngineMode returns the PolicyEngineMode field if non-nil, zero value otherwise.
func (o *OAuthSource) GetPolicyEngineModeOk() (*PolicyEngineMode, bool)
GetPolicyEngineModeOk returns a tuple with the PolicyEngineMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetPolicyEngineMode(v PolicyEngineMode)
SetPolicyEngineMode sets PolicyEngineMode field to given value.
func (o *OAuthSource) HasPolicyEngineMode() bool
HasPolicyEngineMode returns a boolean if a field has been set.
func (o *OAuthSource) GetUserMatchingMode() UserMatchingModeEnum
GetUserMatchingMode returns the UserMatchingMode field if non-nil, zero value otherwise.
func (o *OAuthSource) GetUserMatchingModeOk() (*UserMatchingModeEnum, bool)
GetUserMatchingModeOk returns a tuple with the UserMatchingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetUserMatchingMode(v UserMatchingModeEnum)
SetUserMatchingMode sets UserMatchingMode field to given value.
func (o *OAuthSource) HasUserMatchingMode() bool
HasUserMatchingMode returns a boolean if a field has been set.
func (o *OAuthSource) GetManaged() string
GetManaged returns the Managed field if non-nil, zero value otherwise.
func (o *OAuthSource) GetManagedOk() (*string, bool)
GetManagedOk returns a tuple with the Managed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetManaged(v string)
SetManaged sets Managed field to given value.
func (o *OAuthSource) SetManagedNil(b bool)
SetManagedNil sets the value for Managed to be an explicit nil
func (o *OAuthSource) UnsetManaged()
UnsetManaged ensures that no value is present for Managed, not even an explicit nil
func (o *OAuthSource) GetUserPathTemplate() string
GetUserPathTemplate returns the UserPathTemplate field if non-nil, zero value otherwise.
func (o *OAuthSource) GetUserPathTemplateOk() (*string, bool)
GetUserPathTemplateOk returns a tuple with the UserPathTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetUserPathTemplate(v string)
SetUserPathTemplate sets UserPathTemplate field to given value.
func (o *OAuthSource) HasUserPathTemplate() bool
HasUserPathTemplate returns a boolean if a field has been set.
func (o *OAuthSource) GetIcon() string
GetIcon returns the Icon field if non-nil, zero value otherwise.
func (o *OAuthSource) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetIcon(v string)
SetIcon sets Icon field to given value.
func (o *OAuthSource) SetIconNil(b bool)
SetIconNil sets the value for Icon to be an explicit nil
func (o *OAuthSource) UnsetIcon()
UnsetIcon ensures that no value is present for Icon, not even an explicit nil
func (o *OAuthSource) GetGroupMatchingMode() GroupMatchingModeEnum
GetGroupMatchingMode returns the GroupMatchingMode field if non-nil, zero value otherwise.
func (o *OAuthSource) GetGroupMatchingModeOk() (*GroupMatchingModeEnum, bool)
GetGroupMatchingModeOk returns a tuple with the GroupMatchingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetGroupMatchingMode(v GroupMatchingModeEnum)
SetGroupMatchingMode sets GroupMatchingMode field to given value.
func (o *OAuthSource) HasGroupMatchingMode() bool
HasGroupMatchingMode returns a boolean if a field has been set.
func (o *OAuthSource) GetProviderType() ProviderTypeEnum
GetProviderType returns the ProviderType field if non-nil, zero value otherwise.
func (o *OAuthSource) GetProviderTypeOk() (*ProviderTypeEnum, bool)
GetProviderTypeOk returns a tuple with the ProviderType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetProviderType(v ProviderTypeEnum)
SetProviderType sets ProviderType field to given value.
func (o *OAuthSource) GetRequestTokenUrl() string
GetRequestTokenUrl returns the RequestTokenUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetRequestTokenUrlOk() (*string, bool)
GetRequestTokenUrlOk returns a tuple with the RequestTokenUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetRequestTokenUrl(v string)
SetRequestTokenUrl sets RequestTokenUrl field to given value.
func (o *OAuthSource) HasRequestTokenUrl() bool
HasRequestTokenUrl returns a boolean if a field has been set.
func (o *OAuthSource) SetRequestTokenUrlNil(b bool)
SetRequestTokenUrlNil sets the value for RequestTokenUrl to be an explicit nil
func (o *OAuthSource) UnsetRequestTokenUrl()
UnsetRequestTokenUrl ensures that no value is present for RequestTokenUrl, not even an explicit nil
func (o *OAuthSource) GetAuthorizationUrl() string
GetAuthorizationUrl returns the AuthorizationUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetAuthorizationUrlOk() (*string, bool)
GetAuthorizationUrlOk returns a tuple with the AuthorizationUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetAuthorizationUrl(v string)
SetAuthorizationUrl sets AuthorizationUrl field to given value.
func (o *OAuthSource) HasAuthorizationUrl() bool
HasAuthorizationUrl returns a boolean if a field has been set.
func (o *OAuthSource) SetAuthorizationUrlNil(b bool)
SetAuthorizationUrlNil sets the value for AuthorizationUrl to be an explicit nil
func (o *OAuthSource) UnsetAuthorizationUrl()
UnsetAuthorizationUrl ensures that no value is present for AuthorizationUrl, not even an explicit nil
func (o *OAuthSource) GetAccessTokenUrl() string
GetAccessTokenUrl returns the AccessTokenUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetAccessTokenUrlOk() (*string, bool)
GetAccessTokenUrlOk returns a tuple with the AccessTokenUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetAccessTokenUrl(v string)
SetAccessTokenUrl sets AccessTokenUrl field to given value.
func (o *OAuthSource) HasAccessTokenUrl() bool
HasAccessTokenUrl returns a boolean if a field has been set.
func (o *OAuthSource) SetAccessTokenUrlNil(b bool)
SetAccessTokenUrlNil sets the value for AccessTokenUrl to be an explicit nil
func (o *OAuthSource) UnsetAccessTokenUrl()
UnsetAccessTokenUrl ensures that no value is present for AccessTokenUrl, not even an explicit nil
func (o *OAuthSource) GetProfileUrl() string
GetProfileUrl returns the ProfileUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetProfileUrlOk() (*string, bool)
GetProfileUrlOk returns a tuple with the ProfileUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetProfileUrl(v string)
SetProfileUrl sets ProfileUrl field to given value.
func (o *OAuthSource) HasProfileUrl() bool
HasProfileUrl returns a boolean if a field has been set.
func (o *OAuthSource) SetProfileUrlNil(b bool)
SetProfileUrlNil sets the value for ProfileUrl to be an explicit nil
func (o *OAuthSource) UnsetProfileUrl()
UnsetProfileUrl ensures that no value is present for ProfileUrl, not even an explicit nil
func (o *OAuthSource) GetConsumerKey() string
GetConsumerKey returns the ConsumerKey field if non-nil, zero value otherwise.
func (o *OAuthSource) GetConsumerKeyOk() (*string, bool)
GetConsumerKeyOk returns a tuple with the ConsumerKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetConsumerKey(v string)
SetConsumerKey sets ConsumerKey field to given value.
func (o *OAuthSource) GetCallbackUrl() string
GetCallbackUrl returns the CallbackUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetCallbackUrlOk() (*string, bool)
GetCallbackUrlOk returns a tuple with the CallbackUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetCallbackUrl(v string)
SetCallbackUrl sets CallbackUrl field to given value.
func (o *OAuthSource) GetAdditionalScopes() string
GetAdditionalScopes returns the AdditionalScopes field if non-nil, zero value otherwise.
func (o *OAuthSource) GetAdditionalScopesOk() (*string, bool)
GetAdditionalScopesOk returns a tuple with the AdditionalScopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetAdditionalScopes(v string)
SetAdditionalScopes sets AdditionalScopes field to given value.
func (o *OAuthSource) HasAdditionalScopes() bool
HasAdditionalScopes returns a boolean if a field has been set.
func (o *OAuthSource) GetType() SourceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *OAuthSource) GetTypeOk() (*SourceType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetType(v SourceType)
SetType sets Type field to given value.
func (o *OAuthSource) GetOidcWellKnownUrl() string
GetOidcWellKnownUrl returns the OidcWellKnownUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetOidcWellKnownUrlOk() (*string, bool)
GetOidcWellKnownUrlOk returns a tuple with the OidcWellKnownUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetOidcWellKnownUrl(v string)
SetOidcWellKnownUrl sets OidcWellKnownUrl field to given value.
func (o *OAuthSource) HasOidcWellKnownUrl() bool
HasOidcWellKnownUrl returns a boolean if a field has been set.
func (o *OAuthSource) GetOidcJwksUrl() string
GetOidcJwksUrl returns the OidcJwksUrl field if non-nil, zero value otherwise.
func (o *OAuthSource) GetOidcJwksUrlOk() (*string, bool)
GetOidcJwksUrlOk returns a tuple with the OidcJwksUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetOidcJwksUrl(v string)
SetOidcJwksUrl sets OidcJwksUrl field to given value.
func (o *OAuthSource) HasOidcJwksUrl() bool
HasOidcJwksUrl returns a boolean if a field has been set.
func (o *OAuthSource) GetOidcJwks() interface{}
GetOidcJwks returns the OidcJwks field if non-nil, zero value otherwise.
func (o *OAuthSource) GetOidcJwksOk() (*interface{}, bool)
GetOidcJwksOk returns a tuple with the OidcJwks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAuthSource) SetOidcJwks(v interface{})
SetOidcJwks sets OidcJwks field to given value.
func (o *OAuthSource) HasOidcJwks() bool
HasOidcJwks returns a boolean if a field has been set.
func (o *OAuthSource) SetOidcJwksNil(b bool)
SetOidcJwksNil sets the value for OidcJwks to be an explicit nil
func (o *OAuthSource) UnsetOidcJwks()
UnsetOidcJwks ensures that no value is present for OidcJwks, not even an explicit nil