Documentation ¶
Index ¶
- Variables
- func GetAfterParam(res *okta.Response) string
- type ACSSSO
- type AccountLink
- type AddressObj
- type Algorithms
- type ApiSupplement
- func (m *ApiSupplement) ActivateAuthorizationServer(id string) (*okta.Response, error)
- func (m *ApiSupplement) ActivateEventHook(id string) (*okta.Response, error)
- func (m *ApiSupplement) ActivateIdentityProvider(id string) (*okta.Response, error)
- func (m *ApiSupplement) ActivateInlineHook(id string) (*okta.Response, error)
- func (m *ApiSupplement) ActivateRule(policyId, id string) (*okta.Response, error)
- func (m *ApiSupplement) AddCustomUserSchemaProperty(schema *UserSubSchema) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) AddIdentityProviderCertificate(cert *Certificate) (*SigningKey, *okta.Response, error)
- func (m *ApiSupplement) AddPropertyMapping(mappingId string, body Mapping, qp *query.Params) (*Mapping, *okta.Response, error)
- func (m *ApiSupplement) CreateAdminRole(groupId string, body *Role, qp *query.Params) (*Role, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServer(body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerClaim(authServerId string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerPolicy(authServerId string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerPolicyRule(authServerId, policyId string, body AuthorizationServerPolicyRule, ...) (*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) CreateAuthorizationServerScope(authServerId string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) CreateEmailTemplate(id string, body EmailTemplate, qp *query.Params) (*EmailTemplate, *okta.Response, error)
- func (m *ApiSupplement) CreateEventHook(body EventHook, qp *query.Params) (*EventHook, *okta.Response, error)
- func (m *ApiSupplement) CreateIdentityProvider(body IdentityProvider, qp *query.Params) (IdentityProvider, *okta.Response, error)
- func (m *ApiSupplement) CreateIdpDiscoveryRule(policyId string, body IdpDiscoveryRule, qp *query.Params) (*IdpDiscoveryRule, *okta.Response, error)
- func (m *ApiSupplement) CreateInlineHook(body InlineHook, qp *query.Params) (*InlineHook, *okta.Response, error)
- func (m *ApiSupplement) CreateNetworkZone(body NetworkZone, qp *query.Params) (*NetworkZone, *okta.Response, error)
- func (m *ApiSupplement) CreateSmsTemplate(body SmsTemplate, qp *query.Params) (*SmsTemplate, *okta.Response, error)
- func (m *ApiSupplement) DeactivateAuthorizationServer(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeactivateEventHook(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeactivateIdentityProvider(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeactivateInlineHook(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeactivateRule(policyId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAdminRole(id, roleId string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAppUserSchemaProperty(id, appId string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServer(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerClaim(authServerId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerPolicy(authServerId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerPolicyRule(authServerId, policyId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteAuthorizationServerScope(authServerId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteEmailTemplate(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteEventHook(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteIdentityProvider(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteIdentityProviderCertificate(kid string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteIdentityProviderSigningKey(kid string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteIdpDiscoveryRule(policyId, id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteInlineHook(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteNetworkZone(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteSmsTemplate(id string) (*okta.Response, error)
- func (m *ApiSupplement) DeleteUserSchemaProperty(id string) (*okta.Response, error)
- func (c *ApiSupplement) FilterAuthServers(qp *query.Params, arr []*AuthorizationServer, compare func(string) bool) ([]*AuthorizationServer, error)
- func (c *ApiSupplement) FindAuthServer(name string, qp *query.Params) (*AuthorizationServer, error)
- func (m *ApiSupplement) FindProfileMappingSource(name, typ string, qp *query.Params) (*MappingSource, *okta.Response, error)
- func (m *ApiSupplement) GenerateIdentityProviderSigningKey(idpId string, yearsValid int) (*SigningKey, *okta.Response, error)
- func (m *ApiSupplement) GetAppUserSchema(appId string) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServer(id string) (*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerClaim(authServerId, id string, authorizationServerInstance AuthorizationServerClaim) (*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerPolicy(authServerId, id string, authorizationServerInstance AuthorizationServerPolicy) (*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerPolicyRule(authServerId, policyId, id string, ...) (*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) GetAuthorizationServerScope(authServerId, id string, authorizationServerInstance AuthorizationServerScope) (*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) GetEmailTemplate(id string) (*EmailTemplate, *okta.Response, error)
- func (m *ApiSupplement) GetEventHook(id string) (*EventHook, *okta.Response, error)
- func (m *ApiSupplement) GetIdentityProvider(id string, idp IdentityProvider) (IdentityProvider, *okta.Response, error)
- func (m *ApiSupplement) GetIdentityProviderCertificate(kid string) (*SigningKey, *okta.Response, error)
- func (m *ApiSupplement) GetIdentityProviderSigningKey(idpId, kid string) (*SigningKey, *okta.Response, error)
- func (m *ApiSupplement) GetIdpDiscoveryRule(policyId, id string) (*IdpDiscoveryRule, *okta.Response, error)
- func (m *ApiSupplement) GetInlineHook(id string) (*InlineHook, *okta.Response, error)
- func (m *ApiSupplement) GetNetworkZone(id string) (*NetworkZone, *okta.Response, error)
- func (m *ApiSupplement) GetProfileMapping(mappingId string) (*Mapping, *okta.Response, error)
- func (m *ApiSupplement) GetProfileMappingBySourceId(sourceId, targetId string) (*Mapping, *okta.Response, error)
- func (m *ApiSupplement) GetSAMLIdpMetdata(id string) ([]byte, *http.Response, error)
- func (m *ApiSupplement) GetSAMLMetdata(id, keyID string) ([]byte, *http.Response, error)
- func (m *ApiSupplement) GetSmsTemplate(id string) (*SmsTemplate, *okta.Response, error)
- func (m *ApiSupplement) GetUserSchema() (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) GetXml(url string) ([]byte, *http.Response, error)
- func (m *ApiSupplement) ListAdminRoles(groupId string, qp *query.Params) (roles []*Role, resp *okta.Response, err error)
- func (m *ApiSupplement) ListAuthorizationServerClaims(authServerId string) ([]*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerPolicies(authServerId string) ([]*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerPolicyRules(authServerId, policyId string) ([]*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServerScopes(authServerId string) ([]*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) ListAuthorizationServers() ([]*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) ListEmailTemplates() ([]*EmailTemplate, *okta.Response, error)
- func (m *ApiSupplement) ListEventHooks() ([]*EventHook, *okta.Response, error)
- func (m *ApiSupplement) ListIdentityProviders(idps interface{}, qp *query.Params) (interface{}, *okta.Response, error)
- func (m *ApiSupplement) ListIdpDiscoveryRules(policyId string) ([]*IdpDiscoveryRule, *okta.Response, error)
- func (m *ApiSupplement) ListInlineHooks() ([]*InlineHook, *okta.Response, error)
- func (m *ApiSupplement) ListSmsTemplates() ([]*SmsTemplate, *okta.Response, error)
- func (m *ApiSupplement) RemovePropertyMapping(mappingId, id string) (*okta.Response, error)
- func (m *ApiSupplement) UpdateAppUserSchema(appId string, schema *UserSchema) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServer(id string, body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerClaim(authServerId, id string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerPolicy(authServerId, id string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerPolicyRule(authServerId, policyId, id string, body AuthorizationServerPolicyRule, ...) (*AuthorizationServerPolicyRule, *okta.Response, error)
- func (m *ApiSupplement) UpdateAuthorizationServerScope(authServerId, id string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
- func (m *ApiSupplement) UpdateBaseAppUserSchemaProperty(id, appId string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) UpdateBaseUserSchemaProperty(id string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) UpdateCustomAppUserSchemaProperty(id, appId string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) UpdateCustomUserSchemaProperty(id string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
- func (m *ApiSupplement) UpdateEmailTemplate(id string, body EmailTemplate, qp *query.Params) (*EmailTemplate, *okta.Response, error)
- func (m *ApiSupplement) UpdateEventHook(id string, body EventHook, qp *query.Params) (*EventHook, *okta.Response, error)
- func (m *ApiSupplement) UpdateIdentityProvider(id string, body IdentityProvider, qp *query.Params) (IdentityProvider, *okta.Response, error)
- func (m *ApiSupplement) UpdateIdpDiscoveryRule(policyId, id string, body IdpDiscoveryRule, qp *query.Params) (*IdpDiscoveryRule, *okta.Response, error)
- func (m *ApiSupplement) UpdateInlineHook(id string, body InlineHook, qp *query.Params) (*InlineHook, *okta.Response, error)
- func (m *ApiSupplement) UpdateMapping(mappingId string, body Mapping, qp *query.Params) (*Mapping, *okta.Response, error)
- func (m *ApiSupplement) UpdateNetworkZone(id string, body NetworkZone, qp *query.Params) (*NetworkZone, *okta.Response, error)
- func (m *ApiSupplement) UpdateSmsTemplate(id string, body SmsTemplate, qp *query.Params) (*SmsTemplate, *okta.Response, error)
- func (m *ApiSupplement) UpdateUserSchemaProperty(schema *UserSchema) (*UserSchema, *okta.Response, error)
- type AuthServerCredentials
- type AuthServerInlineHook
- type AuthorizationServer
- type AuthorizationServerClaim
- type AuthorizationServerPolicy
- type AuthorizationServerPolicyRule
- type AuthorizationServerScope
- type BasicIdp
- type Certificate
- type ClaimConditions
- type EmailTemplate
- type EmailTranslation
- type Endpoint
- type EventHook
- type EventHookAuthScheme
- type EventHookChannel
- type EventHookChannelConfig
- type EventHookEvents
- type EventHookHeader
- type Filter
- type IDPAction
- type IDPConditions
- type IDPGroupsAction
- type IDPProvisioning
- type IDPSSO
- type IDPSignature
- type IDPTrust
- type IdentityProvider
- type IdpDiscoveryRule
- type IdpDiscoveryRuleActions
- type IdpDiscoveryRuleApp
- type IdpDiscoveryRuleAppObj
- type IdpDiscoveryRuleConditions
- type IdpDiscoveryRuleIdp
- type IdpDiscoveryRuleNetwork
- type IdpDiscoveryRulePattern
- type IdpDiscoveryRulePlatform
- type IdpDiscoveryRulePlatformInclude
- type IdpDiscoveryRulePlatformOS
- type IdpDiscoveryRulePolicy
- type IdpDiscoveryRuleProvider
- type IdpDiscoveryRuleUserIdentifier
- type Included
- type InlineHook
- type InlineHookAuthScheme
- type InlineHookChannel
- type InlineHookChannelConfig
- type InlineHookHeader
- type Issuer
- type JWK
- type JWKS
- type Location
- type Mapping
- type MappingProperty
- type MappingSource
- type NetworkZone
- type OIDCClient
- type OIDCCredentials
- type OIDCEndpoints
- type OIDCIdentityProvider
- type OIDCPolicy
- type OIDCProtocol
- type OIDCSubject
- type OpenIdConnectApplication
- type OpenIdConnectApplicationSettings
- type OpenIdConnectApplicationSettingsClient
- type PolicyConditions
- type PolicyRuleActions
- type PolicyRuleConditions
- type Role
- type SAMLCredentials
- type SAMLEndpoints
- type SAMLIdentityProvider
- type SAMLPolicy
- type SAMLProtocol
- type SAMLSubject
- type Signature
- type SigningKey
- type SmsTemplate
- type TokenActions
- type UserSchema
- type UserSchemaDefinitions
- type UserSchemaEnum
- type UserSchemaItem
- type UserSchemaMaster
- type UserSchemaPermission
- type UserSchemaProperties
- type UserSchemaPropertyProfile
- type UserSchemaRef
- type UserSubSchema
- type UserSubSchemaProperties
- type Whitelist
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidAdminRoles = []string{"SUPER_ADMIN", "ORG_ADMIN", "API_ACCESS_MANAGEMENT_ADMIN", "APP_ADMIN", "USER_ADMIN", "MOBILE_ADMIN", "READ_ONLY_ADMIN", "HELP_DESK_ADMIN", "REPORT_ADMIN", "GROUP_MEMBERSHIP_ADMIN"}
Functions ¶
func GetAfterParam ¶
GetAfterParam grabs after link from link headers if it exists
Types ¶
type AccountLink ¶
type AddressObj ¶
type Algorithms ¶
type Algorithms struct { Request *IDPSignature `json:"request,omitempty"` Response *IDPSignature `json:"response,omitempty"` }
type ApiSupplement ¶
type ApiSupplement struct { BaseURL string Client *http.Client Token string RequestExecutor *okta.RequestExecutor }
ApiSupplement not all APIs are supported by okta-sdk-golang, this will act as a supplement to the Okta SDK
func (*ApiSupplement) ActivateAuthorizationServer ¶
func (m *ApiSupplement) ActivateAuthorizationServer(id string) (*okta.Response, error)
func (*ApiSupplement) ActivateEventHook ¶
func (m *ApiSupplement) ActivateEventHook(id string) (*okta.Response, error)
func (*ApiSupplement) ActivateIdentityProvider ¶
func (m *ApiSupplement) ActivateIdentityProvider(id string) (*okta.Response, error)
func (*ApiSupplement) ActivateInlineHook ¶
func (m *ApiSupplement) ActivateInlineHook(id string) (*okta.Response, error)
func (*ApiSupplement) ActivateRule ¶
func (m *ApiSupplement) ActivateRule(policyId, id string) (*okta.Response, error)
func (*ApiSupplement) AddCustomUserSchemaProperty ¶
func (m *ApiSupplement) AddCustomUserSchemaProperty(schema *UserSubSchema) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) AddIdentityProviderCertificate ¶
func (m *ApiSupplement) AddIdentityProviderCertificate(cert *Certificate) (*SigningKey, *okta.Response, error)
func (*ApiSupplement) AddPropertyMapping ¶
func (*ApiSupplement) CreateAdminRole ¶
func (*ApiSupplement) CreateAuthorizationServer ¶
func (m *ApiSupplement) CreateAuthorizationServer(body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerClaim ¶
func (m *ApiSupplement) CreateAuthorizationServerClaim(authServerId string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerPolicy ¶
func (m *ApiSupplement) CreateAuthorizationServerPolicy(authServerId string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) CreateAuthorizationServerPolicyRule(authServerId, policyId string, body AuthorizationServerPolicyRule, qp *query.Params) (*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) CreateAuthorizationServerScope ¶
func (m *ApiSupplement) CreateAuthorizationServerScope(authServerId string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) CreateEmailTemplate ¶
func (m *ApiSupplement) CreateEmailTemplate(id string, body EmailTemplate, qp *query.Params) (*EmailTemplate, *okta.Response, error)
func (*ApiSupplement) CreateEventHook ¶
func (*ApiSupplement) CreateIdentityProvider ¶
func (m *ApiSupplement) CreateIdentityProvider(body IdentityProvider, qp *query.Params) (IdentityProvider, *okta.Response, error)
func (*ApiSupplement) CreateIdpDiscoveryRule ¶
func (m *ApiSupplement) CreateIdpDiscoveryRule(policyId string, body IdpDiscoveryRule, qp *query.Params) (*IdpDiscoveryRule, *okta.Response, error)
func (*ApiSupplement) CreateInlineHook ¶
func (m *ApiSupplement) CreateInlineHook(body InlineHook, qp *query.Params) (*InlineHook, *okta.Response, error)
func (*ApiSupplement) CreateNetworkZone ¶
func (m *ApiSupplement) CreateNetworkZone(body NetworkZone, qp *query.Params) (*NetworkZone, *okta.Response, error)
func (*ApiSupplement) CreateSmsTemplate ¶
func (m *ApiSupplement) CreateSmsTemplate(body SmsTemplate, qp *query.Params) (*SmsTemplate, *okta.Response, error)
func (*ApiSupplement) DeactivateAuthorizationServer ¶
func (m *ApiSupplement) DeactivateAuthorizationServer(id string) (*okta.Response, error)
func (*ApiSupplement) DeactivateEventHook ¶
func (m *ApiSupplement) DeactivateEventHook(id string) (*okta.Response, error)
func (*ApiSupplement) DeactivateIdentityProvider ¶
func (m *ApiSupplement) DeactivateIdentityProvider(id string) (*okta.Response, error)
func (*ApiSupplement) DeactivateInlineHook ¶
func (m *ApiSupplement) DeactivateInlineHook(id string) (*okta.Response, error)
func (*ApiSupplement) DeactivateRule ¶
func (m *ApiSupplement) DeactivateRule(policyId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAdminRole ¶
func (m *ApiSupplement) DeleteAdminRole(id, roleId string) (*okta.Response, error)
func (*ApiSupplement) DeleteAppUserSchemaProperty ¶
func (m *ApiSupplement) DeleteAppUserSchemaProperty(id, appId string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServer ¶
func (m *ApiSupplement) DeleteAuthorizationServer(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerClaim ¶
func (m *ApiSupplement) DeleteAuthorizationServerClaim(authServerId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerPolicy ¶
func (m *ApiSupplement) DeleteAuthorizationServerPolicy(authServerId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) DeleteAuthorizationServerPolicyRule(authServerId, policyId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteAuthorizationServerScope ¶
func (m *ApiSupplement) DeleteAuthorizationServerScope(authServerId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteEmailTemplate ¶
func (m *ApiSupplement) DeleteEmailTemplate(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteEventHook ¶
func (m *ApiSupplement) DeleteEventHook(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteIdentityProvider ¶
func (m *ApiSupplement) DeleteIdentityProvider(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteIdentityProviderCertificate ¶
func (m *ApiSupplement) DeleteIdentityProviderCertificate(kid string) (*okta.Response, error)
func (*ApiSupplement) DeleteIdentityProviderSigningKey ¶
func (m *ApiSupplement) DeleteIdentityProviderSigningKey(kid string) (*okta.Response, error)
func (*ApiSupplement) DeleteIdpDiscoveryRule ¶
func (m *ApiSupplement) DeleteIdpDiscoveryRule(policyId, id string) (*okta.Response, error)
func (*ApiSupplement) DeleteInlineHook ¶
func (m *ApiSupplement) DeleteInlineHook(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteNetworkZone ¶
func (m *ApiSupplement) DeleteNetworkZone(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteSmsTemplate ¶
func (m *ApiSupplement) DeleteSmsTemplate(id string) (*okta.Response, error)
func (*ApiSupplement) DeleteUserSchemaProperty ¶
func (m *ApiSupplement) DeleteUserSchemaProperty(id string) (*okta.Response, error)
func (*ApiSupplement) FilterAuthServers ¶
func (c *ApiSupplement) FilterAuthServers(qp *query.Params, arr []*AuthorizationServer, compare func(string) bool) ([]*AuthorizationServer, error)
func (*ApiSupplement) FindAuthServer ¶
func (c *ApiSupplement) FindAuthServer(name string, qp *query.Params) (*AuthorizationServer, error)
func (*ApiSupplement) FindProfileMappingSource ¶
func (m *ApiSupplement) FindProfileMappingSource(name, typ string, qp *query.Params) (*MappingSource, *okta.Response, error)
FindProfileMappingSource retrieves profile mapping source/target via name
func (*ApiSupplement) GenerateIdentityProviderSigningKey ¶
func (m *ApiSupplement) GenerateIdentityProviderSigningKey(idpId string, yearsValid int) (*SigningKey, *okta.Response, error)
func (*ApiSupplement) GetAppUserSchema ¶
func (m *ApiSupplement) GetAppUserSchema(appId string) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServer ¶
func (m *ApiSupplement) GetAuthorizationServer(id string) (*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerClaim ¶
func (m *ApiSupplement) GetAuthorizationServerClaim(authServerId, id string, authorizationServerInstance AuthorizationServerClaim) (*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerPolicy ¶
func (m *ApiSupplement) GetAuthorizationServerPolicy(authServerId, id string, authorizationServerInstance AuthorizationServerPolicy) (*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) GetAuthorizationServerPolicyRule(authServerId, policyId, id string, authorizationServerInstance AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) GetAuthorizationServerScope ¶
func (m *ApiSupplement) GetAuthorizationServerScope(authServerId, id string, authorizationServerInstance AuthorizationServerScope) (*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) GetEmailTemplate ¶
func (m *ApiSupplement) GetEmailTemplate(id string) (*EmailTemplate, *okta.Response, error)
func (*ApiSupplement) GetEventHook ¶
func (*ApiSupplement) GetIdentityProvider ¶
func (m *ApiSupplement) GetIdentityProvider(id string, idp IdentityProvider) (IdentityProvider, *okta.Response, error)
func (*ApiSupplement) GetIdentityProviderCertificate ¶
func (m *ApiSupplement) GetIdentityProviderCertificate(kid string) (*SigningKey, *okta.Response, error)
func (*ApiSupplement) GetIdentityProviderSigningKey ¶
func (m *ApiSupplement) GetIdentityProviderSigningKey(idpId, kid string) (*SigningKey, *okta.Response, error)
func (*ApiSupplement) GetIdpDiscoveryRule ¶
func (m *ApiSupplement) GetIdpDiscoveryRule(policyId, id string) (*IdpDiscoveryRule, *okta.Response, error)
func (*ApiSupplement) GetInlineHook ¶
func (m *ApiSupplement) GetInlineHook(id string) (*InlineHook, *okta.Response, error)
func (*ApiSupplement) GetNetworkZone ¶
func (m *ApiSupplement) GetNetworkZone(id string) (*NetworkZone, *okta.Response, error)
func (*ApiSupplement) GetProfileMapping ¶
func (*ApiSupplement) GetProfileMappingBySourceId ¶
func (*ApiSupplement) GetSAMLIdpMetdata ¶
func (*ApiSupplement) GetSAMLMetdata ¶
func (*ApiSupplement) GetSmsTemplate ¶
func (m *ApiSupplement) GetSmsTemplate(id string) (*SmsTemplate, *okta.Response, error)
func (*ApiSupplement) GetUserSchema ¶
func (m *ApiSupplement) GetUserSchema() (*UserSchema, *okta.Response, error)
func (*ApiSupplement) ListAdminRoles ¶
func (*ApiSupplement) ListAuthorizationServerClaims ¶
func (m *ApiSupplement) ListAuthorizationServerClaims(authServerId string) ([]*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerPolicies ¶
func (m *ApiSupplement) ListAuthorizationServerPolicies(authServerId string) ([]*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerPolicyRules ¶
func (m *ApiSupplement) ListAuthorizationServerPolicyRules(authServerId, policyId string) ([]*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServerScopes ¶
func (m *ApiSupplement) ListAuthorizationServerScopes(authServerId string) ([]*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) ListAuthorizationServers ¶
func (m *ApiSupplement) ListAuthorizationServers() ([]*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) ListEmailTemplates ¶
func (m *ApiSupplement) ListEmailTemplates() ([]*EmailTemplate, *okta.Response, error)
func (*ApiSupplement) ListEventHooks ¶
func (m *ApiSupplement) ListEventHooks() ([]*EventHook, *okta.Response, error)
func (*ApiSupplement) ListIdentityProviders ¶
func (*ApiSupplement) ListIdpDiscoveryRules ¶
func (m *ApiSupplement) ListIdpDiscoveryRules(policyId string) ([]*IdpDiscoveryRule, *okta.Response, error)
func (*ApiSupplement) ListInlineHooks ¶
func (m *ApiSupplement) ListInlineHooks() ([]*InlineHook, *okta.Response, error)
func (*ApiSupplement) ListSmsTemplates ¶
func (m *ApiSupplement) ListSmsTemplates() ([]*SmsTemplate, *okta.Response, error)
func (*ApiSupplement) RemovePropertyMapping ¶
func (m *ApiSupplement) RemovePropertyMapping(mappingId, id string) (*okta.Response, error)
func (*ApiSupplement) UpdateAppUserSchema ¶
func (m *ApiSupplement) UpdateAppUserSchema(appId string, schema *UserSchema) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServer ¶
func (m *ApiSupplement) UpdateAuthorizationServer(id string, body AuthorizationServer, qp *query.Params) (*AuthorizationServer, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerClaim ¶
func (m *ApiSupplement) UpdateAuthorizationServerClaim(authServerId, id string, body AuthorizationServerClaim, qp *query.Params) (*AuthorizationServerClaim, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerPolicy ¶
func (m *ApiSupplement) UpdateAuthorizationServerPolicy(authServerId, id string, body AuthorizationServerPolicy, qp *query.Params) (*AuthorizationServerPolicy, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerPolicyRule ¶
func (m *ApiSupplement) UpdateAuthorizationServerPolicyRule(authServerId, policyId, id string, body AuthorizationServerPolicyRule, qp *query.Params) (*AuthorizationServerPolicyRule, *okta.Response, error)
func (*ApiSupplement) UpdateAuthorizationServerScope ¶
func (m *ApiSupplement) UpdateAuthorizationServerScope(authServerId, id string, body AuthorizationServerScope, qp *query.Params) (*AuthorizationServerScope, *okta.Response, error)
func (*ApiSupplement) UpdateBaseAppUserSchemaProperty ¶
func (m *ApiSupplement) UpdateBaseAppUserSchemaProperty(id, appId string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) UpdateBaseUserSchemaProperty ¶
func (m *ApiSupplement) UpdateBaseUserSchemaProperty(id string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) UpdateCustomAppUserSchemaProperty ¶
func (m *ApiSupplement) UpdateCustomAppUserSchemaProperty(id, appId string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) UpdateCustomUserSchemaProperty ¶
func (m *ApiSupplement) UpdateCustomUserSchemaProperty(id string, schema *UserSubSchema) (*UserSchema, *okta.Response, error)
func (*ApiSupplement) UpdateEmailTemplate ¶
func (m *ApiSupplement) UpdateEmailTemplate(id string, body EmailTemplate, qp *query.Params) (*EmailTemplate, *okta.Response, error)
func (*ApiSupplement) UpdateEventHook ¶
func (*ApiSupplement) UpdateIdentityProvider ¶
func (m *ApiSupplement) UpdateIdentityProvider(id string, body IdentityProvider, qp *query.Params) (IdentityProvider, *okta.Response, error)
func (*ApiSupplement) UpdateIdpDiscoveryRule ¶
func (m *ApiSupplement) UpdateIdpDiscoveryRule(policyId, id string, body IdpDiscoveryRule, qp *query.Params) (*IdpDiscoveryRule, *okta.Response, error)
func (*ApiSupplement) UpdateInlineHook ¶
func (m *ApiSupplement) UpdateInlineHook(id string, body InlineHook, qp *query.Params) (*InlineHook, *okta.Response, error)
func (*ApiSupplement) UpdateMapping ¶
func (*ApiSupplement) UpdateNetworkZone ¶
func (m *ApiSupplement) UpdateNetworkZone(id string, body NetworkZone, qp *query.Params) (*NetworkZone, *okta.Response, error)
func (*ApiSupplement) UpdateSmsTemplate ¶
func (m *ApiSupplement) UpdateSmsTemplate(id string, body SmsTemplate, qp *query.Params) (*SmsTemplate, *okta.Response, error)
func (*ApiSupplement) UpdateUserSchemaProperty ¶
func (m *ApiSupplement) UpdateUserSchemaProperty(schema *UserSchema) (*UserSchema, *okta.Response, error)
type AuthServerCredentials ¶
type AuthServerCredentials struct {
Signing *okta.ApplicationCredentialsSigning `json:"signing,omitempty"`
}
type AuthServerInlineHook ¶
type AuthServerInlineHook struct {
Id string `json:"id,omitempty"`
}
type AuthorizationServer ¶
type AuthorizationServer struct { Audiences []string `json:"audiences,omitempty"` Credentials *AuthServerCredentials `json:"credentials,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Status string `json:"status,omitempty"` Issuer string `json:"issuer,omitempty"` IssuerMode string `json:"issuerMode,omitempty"` }
type AuthorizationServerClaim ¶
type AuthorizationServerClaim struct { Status string `json:"status,omitempty"` ClaimType string `json:"claimType,omitempty"` ValueType string `json:"valueType,omitempty"` Value string `json:"value,omitempty"` AlwaysIncludeInToken bool `json:"alwaysIncludeInToken,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Conditions *ClaimConditions `json:"conditions,omitempty"` GroupFilterType string `json:"group_filter_type,omitempty"` }
type AuthorizationServerPolicy ¶
type AuthorizationServerPolicy struct { Status string `json:"status,omitempty"` Priority int `json:"priority,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Conditions *PolicyConditions `json:"conditions,omitempty"` }
type AuthorizationServerPolicyRule ¶
type AuthorizationServerPolicyRule struct { Status string `json:"status,omitempty"` Priority int `json:"priority,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Conditions *PolicyRuleConditions `json:"conditions,omitempty"` Actions *PolicyRuleActions `json:"actions,omitempty"` }
type BasicIdp ¶
type BasicIdp struct { IdentityProvider Id string `json:"id"` Name string `json:"name"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` Protocol *SAMLProtocol `json:"protocol,omitempty"` }
type Certificate ¶
type Certificate struct {
X5C []string `json:"x5c"`
}
type ClaimConditions ¶
type ClaimConditions struct {
Scopes []string `json:"scopes,omitempty"`
}
type EmailTemplate ¶
type EmailTemplate struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` DefaultLanguage string `json:"defaultLanguage,omitempty"` Subject string `json:"subject,omitempty"` Template string `json:"template,omitempty"` Translations map[string]*EmailTranslation `json:"translations,omitempty"` }
type EmailTranslation ¶
type Endpoint ¶
type Endpoint struct { Binding string `json:"binding,omitempty"` URL string `json:"url,omitempty"` }
func GetEndpoint ¶
func GetEndpoint(d *schema.ResourceData, key string) *Endpoint
type EventHook ¶
type EventHook struct { Channel *EventHookChannel `json:"channel"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Events *EventHookEvents `json:"events,omitempty"` }
type EventHookAuthScheme ¶
type EventHookChannel ¶
type EventHookChannel struct { Config *EventHookChannelConfig `json:"config"` Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` }
type EventHookChannelConfig ¶
type EventHookChannelConfig struct { AuthScheme *EventHookAuthScheme `json:"authScheme,omitempty"` Headers []*EventHookHeader `json:"headers,omitempty"` URI string `json:"uri,omitempty"` }
type EventHookEvents ¶
type EventHookHeader ¶
type IDPConditions ¶
type IDPGroupsAction ¶
type IDPProvisioning ¶
type IDPProvisioning struct { Action string `json:"action,omitempty"` Conditions *IDPConditions `json:"conditions,omitempty"` Groups *IDPGroupsAction `json:"groups,omitempty"` ProfileMaster bool `json:"profileMaster,omitempty"` }
type IDPSignature ¶
type IDPSignature struct {
Signature *Signature `json:"signature,omitempty"`
}
type IdentityProvider ¶
type IdentityProvider interface {
IsIDP() bool
}
type IdpDiscoveryRule ¶
type IdpDiscoveryRule struct { Actions *IdpDiscoveryRuleActions `json:"actions"` Conditions *IdpDiscoveryRuleConditions `json:"conditions"` Created string `json:"created"` ID string `json:"id"` LastUpdated string `json:"lastUpdated"` Name string `json:"name"` Priority int `json:"priority"` Status string `json:"status"` System bool `json:"system"` Type string `json:"type"` }
type IdpDiscoveryRuleActions ¶
type IdpDiscoveryRuleActions struct {
IDP *IdpDiscoveryRuleIdp `json:"idp"`
}
type IdpDiscoveryRuleApp ¶
type IdpDiscoveryRuleApp struct { Exclude []*IdpDiscoveryRuleAppObj `json:"exclude"` Include []*IdpDiscoveryRuleAppObj `json:"include"` }
type IdpDiscoveryRuleAppObj ¶
type IdpDiscoveryRuleConditions ¶
type IdpDiscoveryRuleConditions struct { App *IdpDiscoveryRuleApp `json:"app"` Network *IdpDiscoveryRuleNetwork `json:"network"` Platform *IdpDiscoveryRulePlatform `json:"platform,omitempty"` UserIdentifier *IdpDiscoveryRuleUserIdentifier `json:"userIdentifier,omitempty"` }
type IdpDiscoveryRuleIdp ¶
type IdpDiscoveryRuleIdp struct {
Providers []*IdpDiscoveryRuleProvider `json:"providers"`
}
type IdpDiscoveryRuleNetwork ¶
type IdpDiscoveryRulePattern ¶
type IdpDiscoveryRulePlatform ¶
type IdpDiscoveryRulePlatform struct { Exclude []interface{} `json:"exclude,omitempty"` Include []*IdpDiscoveryRulePlatformInclude `json:"include,omitempty"` }
type IdpDiscoveryRulePlatformInclude ¶
type IdpDiscoveryRulePlatformInclude struct { Os *IdpDiscoveryRulePlatformOS `json:"os"` Type string `json:"type,omitempty"` }
type IdpDiscoveryRulePolicy ¶
type IdpDiscoveryRulePolicy struct { Conditions interface{} `json:"conditions"` Created string `json:"created"` Description string `json:"description"` ID string `json:"id"` LastUpdated string `json:"lastUpdated"` Name string `json:"name"` Priority int64 `json:"priority"` Status string `json:"status"` System bool `json:"system"` Type string `json:"type"` }
type IdpDiscoveryRuleUserIdentifier ¶
type IdpDiscoveryRuleUserIdentifier struct { Attribute string `json:"attribute,omitempty"` Patterns []*IdpDiscoveryRulePattern `json:"patterns,omitempty"` Type string `json:"type,omitempty"` }
type InlineHook ¶
type InlineHookAuthScheme ¶
type InlineHookChannel ¶
type InlineHookChannel struct { Config *InlineHookChannelConfig `json:"config"` Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` }
type InlineHookChannelConfig ¶
type InlineHookChannelConfig struct { AuthScheme *InlineHookAuthScheme `json:"authScheme,omitempty"` Headers []*InlineHookHeader `json:"headers,omitempty"` URI string `json:"uri,omitempty"` Method string `json:"method,omitempty"` }
type InlineHookHeader ¶
type Mapping ¶
type Mapping struct { ID string `json:"id"` Source *MappingSource `json:"source,omitempty"` Target *MappingSource `json:"target,omitempty"` Properties map[string]*MappingProperty `json:"properties,omitempty"` }
type MappingProperty ¶
type MappingSource ¶
type NetworkZone ¶
type NetworkZone struct { Gateways []*AddressObj `json:"gateways,omitempty"` ID string `json:"id,omitempty"` Locations []*Location `json:"locations,omitempty"` Name string `json:"name,omitempty"` Proxies []*AddressObj `json:"proxies,omitempty"` System bool `json:"system,omitempty"` Type string `json:"type,omitempty"` }
type OIDCClient ¶
type OIDCCredentials ¶
type OIDCCredentials struct {
Client *OIDCClient `json:"client,omitempty"`
}
type OIDCEndpoints ¶
type OIDCIdentityProvider ¶
type OIDCIdentityProvider struct { ID string `json:"id,omitempty"` IssuerMode string `json:"issuerMode,omitempty"` Name string `json:"name,omitempty"` Policy *OIDCPolicy `json:"policy,omitempty"` Protocol *OIDCProtocol `json:"protocol,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` }
func (*OIDCIdentityProvider) IsIDP ¶
func (i *OIDCIdentityProvider) IsIDP() bool
type OIDCPolicy ¶
type OIDCPolicy struct { AccountLink *AccountLink `json:"accountLink,omitempty"` MaxClockSkew int64 `json:"maxClockSkew"` Provisioning *IDPProvisioning `json:"provisioning,omitempty"` Subject *OIDCSubject `json:"subject,omitempty"` }
type OIDCProtocol ¶
type OIDCProtocol struct { Algorithms *Algorithms `json:"algorithms,omitempty"` Credentials *OIDCCredentials `json:"credentials,omitempty"` Endpoints *OIDCEndpoints `json:"endpoints,omitempty"` Issuer *Issuer `json:"issuer,omitempty"` Scopes []string `json:"scopes,omitempty"` Type string `json:"type,omitempty"` }
type OIDCSubject ¶
type OIDCSubject struct { MatchType string `json:"matchType,omitempty"` MatchAttribute string `json:"matchAttribute,omitempty"` UserNameTemplate *okta.ApplicationCredentialsUsernameTemplate `json:"userNameTemplate,omitempty"` }
type OpenIdConnectApplication ¶
type OpenIdConnectApplication struct { okta.OpenIdConnectApplication Settings *OpenIdConnectApplicationSettings `json:"settings,omitempty"` }
func NewOpenIdConnectApplication ¶
func NewOpenIdConnectApplication() *OpenIdConnectApplication
func (*OpenIdConnectApplication) IsApplicationInstance ¶
func (a *OpenIdConnectApplication) IsApplicationInstance() bool
type OpenIdConnectApplicationSettings ¶
type OpenIdConnectApplicationSettings struct { okta.OpenIdConnectApplicationSettingsClient OauthClient *OpenIdConnectApplicationSettingsClient `json:"oauthClient,omitempty"` }
type OpenIdConnectApplicationSettingsClient ¶
type OpenIdConnectApplicationSettingsClient struct { okta.OpenIdConnectApplicationSettingsClient JWKS *JWKS `json:"jwks,omitempty"` }
type PolicyConditions ¶
type PolicyConditions struct {
Clients *Whitelist `json:"clients,omitempty"`
}
type PolicyRuleActions ¶
type PolicyRuleActions struct {
Token *TokenActions `json:"token,omitempty"`
}
type PolicyRuleConditions ¶
type PolicyRuleConditions struct { GrantTypes *Whitelist `json:"grantTypes,omitempty"` People *okta.GroupRulePeopleCondition `json:"people,omitempty"` Scopes *Whitelist `json:"scopes,omitempty"` }
type SAMLCredentials ¶
type SAMLCredentials struct {
Trust *IDPTrust `json:"trust,omitempty"`
}
type SAMLEndpoints ¶
type SAMLIdentityProvider ¶
type SAMLIdentityProvider struct { ID string `json:"id,omitempty"` IssuerMode string `json:"issuerMode,omitempty"` Name string `json:"name,omitempty"` Policy *SAMLPolicy `json:"policy,omitempty"` Protocol *SAMLProtocol `json:"protocol,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` }
func (*SAMLIdentityProvider) IsIDP ¶
func (i *SAMLIdentityProvider) IsIDP() bool
type SAMLPolicy ¶
type SAMLPolicy struct { AccountLink *AccountLink `json:"accountLink,omitempty"` Provisioning *IDPProvisioning `json:"provisioning,omitempty"` Subject *SAMLSubject `json:"subject,omitempty"` Type string `json:"type,omitempty"` }
type SAMLProtocol ¶
type SAMLProtocol struct { Algorithms *Algorithms `json:"algorithms,omitempty"` Credentials *SAMLCredentials `json:"credentials,omitempty"` Endpoints *SAMLEndpoints `json:"endpoints,omitempty"` Type string `json:"type,omitempty"` }
type SAMLSubject ¶
type SAMLSubject struct { Filter string `json:"filter,omitempty"` Format []string `json:"format,omitempty"` MatchType string `json:"matchType,omitempty"` UserNameTemplate *okta.ApplicationCredentialsUsernameTemplate `json:"userNameTemplate,omitempty"` }
type SigningKey ¶
type SigningKey struct { Created string `json:"created,omitempty"` ExpiresAt string `json:"expiresAt,omitempty"` X5C []string `json:"x5c"` Kid string `json:"kid"` Kty string `json:"kty"` Use string `json:"use"` X5T256 string `json:"x5t#S256"` E string `json:"e,omitempty"` N string `json:"n,omitempty"` }
type SmsTemplate ¶
type SmsTemplate struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Template string `json:"template,omitempty"` Created string `json:"created,omitempty"` LastUpdated string `json:"lastUpdated,omitempty"` Translations map[string]string `json:"translations,omitempty"` }
type TokenActions ¶
type TokenActions struct { AccessTokenLifetimeMinutes int `json:"accessTokenLifetimeMinutes,omitempty"` RefreshTokenLifetimeMinutes int `json:"refreshTokenLifetimeMinutes,omitempty"` RefreshTokenWindowMinutes int `json:"refreshTokenWindowMinutes,omitempty"` InlineHook *AuthServerInlineHook `json:"inlineHook,omitempty"` }
type UserSchema ¶
type UserSchema struct { Schema string `json:"$schema,omitempty"` Created string `json:"created,omitempty"` Definitions *UserSchemaDefinitions `json:"definitions,omitempty"` ID string `json:"id,omitempty"` LastUpdated string `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` Properties *UserSchemaProperties `json:"properties,omitempty"` Title string `json:"title,omitempty"` Type string `json:"type,omitempty"` }
type UserSchemaDefinitions ¶
type UserSchemaDefinitions struct { Base *UserSubSchemaProperties `json:"base,omitempty"` Custom *UserSubSchemaProperties `json:"custom,omitempty"` }
type UserSchemaEnum ¶
type UserSchemaItem ¶
type UserSchemaItem struct { Enum []string `json:"enum,omitempty"` OneOf []*UserSchemaEnum `json:"oneOf,omitempty"` Type string `json:"type,omitempty"` }
type UserSchemaMaster ¶
type UserSchemaMaster struct {
Type string `json:"type,omitempty"`
}
type UserSchemaPermission ¶
type UserSchemaProperties ¶
type UserSchemaProperties struct {
Profile *UserSchemaPropertyProfile `json:"profile,omitempty"`
}
type UserSchemaPropertyProfile ¶
type UserSchemaPropertyProfile struct {
AllOf []*UserSchemaRef `json:"allOf,omitempty"`
}
type UserSchemaRef ¶
type UserSchemaRef struct {
Ref string `json:"$ref,omitempty"`
}
type UserSubSchema ¶
type UserSubSchema struct { Description string `json:"description,omitempty"` Enum []string `json:"enum,omitempty"` Format string `json:"format,omitempty"` Items *UserSchemaItem `json:"items,omitempty"` Master *UserSchemaMaster `json:"master,omitempty"` MaxLength *int `json:"maxLength,omitempty"` MinLength *int `json:"minLength,omitempty"` Mutability string `json:"mutability,omitempty"` OneOf []*UserSchemaEnum `json:"oneOf,omitempty"` Permissions []*UserSchemaPermission `json:"permissions,omitempty"` Required *bool `json:"required,omitempty"` Scope string `json:"scope,omitempty"` Title string `json:"title,omitempty"` Type string `json:"type,omitempty"` Union string `json:"union,omitempty"` Unique string `json:"unique,omitempty"` ExternalName string `json:"externalName,omitempty"` }
type UserSubSchemaProperties ¶
type UserSubSchemaProperties struct { ID string `json:"id,omitempty"` Properties map[string]*UserSubSchema `json:"properties,omitempty"` Required []interface{} `json:"required,omitempty"` Type string `json:"type,omitempty"` }
func GetUserSchemaProp ¶
func GetUserSchemaProp(id, index string, schema *UserSubSchema) *UserSubSchemaProperties
Source Files ¶
- api_supplement.go
- app_oidc_models.go
- app_user_schema.go
- authorization_server_claims.go
- authorization_server_policies.go
- authorization_server_policy_rules.go
- authorization_server_scopes.go
- authorization_servers.go
- event_hooks.go
- group_role.go
- idp_discovery_rule.go
- idp_models.go
- idps.go
- inline_hooks.go
- mappings.go
- network_zone.go
- templates.go
- templates_sms.go
- user_schema.go
- user_schema_models.go
Click to show internal directories.
Click to hide internal directories.